Cleanup.
authorLuca Longinotti <chtekk@gentoo.org>
Sun, 14 Jan 2007 01:30:54 +0000 (01:30 +0000)
committerLuca Longinotti <chtekk@gentoo.org>
Sun, 14 Jan 2007 01:30:54 +0000 (01:30 +0000)
Package-Manager: portage-2.1.2_rc4-r8

net-www/mod_auth_pgsql/ChangeLog
net-www/mod_auth_pgsql/files/80_mod_auth_pgsql.conf
net-www/mod_auth_pgsql/files/80_mod_auth_pgsql_ap1.conf [new file with mode: 0644]
net-www/mod_auth_pgsql/files/digest-mod_auth_pgsql-0.9.12-r1
net-www/mod_auth_pgsql/metadata.xml
net-www/mod_auth_pgsql/mod_auth_pgsql-0.9.12-r1.ebuild
net-www/mod_auth_pgsql/mod_auth_pgsql-2.0.3-r1.ebuild

index e288b794a2b393cdb213fd0a254a86750162669d..1f1ec681c7215e1411a5728ee514c25d0c543923 100644 (file)
@@ -1,6 +1,14 @@
 # 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)
 
index f9ed35874f573cef32d52f1e4ff648d9d3675f41..6bdf05541c5df3cda70835ca39187516e54843d7 100644 (file)
@@ -1,6 +1,6 @@
 <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>
 
diff --git a/net-www/mod_auth_pgsql/files/80_mod_auth_pgsql_ap1.conf b/net-www/mod_auth_pgsql/files/80_mod_auth_pgsql_ap1.conf
new file mode 100644 (file)
index 0000000..6bdf055
--- /dev/null
@@ -0,0 +1,6 @@
+<IfDefine AUTH_PGSQL>
+  <IfModule !mod_auth_pgsql.c>
+    LoadModule auth_pgsql_module    modules/mod_auth_pgsql.so
+  </IfModule>
+</IfDefine>
+
index 8f44a1dcbb9370f455d8948b57c0cda82f633444..892b91ebbc02f6ffe19055f2b0ad3c1d251b40c5 100644 (file)
@@ -1 +1,3 @@
 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
index 07556bdbee5286ac5e7936d97bbb69407dc5ecbe..efebb66c3324f6ddd57d9db6318f419ab462618a 100644 (file)
@@ -1,6 +1,6 @@
 <?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>
index 430552b5521c5ff2fa1af8bf4cf52f77bc8230d3..505ab6e683a474b210cf14f99021e67164652bf9 100644 (file)
@@ -1,20 +1,22 @@
-# 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"
@@ -22,15 +24,19 @@ 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
 }
-
index b45e66e3fe222b8714afe2b2df87b78e3578afd8..042442fc844be94c40dd1c63329ecab5146b1500 100644 (file)
@@ -1,29 +1,31 @@
-# 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
 }