From 94a3e807dda3a194551fa20c15281970b726e668 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 26 Oct 2021 17:15:50 +0200 Subject: [PATCH] Related: #2005874 - re-enable HSTS in libcurl-minimal ... as a security feature --- curl.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/curl.spec b/curl.spec index 225b369..9a107c1 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.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 - 7.79.1-3 +- re-enable HSTS in libcurl-minimal as a security feature (#2005874) + * Mon Oct 04 2021 Kamil Dudka - 7.79.1-2 - disable more protocols and features in libcurl-minimal (#2005874)