public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: Resolves: #1994521 - disable more protocols and features in libcurl-minimal
Date: Tue, 03 Nov 2026 12:38:18 GMT	[thread overview]
Message-ID: <179370949864.1.13285276713479030270.rpms-curl-5ebead952bed@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-03 12:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179370949864.1.13285276713479030270.rpms-curl-5ebead952bed@fedoraproject.org \
    --to=kdudka@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox