1 |
commit: 5ac0c687c12c442d5bc4948b7b3fab3f54b1f5ef |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 19 13:33:22 2022 +0000 |
4 |
Commit: 罗百科 <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 19 13:33:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac0c687 |
7 |
|
8 |
dev-db/pgbouncer: Remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/826614 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> |
13 |
|
14 |
dev-db/pgbouncer/Manifest | 2 - |
15 |
dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild | 81 ----------------------------- |
16 |
dev-db/pgbouncer/pgbouncer-1.16.0.ebuild | 81 ----------------------------- |
17 |
3 files changed, 164 deletions(-) |
18 |
|
19 |
diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest |
20 |
index 3e2adb57c8d4..18dc9af30a24 100644 |
21 |
--- a/dev-db/pgbouncer/Manifest |
22 |
+++ b/dev-db/pgbouncer/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
-DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 |
25 |
-DIST pgbouncer-1.16.0.tar.gz 592136 BLAKE2B 752d5cfa18dacfdb72e9e9f12d5a1ac5346649e3a0c49ef530dd29ca16039949af0993d54080a7cf558c6eb6a919254c1dc4a36ab22f38992e790469ecd973bf SHA512 3b6f23052ca3b8af40a618da6bed2577b92ffe27b627f8980cda2d645991434bf298f720c1d423a272961c9f3f52a9d1b28154ed7f355d539f71dc68c028b617 |
26 |
DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 |
27 |
DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 |
28 |
|
29 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 347c11f2b936..000000000000 |
32 |
--- a/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,81 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-inherit systemd |
41 |
- |
42 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
43 |
-HOMEPAGE="https://www.pgbouncer.org/" |
44 |
-SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" |
45 |
-LICENSE="BSD" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 x86" |
48 |
-IUSE="+c-ares debug doc pam ssl systemd udns" |
49 |
- |
50 |
-# At-most-one-of, one can be enabled but not both |
51 |
-REQUIRED_USE="?? ( c-ares udns )" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- >=dev-libs/libevent-2.0:= |
55 |
- >=sys-libs/glibc-2.10 |
56 |
- acct-user/pgbouncer |
57 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
58 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) |
59 |
- systemd? ( sys-apps/systemd ) |
60 |
- udns? ( >=net-libs/udns-0.1 ) |
61 |
-" |
62 |
- |
63 |
-DEPEND="${RDEPEND}" |
64 |
- |
65 |
-# Tests require a local database server, wants to fiddle with iptables, |
66 |
-# and doesn't support overriding. |
67 |
-RESTRICT="test" |
68 |
- |
69 |
-src_prepare() { |
70 |
- eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch |
71 |
- |
72 |
- default |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- # --enable-debug is only used to disable stripping |
77 |
- econf \ |
78 |
- --docdir=/usr/share/doc/${PF} \ |
79 |
- --enable-debug \ |
80 |
- $(use_with c-ares cares) \ |
81 |
- $(use_enable debug cassert) \ |
82 |
- $(use_with pam) \ |
83 |
- $(use_with ssl openssl) \ |
84 |
- $(use_with systemd) \ |
85 |
- $(use_with udns) |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- emake DESTDIR="${D}" install |
90 |
- |
91 |
- dodoc AUTHORS |
92 |
- use doc && dodoc doc/*.rst |
93 |
- |
94 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
95 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
96 |
- |
97 |
- insinto /etc |
98 |
- doins etc/pgbouncer.ini |
99 |
- |
100 |
- insinto /etc/logrotate.d |
101 |
- newins "${FILESDIR}/logrotate" pgbouncer |
102 |
-} |
103 |
- |
104 |
-pkg_postinst() { |
105 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
106 |
- einfo "Please read the config.txt for Configuration Directives" |
107 |
- einfo |
108 |
- einfo "For Administration Commands, see:" |
109 |
- einfo " man pgbouncer" |
110 |
- einfo |
111 |
- einfo "By default, PgBouncer does not have access to any database." |
112 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
113 |
- einfo "exists in PgBouncer's auth_file." |
114 |
- fi |
115 |
-} |
116 |
|
117 |
diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild |
118 |
deleted file mode 100644 |
119 |
index 1214ffcf2b4c..000000000000 |
120 |
--- a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,81 +0,0 @@ |
123 |
-# Copyright 1999-2021 Gentoo Authors |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
- |
126 |
-EAPI=7 |
127 |
- |
128 |
-inherit systemd |
129 |
- |
130 |
-DESCRIPTION="Lightweight connection pooler for PostgreSQL" |
131 |
-HOMEPAGE="https://www.pgbouncer.org/" |
132 |
-SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz" |
133 |
-LICENSE="BSD" |
134 |
-SLOT="0" |
135 |
-KEYWORDS="amd64 x86" |
136 |
-IUSE="+c-ares debug doc pam ssl systemd udns" |
137 |
- |
138 |
-# At-most-one-of, one can be enabled but not both |
139 |
-REQUIRED_USE="?? ( c-ares udns )" |
140 |
- |
141 |
-RDEPEND=" |
142 |
- >=dev-libs/libevent-2.0:= |
143 |
- >=sys-libs/glibc-2.10 |
144 |
- acct-user/pgbouncer |
145 |
- c-ares? ( >=net-dns/c-ares-1.10 ) |
146 |
- ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) |
147 |
- systemd? ( sys-apps/systemd ) |
148 |
- udns? ( >=net-libs/udns-0.1 ) |
149 |
-" |
150 |
- |
151 |
-DEPEND="${RDEPEND}" |
152 |
- |
153 |
-# Tests require a local database server, wants to fiddle with iptables, |
154 |
-# and doesn't support overriding. |
155 |
-RESTRICT="test" |
156 |
- |
157 |
-src_prepare() { |
158 |
- eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch |
159 |
- |
160 |
- default |
161 |
-} |
162 |
- |
163 |
-src_configure() { |
164 |
- # --enable-debug is only used to disable stripping |
165 |
- econf \ |
166 |
- --docdir=/usr/share/doc/${PF} \ |
167 |
- --enable-debug \ |
168 |
- $(use_with c-ares cares) \ |
169 |
- $(use_enable debug cassert) \ |
170 |
- $(use_with pam) \ |
171 |
- $(use_with ssl openssl) \ |
172 |
- $(use_with systemd) \ |
173 |
- $(use_with udns) |
174 |
-} |
175 |
- |
176 |
-src_install() { |
177 |
- emake DESTDIR="${D}" install |
178 |
- |
179 |
- dodoc AUTHORS |
180 |
- use doc && dodoc doc/*.md |
181 |
- |
182 |
- newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" |
183 |
- newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" |
184 |
- |
185 |
- insinto /etc |
186 |
- doins etc/pgbouncer.ini |
187 |
- |
188 |
- insinto /etc/logrotate.d |
189 |
- newins "${FILESDIR}/logrotate" pgbouncer |
190 |
-} |
191 |
- |
192 |
-pkg_postinst() { |
193 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
194 |
- einfo "Please read the config.txt for Configuration Directives" |
195 |
- einfo |
196 |
- einfo "For Administration Commands, see:" |
197 |
- einfo " man pgbouncer" |
198 |
- einfo |
199 |
- einfo "By default, PgBouncer does not have access to any database." |
200 |
- einfo "GRANT the permissions needed for your application and make sure that it" |
201 |
- einfo "exists in PgBouncer's auth_file." |
202 |
- fi |
203 |
-} |