Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  6 Oct 2003 19:40:17 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/57655: [new port] www/mod_auth_pgsql2: Allows users to use PostgreSQL databases for user authentication (Apache 2.0.x)
Message-ID:  <20031006174014.96F0943FA3@mx1.FreeBSD.org>
Resent-Message-ID: <200310061750.h96HoJIa058618@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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@exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031006174014.96F0943FA3>