Related: #2005874 - re-enable HSTS in libcurl-minimal

... as a security feature
This commit is contained in:
Kamil Dudka 2021-10-26 17:15:50 +02:00
parent 1b982b367e
commit 94a3e807dd

View File

@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.79.1
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
Source0: https://curl.se/download/%{name}-%{version}.tar.xz
Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
@ -232,8 +232,9 @@ mkdir build-{full,minimal}
export common_configure_opts=" \
--cache-file=../config.cache \
--disable-static \
--enable-symbol-hiding \
--enable-hsts \
--enable-ipv6 \
--enable-symbol-hiding \
--enable-threaded-resolver \
--without-zstd \
--with-gssapi \
@ -248,7 +249,6 @@ export common_configure_opts=" \
%configure $common_configure_opts \
--disable-dict \
--disable-gopher \
--disable-hsts \
--disable-imap \
--disable-ldap \
--disable-ldaps \
@ -275,7 +275,6 @@ export common_configure_opts=" \
%configure $common_configure_opts \
--enable-dict \
--enable-gopher \
--enable-hsts \
--enable-imap \
--enable-ldap \
--enable-ldaps \
@ -406,6 +405,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
* Tue Oct 26 2021 Kamil Dudka <kdudka@redhat.com> - 7.79.1-3
- re-enable HSTS in libcurl-minimal as a security feature (#2005874)
* Mon Oct 04 2021 Kamil Dudka <kdudka@redhat.com> - 7.79.1-2
- disable more protocols and features in libcurl-minimal (#2005874)