summaryrefslogtreecommitdiff
path: root/www/ap-auth-pgsql/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-07-31 19:22:28 +0000
committerwiz <wiz@pkgsrc.org>2003-07-31 19:22:28 +0000
commit7c7aee09b84f28b328fd31f130c936c29d9d5d82 (patch)
tree596e76c3060099bebd8448e22e8cffeddd85143c /www/ap-auth-pgsql/Makefile
parente5581b687db87de7c59d01a41f363d1250c6bee5 (diff)
downloadpkgsrc-7c7aee09b84f28b328fd31f130c936c29d9d5d82.tar.gz
Initial import of ap-auth-pgsql, a replacement for ap-auth-postgresql.
Provided by Harry Waddell in PR 21206. This module allows user authentication (and can log authenthication requests) against information stored in a PostgreSQL database. PostgreSQL is a public domain SQL database. Authentication One database, and one (or two) tables. One table holds the username and the encryped (or plain) password. The other table holds the username and the names of the group to which the user belongs. It is possible to have username, groupname and password in the same table. Access Logging Every authentication access is logged in the same database of the authentication table, but in different table. User name and date of the request are logged. As option, it can log password, ip address, request line.
Diffstat (limited to 'www/ap-auth-pgsql/Makefile')
-rw-r--r--www/ap-auth-pgsql/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/ap-auth-pgsql/Makefile b/www/ap-auth-pgsql/Makefile
new file mode 100644
index 00000000000..9c0d3df59ea
--- /dev/null
+++ b/www/ap-auth-pgsql/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/31 19:22:28 wiz Exp $
+
+DISTNAME= mod_auth_pgsql-0.9.12
+PKGNAME= ap-auth-pgsql-0.9.12
+CATEGORIES= www databases
+MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/
+
+MAINTAINER= waddell@caravan.com
+HOMEPAGE= http://www.giuseppetanzilli.it/mod_auth_pgsql/
+COMMENT= Module to allow apache log accesses and authenticate against a Postgresql database
+
+CONFLICTS= ap-auth-postgresql-[0-9]*
+USE_BUILDLINK2= YES
+
+APACHE_MODULE_NAME= mod_auth_pgsql.so
+
+CPPFLAGS+= -I${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
+LDFLAGS+= -lpq -lcrypt
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_pgsql
+ ${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${PREFIX}/share/doc/mod_auth_pgsql
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_auth_pgsql
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/mod_auth_pgsql
+
+.include "../../databases/postgresql-lib/buildlink2.mk"
+.include "../../www/apache/module.mk"
+.include "../../mk/bsd.pkg.mk"