From sheepkiller@cultdeadsheep.org  Sat Jul 12 15:12:35 2003
Return-Path: <sheepkiller@cultdeadsheep.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2988837B404
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Jul 2003 15:12:35 -0700 (PDT)
Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E8CF743F75
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Jul 2003 15:12:29 -0700 (PDT)
	(envelope-from sheepkiller@cultdeadsheep.org)
Received: (qmail 1590 invoked from network); 12 Jul 2003 22:12:24 -0000
Received: from unknown (HELO ?HOSTNAME?) (192.168.0.12)
  by goofy.cultdeadsheep.org with SMTP; 12 Jul 2003 22:12:24 -0000
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 13 Jul 2003 00:12:15 +0200
Message-Id: <20030712221229.E8CF743F75@mx1.FreeBSD.org>
Date: Sun, 13 Jul 2003 00:12:15 +0200
From: "Clement Laforet" <sheepkiller@cultdeadsheep.org>
Reply-To: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject: net/libnss-mysql (NSS module using a MySQL database for backend)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54423
>Category:       ports
>Synopsis:       net/libnss-mysql (NSS module using a MySQL database for backend)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 12 15:20:16 PDT 2003
>Closed-Date:    Fri Aug 29 23:48:21 PDT 2003
>Last-Modified:  Fri Aug 29 23:48:21 PDT 2003
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD chuck.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Jul 5 14:52:13 CEST 2003 clement@chuck.cultdeadsheep.org:/usr/src/sys/i386/compile/CHUCK i386


	
>Description:

	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.
	
>How-To-Repeat:
	N/A.
>Fix:

	

--- libnss_mysql.shar begins here ---
# 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@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@culteadsheep.org
XCOMMENT=	NSS module using a MySQL database for backend
X
XLIB_DEPENDS=	mysqlclient.12:${PORTSDIR}/databases/mysql40-client
X
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XUSE_LIBTOOL=	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
--- libnss_mysql.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: Clement Laforet <sheepkiller@cultdeadsheep.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/54423: net/libnss-mysql (NSS module using a MySQL
 database for backend)
Date: Sun, 13 Jul 2003 18:55:17 +0200

 > # This archive contains:
 > #
 > #	libnss_mysql
 > #	libnss_mysql/Makefile
 <snip>
 
 Damn ! directory should be libnss-mysql (not libnss_mysql)

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@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@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@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
 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Fri Aug 29 23:48:16 PDT 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54423 
>Unformatted:
