1 |
commit: 6c6202dd5e4cf1967b48c0a7b66ab519ebfc7bb1 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 18:59:28 2022 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 19:00:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6202dd |
7 |
|
8 |
net-dns/pdns-recursor: Cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/836006 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
13 |
|
14 |
net-dns/pdns-recursor/Manifest | 3 - |
15 |
net-dns/pdns-recursor/metadata.xml | 1 - |
16 |
net-dns/pdns-recursor/pdns-recursor-4.4.7.ebuild | 88 ---------------------- |
17 |
net-dns/pdns-recursor/pdns-recursor-4.5.7.ebuild | 82 -------------------- |
18 |
.../pdns-recursor/pdns-recursor-4.6.0-r1.ebuild | 84 --------------------- |
19 |
5 files changed, 258 deletions(-) |
20 |
|
21 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
22 |
index 17e2b7bfafdb..440508da8a66 100644 |
23 |
--- a/net-dns/pdns-recursor/Manifest |
24 |
+++ b/net-dns/pdns-recursor/Manifest |
25 |
@@ -1,4 +1 @@ |
26 |
-DIST pdns-recursor-4.4.7.tar.bz2 1404116 BLAKE2B 42808634fe20735ba0a933a20b7c4dfae0c32b25976e713be46dddfcdf03599b2b29ca8407781ac304fcb004f8a8a29856dc70aeb468f4e773ee5e5a9d1e7631 SHA512 eb4008ec65e42e10d9fc4d0e0fc6c4d4716224f04f530649d88adbc505ea2a8b570bfd738455f9c769e6c242e7996905c7cc457e9f685b06e5d0f73fdffd30a7 |
27 |
-DIST pdns-recursor-4.5.7.tar.bz2 1475537 BLAKE2B e58a28ed1ca2a9ae69436f9367e83f046ed5bc47bfd13783bd7c956f917c4a6d9c93a9a8e1c4df55ad42bc6ba024faca936fefdaffb2125e4f6635c5e6a20b19 SHA512 dc4a2a129039f79440420c285c37fd11536f2c0b74a39da74560eb782f1ad881839831e97f2a803b1812f128e899ad7c460fada42a831994b21f301f8892e60a |
28 |
-DIST pdns-recursor-4.6.0.tar.bz2 1549434 BLAKE2B 3834c3cf58d99ba03b9e2c325a35e7bdc29a6da3fc77998b44a875033a1ce9a538762f21270754c0207be175a2b9f06d06677822a7dffd7f57fe510425772f96 SHA512 ca7e7a4aed904a68f4dcb25e62393d44cbe5a1b64b76882b086e3dcfc08face8d399d2652aeb3c03d8a68b2c9531e78223b815256d7d9e82777621aba8ad068b |
29 |
DIST pdns-recursor-4.6.1.tar.bz2 1541000 BLAKE2B fede4f654cd9900780df8dcc39585e95d8b0536c6d14476fde6f33a2d307144f50fb7b51bf6e0c950dcaff74120a101effee0c92cf15c4acedfa94a2682b0c5c SHA512 b595dd382bb4bff5cd47bff854952c8ee40bedeafe4236f935c8eceeca7ac97e8668b884e1ec0ce490ce535fab10d161ffc53ca395c0bb02ffcf6005a692674b |
30 |
|
31 |
diff --git a/net-dns/pdns-recursor/metadata.xml b/net-dns/pdns-recursor/metadata.xml |
32 |
index 593db831ec21..f36a13ab15c8 100644 |
33 |
--- a/net-dns/pdns-recursor/metadata.xml |
34 |
+++ b/net-dns/pdns-recursor/metadata.xml |
35 |
@@ -16,7 +16,6 @@ nameserver performance. |
36 |
</longdescription> |
37 |
<use> |
38 |
<flag name="dnstap">Enable support for dnstap</flag> |
39 |
- <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag> |
40 |
<flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag> |
41 |
</use> |
42 |
</pkgmetadata> |
43 |
|
44 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.4.7.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.4.7.ebuild |
45 |
deleted file mode 100644 |
46 |
index 6233a790ac76..000000000000 |
47 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.4.7.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,88 +0,0 @@ |
50 |
-# Copyright 1999-2021 Gentoo Authors |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
- |
53 |
-EAPI=7 |
54 |
- |
55 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
56 |
- |
57 |
-inherit flag-o-matic lua-single |
58 |
- |
59 |
-DESCRIPTION="The PowerDNS Recursor" |
60 |
-HOMEPAGE="https://www.powerdns.com/" |
61 |
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
62 |
- |
63 |
-LICENSE="GPL-2" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="amd64 ~arm x86" |
66 |
-IUSE="debug dnstap protobuf snmp sodium systemd test" |
67 |
-REQUIRED_USE="${LUA_REQUIRED_USE} |
68 |
- dnstap? ( protobuf )" |
69 |
-RESTRICT="!test? ( test )" |
70 |
- |
71 |
-DEPEND="${LUA_DEPS} |
72 |
- protobuf? ( |
73 |
- dev-libs/protobuf |
74 |
- >=dev-libs/boost-1.42:= |
75 |
- ) |
76 |
- dnstap? ( dev-libs/fstrm ) |
77 |
- systemd? ( sys-apps/systemd:0= ) |
78 |
- snmp? ( net-analyzer/net-snmp ) |
79 |
- sodium? ( dev-libs/libsodium:= ) |
80 |
- dev-libs/openssl:= |
81 |
- >=dev-libs/boost-1.35:=" |
82 |
-RDEPEND="${DEPEND} |
83 |
- !<net-dns/pdns-2.9.20-r1 |
84 |
- acct-user/pdns |
85 |
- acct-group/pdns" |
86 |
-BDEPEND="virtual/pkgconfig" |
87 |
- |
88 |
-S="${WORKDIR}"/${P/_/-} |
89 |
- |
90 |
-pkg_setup() { |
91 |
- lua-single_pkg_setup |
92 |
- filter-flags -ftree-vectorize |
93 |
-} |
94 |
- |
95 |
-src_configure() { |
96 |
- econf \ |
97 |
- --sysconfdir=/etc/powerdns \ |
98 |
- --with-nod-cache-dir=/var/lib/powerdns \ |
99 |
- --with-service-user=pdns \ |
100 |
- --with-service-group=pdns \ |
101 |
- --with-lua="${ELUA}" \ |
102 |
- $(use_enable debug verbose-logging) \ |
103 |
- $(use_enable systemd) \ |
104 |
- $(use_enable dnstap dnstap) \ |
105 |
- $(use_enable test unit-tests) \ |
106 |
- $(use_with sodium libsodium) \ |
107 |
- $(use_with protobuf) \ |
108 |
- $(use_with snmp net-snmp) |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- default |
113 |
- |
114 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
115 |
- |
116 |
- # set defaults: setuid=nobody, setgid=nobody |
117 |
- sed -i \ |
118 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ |
119 |
- -e 's/^# quiet=$/quiet=on/' \ |
120 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
121 |
- "${D}"/etc/powerdns/recursor.conf |
122 |
- |
123 |
- newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor |
124 |
-} |
125 |
- |
126 |
-pkg_postinst() { |
127 |
- local old |
128 |
- |
129 |
- for old in ${REPLACING_VERSIONS}; do |
130 |
- ver_test ${old} -lt 4.0.0-r1 || continue |
131 |
- |
132 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
133 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
134 |
- |
135 |
- break |
136 |
- done |
137 |
-} |
138 |
|
139 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.5.7.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.5.7.ebuild |
140 |
deleted file mode 100644 |
141 |
index cf3bf318576d..000000000000 |
142 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.5.7.ebuild |
143 |
+++ /dev/null |
144 |
@@ -1,82 +0,0 @@ |
145 |
-# Copyright 1999-2021 Gentoo Authors |
146 |
-# Distributed under the terms of the GNU General Public License v2 |
147 |
- |
148 |
-EAPI=7 |
149 |
- |
150 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
151 |
- |
152 |
-inherit flag-o-matic lua-single |
153 |
- |
154 |
-DESCRIPTION="The PowerDNS Recursor" |
155 |
-HOMEPAGE="https://www.powerdns.com/" |
156 |
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
157 |
- |
158 |
-LICENSE="GPL-2" |
159 |
-SLOT="0" |
160 |
-KEYWORDS="amd64" |
161 |
-IUSE="debug dnstap snmp sodium systemd test" |
162 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
163 |
-RESTRICT="!test? ( test )" |
164 |
- |
165 |
-DEPEND="${LUA_DEPS} |
166 |
- dnstap? ( dev-libs/fstrm ) |
167 |
- systemd? ( sys-apps/systemd:0= ) |
168 |
- snmp? ( net-analyzer/net-snmp ) |
169 |
- sodium? ( dev-libs/libsodium:= ) |
170 |
- dev-libs/openssl:= |
171 |
- >=dev-libs/boost-1.35:=" |
172 |
-RDEPEND="${DEPEND} |
173 |
- !<net-dns/pdns-2.9.20-r1 |
174 |
- acct-user/pdns |
175 |
- acct-group/pdns" |
176 |
-BDEPEND="virtual/pkgconfig" |
177 |
- |
178 |
-S="${WORKDIR}"/${P/_/-} |
179 |
- |
180 |
-pkg_setup() { |
181 |
- lua-single_pkg_setup |
182 |
- filter-flags -ftree-vectorize |
183 |
-} |
184 |
- |
185 |
-src_configure() { |
186 |
- econf \ |
187 |
- --sysconfdir=/etc/powerdns \ |
188 |
- --with-nod-cache-dir=/var/lib/powerdns \ |
189 |
- --with-service-user=pdns \ |
190 |
- --with-service-group=pdns \ |
191 |
- --with-lua="${ELUA}" \ |
192 |
- $(use_enable debug verbose-logging) \ |
193 |
- $(use_enable systemd) \ |
194 |
- $(use_enable dnstap dnstap) \ |
195 |
- $(use_enable test unit-tests) \ |
196 |
- $(use_with sodium libsodium) \ |
197 |
- $(use_with snmp net-snmp) |
198 |
-} |
199 |
- |
200 |
-src_install() { |
201 |
- default |
202 |
- |
203 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
204 |
- |
205 |
- # set defaults: setuid=nobody, setgid=nobody |
206 |
- sed -i \ |
207 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ |
208 |
- -e 's/^# quiet=$/quiet=on/' \ |
209 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
210 |
- "${D}"/etc/powerdns/recursor.conf |
211 |
- |
212 |
- newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor |
213 |
-} |
214 |
- |
215 |
-pkg_postinst() { |
216 |
- local old |
217 |
- |
218 |
- for old in ${REPLACING_VERSIONS}; do |
219 |
- ver_test ${old} -lt 4.0.0-r1 || continue |
220 |
- |
221 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
222 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
223 |
- |
224 |
- break |
225 |
- done |
226 |
-} |
227 |
|
228 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.6.0-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.6.0-r1.ebuild |
229 |
deleted file mode 100644 |
230 |
index 076ff5c64a8c..000000000000 |
231 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.6.0-r1.ebuild |
232 |
+++ /dev/null |
233 |
@@ -1,84 +0,0 @@ |
234 |
-# Copyright 1999-2022 Gentoo Authors |
235 |
-# Distributed under the terms of the GNU General Public License v2 |
236 |
- |
237 |
-EAPI=7 |
238 |
- |
239 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
240 |
- |
241 |
-inherit flag-o-matic lua-single |
242 |
- |
243 |
-DESCRIPTION="The PowerDNS Recursor" |
244 |
-HOMEPAGE="https://www.powerdns.com/" |
245 |
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
246 |
- |
247 |
-LICENSE="GPL-2" |
248 |
-SLOT="0" |
249 |
-KEYWORDS="~amd64 ~arm ~x86" |
250 |
-IUSE="debug dnstap snmp sodium systemd test" |
251 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
252 |
-RESTRICT="!test? ( test )" |
253 |
- |
254 |
-DEPEND="${LUA_DEPS} |
255 |
- dnstap? ( dev-libs/fstrm ) |
256 |
- systemd? ( sys-apps/systemd:0= ) |
257 |
- snmp? ( net-analyzer/net-snmp ) |
258 |
- sodium? ( dev-libs/libsodium:= ) |
259 |
- dev-libs/openssl:= |
260 |
- >=dev-libs/boost-1.35:=" |
261 |
-RDEPEND="${DEPEND} |
262 |
- !<net-dns/pdns-2.9.20-r1 |
263 |
- acct-user/pdns |
264 |
- acct-group/pdns" |
265 |
-BDEPEND="virtual/pkgconfig" |
266 |
- |
267 |
-S="${WORKDIR}"/${P/_/-} |
268 |
- |
269 |
-pkg_setup() { |
270 |
- lua-single_pkg_setup |
271 |
- filter-flags -ftree-vectorize |
272 |
- append-lfs-flags |
273 |
- append-cppflags -D_TIME_BITS=64 |
274 |
-} |
275 |
- |
276 |
-src_configure() { |
277 |
- econf \ |
278 |
- --sysconfdir=/etc/powerdns \ |
279 |
- --with-nod-cache-dir=/var/lib/powerdns \ |
280 |
- --with-service-user=pdns \ |
281 |
- --with-service-group=pdns \ |
282 |
- --with-lua="${ELUA}" \ |
283 |
- $(use_enable debug verbose-logging) \ |
284 |
- $(use_enable systemd) \ |
285 |
- $(use_enable dnstap dnstap) \ |
286 |
- $(use_enable test unit-tests) \ |
287 |
- $(use_with sodium libsodium) \ |
288 |
- $(use_with snmp net-snmp) |
289 |
-} |
290 |
- |
291 |
-src_install() { |
292 |
- default |
293 |
- |
294 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
295 |
- |
296 |
- # set defaults: setuid=nobody, setgid=nobody |
297 |
- sed -i \ |
298 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ |
299 |
- -e 's/^# quiet=$/quiet=on/' \ |
300 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
301 |
- "${D}"/etc/powerdns/recursor.conf |
302 |
- |
303 |
- newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor |
304 |
-} |
305 |
- |
306 |
-pkg_postinst() { |
307 |
- local old |
308 |
- |
309 |
- for old in ${REPLACING_VERSIONS}; do |
310 |
- ver_test ${old} -lt 4.0.0-r1 || continue |
311 |
- |
312 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
313 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
314 |
- |
315 |
- break |
316 |
- done |
317 |
-} |