diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2003-10-07 10:26:44 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2003-10-07 10:26:44 +0000 |
commit | 05bc554ce4fc33d2a8e689d6236ac9c23a3d88c9 (patch) | |
tree | fbaa908366521ce294d09b5162830def8e753627 /www/mod_auth_pgsql2 | |
parent | 4bd57c285c686de4eeae203c439f639bd1aeb599 (diff) | |
download | ports-05bc554ce4fc33d2a8e689d6236ac9c23a3d88c9.tar.gz ports-05bc554ce4fc33d2a8e689d6236ac9c23a3d88c9.zip |
Notes
Diffstat (limited to 'www/mod_auth_pgsql2')
-rw-r--r-- | www/mod_auth_pgsql2/Makefile | 33 | ||||
-rw-r--r-- | www/mod_auth_pgsql2/distinfo | 1 | ||||
-rw-r--r-- | www/mod_auth_pgsql2/pkg-descr | 6 | ||||
-rw-r--r-- | www/mod_auth_pgsql2/pkg-plist | 5 |
4 files changed, 45 insertions, 0 deletions
diff --git a/www/mod_auth_pgsql2/Makefile b/www/mod_auth_pgsql2/Makefile new file mode 100644 index 000000000000..594fd4887991 --- /dev/null +++ b/www/mod_auth_pgsql2/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: mod_auth_pgsql2 +# Date created: Mon Oct 6 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# +# $FreeBSD$ + +PORTNAME= mod_auth_pgsql +PORTVERSION= 2.0.2b1 +CATEGORIES= www +MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/ + +MAINTAINER= sheeepkiller@cultdeadsheep.org +COMMENT= Allows users to use PostgreSQL databases for user authentication + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 +RUN_DEPENDS= ${BUILD_DEPENDS} +LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7 + +APXS?= ${LOCALBASE}/sbin/apxs +PG_INC?= ${LOCALBASE}/include +PG_LIBS?= ${LOCALBASE}/lib -lpq + +do-build: + @(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -c ${PORTNAME}.c) + +do-install: + @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la) +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/mod_auth_pgsql2/distinfo b/www/mod_auth_pgsql2/distinfo new file mode 100644 index 000000000000..ac61200b1c5f --- /dev/null +++ b/www/mod_auth_pgsql2/distinfo @@ -0,0 +1 @@ +MD5 (mod_auth_pgsql-2.0.2b1.tar.gz) = 8216fde4597c288537ff4fec508a4b41 diff --git a/www/mod_auth_pgsql2/pkg-descr b/www/mod_auth_pgsql2/pkg-descr new file mode 100644 index 000000000000..24f3a377b3c8 --- /dev/null +++ b/www/mod_auth_pgsql2/pkg-descr @@ -0,0 +1,6 @@ +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/ diff --git a/www/mod_auth_pgsql2/pkg-plist b/www/mod_auth_pgsql2/pkg-plist new file mode 100644 index 000000000000..2dd545b64b6b --- /dev/null +++ b/www/mod_auth_pgsql2/pkg-plist @@ -0,0 +1,5 @@ +libexec/apache2/mod_auth_pgsql.so +@exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f +%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf." |