From 123157569e70b52376b71c6567bc2f95240be653 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 19 Mar 2003 21:09:46 +0000 Subject: 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. --- security/cy-login/DESCR | 9 +++++++++ security/cy-login/Makefile | 27 +++++++++++++++++++++++++++ security/cy-login/PLIST | 6 ++++++ 3 files changed, 42 insertions(+) create mode 100644 security/cy-login/DESCR create mode 100644 security/cy-login/Makefile create mode 100644 security/cy-login/PLIST (limited to 'security/cy-login') 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 -- cgit v1.2.3