summaryrefslogtreecommitdiff
path: root/security/cy2-ldapdb
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-11-25 13:35:25 +0000
committerobache <obache@pkgsrc.org>2006-11-25 13:35:25 +0000
commit1a2232ca2705e2adf6df71b9edac4d4006caa196 (patch)
tree246094529bd64d41ce0f2fbc5f1f0fd03a793828 /security/cy2-ldapdb
parent0933e3f4a748a8cfcf1bb7b43fc5a1a4f425df48 (diff)
downloadpkgsrc-1a2232ca2705e2adf6df71b9edac4d4006caa196.tar.gz
Import cy2-ldapdb version 2.1.22.
Based on PR 33317 by Yoshito Komatsu. 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
Diffstat (limited to 'security/cy2-ldapdb')
-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