From eceb9346bd67799f94457bd8512136efb752117d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:36:34 +0100 Subject: [PATCH] automatic version update by autodist [release 7.40.0-1mamba;Wed Jan 21 2015] --- curl-7.40.0-libgss-1.0.3.patch | 32 ++++++++++++++++++++++++++++++++ curl.spec | 7 ++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 curl-7.40.0-libgss-1.0.3.patch diff --git a/curl-7.40.0-libgss-1.0.3.patch b/curl-7.40.0-libgss-1.0.3.patch new file mode 100644 index 0000000..1b62a04 --- /dev/null +++ b/curl-7.40.0-libgss-1.0.3.patch @@ -0,0 +1,32 @@ +From 5c0e66d63214e0306197c5a3f162441e074f3401 Mon Sep 17 00:00:00 2001 +From: Steve Holme +Date: Thu, 8 Jan 2015 19:23:53 +0000 +Subject: [PATCH] sasl_gssapi: Fixed build on NetBSD with built-in GSS-API + +Bug: http://curl.haxx.se/bug/view.cgi?id=1469 +Reported-by: Thomas Klausner +--- + lib/curl_sasl_gssapi.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/curl_sasl_gssapi.c b/lib/curl_sasl_gssapi.c +index 6dda0e9..a50646a 100644 +--- a/lib/curl_sasl_gssapi.c ++++ b/lib/curl_sasl_gssapi.c +@@ -6,6 +6,7 @@ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 2014, Steve Holme, . ++ * Copyright (C) 2015, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms +@@ -126,7 +127,7 @@ CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data, + + /* Import the SPN */ + gss_major_status = gss_import_name(&gss_minor_status, &spn_token, +- gss_nt_service_name, &krb5->spn); ++ GSS_C_NT_HOSTBASED_SERVICE, &krb5->spn); + if(GSS_ERROR(gss_major_status)) { + Curl_gss_log_error(data, gss_minor_status, "gss_import_name() failed: "); + diff --git a/curl.spec b/curl.spec index c6a331b..3cc46bf 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ %define libname libcurl Name: curl -Version: 7.39.0 +Version: 7.40.0 Release: 1mamba Summary: A tool for transfering data with URL syntax that supports many protocols Group: Applications/Networking @@ -12,6 +12,7 @@ URL: http://curl.haxx.se Source: http://curl.haxx.se/download/curl-%{version}.tar.bz2 Patch0: %{name}-7.21.2-gnutls.patch Patch1: curl-7.34.0-dns-resolver-prefer-ipv4.patch +Patch2: curl-7.40.0-libgss-1.0.3.patch License: MIT BuildRequires: bash BuildRequires: ldconfig @@ -84,6 +85,7 @@ This package contains static libraries and header files need for development. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure \ @@ -176,6 +178,9 @@ install -m644 docs/examples/{Makefile.example,README,*.c} \ %doc CHANGES README RELEASE-NOTES %changelog +* Wed Jan 21 2015 Automatic Build System 7.40.0-1mamba +- automatic version update by autodist + * Wed Nov 05 2014 Automatic Build System 7.39.0-1mamba - automatic version update by autodist