Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

8
security/cy2-sql/DESCR Normal file
View File

@@ -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.

54
security/cy2-sql/Makefile Normal file
View File

@@ -0,0 +1,54 @@
# $NetBSD: Makefile,v 1.24 2013/05/09 07:40:28 adam Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/}
PKGREVISION= 2
COMMENT= Cyrus SASL SQL authentication plugin
SASL_PLUGIN= yes
.include "../../security/cyrus-sasl/Makefile.common"
PKG_OPTIONS_VAR= PKG_OPTIONS.cy2-sql
PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite sqlite3
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX:Q}
.else
CONFIGURE_ARGS+= --without-pgsql
.endif
.if !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/sqlite/buildlink3.mk"
CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite}
.else
CONFIGURE_ARGS+= --without-sqlite
.endif
.if !empty(PKG_OPTIONS:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
.else
CONFIGURE_ARGS+= --without-sqlite3
.endif
CONFIGURE_ARGS+= --enable-sql
BUILD_DIRS= plugins
BUILD_TARGET= libsql.la
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
${INSTALL_PROGRAM} libsql.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"

2
security/cy2-sql/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.3 2004/09/22 08:09:52 jlam Exp $
lib/sasl2/libsql.la