1 |
commit: a8e2b1b69695ff13c292b87afc76304fb36f9a9a |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 2 16:13:39 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 2 16:13:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e2b1b6 |
7 |
|
8 |
sys-auth/libnss-pgsql: Cleanup old ebuilds/patches |
9 |
|
10 |
Remove EAPI0 based ebuilds and related patches. |
11 |
|
12 |
1.5.0_beta includes patch from bug 170581. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/170581 |
15 |
Closes: https://bugs.gentoo.org/697206 |
16 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
17 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
18 |
|
19 |
sys-auth/libnss-pgsql/Manifest | 1 - |
20 |
.../files/libnss-pgsql-1.4.0-gentoo.patch | 12 ----- |
21 |
.../files/libnss-pgsql-1.4.0-schema.patch | 22 --------- |
22 |
sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild | 56 ---------------------- |
23 |
.../libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild | 55 --------------------- |
24 |
5 files changed, 146 deletions(-) |
25 |
|
26 |
diff --git a/sys-auth/libnss-pgsql/Manifest b/sys-auth/libnss-pgsql/Manifest |
27 |
index 8f78238ebfd..0dd14f29e4f 100644 |
28 |
--- a/sys-auth/libnss-pgsql/Manifest |
29 |
+++ b/sys-auth/libnss-pgsql/Manifest |
30 |
@@ -1,2 +1 @@ |
31 |
-DIST libnss-pgsql-1.4.0.tgz 244076 BLAKE2B 9bdfbc7d4a6af547e033d6217a0241ace3520e7eab501187d65a69783ec329632821385863f2f544d057d895e1ee2ae84b4bc1d38521608fce77ba1fc849e1f0 SHA512 e7d0ea5198e44c1cad2c22f8346ff7198c028bf664fe5dbd23ec4d4a0ade32ba4aa5174eae071982a2cc385782d3d7e1a804650e4ed25c2b2b2fb5187bc8f5f8 |
32 |
DIST libnss-pgsql-1.5.0-beta.tgz 305543 BLAKE2B a902315ba17539ac64caaad31cae68859bab3fff2df77ae23f4486ea6ab25db14e5d5787f4d5fcfb1ddebf0d6c58acbf66052b6d5ad4017aff810ba1bcb9f98b SHA512 cabc09337841aadb27790fb66bb55f7da70b52d4e28c717d83ad63b440ac65d8e72505e602b1324d8091ace8b9fe90510492ce0dec17148b74288a2524726cc8 |
33 |
|
34 |
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 |
35 |
deleted file mode 100644 |
36 |
index 7a2a938b5c7..00000000000 |
37 |
--- a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-gentoo.patch |
38 |
+++ /dev/null |
39 |
@@ -1,12 +0,0 @@ |
40 |
-diff -Nur libnss-pgsql-1.4.0.orig/src/backend.c libnss-pgsql-1.4.0/src/backend.c |
41 |
---- libnss-pgsql-1.4.0.orig/src/backend.c 2001-10-18 13:32:52.000000000 +0200 |
42 |
-+++ libnss-pgsql-1.4.0/src/backend.c 2003-11-28 16:14:38.000000000 +0100 |
43 |
-@@ -9,7 +9,7 @@ |
44 |
- */ |
45 |
- |
46 |
- #include "nss-pgsql.h" |
47 |
--#include <postgresql/libpq-fe.h> |
48 |
-+#include <libpq-fe.h> |
49 |
- #include <stdlib.h> |
50 |
- #include <string.h> |
51 |
- #include <stdio.h> |
52 |
|
53 |
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 |
54 |
deleted file mode 100644 |
55 |
index 6d2b338f45c..00000000000 |
56 |
--- a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.4.0-schema.patch |
57 |
+++ /dev/null |
58 |
@@ -1,22 +0,0 @@ |
59 |
---- conf/dbschema.sql.orig 2005-05-04 04:27:51.000000000 +0200 |
60 |
-+++ conf/dbschema.sql 2006-11-11 22:37:01.000000000 +0100 |
61 |
-@@ -19,15 +19,16 @@ |
62 |
- "gecos" character varying(128), |
63 |
- "homedir" character varying(256) NOT NULL, |
64 |
- "shell" character varying DEFAULT '/bin/bash' NOT NULL, |
65 |
-- PRIMARY KEY ("username") |
66 |
-+ PRIMARY KEY ("username"), |
67 |
-+ UNIQUE ("uid") |
68 |
- ); |
69 |
- |
70 |
- CREATE TABLE "usergroups" ( |
71 |
- "gid" int4 NOT NULL, |
72 |
- "uid" int4 NOT NULL, |
73 |
- PRIMARY KEY ("gid", "uid"), |
74 |
-- CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "groups"("gid"), |
75 |
-- CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "accounts"("uid") |
76 |
-+ CONSTRAINT "ug_gid_fkey" FOREIGN KEY ("gid") REFERENCES "group_table"("gid"), |
77 |
-+ CONSTRAINT "ug_uid_fkey" FOREIGN KEY ("uid") REFERENCES "passwd_table"("uid") |
78 |
- ); |
79 |
- |
80 |
- CREATE TABLE "shadow_table" ( |
81 |
|
82 |
diff --git a/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild b/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild |
83 |
deleted file mode 100644 |
84 |
index 8a9ab45b876..00000000000 |
85 |
--- a/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild |
86 |
+++ /dev/null |
87 |
@@ -1,56 +0,0 @@ |
88 |
-# Copyright 1999-2018 Gentoo Foundation |
89 |
-# Distributed under the terms of the GNU General Public License v2 |
90 |
- |
91 |
-EAPI=0 |
92 |
- |
93 |
-inherit autotools eutils multilib |
94 |
- |
95 |
-KEYWORDS="~x86" |
96 |
- |
97 |
-DESCRIPTION="Name Service Switch module for use with PostgreSQL" |
98 |
-HOMEPAGE="http://pgfoundry.org/projects/sysauth/" |
99 |
-SRC_URI="http://pgfoundry.org/frs/download.php/605/${P}.tgz" |
100 |
-LICENSE="GPL-2" |
101 |
-SLOT="0" |
102 |
-IUSE="" |
103 |
- |
104 |
-DEPEND="dev-db/postgresql |
105 |
- app-text/xmlto" |
106 |
-RDEPEND="${DEPEND}" |
107 |
- |
108 |
-src_unpack() { |
109 |
- unpack ${A} |
110 |
- cd "${S}" |
111 |
- epatch "${FILESDIR}/${P}-gentoo.patch" |
112 |
- epatch "${FILESDIR}/${P}-schema.patch" |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
-src_compile() { |
117 |
- econf \ |
118 |
- --libdir=/lib \ |
119 |
- --with-docdir=/usr/share/doc/${PF}/html || die "econf failed" |
120 |
- emake || die "emake failed" |
121 |
-} |
122 |
- |
123 |
-src_install() { |
124 |
- insinto /$(get_libdir) |
125 |
- doins src/.libs/libnss_pgsql.so.2.0.0 |
126 |
- dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so.2 |
127 |
- dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so |
128 |
- |
129 |
- dodoc AUTHORS ChangeLog NEWS README |
130 |
- dohtml doc/*.{png,html} |
131 |
- insinto /usr/share/doc/${PF}/examples |
132 |
- doins conf/* |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- elog "Next steps:" |
137 |
- elog "1. Create the required tables in the database:" |
138 |
- elog " $ psql a_database -f ${ROOT}usr/share/${PN}/conf/dbschema.sql" |
139 |
- elog "2. Create the configuration file '/etc/nss-pgsql.conf'" |
140 |
- elog " You can copy the example from ${ROOT}usr/share/doc/${PF}/examples/nss-pgsql.conf" |
141 |
- elog "3. Edit /etc/nsswitch.conf to use the NSS service 'pgsql'" |
142 |
- elog " An example is available here: ${ROOT}usr/share/doc/${PF}/examples/nsswitch.conf" |
143 |
-} |
144 |
|
145 |
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 |
146 |
deleted file mode 100644 |
147 |
index a2176e41eb8..00000000000 |
148 |
--- a/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta.ebuild |
149 |
+++ /dev/null |
150 |
@@ -1,55 +0,0 @@ |
151 |
-# Copyright 1999-2018 Gentoo Foundation |
152 |
-# Distributed under the terms of the GNU General Public License v2 |
153 |
- |
154 |
-EAPI=0 |
155 |
- |
156 |
-inherit autotools eutils multilib |
157 |
- |
158 |
-KEYWORDS="~amd64 ~x86" |
159 |
- |
160 |
-DESCRIPTION="Name Service Switch module for use with PostgreSQL" |
161 |
-HOMEPAGE="http://pgfoundry.org/projects/sysauth/" |
162 |
- |
163 |
-MY_P="${P/_/-}" |
164 |
-SRC_URI="http://pgfoundry.org/frs/download.php/1878/${MY_P}.tgz" |
165 |
-S="${WORKDIR}/${MY_P}" |
166 |
- |
167 |
-LICENSE="GPL-2" |
168 |
-SLOT="0" |
169 |
-IUSE="" |
170 |
- |
171 |
-RDEPEND="dev-db/postgresql" |
172 |
-DEPEND="${RDEPEND} |
173 |
- app-text/xmlto" |
174 |
- |
175 |
-src_unpack() { |
176 |
- unpack ${A} |
177 |
- cd "${S}" |
178 |
- epatch "${FILESDIR}/${P}-gentoo.patch" |
179 |
- eautoreconf |
180 |
-} |
181 |
- |
182 |
-src_compile() { |
183 |
- econf \ |
184 |
- --htmldir=/usr/share/doc/${PF}/html || die "econf failed" |
185 |
- emake || die "emake failed" |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- emake DESTDIR="${D}" install || die |
190 |
- find "${D}" -name '*.la' -delete || die |
191 |
- |
192 |
- dodoc AUTHORS ChangeLog NEWS README || die |
193 |
- insinto /usr/share/doc/${PF}/examples |
194 |
- doins conf/* || die |
195 |
-} |
196 |
- |
197 |
-pkg_postinst() { |
198 |
- elog "Next steps:" |
199 |
- elog "1. Create the required tables in the database:" |
200 |
- elog " $ psql a_database -f /usr/share/doc/${PF}/examples/dbschema.sql" |
201 |
- elog "2. Create the configuration file '/etc/nss-pgsql.conf'" |
202 |
- elog " You can copy the example from /usr/share/doc/${PF}/examples/nss-pgsql.conf" |
203 |
- elog "3. Edit /etc/nsswitch.conf to use the NSS service 'pgsql'" |
204 |
- elog " An example is available here: /usr/share/doc/${PF}/examples/nsswitch.conf" |
205 |
-} |