summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/cy2-ldapdb/DESCR8
-rw-r--r--security/cy2-ldapdb/Makefile22
-rw-r--r--security/cy2-ldapdb/PLIST2
3 files changed, 32 insertions, 0 deletions
diff --git a/security/cy2-ldapdb/DESCR b/security/cy2-ldapdb/DESCR
new file mode 100644
index 00000000000..73545f9e341
--- /dev/null
+++ b/security/cy2-ldapdb/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 LDAPDB authentication
+mechanism.
diff --git a/security/cy2-ldapdb/Makefile b/security/cy2-ldapdb/Makefile
new file mode 100644
index 00000000000..0197c879c51
--- /dev/null
+++ b/security/cy2-ldapdb/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/25 13:35:25 obache Exp $
+
+PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ldapdb/}
+COMMENT= Cyrus SASL LDAPDB authentication plugin
+SASL_PLUGIN= yes
+
+.include "../../security/cyrus-sasl/Makefile.common"
+
+CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
+CONFIGURE_ARGS+= --enable-ldapdb
+
+BUILD_DIRS= ${WRKSRC}/plugins
+BUILD_TARGET= libldapdb.la
+
+.include "../../databases/openldap-client/buildlink3.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
+ ${INSTALL_PROGRAM} libldapdb.la ${PLUGINDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/cy2-ldapdb/PLIST b/security/cy2-ldapdb/PLIST
new file mode 100644
index 00000000000..2a81374eea1
--- /dev/null
+++ b/security/cy2-ldapdb/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/25 13:35:25 obache Exp $
+lib/sasl2/libldapdb.la