ports/54423: net/libnss-mysql (NSS module using a MySQL database for backend)
Clement Laforet
sheepkiller at cultdeadsheep.org
Sat Jul 12 22:20:19 UTC 2003
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 12 15:20:16 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 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
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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list