diff options
author | jwise <jwise@pkgsrc.org> | 2000-01-10 22:33:12 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2000-01-10 22:33:12 +0000 |
commit | 7cb27d74a3e48b3800397c21dda4501ce87bdaed (patch) | |
tree | 109640378418a86e7fe2d608b83000b97b9b6eba /www | |
parent | 73093c3523351d1172ee1dab3ba3d5fc1e3b709b (diff) | |
download | pkgsrc-7cb27d74a3e48b3800397c21dda4501ce87bdaed.tar.gz |
Initial import of ap-auth-postgresql (AuthPG-1.1b1), Apache authentication
against a PostgreSQL database.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-auth-postgresql/Makefile | 33 | ||||
-rw-r--r-- | www/ap-auth-postgresql/files/md5 | 3 | ||||
-rw-r--r-- | www/ap-auth-postgresql/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/ap-auth-postgresql/pkg/DESCR | 4 | ||||
-rw-r--r-- | www/ap-auth-postgresql/pkg/MESSAGE | 10 | ||||
-rw-r--r-- | www/ap-auth-postgresql/pkg/PLIST | 8 |
6 files changed, 59 insertions, 0 deletions
diff --git a/www/ap-auth-postgresql/Makefile b/www/ap-auth-postgresql/Makefile new file mode 100644 index 00000000000..7ed23881dcd --- /dev/null +++ b/www/ap-auth-postgresql/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/01/10 22:33:12 jwise Exp $ + +DISTNAME= AuthPG-1.1b1 +PKGNAME= ap-auth-postgresql-1.1b1 +CATEGORIES= www databases +MASTER_SITES= http://home.bawi.org/~minskim/authpg/ + +MAINTAINER= jwise@netbsd.org +HOMEPAGE= http://home.bawi.org/~minskim/authpg/ + +DEPENDS+= apache-1.3.*:../../www/apache +DEPENDS+= postgresql-*:../../databases/postgresql +# For "apxs": +BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5 + +PGUSER?= pgsql + +INCLUDES= -I${PREFIX}/${PGUSER}/include +LIBS= -L${PREFIX}/${PGUSER}/lib -Wl,-R${PREFIX}/${PGUSER}/lib -lpq + +do-build: + cd ${WRKSRC} && ${PREFIX}/sbin/apxs ${INCLUDES} ${LIBS} -c mod_auth_pg.c + +do-install: + @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_auth_pg.so + -${MKDIR} ${PREFIX}/share/doc/mod_auth_pg + ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.html ${PREFIX}/share/doc/mod_auth_pg + ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.ko.html ${PREFIX}/share/doc/mod_auth_pg + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_auth_pg + ${INSTALL_DATA} ${WRKSRC}/README.ko ${PREFIX}/share/doc/mod_auth_pg + ${INSTALL_DATA} ${WRKSRC}/sample.htaccess ${PREFIX}/share/examples/mod_auth_pg.htaccess + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap-auth-postgresql/files/md5 b/www/ap-auth-postgresql/files/md5 new file mode 100644 index 00000000000..0af76dbfe7a --- /dev/null +++ b/www/ap-auth-postgresql/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/01/10 22:33:12 jwise Exp $ + +MD5 (AuthPG-1.1b1.tar.gz) = 7dd5b16a8b26e14e6b55ada534a1e841 diff --git a/www/ap-auth-postgresql/pkg/COMMENT b/www/ap-auth-postgresql/pkg/COMMENT new file mode 100644 index 00000000000..b433d2eeeba --- /dev/null +++ b/www/ap-auth-postgresql/pkg/COMMENT @@ -0,0 +1 @@ +Module to allow apache authentication against a Postgresql database diff --git a/www/ap-auth-postgresql/pkg/DESCR b/www/ap-auth-postgresql/pkg/DESCR new file mode 100644 index 00000000000..de69d8665c5 --- /dev/null +++ b/www/ap-auth-postgresql/pkg/DESCR @@ -0,0 +1,4 @@ +The PostgreSQL Authentication Module (mod_auth_pg) enables Apache to +authenticate users with the information stored in a PostgreSQL database. +This module gets a username and password pair in the standard way or +from a cookie, and you can choose your preferred method. diff --git a/www/ap-auth-postgresql/pkg/MESSAGE b/www/ap-auth-postgresql/pkg/MESSAGE new file mode 100644 index 00000000000..5257f8aaeea --- /dev/null +++ b/www/ap-auth-postgresql/pkg/MESSAGE @@ -0,0 +1,10 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 2000/01/10 22:33:12 jwise Exp $ + +You will need to edit ${PREFIX}/etc/httpd/httpd.conf and add the following +lines to the Dynamic Shared Object section in order to use this module +(substitute ${PREFIX} with /usr/pkg or your prefix as appropriate): + +LoadModule ${PREFIX}/lib/httpd/mod_auth_pg.so + +============================================================================= diff --git a/www/ap-auth-postgresql/pkg/PLIST b/www/ap-auth-postgresql/pkg/PLIST new file mode 100644 index 00000000000..bdd22f8ffb7 --- /dev/null +++ b/www/ap-auth-postgresql/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/10 22:33:12 jwise Exp $ +lib/httpd/mod_auth_pg.so +share/doc/mod_auth_pg/README +share/doc/mod_auth_pg/README.ko +share/doc/mod_auth_pg/mod_auth_pg.html +share/doc/mod_auth_pg/mod_auth_pg.ko.html +share/examples/mod_auth_pg.htaccess +@dirrm share/doc/mod_auth_pg |