summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cyrus-sasl/files')
-rw-r--r--dev-libs/cyrus-sasl/files/2.1.14-kerberos.patch30
-rw-r--r--dev-libs/cyrus-sasl/files/2.1.14-mysql.patch19
-rw-r--r--dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.141
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/cyrus-sasl/files/2.1.14-kerberos.patch b/dev-libs/cyrus-sasl/files/2.1.14-kerberos.patch
new file mode 100644
index 000000000000..0fb657a47339
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/2.1.14-kerberos.patch
@@ -0,0 +1,30 @@
+diff -urN cyrus-sasl-2.1.14/acconfig.h cyrus-sasl-2.1.14-modified/acconfig.h
+--- cyrus-sasl-2.1.14/acconfig.h 2003-04-15 11:24:04.000000000 -0500
++++ cyrus-sasl-2.1.14-modified/acconfig.h 2003-07-09 00:24:07.000000000 -0500
+@@ -109,6 +109,9 @@
+ /* what flavor of GSSAPI are we using? */
+ #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
+
++/* does GSSAPI provide GSS_C_NT_USER_NAME? */
++#undef HAVE_GSS_C_NT_USER_NAME
++
+ /* do we have gssapi.h or gssapi/gssapi.h? */
+ #undef HAVE_GSSAPI_H
+
+diff -urN cyrus-sasl-2.1.14/plugins/gssapi.c cyrus-sasl-2.1.14-modified/plugins/gssapi.c
+--- cyrus-sasl-2.1.14/plugins/gssapi.c 2003-05-30 18:17:48.000000000 -0500
++++ cyrus-sasl-2.1.14-modified/plugins/gssapi.c 2003-07-09 00:27:41.000000000 -0500
+@@ -772,7 +772,12 @@
+
+ maj_stat = gss_import_name (&min_stat,
+ &name_without_realm,
+- GSS_C_NT_USER_NAME,
++ /* Solaris 8/9 gss_import_name doesn't accept GSS_C_NULL_OID here, so use GSS_C_NT_USER_NAME instead if available. */
++ #ifdef HAVE_GSS_C_NT_USER_NAME
++ GSS_C_NT_USER_NAME,
++ #else
++ GSS_C_NULL_OID,
++ #endif
+ &without);
+
+ if (GSS_ERROR(maj_stat)) {
diff --git a/dev-libs/cyrus-sasl/files/2.1.14-mysql.patch b/dev-libs/cyrus-sasl/files/2.1.14-mysql.patch
new file mode 100644
index 000000000000..9a2a12b42d16
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/2.1.14-mysql.patch
@@ -0,0 +1,19 @@
+diff -urN cyrus-sasl-2.1.14/plugins/mysql.c cyrus-sasl-2.1.14-modified/plugins/mysql.c
+--- cyrus-sasl-2.1.14/plugins/mysql.c 2003-05-14 13:46:02.000000000 -0500
++++ cyrus-sasl-2.1.14-modified/plugins/mysql.c 2003-07-09 00:49:42.000000000 -0500
+@@ -323,9 +323,14 @@
+
+ if (settings->mysql_verbose)
+ sparams->utils->log(NULL, SASL_LOG_WARN,
+- "mysql plugin try and connect to %s\n",
++ "mysql plugin trying to connect to %s\n",
+ cur_host);
+
++ if(mysql_init(&mysql) == NULL) {
++ sparams->utils->log(NULL, SASL_LOG_WARN,
++ "mysql plugin: could not execute mysql_init");
++ goto done;
++ }
+ sock = mysql_real_connect(&mysql,cur_host,
+ settings->mysql_user,
+ settings->mysql_passwd,
diff --git a/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.14 b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.14
new file mode 100644
index 000000000000..8f19004aa6d3
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/digest-cyrus-sasl-2.1.14
@@ -0,0 +1 @@
+MD5 f2c5adf17029fc103903a3c801d95107 cyrus-sasl-2.1.14.tar.gz 1375758