ports/54423: net/libnss-mysql (NSS module using a MySQL database for backend)

Clement Laforet sheepkiller at cultdeadsheep.org
Wed Aug 27 10:00:56 UTC 2003


The following reply was made to PR ports/54423; it has been noted by GNATS.

From: Clement Laforet <sheepkiller at cultdeadsheep.org>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:  
Subject: Re: ports/54423: net/libnss-mysql (NSS module using a MySQL
 database for backend)
Date: Wed, 27 Aug 2003 11:23:41 +0200

 Humm, here a new shar.
 Changelog:
 	- fix typo (libnss-mysql instead of libnss_mysql)
 	- Use new USE_MYSQL
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	libnss-mysql
 #	libnss-mysql/Makefile
 #	libnss-mysql/distinfo
 #	libnss-mysql/pkg-descr
 #	libnss-mysql/pkg-plist
 #	libnss-mysql/files
 #	libnss-mysql/files/patch-Makefile.in
 #
 echo c - libnss-mysql
 mkdir -p libnss-mysql > /dev/null 2>&1
 echo x - libnss-mysql/Makefile
 sed 's/^X//' >libnss-mysql/Makefile << 'END-of-libnss-mysql/Makefile'
 X# Ports collection Makefile for:	libnss_mysql
 X# Date created:				05/05/2003
 X# Whom:					Clement Laforet <sheepkiller at cultdeadsheep.org>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	libnss-mysql
 XPORTVERSION=	1.0
 XCATEGORIES=	net
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	libnss-mysql
 X
 XMAINTAINER=	sheepkiller at culteadsheep.org
 XCOMMENT=	NSS module using a MySQL database for backend
 X
 XGNU_CONFIGURE=	yes
 XINSTALLS_SHLIB=	yes
 XUSE_LIBTOOL=	yes
 XUSE_MYSQL=	yes
 X
 X.include <bsd.port.pre.mk>
 X.if ${OSVERSION} < 500112
 XIGNORE=		NSS modules only supported on FreeBSD 5.1 or later
 X.endif
 X
 X.include <bsd.port.post.mk>
 END-of-libnss-mysql/Makefile
 echo x - libnss-mysql/distinfo
 sed 's/^X//' >libnss-mysql/distinfo << 'END-of-libnss-mysql/distinfo'
 XMD5 (libnss-mysql-1.0.tar.gz) = 2961f5e9fe5a0ce3bd51fc8e421c9d27
 END-of-libnss-mysql/distinfo
 echo x - libnss-mysql/pkg-descr
 sed 's/^X//' >libnss-mysql/pkg-descr << 'END-of-libnss-mysql/pkg-descr'
 XlibNSS-MySQL allows you to authenticate UNIX groups and users using a MySQL 
 Xdatabase. It uses the NSS API which provides an abstraction layer between 
 Xthe UNIX authentication API and the related data. NSS-MySQL currently supports 
 Xthe passwd and groups services. 
 X
 XWWW: http://libnss-mysql.sourceforge.net/
 END-of-libnss-mysql/pkg-descr
 echo x - libnss-mysql/pkg-plist
 sed 's/^X//' >libnss-mysql/pkg-plist << 'END-of-libnss-mysql/pkg-plist'
 Xetc/libnss-mysql.cfg-dist
 Xetc/libnss-mysql-root.cfg-dist
 Xlib/nss_mysql.so.1
 Xlib/nss_mysql.so
 Xlib/nss_mysql.la
 END-of-libnss-mysql/pkg-plist
 echo c - libnss-mysql/files
 mkdir -p libnss-mysql/files > /dev/null 2>&1
 echo x - libnss-mysql/files/patch-Makefile.in
 sed 's/^X//' >libnss-mysql/files/patch-Makefile.in << 'END-of-libnss-mysql/files/patch-Makefile.in'
 X--- Makefile.in.orig	Sat Jul 12 21:43:29 2003
 X+++ Makefile.in	Sat Jul 12 21:45:55 2003
 X@@ -492,16 +492,13 @@
 X 
 X 
 X install-data-hook:
 X-	@if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; then \
 X 		${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \
 X 		${INSTALL_DATA} ${srcdir}/sample/@OS@/libnss-mysql.cfg \
 X-			${DESTDIR}${sysconfdir}/libnss-mysql.cfg; \
 X-	fi
 X-	@if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; then \
 X+			${DESTDIR}${sysconfdir}/libnss-mysql.cfg-dist; \
 X 		${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \
 X 		${INSTALL_DATA} -m 600 ${srcdir}/sample/@OS@/libnss-mysql-root.cfg \
 X-			${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; \
 X-	fi
 X+			${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg-dist; \
 X+
 X # Tell versions [3.59,3.63) of GNU make to not export all variables.
 X # Otherwise a system limit (for SysV at least) may be exceeded.
 X .NOEXPORT:
 END-of-libnss-mysql/files/patch-Makefile.in
 exit
 



More information about the freebsd-ports-bugs mailing list