From 7c7aee09b84f28b328fd31f130c936c29d9d5d82 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 31 Jul 2003 19:22:28 +0000 Subject: 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. --- www/ap-auth-pgsql/DESCR | 18 ++++++++++++++++++ www/ap-auth-pgsql/MESSAGE | 9 +++++++++ www/ap-auth-pgsql/Makefile | 28 ++++++++++++++++++++++++++++ www/ap-auth-pgsql/PLIST | 6 ++++++ www/ap-auth-pgsql/distinfo | 4 ++++ 5 files changed, 65 insertions(+) create mode 100644 www/ap-auth-pgsql/DESCR create mode 100644 www/ap-auth-pgsql/MESSAGE create mode 100644 www/ap-auth-pgsql/Makefile create mode 100644 www/ap-auth-pgsql/PLIST create mode 100644 www/ap-auth-pgsql/distinfo (limited to 'www/ap-auth-pgsql') diff --git a/www/ap-auth-pgsql/DESCR b/www/ap-auth-pgsql/DESCR new file mode 100644 index 00000000000..38f06d55706 --- /dev/null +++ b/www/ap-auth-pgsql/DESCR @@ -0,0 +1,18 @@ +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. diff --git a/www/ap-auth-pgsql/MESSAGE b/www/ap-auth-pgsql/MESSAGE new file mode 100644 index 00000000000..d1e9b03353e --- /dev/null +++ b/www/ap-auth-pgsql/MESSAGE @@ -0,0 +1,9 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/07/31 19:22:28 wiz Exp $ + +In order to use this module in your Apache installation, you need to +add the following to your httpd.conf file: + + LoadModule auth_pgsql_module lib/httpd/mod_auth_pgsql.so + +=========================================================================== 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" diff --git a/www/ap-auth-pgsql/PLIST b/www/ap-auth-pgsql/PLIST new file mode 100644 index 00000000000..5b1368c8145 --- /dev/null +++ b/www/ap-auth-pgsql/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/31 19:22:28 wiz Exp $ +lib/httpd/mod_auth_pgsql.so +share/doc/mod_auth_pgsql/README +share/doc/mod_auth_pgsql/INSTALL +share/doc/mod_auth_pgsql/mod_auth_pgsql.html +@dirrm share/doc/mod_auth_pgsql diff --git a/www/ap-auth-pgsql/distinfo b/www/ap-auth-pgsql/distinfo new file mode 100644 index 00000000000..e1f2aaf6ae8 --- /dev/null +++ b/www/ap-auth-pgsql/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/07/31 19:22:28 wiz Exp $ + +SHA1 (mod_auth_pgsql-0.9.12.tar.gz) = d439ed8d8f4e1aab436d7f587320b680e8099a8b +Size (mod_auth_pgsql-0.9.12.tar.gz) = 30527 bytes -- cgit v1.2.3