diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 06:48:11 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-30 06:48:11 +0000 |
commit | 60c908d57b7dd40783f4015897d352e3123e774e (patch) | |
tree | 81571c99da5ca9c028c0c75279bdb91a32862d74 /net/libnss-mysql | |
parent | Maybe that added an empty line to this file will force it to stay (diff) |
net/libnss-mysql (NSS module using a MySQL database for backend)
libNSS-MySQL allows you to authenticate UNIX groups and
users using a MySQL database. It uses the NSS API which
provides an abstraction layer between the UNIX authentication
API and the related data. NSS-MySQL currently supports the
passwd and groups services. Version 1.0 has native FreeBSD
suppport.
PR: ports/54423
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes:
svn path=/head/; revision=88053
Diffstat (limited to 'net/libnss-mysql')
-rw-r--r-- | net/libnss-mysql/Makefile | 29 | ||||
-rw-r--r-- | net/libnss-mysql/distinfo | 1 | ||||
-rw-r--r-- | net/libnss-mysql/files/patch-Makefile.in | 22 | ||||
-rw-r--r-- | net/libnss-mysql/pkg-descr | 6 | ||||
-rw-r--r-- | net/libnss-mysql/pkg-plist | 5 |
5 files changed, 63 insertions, 0 deletions
diff --git a/net/libnss-mysql/Makefile b/net/libnss-mysql/Makefile new file mode 100644 index 000000000000..b56a6677a177 --- /dev/null +++ b/net/libnss-mysql/Makefile @@ -0,0 +1,29 @@ +# Ports collection Makefile for: libnss_mysql +# Date created: 05/05/2003 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# +# $FreeBSD$ +# + +PORTNAME= libnss-mysql +PORTVERSION= 1.0 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= libnss-mysql + +MAINTAINER= sheepkiller@culteadsheep.org +COMMENT= NSS module using a MySQL database for backend + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-mysql-lib=${LOCALBASE}/lib/mysql \ + --with-mysql-inc=${LOCALBASE}/include/mysql +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +USE_MYSQL= yes + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 500112 +IGNORE= NSS modules only supported on FreeBSD 5.1 or later +.endif + +.include <bsd.port.post.mk> diff --git a/net/libnss-mysql/distinfo b/net/libnss-mysql/distinfo new file mode 100644 index 000000000000..ad541e1fb95e --- /dev/null +++ b/net/libnss-mysql/distinfo @@ -0,0 +1 @@ +MD5 (libnss-mysql-1.0.tar.gz) = 2961f5e9fe5a0ce3bd51fc8e421c9d27 diff --git a/net/libnss-mysql/files/patch-Makefile.in b/net/libnss-mysql/files/patch-Makefile.in new file mode 100644 index 000000000000..cc1d50b2f8be --- /dev/null +++ b/net/libnss-mysql/files/patch-Makefile.in @@ -0,0 +1,22 @@ +--- Makefile.in.orig Sat Jul 12 21:43:29 2003 ++++ Makefile.in Sat Jul 12 21:45:55 2003 +@@ -492,16 +492,13 @@ + + + install-data-hook: +- @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; then \ + ${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \ + ${INSTALL_DATA} ${srcdir}/sample/@OS@/libnss-mysql.cfg \ +- ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; \ +- fi +- @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; then \ ++ ${DESTDIR}${sysconfdir}/libnss-mysql.cfg-dist; \ + ${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \ + ${INSTALL_DATA} -m 600 ${srcdir}/sample/@OS@/libnss-mysql-root.cfg \ +- ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; \ +- fi ++ ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg-dist; \ ++ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/net/libnss-mysql/pkg-descr b/net/libnss-mysql/pkg-descr new file mode 100644 index 000000000000..2b2e6396c73b --- /dev/null +++ b/net/libnss-mysql/pkg-descr @@ -0,0 +1,6 @@ +libNSS-MySQL allows you to authenticate UNIX groups and users using a MySQL +database. It uses the NSS API which provides an abstraction layer between +the UNIX authentication API and the related data. NSS-MySQL currently supports +the passwd and groups services. + +WWW: http://libnss-mysql.sourceforge.net/ diff --git a/net/libnss-mysql/pkg-plist b/net/libnss-mysql/pkg-plist new file mode 100644 index 000000000000..8e956d5ad3a5 --- /dev/null +++ b/net/libnss-mysql/pkg-plist @@ -0,0 +1,5 @@ +etc/libnss-mysql.cfg-dist +etc/libnss-mysql-root.cfg-dist +lib/nss_mysql.so.1 +lib/nss_mysql.so +lib/nss_mysql.la |