summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-07-05 07:07:37 +0000
committerume <ume@FreeBSD.org>2003-07-05 07:07:37 +0000
commit7b2dafff7fb7a71e21129e43c7f00183c072d2fa (patch)
tree54df79d97d810d9390f25e9f5677159d1174c7d3 /security
parent0f2aa9724baa4a53564f76378700d1815b26e023 (diff)
downloadFreeBSD-ports-7b2dafff7fb7a71e21129e43c7f00183c072d2fa.zip
FreeBSD-ports-7b2dafff7fb7a71e21129e43c7f00183c072d2fa.tar.gz
Workaround to make it buildable without enabling gsspai. It is
known problem of cyrus-sasl-2.1.14. Reported by: many
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile1
-rw-r--r--security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 69a09c0..1ee6b63 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -77,6 +77,7 @@ CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME}
CONFIGURE_ARGS+=--enable-gssapi
.else
CONFIGURE_ARGS+=--disable-gssapi
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-saslauthd::mechanisms.h
.endif
.include <bsd.port.pre.mk>
diff --git a/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h b/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h
new file mode 100644
index 0000000..c370441
--- /dev/null
+++ b/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h
@@ -0,0 +1,13 @@
+Index: saslauthd/mechanisms.h
+diff -u saslauthd/mechanisms.h.orig saslauthd/mechanisms.h
+--- saslauthd/mechanisms.h.orig Sat Jul 5 15:41:07 2003
++++ saslauthd/mechanisms.h Sat Jul 5 15:41:14 2003
+@@ -52,7 +52,7 @@
+ * Figure out which optional drivers we support.
+ */
+ #ifndef AUTH_KRB5
+-# if defined(HAVE_KRB5_H)
++# if defined(HAVE_KRB5_H) && defined(STATIC_GSSAPIV2)
+ # define AUTH_KRB5
+ # endif
+ #endif
OpenPOWER on IntegriCloud