components/curl/patches/013-curl_sasl_gssapi.c.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Mon, 04 May 2015 18:32:20 -0500
changeset 4251 2bf7e2c1ca74
parent 3726 1c80a90dd005
permissions -rw-r--r--
21029374 probably shouldn't overload TMP_SUFFIXES in userland fragments
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3726
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
From: https://www.mail-archive.com/[email protected]/msg21757.html
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
Quanah Gibson-Mount Thu, 15 Jan 2015 12:27:13 -0800
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
Unfortunately, it appears that curl is still not tested against Heimdal
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
Kerberos.
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
This problem has been reported upstream.
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
--- lib/curl_sasl_gssapi.c.orig	2015-01-26 08:22:32.369117065 -0800
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
+++ lib/curl_sasl_gssapi.c	2015-01-26 08:36:35.452740440 -0800
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
@@ -31,6 +31,10 @@
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
 #define NCOMPAT 1
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 #endif
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
+#ifdef HAVE_GSSHEIMDAL
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
+#define gss_nt_service_name GSS_C_NT_HOSTBASED_SERVICE
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
+#endif
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
+
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
 #define GSSAUTH_P_NONE      1
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
 #define GSSAUTH_P_INTEGRITY 2
1c80a90dd005 19728335 Remove the libcurl.so.2 sym link for curl 7.38.0 after transition.
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
 #define GSSAUTH_P_PRIVACY   4