diff options
author | darcy <darcy> | 2004-06-21 16:06:22 +0000 |
---|---|---|
committer | darcy <darcy> | 2004-06-21 16:06:22 +0000 |
commit | f308adc52937a3409dce72ce9633854e8bb1bf70 (patch) | |
tree | 781445d7b63d60c8e6e78d26ed6ba58f4d955610 | |
parent | cb5701067f59db16aef070dd656a0cac100aa554 (diff) | |
download | pkgsrc-f308adc52937a3409dce72ce9633854e8bb1bf70.tar.gz |
Import auth module for PostgreSQL and Apache 2. Based on the FreeBSD port.
-rw-r--r-- | www/ap2-auth-pgsql/DESCR | 6 | ||||
-rw-r--r-- | www/ap2-auth-pgsql/Makefile | 36 | ||||
-rw-r--r-- | www/ap2-auth-pgsql/PLIST | 4 | ||||
-rw-r--r-- | www/ap2-auth-pgsql/distinfo | 4 |
4 files changed, 50 insertions, 0 deletions
diff --git a/www/ap2-auth-pgsql/DESCR b/www/ap2-auth-pgsql/DESCR new file mode 100644 index 00000000000..24f3a377b3c --- /dev/null +++ b/www/ap2-auth-pgsql/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/ap2-auth-pgsql/Makefile b/www/ap2-auth-pgsql/Makefile new file mode 100644 index 00000000000..882876bd983 --- /dev/null +++ b/www/ap2-auth-pgsql/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/21 16:06:22 darcy Exp $ +# FreeBSD Id: ports/www/mod_auth_pgsql2/Makefile,v 1.5 2004/02/06 11:21:00 clement Exp + +DISTNAME= mod_auth_pgsql-2.0.2b1 +PKGNAME= ap2-auth-pgsql-2.0.2b1 +CATEGORIES= www databases +MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.giuseppetanzilli.it/mod_auth_pgsql2/ +COMMENT= Allows users to use PostgreSQL databases for user authentication + +CONFLICTS= ap-auth-postgresql-* +USE_BUILDLINK3= yes + +APACHE_MODULE = yes +APACHE_MODULE_NAME = ap2-auth-pgsql + +do-build: + cd ${WRKSRC} && \ + ${APXS} -c -n ${APACHE_MODULE_NAME} \ + -I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql \ + -L${LOCALBASE}/lib \ + -Wl,${RPATH_FLAG} -Wl,${LOCALBASE}/lib \ + -lpq ${DISTNAME:C/-[^-]*$//}.c + +do-install: + (cd ${WRKSRC} && ${APXS} -A -i ${DISTNAME:C/-[^-]*$//}.la) + #${MKDIR} ${DOCSDIR} + #${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR} + +.include "../../www/apache2/buildlink3.mk" +.include "../../databases/postgresql-lib/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" + diff --git a/www/ap2-auth-pgsql/PLIST b/www/ap2-auth-pgsql/PLIST new file mode 100644 index 00000000000..711124b47d8 --- /dev/null +++ b/www/ap2-auth-pgsql/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/21 16:06:22 darcy Exp $ +libexec/apache2/mod_auth_pgsql.so +@exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f +@unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf." diff --git a/www/ap2-auth-pgsql/distinfo b/www/ap2-auth-pgsql/distinfo new file mode 100644 index 00000000000..cf56d71d71b --- /dev/null +++ b/www/ap2-auth-pgsql/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/21 16:06:22 darcy Exp $ + +SHA1 (mod_auth_pgsql-2.0.2b1.tar.gz) = 536c98eba309ae5bba1dfeab14406a42e768bb7a +Size (mod_auth_pgsql-2.0.2b1.tar.gz) = 15930 bytes |