]> git.pld-linux.org Git - packages/curl.git/commitdiff
up to 7.76.0 (fixes CVE-2021-22876 CVE-2021-22890) auto/th/curl-7.76.0-1
authorJan Palus <atler@pld-linux.org>
Wed, 31 Mar 2021 11:22:40 +0000 (13:22 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 31 Mar 2021 11:22:40 +0000 (13:22 +0200)
- gsasl bcond for SCRAM support (enabled by default)

curl-ac.patch
curl.spec

index d4e1f431fa2b7e53bf30d55f4af40ace1503e946..cd5591cbfb6a3473fabc9183dc1ae0e72d6a8a00 100644 (file)
@@ -2,8 +2,8 @@ diff -urN curl-7.12.1.org/configure.ac curl-7.12.1/configure.ac
 --- curl-7.12.1.org/configure.ac       2004-08-13 02:20:37.003335512 +0200
 +++ curl-7.12.1/configure.ac   2004-08-13 02:21:07.172749064 +0200
 @@ -392,7 +392,7 @@
- main()
- {
+  struct sockaddr_in6 s;
+  (void)s;
   if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
 -   exit(1);
 +   exit(0);
index 6b8f889e0756f6ae394dc6d4ff42cae853434504..d464f5dfc1631ae66779d73e6743d5569ef26d1b 100644 (file)
--- a/curl.spec
+++ b/curl.spec
@@ -4,6 +4,7 @@
 %bcond_without ssh             # SSH support
 %bcond_without ssl             # SSL support
 %bcond_with    gnutls          # GnuTLS instead of OpenSSL
+%bcond_without gsasl           # SCRAM support with gsasl
 %bcond_without kerberos5       # Heimdal Kerberos 5 support
 %bcond_without ldap            # LDAP support
 %bcond_without http2           # HTTP/2.0 support (nghttp2 based)
@@ -23,18 +24,19 @@ Summary(pt_BR.UTF-8):       Busca URL (suporta FTP, TELNET, LDAP, GOPHER, DICT, HTTP e
 Summary(ru.UTF-8):     Утилита для получения файлов с серверов FTP, HTTP и других
 Summary(uk.UTF-8):     Утиліта для отримання файлів з серверів FTP, HTTP та інших
 Name:          curl
-Version:       7.75.0
+Version:       7.76.0
 Release:       1
 License:       MIT-like
 Group:         Applications/Networking
 Source0:       https://curl.haxx.se/download/%{name}-%{version}.tar.xz
-# Source0-md5: 9730df8636d67b4e256ebc49daf27246
+# Source0-md5: 41178ceea57c863f883b6fe2c3ac276f
 Patch0:                %{name}-ac.patch
 Patch1:                %{name}-krb5flags.patch
 URL:           http://curl.haxx.se/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 %{?with_ares:BuildRequires:    c-ares-devel >= 1.7.0}
+%{?with_gsasl:BuildRequires:   gsasl-devel}
 %{?with_kerberos5:BuildRequires:       heimdal-devel}
 BuildRequires: libbrotli-devel >= 1.0.0
 BuildRequires: libidn2-devel
@@ -57,6 +59,7 @@ BuildRequires:        openssl-devel >= 1.0.1
 %endif
 %endif
 BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRequires: zlib-devel
 BuildRequires: zstd-devel
 Requires:      %{name}-libs = %{version}-%{release}
@@ -142,6 +145,7 @@ Summary(uk.UTF-8):  Файли для розробки з використанн
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
 %{?with_ares:Requires: c-ares-devel}
+%{?with_gsasl:Requires:        gsasl-devel}
 %{?with_kerberos5:Requires:    heimdal-devel}
 Requires:      libbrotli-devel >= 1.0.0
 Requires:      libidn2-devel
@@ -246,6 +250,7 @@ Dopełnianianie parametrów w ZSH dla polecenia curl.
 %configure \
        ac_cv_header_gss_h=no \
        %{__enable_disable ares} \
+       %{__enable_disable gsasl} \
        --enable-ipv6 \
        %{__enable_disable ldap} \
        %{__enable_disable ldap ldaps} \
This page took 0.668003 seconds and 4 git commands to generate.