summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-03-10 15:00:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-03-10 15:00:06 +0000
commit89fba3b37d28cdccf04e0a7d995acbb258d22803 (patch)
tree64eeb5bcdb5c116fe0af944b83b5beb4f43d9584 /sys-auth
parentMarked ppc/ppc64 stable for bug #307243. (diff)
downloadhistorical-89fba3b37d28cdccf04e0a7d995acbb258d22803.tar.gz
historical-89fba3b37d28cdccf04e0a7d995acbb258d22803.tar.bz2
historical-89fba3b37d28cdccf04e0a7d995acbb258d22803.zip
Version bump, 1.5.0 is considered “beta” but seems to be more reliable than 1.4.0. Update metadata.
Package-Manager: portage-2.2_rc66/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/libnss-pgsql/ChangeLog12
-rw-r--r--sys-auth/libnss-pgsql/Manifest17
-rw-r--r--sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch44
-rw-r--r--sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild54
-rw-r--r--sys-auth/libnss-pgsql/metadata.xml3
5 files changed, 126 insertions, 4 deletions
diff --git a/sys-auth/libnss-pgsql/ChangeLog b/sys-auth/libnss-pgsql/ChangeLog
index f730fbe3aeca..0b4b70409d74 100644
--- a/sys-auth/libnss-pgsql/ChangeLog
+++ b/sys-auth/libnss-pgsql/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-auth/libnss-pgsql
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/ChangeLog,v 1.4 2008/05/19 20:21:19 dev-zero Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/ChangeLog,v 1.5 2010/03/10 15:00:05 flameeyes Exp $
+
+*libnss-pgsql-1.5.0_beta (10 Mar 2010)
+
+ 10 Mar 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +libnss-pgsql-1.5.0_beta.ebuild,
+ +files/libnss-pgsql-1.5.0_beta-gentoo.patch, metadata.xml:
+ Version bump, 1.5.0 is considered “beta” but seems to be more reliable
+ than 1.4.0. Update metadata.
19 May 2008; Tiziano Müller <dev-zero@gentoo.org>
libnss-pgsql-1.4.0.ebuild:
diff --git a/sys-auth/libnss-pgsql/Manifest b/sys-auth/libnss-pgsql/Manifest
index 3352bad213a3..d26ab2f1e3e8 100644
--- a/sys-auth/libnss-pgsql/Manifest
+++ b/sys-auth/libnss-pgsql/Manifest
@@ -1,6 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libnss-pgsql-1.4.0-gentoo.patch 398 RMD160 fa9d1d6909141f6b4eaf119ca143b934eb64ca98 SHA1 ab4a62417347b0902a53aee9b9103f7789eb7624 SHA256 9c6d4f5cc7f0006ab8045a501ab07321bd4e873d278f517919f12381423cc7ae
AUX libnss-pgsql-1.4.0-schema.patch 811 RMD160 df15e2a5d70bf33ec19a101dfd5996fde00dedef SHA1 ba586b7feb67a1772f28d2881ebc523da9e86a58 SHA256 0ff80679cde52330ff4decdd3e739817e0ab57ecfe425dc7adb117b7bbd2f5a6
+AUX libnss-pgsql-1.5.0_beta-gentoo.patch 1479 RMD160 3afb1b9e6405fb463a4d7d24db1fad77de6ed849 SHA1 f3856ec80b4d990e3dc6904af928c5e09b5c009c SHA256 d03b1c30c8e547838e99015a1d3dc74356abde73487b3acaf2e41d83b5aff6d0
DIST libnss-pgsql-1.4.0.tgz 244076 RMD160 88fccc1e58776916e1b258c79466b1d13cfb2bb0 SHA1 7f26df8e2a80471b5be6bc557ea78b3a1157593a SHA256 776efc43b21323380f9b1cf32b4463eddd7050d19912418ea58b856b96c9ee25
+DIST libnss-pgsql-1.5.0-beta.tgz 305543 RMD160 9a81a636d69211a27e07084a3303f55e76e9786f SHA1 69cc58a849a58226a6321c0cd02e150f2d4a81ad SHA256 84808c47fd21a09e2c487a0efc72cc18b352275082335be8c6de39d325e6c000
EBUILD libnss-pgsql-1.4.0.ebuild 1618 RMD160 048d2a52346e58a55d0bd66f2eab18094d24117d SHA1 ab7393a8ae0270dbde855971fd6a97548b031003 SHA256 3caca31f9541611aaa5955852e2e367060a8fc746bb7695dd059b6a5ff1bbaa8
-MISC ChangeLog 1665 RMD160 d10caab810da500f25b2c230620d8fcdbcc77d61 SHA1 40ed4ebaea1513189d262cf62a8eca34b1d66455 SHA256 f08162492ec73a156da63e474077cfc75d5d5ddad7833898ab6497353919c179
-MISC metadata.xml 163 RMD160 70bbda1c1e8316a09d467334131898ae833a3205 SHA1 f43b9a4a2a82140936f9b04e4e63b3c9a495141f SHA256 f0699a4c3ad24cc38836c2d4a1ba03e4e403a9a5364b51df405db02014005891
+EBUILD libnss-pgsql-1.5.0_beta.ebuild 1506 RMD160 57663816a10d57de5cf3da6d79391aa35d0fcb36 SHA1 f6a6c9b1d29b4d7e61fe7857eb05b1996a483f1c SHA256 cecf097c4f92c36d57d1bc5c090b178531b13b7354b9d9dc8e68b8769186f9f0
+MISC ChangeLog 1967 RMD160 6d17d583c002371f809ba36ba642e89cd02764c4 SHA1 07986a1d31119676ed276044b757021e3574e0db SHA256 c0a37c50f79df50f0d644c6045fbf673cea6da3f7edcd3f6f1a6c1048b58bb56
+MISC metadata.xml 228 RMD160 f88a5f48f05d10516c6b609dff4423526bb82d8c SHA1 087c63c43562a98086c4e8ee9d7fc0a5735d8586 SHA256 33aaea5e7119a77006bdda4444cf185d8c353a5c25c45df66e6f681fced8d666
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuXs/8ACgkQAiZjviIA2Xj4/ACeOT2V5cnfLaEd7NlsmberAToF
+DeMAoJFesC3uNEJDlNsaJEHgjB651FJG
+=9nnt
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch
new file mode 100644
index 000000000000..69aefa8c6064
--- /dev/null
+++ b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch
@@ -0,0 +1,44 @@
+Index: libnss-pgsql-1.5.0-beta/src/backend.c
+===================================================================
+--- libnss-pgsql-1.5.0-beta.orig/src/backend.c
++++ libnss-pgsql-1.5.0-beta/src/backend.c
+@@ -11,7 +11,7 @@
+ */
+
+ #include "nss-pgsql.h"
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
+Index: libnss-pgsql-1.5.0-beta/doc/Makefile.am
+===================================================================
+--- libnss-pgsql-1.5.0-beta.orig/doc/Makefile.am
++++ libnss-pgsql-1.5.0-beta/doc/Makefile.am
+@@ -1,14 +1,6 @@
+ TARGETS = nss-pgsql.html
+
+-all html: $(TARGETS)
+-
+-install-data-local: $(TARGETS)
+- $(mkinstalldirs) $(DESTDIR)$(docdir)
+- $(INSTALL_DATA) nss-pgsql.html $(DESTDIR)$(docdir)
+- $(INSTALL_DATA) $(srcdir)/caution.png $(DESTDIR)$(docdir)
+-
+-clean-local:
+- rm -f $(TARGETS)
++html_DATA = $(TARGETS) caution.png
+
+ nss-pgsql.html: config.xsl nss-pgsql.xml
+ xmlto xhtml-nochunks -m $(srcdir)/config.xsl $(srcdir)/nss-pgsql.xml
+Index: libnss-pgsql-1.5.0-beta/src/Makefile.am
+===================================================================
+--- libnss-pgsql-1.5.0-beta.orig/src/Makefile.am
++++ libnss-pgsql-1.5.0-beta/src/Makefile.am
+@@ -1,5 +1,5 @@
+ lib_LTLIBRARIES = libnss_pgsql.la
+ libnss_pgsql_la_SOURCES = interface.c config.c backend.c util.c
+-libnss_pgsql_la_LDFLAGS = -module -version-info 2
++libnss_pgsql_la_LDFLAGS = -module -version-info 2 -shared
+ EXTRA_DIST = nss-pgsql.h
+
diff --git a/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild b/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild
new file mode 100644
index 000000000000..f299c1dd3f5a
--- /dev/null
+++ b/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2010 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.5.0_beta.ebuild,v 1.1 2010/03/10 15:00:05 flameeyes Exp $
+
+inherit autotools eutils multilib
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Name Service Switch module for use with PostgreSQL"
+HOMEPAGE="http://pgfoundry.org/projects/sysauth/"
+
+MY_P="${P/_/-}"
+SRC_URI="http://pgfoundry.org/frs/download.php/1878/${MY_P}.tgz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-db/postgresql-base"
+DEPEND="${RDEPEND}
+ app-text/xmlto"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --htmldir=/usr/share/doc/${PF}/html || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete || die
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+ insinto /usr/share/doc/${PF}/examples
+ doins conf/* || die
+}
+
+pkg_postinst() {
+ elog "Next steps:"
+ elog "1. Create the required tables in the database:"
+ elog " $ psql a_database -f /usr/share/doc/${PF}/examples/dbschema.sql"
+ elog "2. Create the configuration file '/etc/nss-pgsql.conf'"
+ elog " You can copy the example from /usr/share/doc/${PF}/examples/nss-pgsql.conf"
+ elog "3. Edit /etc/nsswitch.conf to use the NSS service 'pgsql'"
+ elog " An example is available here: /usr/share/doc/${PF}/examples/nsswitch.conf"
+}
diff --git a/sys-auth/libnss-pgsql/metadata.xml b/sys-auth/libnss-pgsql/metadata.xml
index 309b51e9a965..c67ea1eccc8b 100644
--- a/sys-auth/libnss-pgsql/metadata.xml
+++ b/sys-auth/libnss-pgsql/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>postgresql</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
</pkgmetadata>