# ChangeLog for net-www/mod_auth_pgsql
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/ChangeLog,v 1.31 2006/08/26 21:53:54 nakano Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/ChangeLog,v 1.32 2007/01/14 01:30:54 chtekk Exp $
+
+ 14 Jan 2007; Luca Longinotti <chtekk@gentoo.org>
+ -files/0.9.12-r1/80_mod_auth_pgsql.conf,
+ -files/2.0.2-r2/80_mod_auth_pgsql.conf, files/80_mod_auth_pgsql.conf,
+ +files/80_mod_auth_pgsql_ap1.conf, metadata.xml,
+ mod_auth_pgsql-0.9.12-r1.ebuild, -mod_auth_pgsql-2.0.3.ebuild,
+ mod_auth_pgsql-2.0.3-r1.ebuild:
+ Cleanup, fixup.
*mod_auth_pgsql-2.0.3-r1 (26 Aug 2006)
<IfDefine AUTH_PGSQL>
<IfModule !mod_auth_pgsql.c>
- LoadModule auth_pgsql_module extramodules/mod_auth_pgsql.so
+ LoadModule auth_pgsql_module modules/mod_auth_pgsql.so
</IfModule>
</IfDefine>
--- /dev/null
+<IfDefine AUTH_PGSQL>
+ <IfModule !mod_auth_pgsql.c>
+ LoadModule auth_pgsql_module modules/mod_auth_pgsql.so
+ </IfModule>
+</IfDefine>
+
MD5 7be403b7487c13cdb023cc526ee2e13a mod_auth_pgsql-0.9.12.tar.gz 30527
+RMD160 c3e3455c7dbd0bc8dbb12104065dae666969820d mod_auth_pgsql-0.9.12.tar.gz 30527
+SHA256 f6876bfdb788395307d1e1f27a7b6ab5e0318e64393df352102e78bb043c1e44 mod_auth_pgsql-0.9.12.tar.gz 30527
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>postgresql</herd>
-<herd>apache</herd>
+ <herd>apache</herd>
+ <herd>postgresql</herd>
</pkgmetadata>
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 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-r1.ebuild,v 1.4 2005/06/06 18:58:14 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12-r1.ebuild,v 1.5 2007/01/14 01:30:54 chtekk Exp $
-inherit apache-module
+inherit apache-module multilib
+
+KEYWORDS="~amd64 ~x86"
DESCRIPTION="This module allows user authentication (and can log authentication requests) against information stored in a PostgreSQL database."
HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql/"
SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/${P}.tar.gz"
-
-KEYWORDS="~x86 ~amd64"
LICENSE="freedist"
SLOT="1"
-DEPEND="dev-db/postgresql"
IUSE=""
-APACHE1_MOD_CONF="${PVR}/80_mod_auth_pgsql"
+DEPEND="dev-db/libpq"
+RDEPEND="${DEPEND}"
+
+APACHE1_MOD_CONF="80_mod_auth_pgsql_ap1"
APACHE1_MOD_DEFINE="AUTH_PGSQL"
DOCFILES="INSTALL README mod_auth_pgsql.html"
need_apache1
src_compile() {
- econf --with-apxs=${APXS1} --with-pgsql-lib=/usr/lib/postgresql \
- --with-pgsql-include=/usr/include/postgresql || die "econf failed"
- ${APXS1} -I/usr/include/postgresql \
- -L/usr/lib/postgresql -lpq \
- -o mod_auth_pgsql.so -c mod_auth_pgsql.c auth_pgsql_shared_stub.c || die
+ econf \
+ --with-apxs=${APXS1} \
+ --with-pgsql-include=/usr/include/postgresql \
+ --with-pgsql-lib=/usr/$(get_libdir)/postgresql \
+ || die "econf failed"
+ ${APXS1} \
+ -I/usr/include/postgresql \
+ -L/usr/$(get_libdir)/postgresql -lpq \
+ -o mod_auth_pgsql.so -c mod_auth_pgsql.c auth_pgsql_shared_stub.c \
+ || die "apxs make failed"
}
src_install() {
apache-module_src_install
- fperms 600 ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf
+ fperms 600 "${APACHE1_MODULES_CONFDIR}"/$(basename ${APACHE1_MOD_CONF}).conf
}
-
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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.3-r1.ebuild,v 1.1 2006/08/26 21:53:54 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.3-r1.ebuild,v 1.2 2007/01/14 01:30:54 chtekk Exp $
-inherit apache-module
+inherit apache-module multilib
+
+KEYWORDS="amd64 ppc ~sparc x86"
DESCRIPTION="This module allows user authentication (and can log authentication requests) against information stored in a PostgreSQL database."
HOMEPAGE="http://www.giuseppetanzilli.it/mod_auth_pgsql2/"
SRC_URI="http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/${P}.tar.gz"
-
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="freedist"
SLOT="2"
-DEPEND="dev-db/libpq"
IUSE=""
-APXS2_ARGS="-a -c -I /usr/pgsql/include -L /usr/pgsql/lib -lpq mod_auth_pgsql.c"
+DEPEND="dev-db/libpq"
+RDEPEND="${DEPEND}"
+
+APXS2_ARGS="-a -c -I/usr/include/postgresql -L/usr/$(get_libdir)/postgresql -lpq mod_auth_pgsql.c"
-APACHE2_MOD_CONF="2.0.2-r2/80_mod_auth_pgsql"
+APACHE2_MOD_CONF="80_mod_auth_pgsql"
APACHE2_MOD_DEFINE="AUTH_PGSQL"
-DOCFILES="INSTALL README TODO mod_auth_pgsql.html"
+DOCFILES="INSTALL README mod_auth_pgsql.html"
need_apache2
src_install() {
apache-module_src_install
- fperms 600 ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf
+ fperms 600 "${APACHE2_MODULES_CONFDIR}"/$(basename ${APACHE2_MOD_CONF}).conf
}