summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2006-03-20 05:59:21 +0000
committerMasatomo Nakano <nakano@gentoo.org>2006-03-20 05:59:21 +0000
commit044da230adf5e4fc9bc7a9f08846986d6ee1bb50 (patch)
tree65dea9cca76ad4b1a51473918b70d3e95f6aba33 /sys-auth
parentVersion bump, bug 104520 (diff)
downloadgentoo-2-044da230adf5e4fc9bc7a9f08846986d6ee1bb50.tar.gz
gentoo-2-044da230adf5e4fc9bc7a9f08846986d6ee1bb50.tar.bz2
gentoo-2-044da230adf5e4fc9bc7a9f08846986d6ee1bb50.zip
version bump
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/libnss-pgsql/ChangeLog10
-rw-r--r--sys-auth/libnss-pgsql/Manifest21
-rw-r--r--sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.01
-rw-r--r--sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch12
-rw-r--r--sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild47
5 files changed, 75 insertions, 16 deletions
diff --git a/sys-auth/libnss-pgsql/ChangeLog b/sys-auth/libnss-pgsql/ChangeLog
index 61d69f53ecc2..5935fa0ca608 100644
--- a/sys-auth/libnss-pgsql/ChangeLog
+++ b/sys-auth/libnss-pgsql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/libnss-pgsql
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/ChangeLog,v 1.1 2005/07/02 21:59:23 flameeyes Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/ChangeLog,v 1.2 2006/03/20 05:59:21 nakano Exp $
+
+*libnss-pgsql-1.4.0 (20 Mar 2006)
+
+ 20 Mar 2006; Masatomo Nakano <nakano@gentoo.org>
+ +files/libnss-pgsql-1.4.0-gentoo.patch, +libnss-pgsql-1.4.0.ebuild:
+ Version bump. Ebuild submitted by noddy <dkaloper@mjesec.ffzg.hr>. #125584
02 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+files/libnss-pgsql-1.3-gentoo.patch, +files/postgres-and-glibc.patch,
diff --git a/sys-auth/libnss-pgsql/Manifest b/sys-auth/libnss-pgsql/Manifest
index 20bc363b2458..1b262d6565e0 100644
--- a/sys-auth/libnss-pgsql/Manifest
+++ b/sys-auth/libnss-pgsql/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 9c3d428595060d479b8d8270b0e289ba ChangeLog 943
-MD5 aeab225fec61555d5b4bb96f2f9f9921 libnss-pgsql-1.0.0.ebuild 1383
-MD5 523db200ceaf85a5bf8aa43844f878ec libnss-pgsql-1.3.ebuild 1388
-MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
+MD5 fc417b5fcd0a9109dae50ea33b37c108 ChangeLog 1177
MD5 9d469fca29b34e6f7bcf3b41674f3c42 files/digest-libnss-pgsql-1.0.0 70
MD5 8ed8398d0e5e0a1cc37f08226043d0ca files/digest-libnss-pgsql-1.3 73
+MD5 8781a17800cb91018411055a8331002c files/digest-libnss-pgsql-1.4.0 67
MD5 457b30ca5af70af48cc75dbf41225a52 files/libnss-pgsql-1.3-gentoo.patch 398
+MD5 829b50543372c3f6cdf48b139c958f2a files/libnss-pgsql-1.4.0-gentoo.patch 398
MD5 f4cf9036a52e45d2a0aa66c50a691d9f files/postgres-and-glibc.patch 1289
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD4DBQFCxw5Gj5H05b2HAEkRAjChAJdPb7E901bct04zZZQfjA3qvxjGAJ9hAKL8
-GvqVjijDo2A7OfrxuiNdDQ==
-=cZHf
------END PGP SIGNATURE-----
+MD5 aeab225fec61555d5b4bb96f2f9f9921 libnss-pgsql-1.0.0.ebuild 1383
+MD5 523db200ceaf85a5bf8aa43844f878ec libnss-pgsql-1.3.ebuild 1388
+MD5 49dd970538ddc22b12a4a03c1c47071f libnss-pgsql-1.4.0.ebuild 1428
+MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
diff --git a/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0 b/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0
new file mode 100644
index 000000000000..cd62ef72bdf7
--- /dev/null
+++ b/sys-auth/libnss-pgsql/files/digest-libnss-pgsql-1.4.0
@@ -0,0 +1 @@
+MD5 a0507f407a9efb564562969af1130d25 libnss-pgsql-1.4.0.tgz 244076
diff --git a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch
new file mode 100644
index 000000000000..7a2a938b5c78
--- /dev/null
+++ b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch
@@ -0,0 +1,12 @@
+diff -Nur libnss-pgsql-1.4.0.orig/src/backend.c libnss-pgsql-1.4.0/src/backend.c
+--- libnss-pgsql-1.4.0.orig/src/backend.c 2001-10-18 13:32:52.000000000 +0200
++++ libnss-pgsql-1.4.0/src/backend.c 2003-11-28 16:14:38.000000000 +0100
+@@ -9,7 +9,7 @@
+ */
+
+ #include "nss-pgsql.h"
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
diff --git a/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild b/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild
new file mode 100644
index 000000000000..9f8dd3b5839f
--- /dev/null
+++ b/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild,v 1.1 2006/03/20 05:59:21 nakano Exp $
+
+inherit eutils
+
+DESCRIPTION="Name Service Switch module for use with PostgreSQL"
+HOMEPAGE="http://pgfoundry.org/projects/sysauth/"
+SRC_URI="http://pgfoundry.org/frs/download.php/605/${P}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libc
+ dev-db/libpq
+ app-text/xmlto"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ econf --libdir=/lib || die "econf failure"
+ libtoolize --copy --force || die "libtoolize 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"
+}