summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/cy2-gssapi/DESCR8
-rw-r--r--security/cy2-gssapi/Makefile27
-rw-r--r--security/cy2-gssapi/PLIST5
3 files changed, 40 insertions, 0 deletions
diff --git a/security/cy2-gssapi/DESCR b/security/cy2-gssapi/DESCR
new file mode 100644
index 00000000000..9594bf0fdb4
--- /dev/null
+++ b/security/cy2-gssapi/DESCR
@@ -0,0 +1,8 @@
+SASL is a method for adding authentication support to connection-based
+protocols. To use SASL, a protocol includes a command for identifying and
+authenticating a user to a server and for optionally negotiating protection
+of subsequent protocol interactions. If its use is negotiated, a security
+layer is inserted between the protocol and the connection.
+
+This is the Cyrus SASL plugin that implements the GSSAPI authentication
+mechanism.
diff --git a/security/cy2-gssapi/Makefile b/security/cy2-gssapi/Makefile
new file mode 100644
index 00000000000..3d90caa1629
--- /dev/null
+++ b/security/cy2-gssapi/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/13 18:14:04 jlam Exp $
+
+PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-gssapi/}
+COMMENT= Cyrus SASL GSSAPI authentication plugin
+SASL_PLUGIN= yes
+
+CONFLICTS= cyrus-sasl<=2.1.19nb1
+
+.include "../cyrus-sasl2/Makefile.common"
+
+CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
+GSSIMPL.heimdal= heimdal
+GSSIMPL.mit-krb5= mit
+
+BUILD_DIRS= ${WRKSRC}/plugins
+ALL_TARGET= libgssapiv2.la
+
+.include "../../mk/krb5.buildlink3.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ cd ${WRKSRC}/plugins && \
+ ${SHLIBTOOL} --mode=install \
+ ${INSTALL_PROGRAM} libgssapiv2.la ${PLUGINDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/cy2-gssapi/PLIST b/security/cy2-gssapi/PLIST
new file mode 100644
index 00000000000..9a5eb7380cb
--- /dev/null
+++ b/security/cy2-gssapi/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/13 18:14:04 jlam Exp $
+lib/sasl2/libgssapiv2.la
+lib/sasl2/libgssapiv2.so
+lib/sasl2/libgssapiv2.so.2
+lib/sasl2/libgssapiv2.so.2.19