Initial import of mod_auth_pgsql.
This module allows user authentication (and can log authenthication requests) against information stored in a PostgreSQL database. ok simon@ ajacoutot@
This commit is contained in:
parent
346053f969
commit
0b483f8ab3
39
www/mod_auth_pgsql/Makefile
Normal file
39
www/mod_auth_pgsql/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/30 12:50:39 pea Exp $
|
||||
|
||||
COMMENT = Apache PostgreSQL authentication module
|
||||
|
||||
DISTNAME = mod_auth_pgsql-0.9.12
|
||||
CATEGORIES = www
|
||||
|
||||
HOMEPAGE = http://www.giuseppetanzilli.it/mod_auth_pgsql
|
||||
MASTER_SITES = ${HOMEPAGE}/dist/
|
||||
MODULES = apache-module
|
||||
|
||||
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODAPACHE_NAME = auth_pgsql
|
||||
|
||||
LIB_DEPENDS = pq.>=5:postgresql-client-*:databases/postgresql
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --with-pgsql-lib=${LOCALBASE}/lib \
|
||||
--with-pgsql-include=${LOCALBASE}/include/postgresql
|
||||
|
||||
post-build:
|
||||
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_pgsql
|
||||
${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html \
|
||||
${PREFIX}/share/doc/mod_auth_pgsql
|
||||
${MODAPACHE_INSTALL}
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/mod_auth_pgsql/distinfo
Normal file
5
www/mod_auth_pgsql/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (mod_auth_pgsql-0.9.12.tar.gz) = e+QDt0h8E82wI8xSbuLhOg==
|
||||
RMD160 (mod_auth_pgsql-0.9.12.tar.gz) = w+NFXH29C8jbsSEEBl2uZmlpgg0=
|
||||
SHA1 (mod_auth_pgsql-0.9.12.tar.gz) = 1DntjY9OGqtDbX9YcyC2gOgJmos=
|
||||
SHA256 (mod_auth_pgsql-0.9.12.tar.gz) = 9odr/beIOVMH0eHyentqteAxjmQ5PfNSEC54uwQ8HkQ=
|
||||
SIZE (mod_auth_pgsql-0.9.12.tar.gz) = 30527
|
15
www/mod_auth_pgsql/pkg/DESCR
Normal file
15
www/mod_auth_pgsql/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
This module allows user authentication (and can log authenthication
|
||||
requests) against information stored in a PostgreSQL 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.
|
11
www/mod_auth_pgsql/pkg/MESSAGE
Normal file
11
www/mod_auth_pgsql/pkg/MESSAGE
Normal file
@ -0,0 +1,11 @@
|
||||
To finish the install of mod_auth_pgsql, you need
|
||||
to enable the module using the following command
|
||||
|
||||
${PREFIX}/sbin/${MODAPACHE_ENABLE}
|
||||
|
||||
You should also read
|
||||
${PREFIX}/share/doc/mod_auth_pgsql/mod_auth_pgsql.html
|
||||
|
||||
If you already have Apache running on your machine,
|
||||
you should not use "apachectl restart" - instead,
|
||||
you should fully stop and then restart the server.
|
7
www/mod_auth_pgsql/pkg/PLIST
Normal file
7
www/mod_auth_pgsql/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/30 12:50:39 pea Exp $
|
||||
lib/${MODAPACHE_MODULE}
|
||||
@exec-update test -f ${MODAPACHE_FINAL} && cp -fp %D/%F ${MODAPACHE_FINAL}
|
||||
sbin/${MODAPACHE_ENABLE}
|
||||
share/doc/mod_auth_pgsql/
|
||||
share/doc/mod_auth_pgsql/mod_auth_pgsql.html
|
||||
@unexec-delete rm -f ${MODAPACHE_FINAL}
|
8
www/mod_auth_pgsql/pkg/UNMESSAGE
Normal file
8
www/mod_auth_pgsql/pkg/UNMESSAGE
Normal file
@ -0,0 +1,8 @@
|
||||
To completely deinstall the mod_auth_pgsql package you
|
||||
should edit /var/www/conf/httpd.conf and remove the
|
||||
line that starts with
|
||||
|
||||
LoadModule auth_pgsql_module
|
||||
|
||||
Do not do this if you plan on re-installing the
|
||||
mod_auth_pgsql package before the next apache restart.
|
Loading…
x
Reference in New Issue
Block a user