1 |
commit: 04a5df2287c49f43be4fa156c1d14dc0a2c83878 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 02:54:20 2020 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 02:54:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a5df22 |
7 |
|
8 |
dev-db/pgbouncer: Cleanup |
9 |
|
10 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
11 |
|
12 |
dev-db/pgbouncer/Manifest | 5 -- |
13 |
dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch | 18 ----- |
14 |
dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch | 32 --------- |
15 |
dev-db/pgbouncer/pgbouncer-1.10.0.ebuild | 85 ------------------------ |
16 |
dev-db/pgbouncer/pgbouncer-1.11.0.ebuild | 85 ------------------------ |
17 |
dev-db/pgbouncer/pgbouncer-1.12.0.ebuild | 84 ----------------------- |
18 |
dev-db/pgbouncer/pgbouncer-1.14.0.ebuild | 85 ------------------------ |
19 |
dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 85 ------------------------ |
20 |
8 files changed, 479 deletions(-) |
21 |
|
22 |
diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest |
23 |
index 9ecb47e5a65..91aec86d5e0 100644 |
24 |
--- a/dev-db/pgbouncer/Manifest |
25 |
+++ b/dev-db/pgbouncer/Manifest |
26 |
@@ -1,6 +1 @@ |
27 |
-DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333b1111cbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d |
28 |
-DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 |
29 |
-DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664 |
30 |
-DIST pgbouncer-1.14.0.tar.gz 578955 BLAKE2B 49e1e22b2fa604410111ac19b7c0c2c15f6739274d642e7100a9988379e828e8546454766ae32edb65ab7299b82693bcec32938621923bfbf99d946f5dc17f4a SHA512 506810c9896a45d67fbc97c3027572278b3857635c222cfaa53b4f3893069cfbee2ec92facd6f387de217bb3170045410b88a7cea09a45686661a2d2ccc85271 |
31 |
DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 |
32 |
-DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 |
33 |
|
34 |
diff --git a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch |
35 |
deleted file mode 100644 |
36 |
index 3dd40537252..00000000000 |
37 |
--- a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch |
38 |
+++ /dev/null |
39 |
@@ -1,18 +0,0 @@ |
40 |
-diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini |
41 |
-index fed4a9f..5f2ed8e 100644 |
42 |
---- a/etc/pgbouncer.ini |
43 |
-+++ b/etc/pgbouncer.ini |
44 |
-@@ -55,9 +55,9 @@ listen_port = 6432 |
45 |
- |
46 |
- ;; Unix socket is also used for -R. |
47 |
- ;; On Debian it should be /var/run/postgresql |
48 |
--;unix_socket_dir = /tmp |
49 |
--;unix_socket_mode = 0777 |
50 |
--;unix_socket_group = |
51 |
-+unix_socket_dir = /run/postgresql |
52 |
-+unix_socket_mode = 0777 |
53 |
-+unix_socket_group = postgres |
54 |
- |
55 |
- ;;; |
56 |
- ;;; TLS settings for accepting clients |
57 |
- |
58 |
|
59 |
diff --git a/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch |
60 |
deleted file mode 100644 |
61 |
index cc4d0634b6b..00000000000 |
62 |
--- a/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch |
63 |
+++ /dev/null |
64 |
@@ -1,32 +0,0 @@ |
65 |
-diff -Naruw pgbouncer-1.8.orig/etc/pgbouncer.ini pgbouncer-1.8/etc/pgbouncer.ini |
66 |
---- pgbouncer-1.8.orig/etc/pgbouncer.ini 2017-12-18 11:03:18.000000000 -0500 |
67 |
-+++ pgbouncer-1.8/etc/pgbouncer.ini 2017-12-20 06:48:25.935839539 -0500 |
68 |
-@@ -34,7 +34,9 @@ |
69 |
- ;;; |
70 |
- |
71 |
- logfile = /var/log/pgbouncer/pgbouncer.log |
72 |
--pidfile = /var/run/pgbouncer/pgbouncer.pid |
73 |
-+ |
74 |
-+; Leave unset. This is handled in the initscript. |
75 |
-+;pidfile = |
76 |
- |
77 |
- ;;; |
78 |
- ;;; Where to wait for clients |
79 |
-@@ -44,11 +46,12 @@ |
80 |
- listen_addr = 127.0.0.1 |
81 |
- listen_port = 6432 |
82 |
- |
83 |
--; Unix socket is also used for -R. |
84 |
--; On Debian it should be /var/run/postgresql |
85 |
--;unix_socket_dir = /tmp |
86 |
--;unix_socket_mode = 0777 |
87 |
--;unix_socket_group = |
88 |
-+; Unix socket is also used for -R (online restart), but the |
89 |
-+; initscripts can't do that. Generally, you'll want to leave these |
90 |
-+; alone. System-wide default is: /run/postgresql |
91 |
-+unix_socket_dir = /run/postgresql |
92 |
-+unix_socket_mode = 0777 |
93 |
-+unix_socket_group = postgres |
94 |
- |
95 |
- ;;; |
96 |
- ;;; TLS settings for accepting clients |
97 |
|
98 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild |
99 |
deleted file mode 100644 |
100 |
index 7a8301aab37..00000000000 |
101 |
--- a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild |
102 |
+++ /dev/null |
103 |
@@ -1,85 +0,0 @@ |
104 |
-# Copyright 1999-2020 Gentoo Authors |
105 |
-# Distributed under the terms of the GNU General Public License v2 |
106 |
- |
107 |
-EAPI=7 |
108 |
- |
109 |
-inherit user |
110 |
- |
111 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
112 |
-HOMEPAGE="https://pgbouncer.github.io" |
113 |
-SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz" |
114 |
-LICENSE="BSD" |
115 |
-SLOT="0" |
116 |
-KEYWORDS="amd64 x86" |
117 |
-IUSE="+c-ares debug doc pam ssl -udns" |
118 |
- |
119 |
-# At-most-one-of, one can be enabled but not both |
120 |
-REQUIRED_USE="?? ( c-ares udns )" |
121 |
- |
122 |
-RDEPEND=" |
123 |
- >=dev-libs/libevent-2.0 |
124 |
- >=sys-libs/glibc-2.10 |
125 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
126 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) |
127 |
- udns? ( >=net-libs/udns-0.1 ) |
128 |
-" |
129 |
- |
130 |
-DEPEND="${RDEPEND}" |
131 |
- |
132 |
-pkg_setup() { |
133 |
- enewgroup postgres 70 |
134 |
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres |
135 |
- |
136 |
- enewuser pgbouncer -1 -1 -1 postgres |
137 |
-} |
138 |
- |
139 |
-src_prepare() { |
140 |
- eapply "${FILESDIR}/pgbouncer-1.8-dirs.patch" |
141 |
- |
142 |
- default |
143 |
-} |
144 |
- |
145 |
-src_configure() { |
146 |
- # --enable-debug is only used to disable stripping |
147 |
- econf \ |
148 |
- --enable-debug \ |
149 |
- $(use_with c-ares cares) \ |
150 |
- $(use_enable debug cassert) \ |
151 |
- $(use_with pam) \ |
152 |
- $(use_with ssl openssl) \ |
153 |
- $(use_with udns) |
154 |
-} |
155 |
- |
156 |
-src_test() { |
157 |
- cd "${S}/test" |
158 |
- emake |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- emake DESTDIR="${D}" install |
163 |
- |
164 |
- dodoc AUTHORS |
165 |
- use doc && dodoc doc/*.rst |
166 |
- |
167 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
168 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
169 |
- |
170 |
- insinto /etc |
171 |
- doins etc/pgbouncer.ini |
172 |
- |
173 |
- insinto /etc/logrotate.d |
174 |
- newins "${FILESDIR}/logrotate" pgbouncer |
175 |
-} |
176 |
- |
177 |
-pkg_postinst() { |
178 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
179 |
- einfo "Please read the config.txt for Configuration Directives" |
180 |
- einfo |
181 |
- einfo "For Administration Commands, see:" |
182 |
- einfo " man pgbouncer" |
183 |
- einfo |
184 |
- einfo "By default, PgBouncer does not have access to any database." |
185 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
186 |
- einfo "exists in PgBouncer's auth_file." |
187 |
- fi |
188 |
-} |
189 |
|
190 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild |
191 |
deleted file mode 100644 |
192 |
index 65c33e53faa..00000000000 |
193 |
--- a/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild |
194 |
+++ /dev/null |
195 |
@@ -1,85 +0,0 @@ |
196 |
-# Copyright 1999-2020 Gentoo Authors |
197 |
-# Distributed under the terms of the GNU General Public License v2 |
198 |
- |
199 |
-EAPI=7 |
200 |
- |
201 |
-inherit user |
202 |
- |
203 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
204 |
-HOMEPAGE="https://pgbouncer.github.io" |
205 |
-SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz" |
206 |
-LICENSE="BSD" |
207 |
-SLOT="0" |
208 |
-KEYWORDS="~amd64 ~x86" |
209 |
-IUSE="+c-ares debug doc pam ssl -udns" |
210 |
- |
211 |
-# At-most-one-of, one can be enabled but not both |
212 |
-REQUIRED_USE="?? ( c-ares udns )" |
213 |
- |
214 |
-RDEPEND=" |
215 |
- >=dev-libs/libevent-2.0 |
216 |
- >=sys-libs/glibc-2.10 |
217 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
218 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) |
219 |
- udns? ( >=net-libs/udns-0.1 ) |
220 |
-" |
221 |
- |
222 |
-DEPEND="${RDEPEND}" |
223 |
- |
224 |
-pkg_setup() { |
225 |
- enewgroup postgres 70 |
226 |
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres |
227 |
- |
228 |
- enewuser pgbouncer -1 -1 -1 postgres |
229 |
-} |
230 |
- |
231 |
-src_prepare() { |
232 |
- eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch" |
233 |
- |
234 |
- default |
235 |
-} |
236 |
- |
237 |
-src_configure() { |
238 |
- # --enable-debug is only used to disable stripping |
239 |
- econf \ |
240 |
- --enable-debug \ |
241 |
- $(use_with c-ares cares) \ |
242 |
- $(use_enable debug cassert) \ |
243 |
- $(use_with pam) \ |
244 |
- $(use_with ssl openssl) \ |
245 |
- $(use_with udns) |
246 |
-} |
247 |
- |
248 |
-src_test() { |
249 |
- cd "${S}/test" |
250 |
- emake |
251 |
-} |
252 |
- |
253 |
-src_install() { |
254 |
- emake DESTDIR="${D}" install |
255 |
- |
256 |
- dodoc AUTHORS |
257 |
- use doc && dodoc doc/*.rst |
258 |
- |
259 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
260 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
261 |
- |
262 |
- insinto /etc |
263 |
- doins etc/pgbouncer.ini |
264 |
- |
265 |
- insinto /etc/logrotate.d |
266 |
- newins "${FILESDIR}/logrotate" pgbouncer |
267 |
-} |
268 |
- |
269 |
-pkg_postinst() { |
270 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
271 |
- einfo "Please read the config.txt for Configuration Directives" |
272 |
- einfo |
273 |
- einfo "For Administration Commands, see:" |
274 |
- einfo " man pgbouncer" |
275 |
- einfo |
276 |
- einfo "By default, PgBouncer does not have access to any database." |
277 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
278 |
- einfo "exists in PgBouncer's auth_file." |
279 |
- fi |
280 |
-} |
281 |
|
282 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild |
283 |
deleted file mode 100644 |
284 |
index 3e1f0046c6e..00000000000 |
285 |
--- a/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild |
286 |
+++ /dev/null |
287 |
@@ -1,84 +0,0 @@ |
288 |
-# Copyright 1999-2020 Gentoo Authors |
289 |
-# Distributed under the terms of the GNU General Public License v2 |
290 |
- |
291 |
-EAPI=7 |
292 |
- |
293 |
-inherit user |
294 |
- |
295 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
296 |
-HOMEPAGE="https://www.pgbouncer.org/" |
297 |
-SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" |
298 |
-LICENSE="BSD" |
299 |
-SLOT="0" |
300 |
-KEYWORDS="~amd64 ~x86" |
301 |
-IUSE="+c-ares debug doc pam ssl -udns" |
302 |
- |
303 |
-# At-most-one-of, one can be enabled but not both |
304 |
-REQUIRED_USE="?? ( c-ares udns )" |
305 |
- |
306 |
-RDEPEND=" |
307 |
- >=dev-libs/libevent-2.0 |
308 |
- >=sys-libs/glibc-2.10 |
309 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
310 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) |
311 |
- udns? ( >=net-libs/udns-0.1 ) |
312 |
-" |
313 |
- |
314 |
-DEPEND="${RDEPEND}" |
315 |
- |
316 |
-# Tests require a local database server, wants to fiddle with iptables, |
317 |
-# and doesn't support override. things. |
318 |
-RESTRICT="test" |
319 |
- |
320 |
-pkg_setup() { |
321 |
- enewgroup postgres 70 |
322 |
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres |
323 |
- |
324 |
- enewuser pgbouncer -1 -1 -1 postgres |
325 |
-} |
326 |
- |
327 |
-src_prepare() { |
328 |
- eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch |
329 |
- |
330 |
- default |
331 |
-} |
332 |
- |
333 |
-src_configure() { |
334 |
- # --enable-debug is only used to disable stripping |
335 |
- econf \ |
336 |
- --enable-debug \ |
337 |
- $(use_with c-ares cares) \ |
338 |
- $(use_enable debug cassert) \ |
339 |
- $(use_with pam) \ |
340 |
- $(use_with ssl openssl) \ |
341 |
- $(use_with udns) |
342 |
-} |
343 |
- |
344 |
-src_install() { |
345 |
- emake DESTDIR="${D}" install |
346 |
- |
347 |
- dodoc AUTHORS |
348 |
- use doc && dodoc doc/*.rst |
349 |
- |
350 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
351 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
352 |
- |
353 |
- insinto /etc |
354 |
- doins etc/pgbouncer.ini |
355 |
- |
356 |
- insinto /etc/logrotate.d |
357 |
- newins "${FILESDIR}/logrotate" pgbouncer |
358 |
-} |
359 |
- |
360 |
-pkg_postinst() { |
361 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
362 |
- einfo "Please read the config.txt for Configuration Directives" |
363 |
- einfo |
364 |
- einfo "For Administration Commands, see:" |
365 |
- einfo " man pgbouncer" |
366 |
- einfo |
367 |
- einfo "By default, PgBouncer does not have access to any database." |
368 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
369 |
- einfo "exists in PgBouncer's auth_file." |
370 |
- fi |
371 |
-} |
372 |
|
373 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild |
374 |
deleted file mode 100644 |
375 |
index 65c33e53faa..00000000000 |
376 |
--- a/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild |
377 |
+++ /dev/null |
378 |
@@ -1,85 +0,0 @@ |
379 |
-# Copyright 1999-2020 Gentoo Authors |
380 |
-# Distributed under the terms of the GNU General Public License v2 |
381 |
- |
382 |
-EAPI=7 |
383 |
- |
384 |
-inherit user |
385 |
- |
386 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
387 |
-HOMEPAGE="https://pgbouncer.github.io" |
388 |
-SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz" |
389 |
-LICENSE="BSD" |
390 |
-SLOT="0" |
391 |
-KEYWORDS="~amd64 ~x86" |
392 |
-IUSE="+c-ares debug doc pam ssl -udns" |
393 |
- |
394 |
-# At-most-one-of, one can be enabled but not both |
395 |
-REQUIRED_USE="?? ( c-ares udns )" |
396 |
- |
397 |
-RDEPEND=" |
398 |
- >=dev-libs/libevent-2.0 |
399 |
- >=sys-libs/glibc-2.10 |
400 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
401 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) |
402 |
- udns? ( >=net-libs/udns-0.1 ) |
403 |
-" |
404 |
- |
405 |
-DEPEND="${RDEPEND}" |
406 |
- |
407 |
-pkg_setup() { |
408 |
- enewgroup postgres 70 |
409 |
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres |
410 |
- |
411 |
- enewuser pgbouncer -1 -1 -1 postgres |
412 |
-} |
413 |
- |
414 |
-src_prepare() { |
415 |
- eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch" |
416 |
- |
417 |
- default |
418 |
-} |
419 |
- |
420 |
-src_configure() { |
421 |
- # --enable-debug is only used to disable stripping |
422 |
- econf \ |
423 |
- --enable-debug \ |
424 |
- $(use_with c-ares cares) \ |
425 |
- $(use_enable debug cassert) \ |
426 |
- $(use_with pam) \ |
427 |
- $(use_with ssl openssl) \ |
428 |
- $(use_with udns) |
429 |
-} |
430 |
- |
431 |
-src_test() { |
432 |
- cd "${S}/test" |
433 |
- emake |
434 |
-} |
435 |
- |
436 |
-src_install() { |
437 |
- emake DESTDIR="${D}" install |
438 |
- |
439 |
- dodoc AUTHORS |
440 |
- use doc && dodoc doc/*.rst |
441 |
- |
442 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
443 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
444 |
- |
445 |
- insinto /etc |
446 |
- doins etc/pgbouncer.ini |
447 |
- |
448 |
- insinto /etc/logrotate.d |
449 |
- newins "${FILESDIR}/logrotate" pgbouncer |
450 |
-} |
451 |
- |
452 |
-pkg_postinst() { |
453 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
454 |
- einfo "Please read the config.txt for Configuration Directives" |
455 |
- einfo |
456 |
- einfo "For Administration Commands, see:" |
457 |
- einfo " man pgbouncer" |
458 |
- einfo |
459 |
- einfo "By default, PgBouncer does not have access to any database." |
460 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
461 |
- einfo "exists in PgBouncer's auth_file." |
462 |
- fi |
463 |
-} |
464 |
|
465 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild |
466 |
deleted file mode 100644 |
467 |
index 51abcc975d8..00000000000 |
468 |
--- a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild |
469 |
+++ /dev/null |
470 |
@@ -1,85 +0,0 @@ |
471 |
-# Copyright 1999-2020 Gentoo Authors |
472 |
-# Distributed under the terms of the GNU General Public License v2 |
473 |
- |
474 |
-EAPI="6" |
475 |
- |
476 |
-inherit user |
477 |
- |
478 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
479 |
-HOMEPAGE="https://pgbouncer.github.io" |
480 |
-SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz" |
481 |
-LICENSE="BSD" |
482 |
-SLOT="0" |
483 |
-KEYWORDS="amd64 x86" |
484 |
-IUSE="+c-ares debug doc pam ssl -udns" |
485 |
- |
486 |
-# At-most-one-of, one can be enabled but not both |
487 |
-REQUIRED_USE="?? ( c-ares udns )" |
488 |
- |
489 |
-RDEPEND=" |
490 |
- >=dev-libs/libevent-2.0 |
491 |
- >=sys-libs/glibc-2.10 |
492 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
493 |
- ssl? ( >=dev-libs/openssl-1.0.1:0=[-bindist] ) |
494 |
- udns? ( >=net-libs/udns-0.1 ) |
495 |
-" |
496 |
- |
497 |
-DEPEND="${RDEPEND}" |
498 |
- |
499 |
-pkg_setup() { |
500 |
- enewgroup postgres 70 |
501 |
- enewuser postgres 70 /bin/bash /var/lib/postgresql postgres |
502 |
- |
503 |
- enewuser pgbouncer -1 -1 -1 postgres |
504 |
-} |
505 |
- |
506 |
-src_prepare() { |
507 |
- eapply "${FILESDIR}/pgbouncer-1.8-dirs.patch" |
508 |
- |
509 |
- default |
510 |
-} |
511 |
- |
512 |
-src_configure() { |
513 |
- # --enable-debug is only used to disable stripping |
514 |
- econf \ |
515 |
- --enable-debug \ |
516 |
- $(use_with c-ares cares) \ |
517 |
- $(use_enable debug cassert) \ |
518 |
- $(use_with pam) \ |
519 |
- $(use_with ssl openssl) \ |
520 |
- $(use_with udns) |
521 |
-} |
522 |
- |
523 |
-src_test() { |
524 |
- cd "${S}/test" |
525 |
- emake |
526 |
-} |
527 |
- |
528 |
-src_install() { |
529 |
- emake DESTDIR="${D}" install |
530 |
- |
531 |
- dodoc AUTHORS |
532 |
- use doc && dodoc doc/*.rst |
533 |
- |
534 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
535 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
536 |
- |
537 |
- insinto /etc |
538 |
- doins etc/pgbouncer.ini |
539 |
- |
540 |
- insinto /etc/logrotate.d |
541 |
- newins "${FILESDIR}/logrotate" pgbouncer |
542 |
-} |
543 |
- |
544 |
-pkg_postinst() { |
545 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
546 |
- einfo "Please read the config.txt for Configuration Directives" |
547 |
- einfo |
548 |
- einfo "For Administration Commands, see:" |
549 |
- einfo " man pgbouncer" |
550 |
- einfo |
551 |
- einfo "By default, PgBouncer does not have access to any database." |
552 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
553 |
- einfo "exists in PgBouncer's auth_file." |
554 |
- fi |
555 |
-} |