public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: Resolves: #1994521 - disable more protocols and features in libcurl-minimal
@ 2026-11-03 12:38 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : 5ebead952bed4dce9ceefb8fc307b168b9154ad6
            Author : Kamil Dudka <kdudka@redhat.com>
            Date   : 2021-10-04T09:55:11+02:00
            Stats  : +32/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/5ebead952bed4dce9ceefb8fc307b168b9154ad6?branch=curl-v8.23.0-3

            Log:
            Resolves: #1994521 - disable more protocols and features in libcurl-minimal

... to limit vulnerability exposure in case there is a CVE in curl
in some of the rarer protocols

---
diff --git a/curl.spec b/curl.spec
index 6a24806..0104012 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: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Source0: https://curl.se/download/%{name}-%{version}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
@@ -246,9 +246,23 @@ export common_configure_opts="          \
 (
     cd build-minimal
     %configure $common_configure_opts   \
+        --disable-dict                  \
+        --disable-gopher                \
+        --disable-hsts                  \
+        --disable-imap                  \
         --disable-ldap                  \
         --disable-ldaps                 \
         --disable-manual                \
+        --disable-mqtt                  \
+        --disable-ntlm                  \
+        --disable-ntlm-wb               \
+        --disable-pop3                  \
+        --disable-rtsp                  \
+        --disable-smb                   \
+        --disable-smtp                  \
+        --disable-telnet                \
+        --disable-tftp                  \
+        --disable-tls-srp               \
         --without-brotli                \
         --without-libidn2               \
         --without-libpsl                \
@@ -259,9 +273,23 @@ export common_configure_opts="          \
 (
     cd build-full
     %configure $common_configure_opts   \
+        --enable-dict                   \
+        --enable-gopher                 \
+        --enable-hsts                   \
+        --enable-imap                   \
         --enable-ldap                   \
         --enable-ldaps                  \
         --enable-manual                 \
+        --enable-mqtt                   \
+        --enable-ntlm                   \
+        --enable-ntlm-wb                \
+        --enable-pop3                   \
+        --enable-rtsp                   \
+        --enable-smb                    \
+        --enable-smtp                   \
+        --enable-telnet                 \
+        --enable-tftp                   \
+        --enable-tls-srp                \
         --with-brotli                   \
         --with-libidn2                  \
         --with-libpsl                   \
@@ -369,6 +397,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Mon Oct 04 2021 Kamil Dudka <kdudka@redhat.com> - 7.79.1-2
+- disable more protocols and features in libcurl-minimal (#1994521)
+
 * Wed Sep 22 2021 Kamil Dudka <kdudka@redhat.com> - 7.79.1-1
 - new upstream release
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:38 [rpms/curl] curl-v8.23.0-3: Resolves: #1994521 - disable more protocols and features in libcurl-minimal Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox