ports/57655: [new port] www/mod_auth_pgsql2: Allows users to use PostgreSQL databases for user authentication (Apache 2.0.x)
Clement Laforet
sheepkiller at cultdeadsheep.org
Mon Oct 6 17:50:32 UTC 2003
>Number: 57655
>Category: ports
>Synopsis: [new port] www/mod_auth_pgsql2: Allows users to use PostgreSQL databases for user authentication (Apache 2.0.x)
>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: Mon Oct 06 10:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.prg
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
This add-on module allows the apache web server to use a PostgreSQL
database for user and/or group authentication. For large user lists this
can offer a significate speed up over apache's standard flat file
format.
WWW: http://www.giuseppetanzilli.it/mod_auth_pgsql2/
>How-To-Repeat:
N/A.
>Fix:
--- mod_auth_pgsql2.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:
#
# mod_auth_pgsql2
# mod_auth_pgsql2/Makefile
# mod_auth_pgsql2/distinfo
# mod_auth_pgsql2/pkg-descr
# mod_auth_pgsql2/pkg-plist
#
echo c - mod_auth_pgsql2
mkdir -p mod_auth_pgsql2 > /dev/null 2>&1
echo x - mod_auth_pgsql2/Makefile
sed 's/^X//' >mod_auth_pgsql2/Makefile << 'END-of-mod_auth_pgsql2/Makefile'
X# New ports collection makefile for: mod_auth_pgsql2
X# Date created: Mon Oct 6
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X
XPORTNAME= mod_auth_pgsql
XPORTVERSION= 2.0.2b1
XCATEGORIES= www
XMASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
X
XMAINTAINER= sheeepkiller at cultdeadsheep.org
XCOMMENT= Allows users to use PostgreSQL databases for user authentication
X
XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS= ${BUILD_DEPENDS}
XLIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
X
XAPXS?= ${LOCALBASE}/sbin/apxs
XPG_INC?= ${LOCALBASE}/include
XPG_LIBS?= ${LOCALBASE}/lib -lpq
X
Xdo-build:
X @(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -c ${PORTNAME}.c)
X
Xdo-install:
X @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mod_auth_pgsql2/Makefile
echo x - mod_auth_pgsql2/distinfo
sed 's/^X//' >mod_auth_pgsql2/distinfo << 'END-of-mod_auth_pgsql2/distinfo'
XMD5 (mod_auth_pgsql-2.0.2b1.tar.gz) = 8216fde4597c288537ff4fec508a4b41
END-of-mod_auth_pgsql2/distinfo
echo x - mod_auth_pgsql2/pkg-descr
sed 's/^X//' >mod_auth_pgsql2/pkg-descr << 'END-of-mod_auth_pgsql2/pkg-descr'
XThis add-on module allows the apache web server to use a PostgreSQL
Xdatabase for user and/or group authentication. For large user lists this
Xcan offer a significate speed up over apache's standard flat file
Xformat.
X
XWWW: http://www.giuseppetanzilli.it/mod_auth_pgsql2/
END-of-mod_auth_pgsql2/pkg-descr
echo x - mod_auth_pgsql2/pkg-plist
sed 's/^X//' >mod_auth_pgsql2/pkg-plist << 'END-of-mod_auth_pgsql2/pkg-plist'
Xlibexec/apache2/mod_auth_pgsql.so
X at exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf."
END-of-mod_auth_pgsql2/pkg-plist
exit
--- mod_auth_pgsql2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list