summaryrefslogtreecommitdiff
path: root/security/cy2-login
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-03-19 22:28:23 +0000
committerjlam <jlam@pkgsrc.org>2003-03-19 22:28:23 +0000
commitcf0f11028cd12beb28e35a74c795d6f092892713 (patch)
treed52043190bc93343bd73581388248fb50277988c /security/cy2-login
parentcc05368605d8608d5fff678e831a255bb16de46e (diff)
downloadpkgsrc-cf0f11028cd12beb28e35a74c795d6f092892713.tar.gz
Initial import of security/cy2-login.
This is the Cyrus SASL plugin that implements the LOGIN authentication mechanism. It's recommended that it only be used if absolutely necessary since it is not a secure authentication scheme.
Diffstat (limited to 'security/cy2-login')
-rw-r--r--security/cy2-login/DESCR9
-rw-r--r--security/cy2-login/Makefile22
-rw-r--r--security/cy2-login/PLIST6
3 files changed, 37 insertions, 0 deletions
diff --git a/security/cy2-login/DESCR b/security/cy2-login/DESCR
new file mode 100644
index 00000000000..8dcd42beed7
--- /dev/null
+++ b/security/cy2-login/DESCR
@@ -0,0 +1,9 @@
+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 LOGIN authentication
+mechanism. It's recommended that it only be used if absolutely necessary
+since it is not a secure authentication scheme.
diff --git a/security/cy2-login/Makefile b/security/cy2-login/Makefile
new file mode 100644
index 00000000000..267bf00928c
--- /dev/null
+++ b/security/cy2-login/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/19 22:28:23 jlam Exp $
+
+PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/}
+COMMENT= Cyrus SASL LOGIN authentication plugin
+SASL_PLUGIN= YES
+
+.include "../cyrus-sasl2/Makefile.common"
+
+# We need to configure the PLAIN plugin as well since some of the important
+# build variables for the LOGIN plugin are only set if PLAIN is configured.
+#
+CONFIGURE_ARGS+= --enable-login # LOGIN
+CONFIGURE_ARGS+= --enable-plain # PLAIN
+
+BUILD_DIRS= ${WRKSRC}/plugins
+ALL_TARGET= liblogin.la
+
+do-install:
+ cd ${WRKSRC}/plugins && \
+ ${PKGLIBTOOL} --mode=install ${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/cy2-login/PLIST b/security/cy2-login/PLIST
new file mode 100644
index 00000000000..b6298a07120
--- /dev/null
+++ b/security/cy2-login/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/19 22:28:23 jlam Exp $
+lib/sasl2/liblogin.a
+lib/sasl2/liblogin.la
+lib/sasl2/liblogin.so
+lib/sasl2/liblogin.so.2
+lib/sasl2/liblogin.so.2.12