diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2003-03-17 06:27:38 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2003-03-17 06:27:38 +0000 |
commit | 3e885644a009297ad3006b468d2be8800e916b70 (patch) | |
tree | 13d5a2cd1fc5d94903f8487103da4953dae85b70 /net-www/mod_auth_pgsql | |
parent | Added copyright notice & header tag to automate date updating to (diff) | |
download | gentoo-2-3e885644a009297ad3006b468d2be8800e916b70.tar.gz gentoo-2-3e885644a009297ad3006b468d2be8800e916b70.tar.bz2 gentoo-2-3e885644a009297ad3006b468d2be8800e916b70.zip |
Initial import.
Diffstat (limited to 'net-www/mod_auth_pgsql')
-rw-r--r-- | net-www/mod_auth_pgsql/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-0.9.12 | 1 | ||||
-rw-r--r-- | net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild | 42 |
3 files changed, 54 insertions, 0 deletions
diff --git a/net-www/mod_auth_pgsql/ChangeLog b/net-www/mod_auth_pgsql/ChangeLog new file mode 100644 index 000000000000..0f9d43c3d27d --- /dev/null +++ b/net-www/mod_auth_pgsql/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for mod_www/mod_auth_pgsql +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/ChangeLog,v 1.1 2003/03/17 06:27:38 nakano Exp $ + +*mod_auth_pgsql-0.9.12 (17 Mar 2003) + + 17 Mar 2003; Masatomo Nakano <nakano@gentoo.org> mod_auth_pgsql-0.9.12.ebuild, + files/digest-mod_auth_pgsql-0.9.12 + + Initial import. + diff --git a/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-0.9.12 b/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-0.9.12 new file mode 100644 index 000000000000..8f44a1dcbb93 --- /dev/null +++ b/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-0.9.12 @@ -0,0 +1 @@ +MD5 7be403b7487c13cdb023cc526ee2e13a mod_auth_pgsql-0.9.12.tar.gz 30527 diff --git a/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild b/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild new file mode 100644 index 000000000000..71ae24d92d35 --- /dev/null +++ b/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild,v 1.1 2003/03/17 06:27:38 nakano Exp $ + +DESCRIPTION="This module allows user authentication (and can log authethication requests) against information stored in a PostgreSQL database." +SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/${P}.tar.gz" +HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql/" +KEYWORDS="~x86" +LICENSE="freedist" +SLOT="0" +DEPEND="net-www/apache + dev-db/postgresql" + +src_compile() { + ./configure --with-apxs=/usr/sbin/apxs --with-pgsql=/usr/lib/postgresql + /usr/sbin/apxs -I/usr/include/postgresql/server \ + -L/usr/lib/postgresql -lpq \ + -o mod_auth_pgsql.so -c mod_auth_pgsql.c auth_pgsql_shared_stub.c +} + +src_install() { + insinto /usr/lib/apache-extramodules + doins mod_auth_pgsql.so +} + +pkg_postinst() { + einfo + einfo "To have Apache run auth_pgsql programs, please do the following:" + einfo "1. Execute the command:" + einfo " \"ebuild /var/db/pkg/net-www/${PF}/${PF}.ebuild config\"" + einfo "2. Edit /etc/conf.d/apache and add \"-D AUTH_PGSQL\"" + einfo +} + +pkg_config() { + ${ROOT}/usr/sbin/apacheaddmod \ + ${ROOT}/etc/apache/conf/apache.conf \ + extramodules/mod_auth_pgsql.so mod_auth_pgsql.c auth_pgsql_module \ + before=perl define=AUTH_PGSQL + :; +} + |