From 6f970c5a510e37d8ae1d787d0f65228cb0b820d5 Mon Sep 17 00:00:00 2001 From: Masatomo Nakano Date: Fri, 2 Jul 2004 23:33:19 +0000 Subject: Added module config file for apache2 --- net-www/mod_auth_pgsql/ChangeLog | 9 +++++- .../mod_auth_pgsql/files/80_mod_auth_pgsql.conf | 6 ++++ .../files/digest-mod_auth_pgsql-2.0.2-r1 | 1 + .../mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild | 3 +- .../mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild | 35 ++++++++++++++++++++++ 5 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 net-www/mod_auth_pgsql/files/80_mod_auth_pgsql.conf create mode 100644 net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-2.0.2-r1 create mode 100644 net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild (limited to 'net-www') diff --git a/net-www/mod_auth_pgsql/ChangeLog b/net-www/mod_auth_pgsql/ChangeLog index 66c1b904d941..b2f0474f636b 100644 --- a/net-www/mod_auth_pgsql/ChangeLog +++ b/net-www/mod_auth_pgsql/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-www/mod_auth_pgsql # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/ChangeLog,v 1.10 2004/06/25 01:00:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/ChangeLog,v 1.11 2004/07/02 23:33:19 nakano Exp $ + +*mod_auth_pgsql-2.0.2-r1 (03 Jul 2004) + + 03 Jul 2004; Masatomo Nakano + +files/80_mod_auth_pgsql.conf, mod_auth_pgsql-0.9.12.ebuild, + +mod_auth_pgsql-2.0.2-r1.ebuild: + Added module config file for apache2 20 Jun 2004; Chuck Short mod_auth_pgsql-0.9.12.ebuild, mod_auth_pgsql-2.0.2.ebuild: diff --git a/net-www/mod_auth_pgsql/files/80_mod_auth_pgsql.conf b/net-www/mod_auth_pgsql/files/80_mod_auth_pgsql.conf new file mode 100644 index 000000000000..f9ed35874f57 --- /dev/null +++ b/net-www/mod_auth_pgsql/files/80_mod_auth_pgsql.conf @@ -0,0 +1,6 @@ + + + LoadModule auth_pgsql_module extramodules/mod_auth_pgsql.so + + + diff --git a/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-2.0.2-r1 b/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-2.0.2-r1 new file mode 100644 index 000000000000..ba5921ce2e8b --- /dev/null +++ b/net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-2.0.2-r1 @@ -0,0 +1 @@ +MD5 8216fde4597c288537ff4fec508a4b41 mod_auth_pgsql-2.0.2b1.tar.gz 15930 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 index 3587ec46fd62..3ee2acb65494 100644 --- 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 @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # 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.8 2004/06/25 01:00:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12.ebuild,v 1.9 2004/07/02 23:33:19 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" @@ -10,7 +10,6 @@ LICENSE="freedist" SLOT="0" DEPEND=">=net-www/apache-1.3.27 dev-db/postgresql" -RDPEND="" IUSE="" src_compile() { diff --git a/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild b/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild new file mode 100644 index 000000000000..0dda8a984a36 --- /dev/null +++ b/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.2-r1.ebuild,v 1.1 2004/07/02 23:33:19 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_pgsql2/dist/${P}b1.tar.gz" +HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql2/" +KEYWORDS="x86" +LICENSE="freedist" +SLOT="0" +DEPEND=">=net-www/apache-2.0.40 + dev-db/postgresql" +RDEPEND="" + +IUSE="" + +S="${WORKDIR}/${P}b1" + +src_compile() { + apxs2 -a -c -I /usr/pgsql/include -L /usr/pgsql/lib -lpq mod_auth_pgsql.c || die "apxs2 failed." +} + +src_install() { + insinto /usr/lib/apache2-extramodules + doins .libs/mod_auth_pgsql.so + dodoc INSTALL README TODO + dohtml mod_auth_pgsql.html + + insinto /etc/apache2/conf/modules.d/ + doins ${FILESDIR}/80_mod_auth_pgsql.conf +} + +pkg_postinst() { + einfo "Edit /etc/conf.d/apache2 and add \"-D AUTH_PGSQL\" to APACHE2_OPTS" +} -- cgit v1.2.3-65-gdbad