From 05f59553df8d4c8d8f9eb9631b97e60ea85b6f60 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 2 Jun 2021 18:45:38 +0200 Subject: [PATCH] Resolves: #1967213 - build the curl tool without metalink support Today curl upstream announced that they are going to completely remove support for metalink from curl already in the next release of curl due to a number of difficult to fix security issues: https://curl.se/mail/archive-2021-06/0006.html https://github.com/curl/curl/pull/7176 --- curl.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/curl.spec b/curl.spec index 3009d9e..b7936dd 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.76.1 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT Source: https://curl.se/download/%{name}-%{version}.tar.xz @@ -36,7 +36,6 @@ BuildRequires: gcc BuildRequires: groff BuildRequires: krb5-devel BuildRequires: libidn2-devel -BuildRequires: libmetalink-devel BuildRequires: libnghttp2-devel BuildRequires: libpsl-devel BuildRequires: libssh-devel @@ -245,6 +244,7 @@ export common_configure_opts=" \ --enable-symbol-hiding \ --enable-ipv6 \ --enable-threaded-resolver \ + --without-libmetalink \ --with-gssapi \ --with-nghttp2 \ --with-ssl --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt" @@ -260,7 +260,6 @@ export common_configure_opts=" \ --disable-manual \ --without-brotli \ --without-libidn2 \ - --without-libmetalink \ --without-libpsl \ --without-libssh ) @@ -274,7 +273,6 @@ export common_configure_opts=" \ --enable-manual \ --with-brotli \ --with-libidn2 \ - --with-libmetalink \ --with-libpsl \ --with-libssh ) @@ -376,6 +374,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal %changelog +* Wed Jun 02 2021 Kamil Dudka - 7.77.0-5 +- build the curl tool without metalink support (#1967213) + * Wed Jun 02 2021 Kamil Dudka - 7.76.1-4 - fix SIGSEGV upon disconnect of a ldaps:// transfer (#1941925)