summaryrefslogtreecommitdiff
path: root/security/cy2-otp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-13 18:14:19 +0000
committerjlam <jlam@pkgsrc.org>2004-08-13 18:14:19 +0000
commitb40cc595d5597320f6d152230d43173718e7b67a (patch)
tree768d891fb586f0f0a0b1deec0d75133f74f5f74d /security/cy2-otp
parent8956804fadfecfd999bb561b7989935567e80544 (diff)
downloadpkgsrc-b40cc595d5597320f6d152230d43173718e7b67a.tar.gz
Initial import of security/cy2-otp, the SASL OTP AUTH plugin.
Diffstat (limited to 'security/cy2-otp')
-rw-r--r--security/cy2-otp/DESCR8
-rw-r--r--security/cy2-otp/Makefile24
-rw-r--r--security/cy2-otp/PLIST5
3 files changed, 37 insertions, 0 deletions
diff --git a/security/cy2-otp/DESCR b/security/cy2-otp/DESCR
new file mode 100644
index 00000000000..da407a6405d
--- /dev/null
+++ b/security/cy2-otp/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 OTP authentication
+mechanism.
diff --git a/security/cy2-otp/Makefile b/security/cy2-otp/Makefile
new file mode 100644
index 00000000000..60bb06f05a5
--- /dev/null
+++ b/security/cy2-otp/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/13 18:14:19 jlam Exp $
+
+PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/}
+COMMENT= Cyrus SASL OTP authentication plugin
+SASL_PLUGIN= yes
+
+CONFLICTS= cyrus-sasl<=2.1.19nb1
+
+.include "../cyrus-sasl2/Makefile.common"
+
+CONFIGURE_ARGS+= --enable-otp
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+
+BUILD_DIRS= ${WRKSRC}/plugins
+ALL_TARGET= libotp.la
+
+.include "../../security/openssl/buildlink3.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PLUGINDIR}
+ cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
+ ${INSTALL_PROGRAM} libotp.la ${PLUGINDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/cy2-otp/PLIST b/security/cy2-otp/PLIST
new file mode 100644
index 00000000000..dc7929b3a64
--- /dev/null
+++ b/security/cy2-otp/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/13 18:14:19 jlam Exp $
+lib/sasl2/libotp.la
+lib/sasl2/libotp.so
+lib/sasl2/libotp.so.2
+lib/sasl2/libotp.so.2.19