summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2019-11-02 12:13:39 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2019-11-02 12:13:46 -0400
commita8e2b1b69695ff13c292b87afc76304fb36f9a9a (patch)
tree8da9dbbe9df5719ae03c7f3c89b48edc3e958daa /sys-auth/libnss-pgsql
parentsys-auth/libnss-pgsql: Bump EAPI to 7 (diff)
downloadgentoo-a8e2b1b69695ff13c292b87afc76304fb36f9a9a.tar.gz
gentoo-a8e2b1b69695ff13c292b87afc76304fb36f9a9a.tar.bz2
gentoo-a8e2b1b69695ff13c292b87afc76304fb36f9a9a.zip
sys-auth/libnss-pgsql: Cleanup old ebuilds/patches
Remove EAPI0 based ebuilds and related patches. 1.5.0_beta includes patch from bug 170581. Closes: https://bugs.gentoo.org/170581 Closes: https://bugs.gentoo.org/697206 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'sys-auth/libnss-pgsql')
-rw-r--r--sys-auth/libnss-pgsql/Manifest1
-rw-r--r--sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch12
-rw-r--r--sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch22
-rw-r--r--sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild56
-rw-r--r--sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild55
5 files changed, 0 insertions, 146 deletions
diff --git a/sys-auth/libnss-pgsql/Manifest b/sys-auth/libnss-pgsql/Manifest
index 8f78238ebfde..0dd14f29e4f7 100644
--- a/sys-auth/libnss-pgsql/Manifest
+++ b/sys-auth/libnss-pgsql/Manifest
@@ -1,2 +1 @@
-DIST libnss-pgsql-1.4.0.tgz 244076 BLAKE2B 9bdfbc7d4a6af547e033d6217a0241ace3520e7eab501187d65a69783ec329632821385863f2f544d057d895e1ee2ae84b4bc1d38521608fce77ba1fc849e1f0 SHA512 e7d0ea5198e44c1cad2c22f8346ff7198c028bf664fe5dbd23ec4d4a0ade32ba4aa5174eae071982a2cc385782d3d7e1a804650e4ed25c2b2b2fb5187bc8f5f8
DIST libnss-pgsql-1.5.0-beta.tgz 305543 BLAKE2B a902315ba17539ac64caaad31cae68859bab3fff2df77ae23f4486ea6ab25db14e5d5787f4d5fcfb1ddebf0d6c58acbf66052b6d5ad4017aff810ba1bcb9f98b SHA512 cabc09337841aadb27790fb66bb55f7da70b52d4e28c717d83ad63b440ac65d8e72505e602b1324d8091ace8b9fe90510492ce0dec17148b74288a2524726cc8
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
deleted file mode 100644
index 7a2a938b5c78..000000000000
--- a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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/files/libnss-pgsql-1.4.0-schema.patch b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch
deleted file mode 100644
index 6d2b338f45cf..000000000000
--- a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- conf/dbschema.sql.orig 2005-05-04 04:27:51.000000000 +0200
-+++ conf/dbschema.sql 2006-11-11 22:37:01.000000000 +0100
-@@ -19,15 +19,16 @@
- "gecos" character varying(128),
- "homedir" character varying(256) NOT NULL,
- "shell" character varying DEFAULT '/bin/bash' NOT NULL,
-- PRIMARY KEY ("username")
-+ PRIMARY KEY ("username"),
-+ UNIQUE ("uid")
- );
-
- CREATE TABLE "usergroups" (
- "gid" int4 NOT NULL,
- "uid" int4 NOT NULL,
- PRIMARY KEY ("gid", "uid"),
-- CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "groups"("gid"),
-- CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "accounts"("uid")
-+ CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "group_table"("gid"),
-+ CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "passwd_table"("uid")
- );
-
- CREATE TABLE "shadow_table" (
diff --git a/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild b/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild
deleted file mode 100644
index 8a9ab45b8768..000000000000
--- a/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit autotools eutils multilib
-
-KEYWORDS="~x86"
-
-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"
-IUSE=""
-
-DEPEND="dev-db/postgresql
- app-text/xmlto"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-gentoo.patch"
- epatch "${FILESDIR}/${P}-schema.patch"
- eautoreconf
-}
-
-src_compile() {
- econf \
- --libdir=/lib \
- --with-docdir=/usr/share/doc/${PF}/html || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- insinto /$(get_libdir)
- doins src/.libs/libnss_pgsql.so.2.0.0
- dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so.2
- dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so
-
- dodoc AUTHORS ChangeLog NEWS README
- dohtml doc/*.{png,html}
- insinto /usr/share/doc/${PF}/examples
- doins conf/*
-}
-
-pkg_postinst() {
- elog "Next steps:"
- elog "1. Create the required tables in the database:"
- elog " $ psql a_database -f ${ROOT}usr/share/${PN}/conf/dbschema.sql"
- elog "2. Create the configuration file '/etc/nss-pgsql.conf'"
- elog " You can copy the example from ${ROOT}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: ${ROOT}usr/share/doc/${PF}/examples/nsswitch.conf"
-}
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
deleted file mode 100644
index a2176e41eb8f..000000000000
--- a/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-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"
-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"
-}