summaryrefslogtreecommitdiff
path: root/security/cy-login
diff options
context:
space:
mode:
authorjlam <jlam>2003-03-19 21:09:46 +0000
committerjlam <jlam>2003-03-19 21:09:46 +0000
commit123157569e70b52376b71c6567bc2f95240be653 (patch)
treef00e7d38d1edfc929dd474ab2a4111e5a240641f /security/cy-login
parent40686c2786cb40a4f513f85b66998197fa6dc491 (diff)
downloadpkgsrc-123157569e70b52376b71c6567bc2f95240be653.tar.gz
Initial import of security/cy-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/cy-login')
-rw-r--r--security/cy-login/DESCR9
-rw-r--r--security/cy-login/Makefile27
-rw-r--r--security/cy-login/PLIST6
3 files changed, 42 insertions, 0 deletions
diff --git a/security/cy-login/DESCR b/security/cy-login/DESCR
new file mode 100644
index 00000000000..8dcd42beed7
--- /dev/null
+++ b/security/cy-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/cy-login/Makefile b/security/cy-login/Makefile
new file mode 100644
index 00000000000..617d22a378e
--- /dev/null
+++ b/security/cy-login/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/19 21:09:46 jlam Exp $
+
+PKGNAME= ${DISTNAME:S/cyrus-sasl/cy-login/}
+COMMENT= Cyrus SASL LOGIN authentication plugin
+SASL_PLUGIN= YES
+
+.include "../cyrus-sasl/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
+.if defined(USE_PAM)
+. include "../../security/PAM/buildlink2.mk"
+BUILD_DEFS+= USE_PAM
+CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.pam}
+.endif
+
+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/cy-login/PLIST b/security/cy-login/PLIST
new file mode 100644
index 00000000000..6d96dbe0592
--- /dev/null
+++ b/security/cy-login/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/19 21:09:46 jlam Exp $
+lib/sasl/liblogin.a
+lib/sasl/liblogin.la
+lib/sasl/liblogin.so
+lib/sasl/liblogin.so.0
+lib/sasl/liblogin.so.0.6