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 | |
parent | 0141ae5ff2b63812462d37fc287ff4f9fc368fc9 (diff) | |
download | ports-60c908d57b7dd40783f4015897d352e3123e774e.tar.gz ports-60c908d57b7dd40783f4015897d352e3123e774e.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-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 |
6 files changed, 64 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index d426b0609e0d..9248c8f0cd90 100644 --- a/net/Makefile +++ b/net/Makefile @@ -289,6 +289,7 @@ SUBDIR += libnet SUBDIR += libnet-devel SUBDIR += libnids + SUBDIR += libnss-mysql SUBDIR += libosip SUBDIR += librsync SUBDIR += libsmi 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 |