public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: new upstream release
@ 2026-11-03 12:34 Kamil Dudka
  0 siblings, 0 replies; 2+ messages in thread
From: Kamil Dudka @ 2026-11-03 12:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : eaba136aa17211cdb589a1051a458e37427c1b69
            Author : Kamil Dudka <kdudka@redhat.com>
            Date   : 2011-09-13T20:48:12+02:00
            Stats  : +51/-836 in 13 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/eaba136aa17211cdb589a1051a458e37427c1b69?branch=curl-v8.23.0-3

            Log:
            new upstream release

- new upstream release
- curl-config now provides dummy --static-libs option (#733956)

---
diff --git a/.gitignore b/.gitignore
index b67450b..6aa0641 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /curl-7.21.6.tar.lzma
 /curl-7.21.7.tar.lzma
+/curl-7.22.0.tar.lzma

diff --git a/0001-curl-7.21.7-a7864c4.patch b/0001-curl-7.21.7-a7864c4.patch
deleted file mode 100644
index 477f1e1..0000000
--- a/0001-curl-7.21.7-a7864c4.patch
+++ /dev/null
@@ -1,453 +0,0 @@
-From fd86734fca0945b2d6b90d6d7d0224cf0732114a Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Wed, 3 Aug 2011 12:48:49 +0200
-Subject: [PATCH 1/2] curl - rhbz #719939
-
----
- docs/libcurl/curl_easy_setopt.3  |    8 ++++++
- docs/libcurl/symbols-in-versions |    4 +++
- include/curl/curl.h              |    7 +++++
- lib/Makefile.in                  |   18 +++++++++++---
- lib/Makefile.inc                 |    4 +-
- lib/curl_gssapi.c                |   44 ++++++++++++++++++++++++++++++++++++
- lib/curl_gssapi.h                |   46 ++++++++++++++++++++++++++++++++++++++
- lib/http_negotiate.c             |    6 ++++-
- lib/krb5.c                       |    6 ++++-
- lib/socks_gssapi.c               |    7 ++++-
- lib/url.c                        |    6 +++++
- lib/urldata.h                    |    3 ++
- 12 files changed, 149 insertions(+), 10 deletions(-)
- create mode 100644 lib/curl_gssapi.c
- create mode 100644 lib/curl_gssapi.h
-
-diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
-index c2804f3..3b7826b 100644
---- a/docs/libcurl/curl_easy_setopt.3
-+++ b/docs/libcurl/curl_easy_setopt.3
-@@ -2105,6 +2105,14 @@ of these, 'private' will be used. Set the string to NULL to disable kerberos
- support for FTP.
- 
- (This option was known as CURLOPT_KRB4LEVEL up to 7.16.3)
-+.IP CURLOPT_GSSAPI_DELEGATION
-+Set the parameter to CURLGSSAPI_DELEGATION_FLAG to allow unconditional GSSAPI
-+credential delegation.  The delegation is disabled by default since 7.21.7.
-+Set the parameter to CURLGSSAPI_DELEGATION_POLICY_FLAG to delegate only if
-+the OK-AS-DELEGATE flag is set in the service ticket in case this feature is
-+supported by the GSSAPI implementation and the definition of
-+GSS_C_DELEG_POLICY_FLAG was available at compile-time.
-+(Added in 7.21.8)
- .SH SSH OPTIONS
- .IP CURLOPT_SSH_AUTH_TYPES
- Pass a long set to a bitmask consisting of one or more of
-diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions
-index 9257fb1..3c8f715 100644
---- a/docs/libcurl/symbols-in-versions
-+++ b/docs/libcurl/symbols-in-versions
-@@ -186,6 +186,9 @@ CURLFTPSSL_TRY                  7.11.0        7.17.0
- CURLFTP_CREATE_DIR              7.19.4
- CURLFTP_CREATE_DIR_NONE         7.19.4
- CURLFTP_CREATE_DIR_RETRY        7.19.4
-+CURLGSSAPI_DELEGATION_FLAG      7.21.8
-+CURLGSSAPI_DELEGATION_NONE      7.21.8
-+CURLGSSAPI_DELEGATION_POLICY_FLAG 7.21.8
- CURLINFO_APPCONNECT_TIME        7.19.0
- CURLINFO_CERTINFO               7.19.1
- CURLINFO_CONDITION_UNMET        7.19.4
-@@ -344,6 +347,7 @@ CURLOPT_FTP_SSL_CCC             7.16.1
- CURLOPT_FTP_USE_EPRT            7.10.5
- CURLOPT_FTP_USE_EPSV            7.9.2
- CURLOPT_FTP_USE_PRET            7.20.0
-+CURLOPT_GSSAPI_DELEGATION       7.21.8
- CURLOPT_HEADER                  7.1
- CURLOPT_HEADERDATA              7.10
- CURLOPT_HEADERFUNCTION          7.7.2
-diff --git a/include/curl/curl.h b/include/curl/curl.h
-index a9d42fa..bcbab86 100644
---- a/include/curl/curl.h
-+++ b/include/curl/curl.h
-@@ -614,6 +614,10 @@ typedef enum {
- #define CURLSSH_AUTH_KEYBOARD  (1<<3) /* keyboard interactive */
- #define CURLSSH_AUTH_DEFAULT CURLSSH_AUTH_ANY
- 
-+#define CURLGSSAPI_DELEGATION_NONE        0      /* no delegation (default) */
-+#define CURLGSSAPI_DELEGATION_POLICY_FLAG (1<<0) /* if permitted by policy */
-+#define CURLGSSAPI_DELEGATION_FLAG        (1<<1) /* delegate always */
-+
- #define CURL_ERROR_SIZE 256
- 
- struct curl_khkey {
-@@ -1483,6 +1487,9 @@ typedef enum {
-   CINIT(CLOSESOCKETFUNCTION, FUNCTIONPOINT, 208),
-   CINIT(CLOSESOCKETDATA, OBJECTPOINT, 209),
- 
-+  /* allow GSSAPI credential delegation */
-+  CINIT(GSSAPI_DELEGATION, LONG, 210),
-+
-   CURLOPT_LASTENTRY /* the last unused */
- } CURLoption;
- 
-diff --git a/lib/Makefile.in b/lib/Makefile.in
-index a99f5e9..d5c65e7 100644
---- a/lib/Makefile.in
-+++ b/lib/Makefile.in
-@@ -94,7 +94,7 @@ am__objects_1 = file.lo timeval.lo base64.lo hostip.lo progress.lo \
- 	curl_threads.lo warnless.lo hmac.lo polarssl.lo curl_rtmp.lo \
- 	openldap.lo curl_gethostname.lo gopher.lo axtls.lo \
- 	idn_win32.lo http_negotiate_sspi.lo cyassl.lo http_proxy.lo \
--	non-ascii.lo asyn-ares.lo asyn-thread.lo
-+	non-ascii.lo asyn-ares.lo asyn-thread.lo curl_gssapi.lo
- am__objects_2 =
- am_libcurl_la_OBJECTS = $(am__objects_1) $(am__objects_2)
- libcurl_la_OBJECTS = $(am_libcurl_la_OBJECTS)
-@@ -144,7 +144,8 @@ am__objects_3 = libcurlu_la-file.lo libcurlu_la-timeval.lo \
- 	libcurlu_la-axtls.lo libcurlu_la-idn_win32.lo \
- 	libcurlu_la-http_negotiate_sspi.lo libcurlu_la-cyassl.lo \
- 	libcurlu_la-http_proxy.lo libcurlu_la-non-ascii.lo \
--	libcurlu_la-asyn-ares.lo libcurlu_la-asyn-thread.lo
-+	libcurlu_la-asyn-ares.lo libcurlu_la-asyn-thread.lo \
-+	libcurlu_la-curl_gssapi.lo
- am_libcurlu_la_OBJECTS = $(am__objects_3) $(am__objects_2)
- libcurlu_la_OBJECTS = $(am_libcurlu_la_OBJECTS)
- @BUILD_UNITTESTS_TRUE@am_libcurlu_la_rpath =
-@@ -479,7 +480,7 @@ CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c	\
-   pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c		\
-   curl_rtmp.c openldap.c curl_gethostname.c gopher.c axtls.c		\
-   idn_win32.c http_negotiate_sspi.c cyassl.c http_proxy.c non-ascii.c	\
--  asyn-ares.c asyn-thread.c
-+  asyn-ares.c asyn-thread.c curl_gssapi.c
- 
- HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h	\
-   progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h	\
-@@ -494,7 +495,7 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h	\
-   curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h slist.h nonblock.h	\
-   curl_memrchr.h imap.h pop3.h smtp.h pingpong.h rtsp.h curl_threads.h	\
-   warnless.h curl_hmac.h polarssl.h curl_rtmp.h curl_gethostname.h	\
--  gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h asyn.h
-+  gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h asyn.h curl_gssapi.h
- 
- 
- # Makefile.inc provides the CSOURCES and HHEADERS defines
-@@ -612,6 +613,7 @@ distclean-compile:
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_addrinfo.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_fnmatch.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_gethostname.Plo@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_gssapi.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_memrchr.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_rand.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curl_rtmp.Plo@am__quote@
-@@ -662,6 +664,7 @@ distclean-compile:
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_addrinfo.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_fnmatch.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_gethostname.Plo@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_gssapi.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_memrchr.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_rand.Plo@am__quote@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcurlu_la-curl_rtmp.Plo@am__quote@
-@@ -1488,6 +1491,13 @@ libcurlu_la-asyn-thread.lo: asyn-thread.c
- @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libcurlu_la-asyn-thread.lo `test -f 'asyn-thread.c' || echo '$(srcdir)/'`asyn-thread.c
- 
-+libcurlu_la-curl_gssapi.lo: curl_gssapi.c
-+@am__fastdepCC_TRUE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libcurlu_la-curl_gssapi.lo -MD -MP -MF $(DEPDIR)/libcurlu_la-curl_gssapi.Tpo -c -o libcurlu_la-curl_gssapi.lo `test -f 'curl_gssapi.c' || echo '$(srcdir)/'`curl_gssapi.c
-+@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/libcurlu_la-curl_gssapi.Tpo $(DEPDIR)/libcurlu_la-curl_gssapi.Plo
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='curl_gssapi.c' object='libcurlu_la-curl_gssapi.lo' libtool=yes @AMDEPBACKSLASH@
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+@am__fastdepCC_FALSE@	$(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcurlu_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libcurlu_la-curl_gssapi.lo `test -f 'curl_gssapi.c' || echo '$(srcdir)/'`curl_gssapi.c
-+
- mostlyclean-libtool:
- 	-rm -f *.lo
- 
-diff --git a/lib/Makefile.inc b/lib/Makefile.inc
-index 04285b5..51fc919 100644
---- a/lib/Makefile.inc
-+++ b/lib/Makefile.inc
-@@ -22,7 +22,7 @@ CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c	\
-   pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c		\
-   curl_rtmp.c openldap.c curl_gethostname.c gopher.c axtls.c		\
-   idn_win32.c http_negotiate_sspi.c cyassl.c http_proxy.c non-ascii.c	\
--  asyn-ares.c asyn-thread.c
-+  asyn-ares.c asyn-thread.c curl_gssapi.c
- 
- HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h	\
-   progress.h formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h	\
-@@ -37,4 +37,4 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h	\
-   curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h slist.h nonblock.h	\
-   curl_memrchr.h imap.h pop3.h smtp.h pingpong.h rtsp.h curl_threads.h	\
-   warnless.h curl_hmac.h polarssl.h curl_rtmp.h curl_gethostname.h	\
--  gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h asyn.h
-+  gopher.h axtls.h cyassl.h http_proxy.h non-ascii.h asyn.h curl_gssapi.h
-diff --git a/lib/curl_gssapi.c b/lib/curl_gssapi.c
-new file mode 100644
-index 0000000..e55c9cc
---- /dev/null
-+++ b/lib/curl_gssapi.c
-@@ -0,0 +1,44 @@
-+/***************************************************************************
-+ *                                  _   _ ____  _
-+ *  Project                     ___| | | |  _ \| |
-+ *                             / __| | | | |_) | |
-+ *                            | (__| |_| |  _ <| |___
-+ *                             \___|\___/|_| \_\_____|
-+ *
-+ * Copyright (C) 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
-+ *
-+ * This software is licensed as described in the file COPYING, which
-+ * you should have received as part of this distribution. The terms
-+ * are also available at http://curl.haxx.se/docs/copyright.html.
-+ *
-+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
-+ * copies of the Software, and permit persons to whom the Software is
-+ * furnished to do so, under the terms of the COPYING file.
-+ *
-+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-+ * KIND, either express or implied.
-+ *
-+ ***************************************************************************/
-+
-+#include "setup.h"
-+
-+#ifdef HAVE_GSSAPI
-+
-+#include "curl_gssapi.h"
-+
-+void Curl_gss_req_flags(OM_uint32 *req_flags, const struct SessionHandle *data)
-+{
-+  if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_POLICY_FLAG) {
-+#ifdef GSS_C_DELEG_POLICY_FLAG
-+    *req_flags |= GSS_C_DELEG_POLICY_FLAG;
-+#else
-+    infof(data, "warning: support for CURLGSSAPI_DELEGATION_POLICY_FLAG not "
-+        "compiled in\n");
-+#endif
-+  }
-+
-+  if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_FLAG)
-+    *req_flags |= GSS_C_DELEG_FLAG;
-+}
-+
-+#endif /* HAVE_GSSAPI */
-diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h
-new file mode 100644
-index 0000000..02aa527
---- /dev/null
-+++ b/lib/curl_gssapi.h
-@@ -0,0 +1,46 @@
-+#ifndef HEADER_CURL_GSSAPI_H
-+#define HEADER_CURL_GSSAPI_H
-+/***************************************************************************
-+ *                                  _   _ ____  _
-+ *  Project                     ___| | | |  _ \| |
-+ *                             / __| | | | |_) | |
-+ *                            | (__| |_| |  _ <| |___
-+ *                             \___|\___/|_| \_\_____|
-+ *
-+ * Copyright (C) 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
-+ *
-+ * This software is licensed as described in the file COPYING, which
-+ * you should have received as part of this distribution. The terms
-+ * are also available at http://curl.haxx.se/docs/copyright.html.
-+ *
-+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
-+ * copies of the Software, and permit persons to whom the Software is
-+ * furnished to do so, under the terms of the COPYING file.
-+ *
-+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-+ * KIND, either express or implied.
-+ *
-+ ***************************************************************************/
-+
-+#include "setup.h"
-+#include "urldata.h"
-+
-+#ifdef HAVE_GSSAPI
-+
-+#ifdef HAVE_GSSGNU
-+#  include <gss.h>
-+#elif defined HAVE_GSSMIT
-+   /* MIT style */
-+#  include <gssapi/gssapi.h>
-+#  include <gssapi/gssapi_generic.h>
-+#  include <gssapi/gssapi_krb5.h>
-+#else
-+   /* Heimdal-style */
-+#  include <gssapi.h>
-+#endif
-+
-+void Curl_gss_req_flags(OM_uint32 *req_flags, const struct SessionHandle *data);
-+
-+#endif /* HAVE_GSSAPI */
-+
-+#endif /* HEADER_CURL_GSSAPI_H */
-diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
-index 5127e64..8cb69fe 100644
---- a/lib/http_negotiate.c
-+++ b/lib/http_negotiate.c
-@@ -40,6 +40,7 @@
- #include "curl_base64.h"
- #include "http_negotiate.h"
- #include "curl_memory.h"
-+#include "curl_gssapi.h"
- 
- #ifdef HAVE_SPNEGO
- #  include <spnegohelp.h>
-@@ -144,6 +145,9 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
-   bool gss;
-   const char* protocol;
- 
-+  OM_uint32 req_flags = 0;
-+  Curl_gss_req_flags(&req_flags, conn->data);
-+
-   while(*header && ISSPACE(*header))
-     header++;
-   if(checkprefix("GSS-Negotiate", header)) {
-@@ -243,7 +247,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
-                                       &neg_ctx->context,
-                                       neg_ctx->server_name,
-                                       GSS_C_NO_OID,
--                                      0,
-+                                      req_flags,
-                                       0,
-                                       GSS_C_NO_CHANNEL_BINDINGS,
-                                       &input_token,
-diff --git a/lib/krb5.c b/lib/krb5.c
-index f128d51..08f70f9 100644
---- a/lib/krb5.c
-+++ b/lib/krb5.c
-@@ -65,6 +65,7 @@
- #include "sendf.h"
- #include "krb4.h"
- #include "curl_memory.h"
-+#include "curl_gssapi.h"
- 
- #define _MPRINTF_REPLACE /* use our functions only */
- #include <curl/mprintf.h>
-@@ -185,6 +186,9 @@ krb5_auth(void *app_data, struct connectdata *conn)
-   gss_ctx_id_t *context = app_data;
-   struct gss_channel_bindings_struct chan;
- 
-+  OM_uint32 req_flags = GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG;
-+  Curl_gss_req_flags(&req_flags, data);
-+
-   if(getsockname(conn->sock[FIRSTSOCKET],
-                  (struct sockaddr *)LOCAL_ADDR, &l) < 0)
-     perror("getsockname()");
-@@ -247,7 +251,7 @@ krb5_auth(void *app_data, struct connectdata *conn)
-                                  context,
-                                  gssname,
-                                  GSS_C_NO_OID,
--                                 GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG,
-+                                 req_flags,
-                                  0,
-                                  &chan,
-                                  gssresp,
-diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
-index 653306c..57048be 100644
---- a/lib/socks_gssapi.c
-+++ b/lib/socks_gssapi.c
-@@ -43,6 +43,7 @@
- #include "timeval.h"
- #include "socks.h"
- #include "warnless.h"
-+#include "curl_gssapi.h"
- 
- #define _MPRINTF_REPLACE /* use our functions only */
- #include <curl/mprintf.h>
-@@ -137,6 +138,9 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
-   unsigned char socksreq[4]; /* room for gssapi exchange header only */
-   char *serviceptr = data->set.str[STRING_SOCKS5_GSSAPI_SERVICE];
- 
-+  OM_uint32 req_flags = GSS_C_MUTUAL_FLAG | GSS_C_REPLAY_FLAG;
-+  Curl_gss_req_flags(&req_flags, data);
-+
-   /* get timeout */
-   timeout = Curl_timeleft(data, NULL, TRUE);
- 
-@@ -187,8 +191,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
-                                             GSS_C_NO_CREDENTIAL,
-                                             &gss_context, server,
-                                             GSS_C_NULL_OID,
--                                            GSS_C_MUTUAL_FLAG |
--                                            GSS_C_REPLAY_FLAG,
-+                                            req_flags,
-                                             0,
-                                             NULL,
-                                             gss_token,
-diff --git a/lib/url.c b/lib/url.c
-index c5b642f..39e04af 100644
---- a/lib/url.c
-+++ b/lib/url.c
-@@ -1985,6 +1985,12 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
-                        va_arg(param, char *));
-     data->set.krb = (bool)(NULL != data->set.str[STRING_KRB_LEVEL]);
-     break;
-+  case CURLOPT_GSSAPI_DELEGATION:
-+    /*
-+     * GSSAPI credential delegation
-+     */
-+    data->set.gssapi_delegation = va_arg(param, long);
-+    break;
-   case CURLOPT_SSL_VERIFYPEER:
-     /*
-      * Enable peer SSL verifying.
-diff --git a/lib/urldata.h b/lib/urldata.h
-index d256968..d3cfec3 100644
---- a/lib/urldata.h
-+++ b/lib/urldata.h
-@@ -1517,6 +1517,9 @@ struct UserDefined {
-   curl_fnmatch_callback fnmatch; /* callback to decide which file corresponds
-                                     to pattern (e.g. if WILDCARDMATCH is on) */
-   void *fnmatch_data;
-+
-+  long gssapi_delegation; /* GSSAPI credential delegation, see the
-+                             documentation of CURLOPT_GSSAPI_DELEGATION */
- };
- 
- struct Names {
--- 
-1.7.4.4
-
-
-From d4ea7258b1703497fd0c06e08369a6bd3e37d2e8 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Wed, 3 Aug 2011 18:00:07 +0200
-Subject: [PATCH 2/2] curl_gssapi: add a missing include of sendf.h
-
-... to avoid build failure when GSS_C_DELEG_POLICY_FLAG is not defined.
-
-Reported by: Paul Howarth
----
- lib/curl_gssapi.c |    3 ++-
- lib/curl_gssapi.h |    2 +-
- 2 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/lib/curl_gssapi.c b/lib/curl_gssapi.c
-index e55c9cc..d1b1715 100644
---- a/lib/curl_gssapi.c
-+++ b/lib/curl_gssapi.c
-@@ -25,8 +25,9 @@
- #ifdef HAVE_GSSAPI
- 
- #include "curl_gssapi.h"
-+#include "sendf.h"
- 
--void Curl_gss_req_flags(OM_uint32 *req_flags, const struct SessionHandle *data)
-+void Curl_gss_req_flags(OM_uint32 *req_flags, struct SessionHandle *data)
- {
-   if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_POLICY_FLAG) {
- #ifdef GSS_C_DELEG_POLICY_FLAG
-diff --git a/lib/curl_gssapi.h b/lib/curl_gssapi.h
-index 02aa527..c8ffefc 100644
---- a/lib/curl_gssapi.h
-+++ b/lib/curl_gssapi.h
-@@ -39,7 +39,7 @@
- #  include <gssapi.h>
- #endif
- 
--void Curl_gss_req_flags(OM_uint32 *req_flags, const struct SessionHandle *data);
-+void Curl_gss_req_flags(OM_uint32 *req_flags, struct SessionHandle *data);
- 
- #endif /* HAVE_GSSAPI */
- 
--- 
-1.7.4.4
-

diff --git a/0002-curl-7.21.7-5eb2396.patch b/0002-curl-7.21.7-5eb2396.patch
deleted file mode 100644
index e104e3a..0000000
--- a/0002-curl-7.21.7-5eb2396.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 5eb2396cd15cbbf73b02ad6bbcc313167330c2b5 Mon Sep 17 00:00:00 2001
-From: Daniel Stenberg <daniel@haxx.se>
-Date: Thu, 4 Aug 2011 23:22:48 +0200
-Subject: [PATCH] segfault fixed
-
-When using both -J and a single -O with multiple URLs, a missing init
-could cause badness.
-
-Bug: http://curl.haxx.se/mail/lib-2011-07/0126.html and
-     http://bugzilla.redhat.com/723075
-Reported by: Paul Howarth and Garrett Holmstrom
----
- src/main.c |    1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/src/main.c b/src/main.c
-index 6dcf333..eae45de 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -4898,6 +4898,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
-     outs.stream = stdout;
-     outs.config = config;
-     outs.bytes = 0; /* nothing written yet */
-+    outs.filename = NULL;
- 
-     /* save outfile pattern before expansion */
-     if(urlnode->outfile) {
--- 
-1.7.4.4
-

diff --git a/0003-curl-7.21.7-5538904.patch b/0003-curl-7.21.7-5538904.patch
deleted file mode 100644
index 1374ad8..0000000
--- a/0003-curl-7.21.7-5538904.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From 9698db7fd56b08cc8f9bdeb2182bc9afdbcb4f90 Mon Sep 17 00:00:00 2001
-From: Daniel Stenberg <daniel@haxx.se>
-Date: Fri, 12 Aug 2011 14:48:32 +0200
-Subject: [PATCH 1/2] added --delegation
-
-Using this option with an argument being set to one of
-none/policy/always instructs libcurl how to deal with GSS
-credentials. Or rather how it tells the server that delegation is fine
-or not.
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- src/main.c |   29 ++++++++++++++++++++++++++---
- 1 files changed, 26 insertions(+), 3 deletions(-)
-
-diff --git a/src/main.c b/src/main.c
-index d85bf62..3a2595c 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -659,6 +659,7 @@ struct Configurable {
-                              basically each given URL to transfer */
-   struct OutStruct *outs;
-   bool xattr; /* store metadata in extended attributes */
-+  long gssapi_delegation;
- };
- 
- #define WARN_PREFIX "Warning: "
-@@ -817,6 +818,7 @@ static void help(void)
-     "    --data-binary <data> HTTP POST binary data (H)",
-     "    --data-urlencode <name=data/name@filename> "
-     "HTTP POST data url encoded (H)",
-+    "    --delegation STRING GSS-API delegation permission",
-     "    --digest        Use HTTP Digest Authentication (H)",
-     "    --disable-eprt  Inhibit using EPRT or LPRT (F)",
-     "    --disable-epsv  Inhibit using EPSV (F)",
-@@ -1823,6 +1825,18 @@ static int sockoptcallback(void *clientp, curl_socket_t curlfd,
-   return 0;
- }
- 
-+static long delegation(struct Configurable *config,
-+                       char *str)
-+{
-+  if(curlx_raw_equal("none", str))
-+    return CURLGSSAPI_DELEGATION_NONE;
-+  if(curlx_raw_equal("policy", str))
-+    return CURLGSSAPI_DELEGATION_POLICY_FLAG;
-+  if(curlx_raw_equal("always", str))
-+    return CURLGSSAPI_DELEGATION_FLAG;
-+  warnf(config, "unrecognized delegation method '%s', using none\n", str);
-+  return CURLGSSAPI_DELEGATION_NONE;
-+}
- 
- static ParameterError getparameter(char *flag, /* f or -long-flag */
-                                    char *nextarg, /* NULL if unset */
-@@ -1942,6 +1956,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
-     {"$D", "proto",      TRUE},
-     {"$E", "proto-redir", TRUE},
-     {"$F", "resolve",    TRUE},
-+    {"$G", "delegation", TRUE},
-     {"0", "http1.0",     FALSE},
-     {"1", "tlsv1",       FALSE},
-     {"2", "sslv2",       FALSE},
-@@ -2516,6 +2531,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
-         if(err)
-           return err;
-         break;
-+      case 'G': /* --delegation LEVEL */
-+        config->gssapi_delegation = delegation(config, nextarg);
-+        break;
-       }
-       break;
-     case '#': /* --progress-bar */
-@@ -5564,9 +5582,14 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
-           /* new in 7.21.3 */
-           my_setopt(curl, CURLOPT_RESOLVE, config->resolve);
- 
--        /* TODO: new in ### */
--        curl_easy_setopt(curl, CURLOPT_TLSAUTH_USERNAME, config->tls_username);
--        curl_easy_setopt(curl, CURLOPT_TLSAUTH_PASSWORD, config->tls_password);
-+        /* new in 7.21.4 */
-+        my_setopt_str(curl, CURLOPT_TLSAUTH_USERNAME, config->tls_username);
-+        my_setopt_str(curl, CURLOPT_TLSAUTH_PASSWORD, config->tls_password);
-+
-+        /* new in 7.22.0 */
-+        if(config->gssapi_delegation)
-+          my_setopt_str(curl, CURLOPT_GSSAPI_DELEGATION,
-+                        config->gssapi_delegation);
- 
-         retry_numretries = config->req_retry;
- 
--- 
-1.7.4.4
-
-
-From 8e404e1c3846cc98a1977514af5b0432ae2de755 Mon Sep 17 00:00:00 2001
-From: Daniel Stenberg <daniel@haxx.se>
-Date: Fri, 12 Aug 2011 23:51:41 +0200
-Subject: [PATCH 2/2] docs: --delegation
-
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- docs/curl.1 |   12 ++++++++++++
- 1 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git a/docs/curl.1 b/docs/curl.1
-index 812b2eb..eee3481 100644
---- a/docs/curl.1
-+++ b/docs/curl.1
-@@ -320,6 +320,18 @@ URL-encode that data and pass it on in the POST. The name part gets an equal
- sign appended, resulting in \fIname=urlencoded-file-content\fP. Note that the
- name is expected to be URL-encoded already.
- .RE
-+.IP "--delegation LEVEL"
-+Set \fILEVEL\fP to tell the server what it is allowed to delegate when it
-+comes to user credentials. Used with GSS/kerberos.
-+.RS
-+.IP "none"
-+Don't allow any delegation.
-+.IP "policy"
-+Delegates if and only if the OK-AS-DELEGATE flag is set in the Kerberos
-+service ticket, which is a matter of realm policy.
-+.IP "always"
-+Unconditionally allow the server to delegate.
-+.RE
- .IP "--digest"
- (HTTP) Enables HTTP Digest authentication. This is a authentication that
- prevents the password from being sent over the wire in clear text. Use this in
--- 
-1.7.4.4
-

diff --git a/0004-curl-7.21.7-d6f319f.patch b/0004-curl-7.21.7-d6f319f.patch
deleted file mode 100644
index 33f430d..0000000
--- a/0004-curl-7.21.7-d6f319f.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-From 857fed6e245a9620b0f25a2f4ca6d6dc01584674 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Mon, 15 Aug 2011 13:48:45 +0200
-Subject: [PATCH] nss: start with no database if the selected database is
- broken
-
-Bug: https://bugzilla.redhat.com/728562
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- lib/nss.c |   63 +++++++++++++++++++++++++++++++++++++-----------------------
- 1 files changed, 39 insertions(+), 24 deletions(-)
-
-diff --git a/lib/nss.c b/lib/nss.c
-index 3dc0ba6..94a530b 100644
---- a/lib/nss.c
-+++ b/lib/nss.c
-@@ -898,10 +898,42 @@ isTLSIntoleranceError(PRInt32 err)
-   }
- }
- 
--static CURLcode init_nss(struct SessionHandle *data)
-+static CURLcode nss_init_core(struct SessionHandle *data, const char *cert_dir)
-+{
-+  if(NSS_IsInitialized())
-+    return CURLE_OK;
-+
-+  if(cert_dir) {
-+    SECStatus rv;
-+    const bool use_sql = NSS_VersionCheck("3.12.0");
-+    char *certpath = aprintf("%s%s", use_sql ? "sql:" : "", cert_dir);
-+    if(!certpath)
-+      return CURLE_OUT_OF_MEMORY;
-+
-+    infof(data, "Initializing NSS with certpath: %s\n", certpath);
-+    rv = NSS_Initialize(certpath, "", "", "", NSS_INIT_READONLY);
-+    free(certpath);
-+
-+    if(rv == SECSuccess)
-+      return CURLE_OK;
-+
-+    infof(data, "Unable to initialize NSS database\n");
-+  }
-+
-+  infof(data, "Initializing NSS with certpath: none\n");
-+  if(NSS_NoDB_Init(NULL) == SECSuccess)
-+    return CURLE_OK;
-+
-+  infof(data, "Unable to initialize NSS\n");
-+  return CURLE_SSL_CACERT_BADFILE;
-+}
-+
-+static CURLcode nss_init(struct SessionHandle *data)
- {
-   char *cert_dir;
-   struct_stat st;
-+  CURLcode rv;
-+
-   if(initialized)
-     return CURLE_OK;
- 
-@@ -922,31 +954,14 @@ static CURLcode init_nss(struct SessionHandle *data)
-     }
-   }
- 
--  if(!NSS_IsInitialized()) {
--    SECStatus rv;
--    initialized = 1;
--    infof(data, "Initializing NSS with certpath: %s\n",
--          cert_dir ? cert_dir : "none");
--    if(!cert_dir) {
--      rv = NSS_NoDB_Init(NULL);
--    }
--    else {
--      char *certpath =
--        PR_smprintf("%s%s", NSS_VersionCheck("3.12.0") ? "sql:" : "",
--                    cert_dir);
--      rv = NSS_Initialize(certpath, "", "", "", NSS_INIT_READONLY);
--      PR_smprintf_free(certpath);
--    }
--    if(rv != SECSuccess) {
--      infof(data, "Unable to initialize NSS database\n");
--      initialized = 0;
--      return CURLE_SSL_CACERT_BADFILE;
--    }
--  }
-+  rv = nss_init_core(data, cert_dir);
-+  if(rv)
-+    return rv;
- 
-   if(num_enabled_ciphers() == 0)
-     NSS_SetDomesticPolicy();
- 
-+  initialized = 1;
-   return CURLE_OK;
- }
- 
-@@ -981,7 +996,7 @@ CURLcode Curl_nss_force_init(struct SessionHandle *data)
-   }
- 
-   PR_Lock(nss_initlock);
--  rv = init_nss(data);
-+  rv = nss_init(data);
-   PR_Unlock(nss_initlock);
-   return rv;
- }
-@@ -1184,7 +1199,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
- 
-   /* FIXME. NSS doesn't support multiple databases open at the same time. */
-   PR_Lock(nss_initlock);
--  curlerr = init_nss(conn->data);
-+  curlerr = nss_init(conn->data);
-   if(CURLE_OK != curlerr) {
-     PR_Unlock(nss_initlock);
-     goto error;
--- 
-1.7.4.4
-

diff --git a/0005-curl-7.21.7-61ae7e9.patch b/0005-curl-7.21.7-61ae7e9.patch
deleted file mode 100644
index 87a1365..0000000
--- a/0005-curl-7.21.7-61ae7e9.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 61ae7e9ce77af86a7290fca8bf73c9798f80845c Mon Sep 17 00:00:00 2001
-From: Daniel Stenberg <daniel@haxx.se>
-Date: Sun, 21 Aug 2011 12:59:06 +0200
-Subject: [PATCH] main: fix segfault
-
-Follow-up to commit 5eb2396cd as that wasn't complete.
-
-At times HEADERFUNCTION+HEADERDATA was set only to have only HEADERDATA
-set in the subsequent loop which could cause a NULL to get sent as
-userdata to 'header_callback' which wasn't made to handle that.
-
-Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the
-callback.
----
- src/main.c |    8 ++++++--
- 1 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/main.c b/src/main.c
-index 276718b..56cd133 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -5415,8 +5415,6 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
-         my_setopt(curl, CURLOPT_QUOTE, config->quote);
-         my_setopt(curl, CURLOPT_POSTQUOTE, config->postquote);
-         my_setopt(curl, CURLOPT_PREQUOTE, config->prequote);
--        my_setopt(curl, CURLOPT_HEADERDATA,
--                  config->headerfile?&heads:NULL);
-         my_setopt_str(curl, CURLOPT_COOKIEFILE, config->cookiefile);
-         /* cookie jar was added in 7.9 */
-         if(config->cookiejar)
-@@ -5621,6 +5619,12 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
-           my_setopt(curl, CURLOPT_HEADERFUNCTION, header_callback);
-           my_setopt(curl, CURLOPT_HEADERDATA, &outs);
-         }
-+        else {
-+          /* if HEADERFUNCTION was set to something in the previous loop, it
-+             is important that we set it (back) to NULL now */
-+          my_setopt(curl, CURLOPT_HEADERFUNCTION, NULL);
-+          my_setopt(curl, CURLOPT_HEADERDATA, config->headerfile?&heads:NULL);
-+        }
- 
-         if(config->resolve)
-           /* new in 7.21.3 */
--- 
-1.7.6
-

diff --git a/0101-curl-7.21.1-multilib.patch b/0101-curl-7.21.1-multilib.patch
index 83c1cd8..cbb5bab 100644
--- a/0101-curl-7.21.1-multilib.patch
+++ b/0101-curl-7.21.1-multilib.patch
@@ -1,20 +1,13 @@
- curl-config.in |   22 ++++------------------
- libcurl.pc.in  |    1 +
- 2 files changed, 5 insertions(+), 18 deletions(-)
+ curl-config.in     |   16 +++-------------
+ docs/curl-config.1 |    4 +++-
+ libcurl.pc.in      |    1 +
+ 3 files changed, 7 insertions(+), 14 deletions(-)
 
 diff --git a/curl-config.in b/curl-config.in
-index ebda129..b404827 100644
+index 150004d..95d0759 100644
 --- a/curl-config.in
 +++ b/curl-config.in
-@@ -43,7 +43,6 @@ Available values for OPTION include:
-   --libs      library linking information
-   --prefix    curl install prefix
-   --protocols newline separated list of enabled protocols
--  --static-libs static libcurl library linking information
-   --version   output version information
-   --vernum    output the version information as a number (hexadecimal)
- EOF
-@@ -74,7 +73,7 @@ while test $# -gt 0; do
+@@ -74,7 +74,7 @@ while test $# -gt 0; do
  	;;
  
      --cc)
@@ -23,7 +16,7 @@ index ebda129..b404827 100644
  	;;
  
      --prefix)
-@@ -136,25 +135,12 @@ while test $# -gt 0; do
+@@ -136,24 +136,14 @@ while test $# -gt 0; do
         	;;
  
      --libs)
@@ -37,21 +30,36 @@ index ebda129..b404827 100644
 -	else
 -	  echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
 -	fi
--	;;
--
--    --static-libs)
--	echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
 +	pkg-config libcurl --libs
  	;;
  
+     --static-libs)
+-	echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
+ 	;;
+ 
      --configure)
 -      echo @CONFIGURE_OPTIONS@
--    ;;
 +	pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
-+	;;
+     ;;
  
      *)
-         echo "unknown option: $1"
+diff --git a/docs/curl-config.1 b/docs/curl-config.1
+index c4f4e2b..3e0ea60 100644
+--- a/docs/curl-config.1
++++ b/docs/curl-config.1
+@@ -65,7 +65,9 @@ be listed using uppercase and are separated by newlines. There may be none,
+ one, or several protocols in the list. (Added in 7.13.0)
+ .IP "--static-libs"
+ Shows the complete set of libs and other linker options you will need in order
+-to link your application with libcurl statically. (Added in 7.17.1)
++to link your application with libcurl statically. Note that Fedora/RHEL libcurl
++packages do not provide any static libraries, thus cannot be linked statically.
++(Added in 7.17.1)
+ .IP "--version"
+ Outputs version information about the installed libcurl.
+ .IP "--vernum"
+diff --git a/libcurl.pc.in b/libcurl.pc.in
+index 2ba9c39..f8f8b00 100644
 --- a/libcurl.pc.in
 +++ b/libcurl.pc.in
 @@ -29,6 +29,7 @@ libdir=@libdir@

diff --git a/0102-curl-7.21.2-debug.patch b/0102-curl-7.21.2-debug.patch
index 0c1fdc1..9e52d8d 100644
--- a/0102-curl-7.21.2-debug.patch
+++ b/0102-curl-7.21.2-debug.patch
@@ -6,7 +6,7 @@ diff --git a/configure b/configure
 index d3ecf69..6d8f085 100755
 --- a/configure
 +++ b/configure
-@@ -15006,18 +15006,11 @@ $as_echo "yes" >&6; }
+@@ -14977,18 +14977,11 @@ $as_echo "yes" >&6; }
      gccvhi=`echo $gccver | cut -d . -f1`
      gccvlo=`echo $gccver | cut -d . -f2`
      compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`

diff --git a/0105-curl-7.21.3-disable-test1112.patch b/0105-curl-7.21.3-disable-test1112.patch
index d1c0292..4136091 100644
--- a/0105-curl-7.21.3-disable-test1112.patch
+++ b/0105-curl-7.21.3-disable-test1112.patch
@@ -6,25 +6,25 @@ diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
 index 9370974..b553f54 100644
 --- a/tests/data/Makefile.am
 +++ b/tests/data/Makefile.am
-@@ -69,7 +69,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
+@@ -70,7 +70,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
  test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
  test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
  test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
 -test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
 +test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
  test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
- test1126 test1127 test1128 test1200 test1201 test1202 test1203 test1300	\
- test1301 test1302 test1303 test1304 test1305 test1306 test1307 test1308	\
+ test1126 test1127 test1128 test1129 test1130 test1131 test1200 test1201	\
+ test1202 test1203 test1300 test1301 test1302 test1303 test1304 test1305	\
 diff --git a/tests/data/Makefile.in b/tests/data/Makefile.in
 index 435b126..1d71c4e 100644
 --- a/tests/data/Makefile.in
 +++ b/tests/data/Makefile.in
-@@ -317,7 +317,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
+@@ -318,7 +318,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
  test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
  test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
  test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
 -test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
 +test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
  test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
- test1126 test1127 test1128 test1200 test1201 test1202 test1203 test1300	\
- test1301 test1302 test1303 test1304 test1305 test1306 test1307 test1308	\
+ test1126 test1127 test1128 test1129 test1130 test1131 test1200 test1201	\
+ test1202 test1203 test1300 test1301 test1302 test1303 test1304 test1305	\

diff --git a/curl-7.21.7.tar.lzma.asc b/curl-7.21.7.tar.lzma.asc
deleted file mode 100644
index eaa2a04..0000000
--- a/curl-7.21.7.tar.lzma.asc
+++ /dev/null
@@ -1,7 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.11 (GNU/Linux)
-
-iEYEABECAAYFAk4C+RkACgkQeOEcayedXJE+zgCgpoA3RZSH/V7Pt2r+V4vw6XzE
-l4gAoI6vUkMdpsA0HZb3qVU7xj+UeZAC
-=XD6y
------END PGP SIGNATURE-----

diff --git a/curl-7.22.0.tar.lzma.asc b/curl-7.22.0.tar.lzma.asc
new file mode 100644
index 0000000..3697fb4
--- /dev/null
+++ b/curl-7.22.0.tar.lzma.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk5viyUACgkQeOEcayedXJEaggCg7JyyFFNTACA/n5MGVKXwYHQC
+ovcAnRO3592IDU38/JT89o7kUWQ9Ae1m
+=Z547
+-----END PGP SIGNATURE-----

diff --git a/curl.spec b/curl.spec
index 0c33adc..0a3784d 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,26 +1,13 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
-Version: 7.21.7
-Release: 4%{?dist}
+Version: 7.22.0
+Release: 1%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
 Source2: curlbuild.h
 Source3: hide_selinux.c
 
-# add a new option CURLOPT_GSSAPI_DELEGATION (#719939)
-Patch1: 0001-curl-7.21.7-a7864c4.patch
-
-# fix SIGSEGV of curl -O -J given more than one URLs (#723075)
-Patch2: 0002-curl-7.21.7-5eb2396.patch
-Patch5: 0005-curl-7.21.7-61ae7e9.patch
-
-# introduce the --delegation option of curl (#730444)
-Patch3: 0003-curl-7.21.7-5538904.patch
-
-# initialize NSS with no database if the selected database is broken (#728562)
-Patch4: 0004-curl-7.21.7-d6f319f.patch
-
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.21.1-multilib.patch
 
@@ -119,13 +106,6 @@ for f in CHANGES README; do
     mv -f ${f}.utf8 ${f}
 done
 
-# upstream patches (already applied)
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-
 # Fedora patches
 %patch101 -p1
 %patch102 -p1
@@ -238,6 +218,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Tue Sep 13 2011 Kamil Dudka <kdudka@redhat.com> 7.22.0-1
+- new upstream release
+- curl-config now provides dummy --static-libs option (#733956)
+
 * Sun Aug 21 2011 Paul Howarth <paul@city-fan.org> 7.21.7-4
 - actually fix SIGSEGV of curl -O -J given more than one URL (#723075)
 

diff --git a/sources b/sources
index 5366a1d..f60f11b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5dbcbabe8fd577763106c4f655e31b66  curl-7.21.7.tar.lzma
+2fd7d848e143b32a42bf2a28af7caab0  curl-7.22.0.tar.lzma

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/curl] curl-v8.23.0-3: new upstream release
@ 2026-11-03 12:34 Kamil Dudka
  0 siblings, 0 replies; 2+ messages in thread
From: Kamil Dudka @ 2026-11-03 12:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 23fcdc59a10746d053fdffb92ee362f5ff30067f
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2012-05-25T09:17:42+02:00
Stats  : +199/-840 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/23fcdc59a10746d053fdffb92ee362f5ff30067f?branch=curl-v8.23.0-3

Log:
new upstream release

---
diff --git a/0001-curl-7.25.0-20cb12db.patch b/0001-curl-7.25.0-20cb12db.patch
deleted file mode 100644
index bdbbc60..0000000
--- a/0001-curl-7.25.0-20cb12db.patch
+++ /dev/null
@@ -1,588 +0,0 @@
-From 944d7ff57fbda967db73114c2c8d49eff3f83160 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Fri, 6 Apr 2012 16:05:25 +0200
-Subject: [PATCH 1/2] nss: unconditionally require PK11_CreateGenericObject()
-
-This bumps the minimal supported version of NSS to 3.12.x.
-
-[upstream commit 42aa7961]
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- configure               |   64 +++++++---------------------------------------
- configure.ac            |   10 +------
- docs/INTERNALS          |    2 +-
- lib/config-symbian.h    |    3 --
- lib/config-vxworks.h    |    3 --
- lib/curl_config.h.cmake |    3 --
- lib/curl_config.h.in    |    3 --
- lib/nss.c               |   30 +--------------------
- lib/urldata.h           |    2 -
- 9 files changed, 15 insertions(+), 105 deletions(-)
-
-diff --git a/configure b/configure
-index 8b0b30a..d20dab3 100755
---- a/configure
-+++ b/configure
-@@ -672,7 +672,6 @@ CURL_CA_BUNDLE
- SSL_ENABLED
- USE_AXTLS
- USE_NSS
--HAVE_PK11_CREATEGENERICOBJECT
- USE_CYASSL
- USE_POLARSSL
- HAVE_GNUTLS_SRP
-@@ -22530,49 +22529,6 @@ $as_echo "found" >&6; }
-         nssprefix=$OPT_NSS
-     fi
- 
--            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_CreateGenericObject in -lnss3" >&5
--$as_echo_n "checking for PK11_CreateGenericObject in -lnss3... " >&6; }
--if test "${ac_cv_lib_nss3_PK11_CreateGenericObject+set}" = set; then :
--  $as_echo_n "(cached) " >&6
--else
--  ac_check_lib_save_LIBS=$LIBS
--LIBS="-lnss3  $LIBS"
--cat confdefs.h - <<_ACEOF >conftest.$ac_ext
--/* end confdefs.h.  */
--
--
--#ifdef __cplusplus
--extern "C"
--#endif
--char PK11_CreateGenericObject ();
--int main (void)
--{
--return PK11_CreateGenericObject ();
-- ;
-- return 0;
--}
--_ACEOF
--if ac_fn_c_try_link "$LINENO"; then :
--  ac_cv_lib_nss3_PK11_CreateGenericObject=yes
--else
--  ac_cv_lib_nss3_PK11_CreateGenericObject=no
--fi
--rm -f core conftest.err conftest.$ac_objext \
--    conftest$ac_exeext conftest.$ac_ext
--LIBS=$ac_check_lib_save_LIBS
--fi
--{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_CreateGenericObject" >&5
--$as_echo "$ac_cv_lib_nss3_PK11_CreateGenericObject" >&6; }
--if test "x$ac_cv_lib_nss3_PK11_CreateGenericObject" = x""yes; then :
--
--
--$as_echo "#define HAVE_PK11_CREATEGENERICOBJECT 1" >>confdefs.h
--
--     HAVE_PK11_CREATEGENERICOBJECT=1
--
--
--fi
--
-     if test -n "$addlib"; then
- 
-       CLEANLIBS="$LIBS"
-@@ -22583,9 +22539,9 @@ fi
-          CPPFLAGS="$CPPFLAGS $addcflags"
-       fi
- 
--      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Initialize in -lnss3" >&5
--$as_echo_n "checking for NSS_Initialize in -lnss3... " >&6; }
--if test "${ac_cv_lib_nss3_NSS_Initialize+set}" = set; then :
-+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_CreateGenericObject in -lnss3" >&5
-+$as_echo_n "checking for PK11_CreateGenericObject in -lnss3... " >&6; }
-+if test "${ac_cv_lib_nss3_PK11_CreateGenericObject+set}" = set; then :
-   $as_echo_n "(cached) " >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
-@@ -22597,26 +22553,26 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- #ifdef __cplusplus
- extern "C"
- #endif
--char NSS_Initialize ();
-+char PK11_CreateGenericObject ();
- int main (void)
- {
--return NSS_Initialize ();
-+return PK11_CreateGenericObject ();
-  ;
-  return 0;
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
--  ac_cv_lib_nss3_NSS_Initialize=yes
-+  ac_cv_lib_nss3_PK11_CreateGenericObject=yes
- else
--  ac_cv_lib_nss3_NSS_Initialize=no
-+  ac_cv_lib_nss3_PK11_CreateGenericObject=no
- fi
- rm -f core conftest.err conftest.$ac_objext \
-     conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Initialize" >&5
--$as_echo "$ac_cv_lib_nss3_NSS_Initialize" >&6; }
--if test "x$ac_cv_lib_nss3_NSS_Initialize" = x""yes; then :
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_CreateGenericObject" >&5
-+$as_echo "$ac_cv_lib_nss3_PK11_CreateGenericObject" >&6; }
-+if test "x$ac_cv_lib_nss3_PK11_CreateGenericObject" = x""yes; then :
- 
- 
- $as_echo "#define USE_NSS 1" >>confdefs.h
-diff --git a/configure.ac b/configure.ac
-index 631563d..1b48f7b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -2079,13 +2079,6 @@ if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then
-         nssprefix=$OPT_NSS
-     fi
- 
--    dnl Check for functionPK11_CreateGenericObject
--    dnl this is needed for using the PEM PKCS#11 module
--    AC_CHECK_LIB(nss3, PK11_CreateGenericObject,
--     [
--     AC_DEFINE(HAVE_PK11_CREATEGENERICOBJECT, 1, [if you have the function PK11_CreateGenericObject])
--     AC_SUBST(HAVE_PK11_CREATEGENERICOBJECT, [1])
--     ])
-     if test -n "$addlib"; then
- 
-       CLEANLIBS="$LIBS"
-@@ -2096,7 +2089,8 @@ if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then
-          CPPFLAGS="$CPPFLAGS $addcflags"
-       fi
- 
--      AC_CHECK_LIB(nss3, NSS_Initialize,
-+      dnl The function PK11_CreateGenericObject is needed to load libnsspem.so
-+      AC_CHECK_LIB(nss3, PK11_CreateGenericObject,
-        [
-        AC_DEFINE(USE_NSS, 1, [if NSS is enabled])
-        AC_SUBST(USE_NSS, [1])
-diff --git a/docs/INTERNALS b/docs/INTERNALS
-index 39c4df7..8024ea8 100644
---- a/docs/INTERNALS
-+++ b/docs/INTERNALS
-@@ -43,7 +43,7 @@ Portability
-  openldap     2.0
-  MIT krb5 lib 1.2.4
-  qsossl       V5R2M0
-- NSS          3.11.x
-+ NSS          3.12.x
-  axTLS        1.2.7
-  Heimdal      ?
- 
-diff --git a/lib/config-symbian.h b/lib/config-symbian.h
-index 24ed733..417025a 100644
---- a/lib/config-symbian.h
-+++ b/lib/config-symbian.h
-@@ -400,9 +400,6 @@
- /* Define to 1 if you have the `pipe' function. */
- #define HAVE_PIPE 1
- 
--/* if you have the function PK11_CreateGenericObject */
--/* #undef HAVE_PK11_CREATEGENERICOBJECT */
--
- /* Define to 1 if you have the `poll' function. */
- /*#define HAVE_POLL 1*/
- 
-diff --git a/lib/config-vxworks.h b/lib/config-vxworks.h
-index 8e2d05a..9149507 100644
---- a/lib/config-vxworks.h
-+++ b/lib/config-vxworks.h
-@@ -469,9 +469,6 @@
- /* Define to 1 if you have the `pipe' function. */
- #define HAVE_PIPE 1
- 
--/* if you have the function PK11_CreateGenericObject */
--/* #undef HAVE_PK11_CREATEGENERICOBJECT */
--
- /* Define to 1 if you have a working poll function. */
- /* #undef HAVE_POLL */
- 
-diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
-index a321302..88b4de2 100644
---- a/lib/curl_config.h.cmake
-+++ b/lib/curl_config.h.cmake
-@@ -444,9 +444,6 @@
- /* Define to 1 if you have the `pipe' function. */
- #cmakedefine HAVE_PIPE ${HAVE_PIPE}
- 
--/* if you have the function PK11_CreateGenericObject */
--#cmakedefine HAVE_PK11_CREATEGENERICOBJECT ${HAVE_PK11_CREATEGENERICOBJECT}
--
- /* Define to 1 if you have a working poll function. */
- #cmakedefine HAVE_POLL ${HAVE_POLL}
- 
-diff --git a/lib/curl_config.h.in b/lib/curl_config.h.in
-index 5823939..e79c364 100644
---- a/lib/curl_config.h.in
-+++ b/lib/curl_config.h.in
-@@ -506,9 +506,6 @@
- /* Define to 1 if you have the `pipe' function. */
- #undef HAVE_PIPE
- 
--/* if you have the function PK11_CreateGenericObject */
--#undef HAVE_PK11_CREATEGENERICOBJECT
--
- /* Define to 1 if you have a working poll function. */
- #undef HAVE_POLL
- 
-diff --git a/lib/nss.c b/lib/nss.c
-index 8f6da50..6108917 100644
---- a/lib/nss.c
-+++ b/lib/nss.c
-@@ -170,9 +170,7 @@ static const int enable_ciphers_by_default[] = {
-   SSL_NULL_WITH_NULL_NULL
- };
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
- static const char* pem_library = "libnsspem.so";
--#endif
- SECMODModule* mod = NULL;
- 
- static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model,
-@@ -305,7 +303,6 @@ static char* dup_nickname(struct SessionHandle *data, enum dupstring cert_kind)
-   return NULL;
- }
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
- /* Call PK11_CreateGenericObject() with the given obj_class and filename.  If
-  * the call succeeds, append the object handle to the list of objects so that
-  * the object can be destroyed in Curl_nss_close(). */
-@@ -369,7 +366,6 @@ static void nss_destroy_object(void *user, void *ptr)
-   (void) user;
-   PK11_DestroyGenericObject(obj);
- }
--#endif
- 
- static CURLcode nss_load_cert(struct ssl_connect_data *ssl,
-                               const char *filename, PRBool cacert)
-@@ -378,7 +374,6 @@ static CURLcode nss_load_cert(struct ssl_connect_data *ssl,
-     ? CURLE_SSL_CACERT_BADFILE
-     : CURLE_SSL_CERTPROBLEM;
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   /* libnsspem.so leaks memory if the requested file does not exist.  For more
-    * details, go to <https://bugzilla.redhat.com/734760>. */
-   if(is_file(filename))
-@@ -405,7 +400,6 @@ static CURLcode nss_load_cert(struct ssl_connect_data *ssl,
-       free(nickname);
-     }
-   }
--#endif
- 
-   return err;
- }
-@@ -499,10 +493,10 @@ fail:
- static CURLcode nss_load_key(struct connectdata *conn, int sockindex,
-                              char *key_file)
- {
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   PK11SlotInfo *slot;
-   SECStatus status;
-   struct ssl_connect_data *ssl = conn->ssl;
-+  (void)sockindex; /* unused */
- 
-   CURLcode rv = nss_create_object(ssl, CKO_PRIVATE_KEY, key_file, FALSE);
-   if(CURLE_OK != rv) {
-@@ -524,15 +518,6 @@ static CURLcode nss_load_key(struct connectdata *conn, int sockindex,
-   return (SECSuccess == status)
-     ? CURLE_OK
-     : CURLE_SSL_CERTPROBLEM;
--#else
--  /* If we don't have PK11_CreateGenericObject then we can't load a file-based
--   * key.
--   */
--  (void)conn; /* unused */
--  (void)key_file; /* unused */
--  return CURLE_SSL_CERTPROBLEM;
--#endif
--  (void)sockindex; /* unused */
- }
- 
- static int display_error(struct connectdata *conn, PRInt32 err,
-@@ -775,7 +760,6 @@ static SECStatus SelectClientCert(void *arg, PRFileDesc *sock,
-   struct SessionHandle *data = connssl->data;
-   const char *nickname = connssl->client_nickname;
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   if(connssl->obj_clicert) {
-     /* use the cert/key provided by PEM reader */
-     static const char pem_slotname[] = "PEM Token #1";
-@@ -815,7 +799,6 @@ static SECStatus SelectClientCert(void *arg, PRFileDesc *sock,
-     display_cert_info(data, *pRetCert);
-     return SECSuccess;
-   }
--#endif
- 
-   /* use the default NSS hook */
-   if(SECSuccess != NSS_GetClientAuthData((void *)nickname, sock, caNames,
-@@ -1053,12 +1036,11 @@ void Curl_nss_close(struct connectdata *conn, int sockindex)
-        * next time to the same server */
-       SSL_InvalidateSession(connssl->handle);
-     }
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-     /* destroy all NSS objects in order to avoid failure of NSS shutdown */
-     Curl_llist_destroy(connssl->obj_list, NULL);
-     connssl->obj_list = NULL;
-     connssl->obj_clicert = NULL;
--#endif
-+
-     PR_Close(connssl->handle);
-     connssl->handle = NULL;
-   }
-@@ -1173,12 +1155,10 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
- 
-   connssl->data = data;
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   /* list of all NSS objects we need to destroy in Curl_nss_close() */
-   connssl->obj_list = Curl_llist_alloc(nss_destroy_object);
-   if(!connssl->obj_list)
-     return CURLE_OUT_OF_MEMORY;
--#endif
- 
-   /* FIXME. NSS doesn't support multiple databases open at the same time. */
-   PR_Lock(nss_initlock);
-@@ -1190,7 +1170,6 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
- 
-   curlerr = CURLE_SSL_CONNECT_ERROR;
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   if(!mod) {
-     char *configstring = aprintf("library=%s name=PEM", pem_library);
-     if(!configstring) {
-@@ -1209,7 +1188,6 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
-             "OpenSSL PEM certificates will not work.\n", pem_library);
-     }
-   }
--#endif
- 
-   PK11_SetPasswordFunc(nss_get_password);
-   PR_Unlock(nss_initlock);
-@@ -1340,9 +1318,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
-     char *nickname = dup_nickname(data, STRING_CERT);
-     if(nickname) {
-       /* we are not going to use libnsspem.so to read the client cert */
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-       connssl->obj_clicert = NULL;
--#endif
-     }
-     else {
-       CURLcode rv = cert_stuff(conn, sockindex, data->set.str[STRING_CERT],
-@@ -1442,11 +1418,9 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
-   if(model)
-     PR_Close(model);
- 
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-     /* cleanup on connection failure */
-     Curl_llist_destroy(connssl->obj_list, NULL);
-     connssl->obj_list = NULL;
--#endif
- 
-   if(ssl3 && tlsv1 && isTLSIntoleranceError(err)) {
-     /* schedule reconnect through Curl_retry_request() */
-diff --git a/lib/urldata.h b/lib/urldata.h
-index 7830686..8b6023c 100644
---- a/lib/urldata.h
-+++ b/lib/urldata.h
-@@ -271,10 +271,8 @@ struct ssl_connect_data {
-   PRFileDesc *handle;
-   char *client_nickname;
-   struct SessionHandle *data;
--#ifdef HAVE_PK11_CREATEGENERICOBJECT
-   struct curl_llist *obj_list;
-   PK11GenericObject *obj_clicert;
--#endif
- #endif /* USE_NSS */
- #ifdef USE_QSOSSL
-   SSLHandle *handle;
--- 
-1.7.1
-
-
-From 1467ca453bc0feed5109227c09e8e47c2de079d1 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Tue, 10 Apr 2012 15:42:34 +0200
-Subject: [PATCH 2/2] nss: use NSS_InitContext() to initialize NSS if available
-
-NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent
-collisions on NSS initialization/shutdown with other libraries.
-
-Bug: https://bugzilla.redhat.com/738456
-
-[upstream commit 20cb12db]
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- configure            |   13 +++++++++++++
- configure.ac         |    8 ++++++++
- lib/Makefile.in      |    2 +-
- lib/curl_config.h.in |    3 +++
- lib/nss.c            |   37 ++++++++++++++++++++++++++++++++++++-
- 5 files changed, 61 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index d20dab3..495f65a 100755
---- a/configure
-+++ b/configure
-@@ -671,6 +671,7 @@ USE_LIBSSH2
- CURL_CA_BUNDLE
- SSL_ENABLED
- USE_AXTLS
-+HAVE_NSS_INITCONTEXT
- USE_NSS
- USE_CYASSL
- USE_POLARSSL
-@@ -22595,6 +22596,18 @@ fi
-         { $as_echo "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5
- $as_echo "$as_me: detected NSS version $version" >&6;}
- 
-+                        ac_fn_c_check_func "$LINENO" "NSS_InitContext" "ac_cv_func_NSS_InitContext"
-+if test "x$ac_cv_func_NSS_InitContext" = x""yes; then :
-+
-+
-+$as_echo "#define HAVE_NSS_INITCONTEXT 1" >>confdefs.h
-+
-+          HAVE_NSS_INITCONTEXT=1
-+
-+
-+fi
-+
-+
-                                         if test "x$cross_compiling" != "xyes"; then
-           LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$nssprefix/lib$libsuff"
-           export LD_LIBRARY_PATH
-diff --git a/configure.ac b/configure.ac
-index 1b48f7b..54b0af3 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -2106,6 +2106,14 @@ if test "$OPENSSL_ENABLED" != "1" -a "$GNUTLS_ENABLED" != "1"; then
-       if test "x$USE_NSS" = "xyes"; then
-         AC_MSG_NOTICE([detected NSS version $version])
- 
-+        dnl NSS_InitContext() was introduced in NSS 3.12.5 and helps to prevent
-+        dnl collisions on NSS initialization/shutdown with other libraries
-+        AC_CHECK_FUNC(NSS_InitContext,
-+        [
-+          AC_DEFINE(HAVE_NSS_INITCONTEXT, 1, [if you have the NSS_InitContext function])
-+          AC_SUBST(HAVE_NSS_INITCONTEXT, [1])
-+        ])
-+
-         dnl when shared libs were found in a path that the run-time
-         dnl linker doesn't search through, we need to add it to
-         dnl LD_LIBRARY_PATH to prevent further configure tests to fail
-diff --git a/lib/Makefile.in b/lib/Makefile.in
-index bdfd796..c4468ab 100644
---- a/lib/Makefile.in
-+++ b/lib/Makefile.in
-@@ -233,7 +233,7 @@ HAVE_LDAP_SSL = @HAVE_LDAP_SSL@
- HAVE_LIBZ = @HAVE_LIBZ@
- HAVE_LIBZ_FALSE = @HAVE_LIBZ_FALSE@
- HAVE_LIBZ_TRUE = @HAVE_LIBZ_TRUE@
--HAVE_PK11_CREATEGENERICOBJECT = @HAVE_PK11_CREATEGENERICOBJECT@
-+HAVE_NSS_INITCONTEXT = @HAVE_NSS_INITCONTEXT@
- HAVE_SSLEAY_SRP = @HAVE_SSLEAY_SRP@
- IDN_ENABLED = @IDN_ENABLED@
- INSTALL_DATA = @INSTALL_DATA@
-diff --git a/lib/curl_config.h.in b/lib/curl_config.h.in
-index e79c364..a613f7d 100644
---- a/lib/curl_config.h.in
-+++ b/lib/curl_config.h.in
-@@ -469,6 +469,9 @@
- /* Define to 1 if NI_WITHSCOPEID exists and works. */
- #undef HAVE_NI_WITHSCOPEID
- 
-+/* if you have the NSS_InitContext function */
-+#undef HAVE_NSS_INITCONTEXT
-+
- /* if you have an old MIT gssapi library, lacking GSS_C_NT_HOSTBASED_SERVICE
-    */
- #undef HAVE_OLD_GSSMIT
-diff --git a/lib/nss.c b/lib/nss.c
-index 6108917..16127ee 100644
---- a/lib/nss.c
-+++ b/lib/nss.c
-@@ -78,6 +78,9 @@ PRFileDesc *PR_ImportTCPSocket(PRInt32 osfd);
- 
- PRLock * nss_initlock = NULL;
- PRLock * nss_crllock = NULL;
-+#ifdef HAVE_NSS_INITCONTEXT
-+NSSInitContext * nss_context = NULL;
-+#endif
- 
- volatile int initialized = 0;
- 
-@@ -861,29 +864,56 @@ isTLSIntoleranceError(PRInt32 err)
- 
- static CURLcode nss_init_core(struct SessionHandle *data, const char *cert_dir)
- {
-+#ifdef HAVE_NSS_INITCONTEXT
-+  if(nss_context != NULL)
-+    return CURLE_OK;
-+
-+  NSSInitParameters initparams;
-+  memset((void *) &initparams, '\0', sizeof(initparams));
-+  initparams.length = sizeof(initparams);
-+#else /* HAVE_NSS_INITCONTEXT */
-+  SECStatus rv;
-+
-   if(NSS_IsInitialized())
-     return CURLE_OK;
-+#endif
- 
-   if(cert_dir) {
--    SECStatus rv;
-     const bool use_sql = NSS_VersionCheck("3.12.0");
-     char *certpath = aprintf("%s%s", use_sql ? "sql:" : "", cert_dir);
-     if(!certpath)
-       return CURLE_OUT_OF_MEMORY;
- 
-     infof(data, "Initializing NSS with certpath: %s\n", certpath);
-+#ifdef HAVE_NSS_INITCONTEXT
-+    nss_context = NSS_InitContext(certpath, "", "", "", &initparams,
-+            NSS_INIT_READONLY | NSS_INIT_PK11RELOAD);
-+    free(certpath);
-+
-+    if(nss_context != NULL)
-+      return CURLE_OK;
-+#else /* HAVE_NSS_INITCONTEXT */
-     rv = NSS_Initialize(certpath, "", "", "", NSS_INIT_READONLY);
-     free(certpath);
- 
-     if(rv == SECSuccess)
-       return CURLE_OK;
-+#endif
- 
-     infof(data, "Unable to initialize NSS database\n");
-   }
- 
-   infof(data, "Initializing NSS with certpath: none\n");
-+#ifdef HAVE_NSS_INITCONTEXT
-+  nss_context = NSS_InitContext("", "", "", "", &initparams, NSS_INIT_READONLY
-+          | NSS_INIT_NOCERTDB   | NSS_INIT_NOMODDB       | NSS_INIT_FORCEOPEN
-+          | NSS_INIT_NOROOTINIT | NSS_INIT_OPTIMIZESPACE | NSS_INIT_PK11RELOAD);
-+  if(nss_context != NULL)
-+    return CURLE_OK;
-+#else /* HAVE_NSS_INITCONTEXT */
-   if(NSS_NoDB_Init(NULL) == SECSuccess)
-     return CURLE_OK;
-+#endif
- 
-   infof(data, "Unable to initialize NSS\n");
-   return CURLE_SSL_CACERT_BADFILE;
-@@ -979,7 +1009,12 @@ void Curl_nss_cleanup(void)
-       SECMOD_DestroyModule(mod);
-       mod = NULL;
-     }
-+#ifdef HAVE_NSS_INITCONTEXT
-+    NSS_ShutdownContext(nss_context);
-+    nss_context = NULL;
-+#else /* HAVE_NSS_INITCONTEXT */
-     NSS_Shutdown();
-+#endif
-   }
-   PR_Unlock(nss_initlock);
- 
--- 
-1.7.1
-

diff --git a/0002-curl-7.25.0-a60edcc6.patch b/0002-curl-7.25.0-a60edcc6.patch
deleted file mode 100644
index 0516dbe..0000000
--- a/0002-curl-7.25.0-a60edcc6.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 304341d763f4293c7cc107e37d0ca0ac3741a560 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Wed, 11 Apr 2012 13:44:20 +0200
-Subject: [PATCH] nss: provide human-readable names for NSS errors
-
-[upstream commit a60edcc6]
-
-Signed-off-by: Kamil Dudka <kdudka@redhat.com>
----
- lib/nss.c |   32 +++++++++++++++++++++++++-------
- 1 files changed, 25 insertions(+), 7 deletions(-)
-
-diff --git a/lib/nss.c b/lib/nss.c
-index 16127ee..6002391 100644
---- a/lib/nss.c
-+++ b/lib/nss.c
-@@ -62,6 +62,7 @@
- #include <certdb.h>
- #include <base64.h>
- #include <cert.h>
-+#include <prerror.h>
- 
- #include "curl_memory.h"
- #include "rawstr.h"
-@@ -176,6 +177,15 @@ static const int enable_ciphers_by_default[] = {
- static const char* pem_library = "libnsspem.so";
- SECMODModule* mod = NULL;
- 
-+static const char* nss_error_to_name(PRErrorCode code)
-+{
-+  const char *name = PR_ErrorToName(code);
-+  if(name)
-+    return name;
-+
-+  return "unknown error";
-+}
-+
- static SECStatus set_ciphers(struct SessionHandle *data, PRFileDesc * model,
-                              char *cipher_list)
- {
-@@ -548,8 +558,11 @@ static CURLcode cert_stuff(struct connectdata *conn, int sockindex,
-   if(cert_file) {
-     rv = nss_load_cert(&conn->ssl[sockindex], cert_file, PR_FALSE);
-     if(CURLE_OK != rv) {
--      if(!display_error(conn, PR_GetError(), cert_file))
--        failf(data, "Unable to load client cert %d.", PR_GetError());
-+      const PRErrorCode err = PR_GetError();
-+      if(!display_error(conn, err, cert_file)) {
-+        const char *err_name = nss_error_to_name(err);
-+        failf(data, "unable to load client cert: %d (%s)", err, err_name);
-+      }
- 
-       return rv;
-     }
-@@ -562,8 +575,11 @@ static CURLcode cert_stuff(struct connectdata *conn, int sockindex,
-       /* In case the cert file also has the key */
-       rv = nss_load_key(conn, sockindex, cert_file);
-     if(CURLE_OK != rv) {
--      if(!display_error(conn, PR_GetError(), key_file))
--        failf(data, "Unable to load client key %d.", PR_GetError());
-+      const PRErrorCode err = PR_GetError();
-+      if(!display_error(conn, err, key_file)) {
-+        const char *err_name = nss_error_to_name(err);
-+        failf(data, "unable to load client key: %d (%s)", err, err_name);
-+      }
- 
-       return rv;
-     }
-@@ -1448,7 +1464,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
-   if(handle_cc_error(err, data))
-     curlerr = CURLE_SSL_CERTPROBLEM;
-   else
--    infof(data, "NSS error %d\n", err);
-+    infof(data, "NSS error %d (%s)\n", err, nss_error_to_name(err));
- 
-   if(model)
-     PR_Close(model);
-@@ -1484,7 +1500,8 @@ static ssize_t nss_send(struct connectdata *conn,  /* connection data */
-     else if(handle_cc_error(err, conn->data))
-       *curlcode = CURLE_SSL_CERTPROBLEM;
-     else {
--      failf(conn->data, "SSL write: error %d", err);
-+      const char *err_name = nss_error_to_name(err);
-+      failf(conn->data, "SSL write: error %d (%s)", err, err_name);
-       *curlcode = CURLE_SEND_ERROR;
-     }
-     return -1;
-@@ -1510,7 +1527,8 @@ static ssize_t nss_recv(struct connectdata * conn, /* connection data */
-     else if(handle_cc_error(err, conn->data))
-       *curlcode = CURLE_SSL_CERTPROBLEM;
-     else {
--      failf(conn->data, "SSL read: errno %d", err);
-+      const char *err_name = nss_error_to_name(err);
-+      failf(conn->data, "SSL read: errno %d (%s)", err, err_name);
-       *curlcode = CURLE_RECV_ERROR;
-     }
-     return -1;
--- 
-1.7.1
-

diff --git a/0102-curl-7.25.0-debug.patch b/0102-curl-7.25.0-debug.patch
deleted file mode 100644
index 8056f53..0000000
--- a/0102-curl-7.25.0-debug.patch
+++ /dev/null
@@ -1,58 +0,0 @@
- configure            |   15 ++++-----------
- m4/curl-compilers.m4 |   15 ++++-----------
- 2 files changed, 8 insertions(+), 22 deletions(-)
-
-diff --git a/configure b/configure
-index d3ecf69..6d8f085 100755
---- a/configure
-+++ b/configure
-@@ -15045,18 +15045,11 @@ $as_echo "yes" >&6; }
-     gccvhi=`echo $gccver | cut -d . -f1`
-     gccvlo=`echo $gccver | cut -d . -f2`
-     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
--    flags_dbg_all="-g -g0 -g1 -g2 -g3"
--    flags_dbg_all="$flags_dbg_all -ggdb"
--    flags_dbg_all="$flags_dbg_all -gstabs"
--    flags_dbg_all="$flags_dbg_all -gstabs+"
--    flags_dbg_all="$flags_dbg_all -gcoff"
--    flags_dbg_all="$flags_dbg_all -gxcoff"
--    flags_dbg_all="$flags_dbg_all -gdwarf-2"
--    flags_dbg_all="$flags_dbg_all -gvms"
-+    flags_dbg_all=""
-     flags_dbg_yes="-g"
--    flags_dbg_off="-g0"
--    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
--    flags_opt_yes="-O2"
-+    flags_dbg_off=""
-+    flags_opt_all=""
-+    flags_opt_yes=""
-     flags_opt_off="-O0"
-   else
-     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
-index 1ea4d17..868d65a 100644
---- a/m4/curl-compilers.m4
-+++ b/m4/curl-compilers.m4
-@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
-     gccvhi=`echo $gccver | cut -d . -f1`
-     gccvlo=`echo $gccver | cut -d . -f2`
-     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
--    flags_dbg_all="-g -g0 -g1 -g2 -g3"
--    flags_dbg_all="$flags_dbg_all -ggdb"
--    flags_dbg_all="$flags_dbg_all -gstabs"
--    flags_dbg_all="$flags_dbg_all -gstabs+"
--    flags_dbg_all="$flags_dbg_all -gcoff"
--    flags_dbg_all="$flags_dbg_all -gxcoff"
--    flags_dbg_all="$flags_dbg_all -gdwarf-2"
--    flags_dbg_all="$flags_dbg_all -gvms"
-+    flags_dbg_all=""
-     flags_dbg_yes="-g"
--    flags_dbg_off="-g0"
--    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
--    flags_opt_yes="-O2"
-+    flags_dbg_off=""
-+    flags_opt_all=""
-+    flags_opt_yes=""
-     flags_opt_off="-O0"
-   else
-     AC_MSG_RESULT([no])

diff --git a/0102-curl-7.26.0-debug.patch b/0102-curl-7.26.0-debug.patch
new file mode 100644
index 0000000..6d8f6ce
--- /dev/null
+++ b/0102-curl-7.26.0-debug.patch
@@ -0,0 +1,58 @@
+ configure            |   15 ++++-----------
+ m4/curl-compilers.m4 |   15 ++++-----------
+ 2 files changed, 8 insertions(+), 22 deletions(-)
+
+diff --git a/configure b/configure
+index d3ecf69..6d8f085 100755
+--- a/configure
++++ b/configure
+@@ -15084,18 +15084,11 @@ $as_echo "yes" >&6; }
+     gccvhi=`echo $gccver | cut -d . -f1`
+     gccvlo=`echo $gccver | cut -d . -f2`
+     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+-    flags_dbg_all="-g -g0 -g1 -g2 -g3"
+-    flags_dbg_all="$flags_dbg_all -ggdb"
+-    flags_dbg_all="$flags_dbg_all -gstabs"
+-    flags_dbg_all="$flags_dbg_all -gstabs+"
+-    flags_dbg_all="$flags_dbg_all -gcoff"
+-    flags_dbg_all="$flags_dbg_all -gxcoff"
+-    flags_dbg_all="$flags_dbg_all -gdwarf-2"
+-    flags_dbg_all="$flags_dbg_all -gvms"
++    flags_dbg_all=""
+     flags_dbg_yes="-g"
+-    flags_dbg_off="-g0"
+-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+-    flags_opt_yes="-O2"
++    flags_dbg_off=""
++    flags_opt_all=""
++    flags_opt_yes=""
+     flags_opt_off="-O0"
+ 
+       if test -z "$SED"; then
+diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
+index 1ea4d17..868d65a 100644
+--- a/m4/curl-compilers.m4
++++ b/m4/curl-compilers.m4
+@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
+     gccvhi=`echo $gccver | cut -d . -f1`
+     gccvlo=`echo $gccver | cut -d . -f2`
+     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+-    flags_dbg_all="-g -g0 -g1 -g2 -g3"
+-    flags_dbg_all="$flags_dbg_all -ggdb"
+-    flags_dbg_all="$flags_dbg_all -gstabs"
+-    flags_dbg_all="$flags_dbg_all -gstabs+"
+-    flags_dbg_all="$flags_dbg_all -gcoff"
+-    flags_dbg_all="$flags_dbg_all -gxcoff"
+-    flags_dbg_all="$flags_dbg_all -gdwarf-2"
+-    flags_dbg_all="$flags_dbg_all -gvms"
++    flags_dbg_all=""
+     flags_dbg_yes="-g"
+-    flags_dbg_off="-g0"
+-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+-    flags_opt_yes="-O2"
++    flags_dbg_off=""
++    flags_opt_all=""
++    flags_opt_yes=""
+     flags_opt_off="-O0"
+     CURL_CHECK_DEF([_WIN32], [], [silent])
+   else

diff --git a/0105-curl-7.21.3-disable-test1112.patch b/0105-curl-7.21.3-disable-test1112.patch
deleted file mode 100644
index d2367a9..0000000
--- a/0105-curl-7.21.3-disable-test1112.patch
+++ /dev/null
@@ -1,30 +0,0 @@
- tests/data/Makefile.am |    2 +-
- tests/data/Makefile.in |    2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
-index 9370974..b553f54 100644
---- a/tests/data/Makefile.am
-+++ b/tests/data/Makefile.am
-@@ -73,7 +73,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
- test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
- test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
- test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
--test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
-+test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
- test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
- test1126 test1127 test1128 test1129 test1130 test1131 \
- test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \
-diff --git a/tests/data/Makefile.in b/tests/data/Makefile.in
-index 435b126..1d71c4e 100644
---- a/tests/data/Makefile.in
-+++ b/tests/data/Makefile.in
-@@ -326,7 +326,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
- test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
- test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
- test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
--test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
-+test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
- test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
- test1126 test1127 test1128 test1129 test1130 test1131 \
- test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \

diff --git a/0105-curl-7.26.0-disable-test1112.patch b/0105-curl-7.26.0-disable-test1112.patch
new file mode 100644
index 0000000..51320b6
--- /dev/null
+++ b/0105-curl-7.26.0-disable-test1112.patch
@@ -0,0 +1,30 @@
+ tests/data/Makefile.am |    2 +-
+ tests/data/Makefile.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
+index 9370974..b553f54 100644
+--- a/tests/data/Makefile.am
++++ b/tests/data/Makefile.am
+@@ -73,7 +73,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
+ test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
+ test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
+ test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
+-test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
++test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
+ test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
+ test1126 test1127 test1128 test1129 test1130 test1131 \
+ test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \
+diff --git a/tests/data/Makefile.in b/tests/data/Makefile.in
+index 435b126..1d71c4e 100644
+--- a/tests/data/Makefile.in
++++ b/tests/data/Makefile.in
+@@ -332,7 +332,7 @@ test1078 test1079 test1080 test1081 test1082 test1083 test1084 test1085	\
+ test1086 test1087 test1088 test1089 test1090 test1091 test1092 test1093	\
+ test1094 test1095 test1096 test1097 test1098 test1099 test1100 test1101	\
+ test1102 test1103 test1104 test1105 test1106 test1107 test1108 test1109	\
+-test1110 test1111 test1112 test1113 test1114 test1115 test1116 test1117	\
++test1110 test1111          test1113 test1114 test1115 test1116 test1117	\
+ test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125	\
+ test1126 test1127 test1128 test1129 test1130 test1131 \
+ test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \

diff --git a/0108-curl-7.25.0-utf8.patch b/0108-curl-7.25.0-utf8.patch
deleted file mode 100644
index 9aab598..0000000
--- a/0108-curl-7.25.0-utf8.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- curl/CHANGES
-+++ curl/CHANGES
-@@ -1388,7 +1388,7 @@ Daniel Stenberg (12 Dec 2011)
-   linking with a static openssl requires a set of more libs to be linked
-   on Windows.
-   
--  Thanks also to Steve Holme and Martin Storsj� for additional feedback.
-+  Thanks also to Steve Holme and Martin Storsjö for additional feedback.
-   
-   Bug: http://curl.haxx.se/mail/lib-2011-12/0063.html
-   Reported by: Ward Willats
-@@ -2648,7 +2648,7 @@ Daniel Stenberg (25 Sep 2011)
-   damaging.
-   
-   Bug: http://curl.haxx.se/bug/view.cgi?id=3413181
--  Reported by: Taneli V�h�kangas
-+  Reported by: Taneli Vähäkangas
- 
- Yang Tse (24 Sep 2011)
- - curl tool: fix a compiler warning
-@@ -5168,9 +5168,9 @@ Daniel Stenberg (12 Apr 2011)
- - OpenSSL: no-sslv2 aware
-   
-   Allow openSSL without SSL2 to be used. This fix is inspired by the fix
--  provided by Cristian Rodr�guez.
-+  provided by Cristian Rodríguez.
-   
--  Reported by: Cristian Rodr�guez
-+  Reported by: Cristian Rodríguez
- 
- - curl_easy_setopt.3: CURLOPT_RESOLVE typo version
-   
---- curl/README
-+++ curl/README
-@@ -45,5 +45,5 @@ GIT
- NOTICE
- 
-   Curl contains pieces of source code that is Copyright (c) 1998, 1999
--  Kungliga Tekniska H�gskolan. This notice is included here to comply with the
-+  Kungliga Tekniska Högskolan. This notice is included here to comply with the
-   distribution terms.

diff --git a/0108-curl-7.26.0-utf8.patch b/0108-curl-7.26.0-utf8.patch
new file mode 100644
index 0000000..e4f309c
--- /dev/null
+++ b/0108-curl-7.26.0-utf8.patch
@@ -0,0 +1,95 @@
+ CHANGES |   18 +++++++++---------
+ README  |    2 +-
+ 2 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/CHANGES b/CHANGES
+index 2335841..d4d37c2 100644
+--- a/CHANGES
++++ b/CHANGES
+@@ -604,18 +604,18 @@ Daniel Stenberg (1 Apr 2012)
+   Reported by: Michael Wallner
+ 
+ Steve Holme (31 Mar 2012)
+-- [Gökhan Şengün brought this change]
++- [Gökhan Şengün brought this change]
+ 
+   smtp: Add support for DIGEST-MD5 authentication
+ 
+-- [Gökhan Şengün brought this change]
++- [Gökhan Şengün brought this change]
+ 
+   smtp: Cody tidy up of md5 digest length
+   
+   Replaced the hard coded md5 digest length (16) with a preprocessor
+   constant
+ 
+-- [Gökhan Şengün brought this change]
++- [Gökhan Şengün brought this change]
+ 
+   md5: Add support for calculating the md5 sum of buffers incrementally
+   
+@@ -1913,7 +1913,7 @@ Daniel Stenberg (20 Dec 2011)
+   This offers an alternative to the existing Curl_socket_ready() API which
+   only checks one socket for read and one for write.
+ 
+-- [Cédric Deltheil brought this change]
++- [Cédric Deltheil brought this change]
+ 
+   curl.h: add __ANDROID__ macro check
+   
+@@ -2126,7 +2126,7 @@ Daniel Stenberg (12 Dec 2011)
+   linking with a static openssl requires a set of more libs to be linked
+   on Windows.
+   
+-  Thanks also to Steve Holme and Martin Storsj� for additional feedback.
++  Thanks also to Steve Holme and Martin Storsjö for additional feedback.
+   
+   Bug: http://curl.haxx.se/mail/lib-2011-12/0063.html
+   Reported by: Ward Willats
+@@ -3386,7 +3386,7 @@ Daniel Stenberg (25 Sep 2011)
+   damaging.
+   
+   Bug: http://curl.haxx.se/bug/view.cgi?id=3413181
+-  Reported by: Taneli V�h�kangas
++  Reported by: Taneli Vähäkangas
+ 
+ Yang Tse (24 Sep 2011)
+ - curl tool: fix a compiler warning
+@@ -4386,7 +4386,7 @@ Daniel Stenberg (8 Aug 2011)
+   Update the phrasing to reflect our more strict interpretation:
+   http://curl.haxx.se/mail/lib-2011-08/0064.html
+ 
+-- [Cristian Rodríguez brought this change]
++- [Cristian Rodríguez brought this change]
+ 
+   OpenSSL: Use SSL_MODE_RELEASE_BUFFERS if available, reduces memory use
+   
+@@ -4394,7 +4394,7 @@ Daniel Stenberg (8 Aug 2011)
+   http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
+   http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html
+   
+-  Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
++  Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
+ 
+ - TODO-RELEASE: close issue #292
+   
+@@ -4428,7 +4428,7 @@ Daniel Stenberg (6 Aug 2011)
+         provided" by Christian H<E4>gele
+         http://curl.haxx.se/mail/lib-2011-08/0009.html
+ 
+-- [Christian Hägele brought this change]
++- [Christian Hägele brought this change]
+ 
+   asyn-thread: check for dotted addresses before thread starts
+ 
+diff --git a/README b/README
+index 2ffacc3..cfd6760 100644
+--- a/README
++++ b/README
+@@ -45,5 +45,5 @@ GIT
+ NOTICE
+ 
+   Curl contains pieces of source code that is Copyright (c) 1998, 1999
+-  Kungliga Tekniska H�gskolan. This notice is included here to comply with the
++  Kungliga Tekniska Högskolan. This notice is included here to comply with the
+   distribution terms.

diff --git a/curl-7.24.0.tar.lzma.asc b/curl-7.24.0.tar.lzma.asc
deleted file mode 100644
index 720b4df..0000000
--- a/curl-7.24.0.tar.lzma.asc
+++ /dev/null
@@ -1,7 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.11 (GNU/Linux)
-
-iEYEABECAAYFAk8eczoACgkQeOEcayedXJFoKACfUI6eBzthDt9SaQHF+uqXUIVS
-ewEAoM1e4Cuwt8vjL/6m4sEZSaaJ0Jp+
-=SL4u
------END PGP SIGNATURE-----

diff --git a/curl-7.26.0.tar.lzma.asc b/curl-7.26.0.tar.lzma.asc
new file mode 100644
index 0000000..1570d24
--- /dev/null
+++ b/curl-7.26.0.tar.lzma.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+iEYEABECAAYFAk++XP4ACgkQeOEcayedXJGItwCgtc6ECD4l6E7Q4ZEJDOzBB5bQ
+LWoAoLFWWUbcd+sBu/+s6fOGxgETHqT2
+=4I4f
+-----END PGP SIGNATURE-----

diff --git a/curl.spec b/curl.spec
index 49a0638..72f8a72 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,30 +1,24 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
-Version: 7.25.0
-Release: 3%{?dist}
+Version: 7.26.0
+Release: 1%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
 Source2: curlbuild.h
 Source3: hide_selinux.c
 
-# use NSS_InitContext() to initialize NSS if available (#738456)
-Patch1: 0001-curl-7.25.0-20cb12db.patch
-
-# provide human-readable names for NSS errors (upstream commit a60edcc6)
-Patch2: 0002-curl-7.25.0-a60edcc6.patch
-
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.25.0-multilib.patch
 
 # prevent configure script from discarding -g in CFLAGS (#496778)
-Patch102: 0102-curl-7.25.0-debug.patch
+Patch102: 0102-curl-7.26.0-debug.patch
 
 # use localhost6 instead of ip6-localhost in the curl test-suite
 Patch104: 0104-curl-7.19.7-localhost6.patch
 
 # exclude test1112 from the test suite (#565305)
-Patch105: 0105-curl-7.21.3-disable-test1112.patch
+Patch105: 0105-curl-7.26.0-disable-test1112.patch
 
 # disable valgrind for certain test-cases (libssh2 problem)
 Patch106: 0106-curl-7.21.0-libssh2-valgrind.patch
@@ -34,7 +28,7 @@ Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
 
 # Fix character encoding of docs, which are of mixed encoding originally so
 # a simple iconv can't fix them
-Patch108: 0108-curl-7.25.0-utf8.patch
+Patch108: 0108-curl-7.26.0-utf8.patch
 
 Provides: webclient
 URL: http://curl.haxx.se/
@@ -109,10 +103,6 @@ documentation of the library, too.
 %prep
 %setup -q
 
-# upstream patches
-%patch1 -p1
-%patch2 -p1
-
 # Fedora patches
 %patch101 -p1
 %patch102 -p1
@@ -228,6 +218,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Fri May 25 2012 Kamil Dudka <kdudka@redhat.com> 7.26.0-1
+- new upstream release
+
 * Wed Apr 25 2012 Karsten Hopp <karsten@redhat.com> 7.25.0-3
 - valgrind on ppc64 works fine, disable ppc32 only
 

diff --git a/sources b/sources
index 71365ee..44e0158 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d0f63a8a14db21e1abdc4862d4ba4a1a  curl-7.25.0.tar.lzma
+2ba226ced5d6ef539df970ac77627623  curl-7.26.0.tar.lzma

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-03 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:34 [rpms/curl] curl-v8.23.0-3: new upstream release Kamil Dudka
2026-11-03 12:34 Kamil Dudka

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