summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-09 00:36:32 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-09 00:36:32 +0000
commitf0281b895b34c5ece13aaad9de7fb90a7760da6c (patch)
treeb7bdfa55d2ca22101de066bb3d6516e63d20b256 /sys-libs
parentmark ~ppc (diff)
downloadgentoo-2-f0281b895b34c5ece13aaad9de7fb90a7760da6c.tar.gz
gentoo-2-f0281b895b34c5ece13aaad9de7fb90a7760da6c.tar.bz2
gentoo-2-f0281b895b34c5ece13aaad9de7fb90a7760da6c.zip
Version bump.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libnss-pgsql/ChangeLog7
-rw-r--r--sys-libs/libnss-pgsql/Manifest2
-rw-r--r--sys-libs/libnss-pgsql/files/digest-libnss-pgsql-1.31
-rw-r--r--sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild44
4 files changed, 53 insertions, 1 deletions
diff --git a/sys-libs/libnss-pgsql/ChangeLog b/sys-libs/libnss-pgsql/ChangeLog
index 0b6b24af7d3e..b19b8527f71e 100644
--- a/sys-libs/libnss-pgsql/ChangeLog
+++ b/sys-libs/libnss-pgsql/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libnss-pgsql
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/ChangeLog,v 1.1 2005/01/12 10:26:13 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/ChangeLog,v 1.2 2005/05/09 00:36:32 nakano Exp $
+
+*libnss-pgsql-1.3 (09 May 2005)
+
+ 09 May 2005; Masatomo Nakano <nakano@gentoo.org> +libnss-pgsql-1.3.ebuild:
+ Version bump.
*libnss-pgsql-1.0.0 (12 Jan 2005)
diff --git a/sys-libs/libnss-pgsql/Manifest b/sys-libs/libnss-pgsql/Manifest
index 0a236cbc465f..701620c5f314 100644
--- a/sys-libs/libnss-pgsql/Manifest
+++ b/sys-libs/libnss-pgsql/Manifest
@@ -1,5 +1,7 @@
+MD5 7c002ddbaac0857b61ca350dded7d5b6 libnss-pgsql-1.3.ebuild 1378
MD5 42f23c2adc59ef134212a10979e7e96f libnss-pgsql-1.0.0.ebuild 1380
MD5 1d98858649f4f617a8989fd2c5dd8726 ChangeLog 406
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
MD5 f4cf9036a52e45d2a0aa66c50a691d9f files/postgres-and-glibc.patch 1289
MD5 9d469fca29b34e6f7bcf3b41674f3c42 files/digest-libnss-pgsql-1.0.0 70
+MD5 8ed8398d0e5e0a1cc37f08226043d0ca files/digest-libnss-pgsql-1.3 73
diff --git a/sys-libs/libnss-pgsql/files/digest-libnss-pgsql-1.3 b/sys-libs/libnss-pgsql/files/digest-libnss-pgsql-1.3
new file mode 100644
index 000000000000..0362ecd7bd51
--- /dev/null
+++ b/sys-libs/libnss-pgsql/files/digest-libnss-pgsql-1.3
@@ -0,0 +1 @@
+MD5 8a026a909165a6c30781819af95282ad libnss-pgsql_1.3.orig.tar.gz 322950
diff --git a/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild b/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild
new file mode 100644
index 000000000000..017d2bef07ec
--- /dev/null
+++ b/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild,v 1.1 2005/05/09 00:36:32 nakano Exp $
+
+inherit eutils
+
+DESCRIPTION="Name Service Switch module for use with PostgreSQL"
+HOMEPAGE="http://sourceforge.net/projects/sysauth-pgsql"
+SRC_URI="mirror://sourceforge/sysauth-pgsql/${PN}_${PV}.orig.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libc
+ dev-db/libpq"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile() {
+ econf --libdir=/lib || die "econf failure"
+ emake || die "emake failure"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failure"
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+ insinto etc && doins conf/nss-pgsql.conf
+ docinto conf && dodoc conf/{dbschema.sql,nsswitch.conf}
+ docinto doc && dodoc doc/{nss-pgsql.{ps,sgml,txt}}
+}
+
+pkg_postinst() {
+ einfo "Now create the required SQL tables in a database, eg.:"
+ einfo " $ zcat /usr/share/doc/${P}/conf/dbschema.sql.gz | psql dbtest"
+ einfo "Then edit the config file to match your need:"
+ einfo " /etc/nss-pgsql.conf"
+ einfo "Now edit /etc/nsswitch.conf to use the NSS service 'pgsql', an"
+ einfo "example is available here:"
+ einfo " /usr/share/doc/${P}/conf/nsswitch.conf.gz"
+}