pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/cy2-sql Initial import of security/cy2-sql. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7a8b748a042
branches:  trunk
changeset: 479082:b7a8b748a042
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Aug 04 20:47:10 2004 +0000

description:
Initial import of security/cy2-sql.  This is the Cyrus SASLv2 SQL auxprop
plugin.

diffstat:

 security/cy2-sql/DESCR    |   8 ++++++++
 security/cy2-sql/Makefile |  40 ++++++++++++++++++++++++++++++++++++++++
 security/cy2-sql/PLIST    |   5 +++++
 3 files changed, 53 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r 0930cba0156f -r b7a8b748a042 security/cy2-sql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cy2-sql/DESCR    Wed Aug 04 20:47:10 2004 +0000
@@ -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 SQL auxprop
+authentication mechanism.
diff -r 0930cba0156f -r b7a8b748a042 security/cy2-sql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cy2-sql/Makefile Wed Aug 04 20:47:10 2004 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/04 20:47:10 jlam Exp $
+
+PKGNAME=       ${DISTNAME:S/cyrus-sasl/cy2-login/}
+COMMENT=       Cyrus SASL LOGIN authentication plugin
+SASL_PLUGIN=   yes
+
+.include "../cyrus-sasl2/Makefile.common"
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.cy2-sql
+PKG_OPTIONS.cy2-sql?=  mysql
+PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmysql)
+.  include "../../databases/mysql4-client/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-mysql=${BUILDLINK_PREFIX.mysql-client}
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+.  include "../../mk/pgsql.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-pgsql=${PGSQL_PREFIX}
+.endif
+
+.if !empty(PKG_OPTIONS:Msqlite)
+.  include "../../databases/sqlite/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-sqlite=${BUILDLINK_PREFIX.sqlite}
+.endif
+
+CONFIGURE_ARGS+=       --enable-sql            # LOGIN
+
+BUILD_DIRS=    ${WRKSRC}/plugins
+ALL_TARGET=    libsql.la
+
+do-install:
+       ${INSTALL_DATA_DIR} ${PLUGINDIR}
+       cd ${WRKSRC}/plugins && \
+       ${SHLIBTOOL} --mode=install \
+               ${INSTALL_PROGRAM} libsql.la ${PLUGINDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0930cba0156f -r b7a8b748a042 security/cy2-sql/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cy2-sql/PLIST    Wed Aug 04 20:47:10 2004 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/04 20:47:10 jlam Exp $
+lib/sasl2/libsql.la
+lib/sasl2/libsql.so
+lib/sasl2/libsql.so.2
+lib/sasl2/libsql.so.2.18



Home | Main Index | Thread Index | Old Index