Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/, net-dns/pdns-recursor/
Date: Sat, 30 May 2020 09:54:03
Message-Id: 1590832405.38a9eb2394ab521f7bc044464b59ce840ac5bbf6.swegener@gentoo
1 commit: 38a9eb2394ab521f7bc044464b59ce840ac5bbf6
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 30 09:52:24 2020 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 09:53:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38a9eb23
7
8 net-dns/pdns-recursor: Cleanup
9
10 Bug: https://bugs.gentoo.org/723986
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
13
14 net-dns/pdns-recursor/Manifest | 5 --
15 net-dns/pdns-recursor/files/pdns-recursor-r1 | 37 ----------
16 net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild | 79 ----------------------
17 net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild | 79 ----------------------
18 net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild | 78 ---------------------
19 net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild | 78 ---------------------
20 .../pdns-recursor/pdns-recursor-4.3.0-r1.ebuild | 78 ---------------------
21 7 files changed, 434 deletions(-)
22
23 diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest
24 index 71108799dd6..52c8e3e1c43 100644
25 --- a/net-dns/pdns-recursor/Manifest
26 +++ b/net-dns/pdns-recursor/Manifest
27 @@ -1,6 +1 @@
28 -DIST pdns-recursor-4.1.14.tar.bz2 1249908 BLAKE2B 8918cbfa2b8ef91b18b7ef79c94bb2ae5e73f2dd835e810aca6480b7338be19e9d151f6ace6cd42bba6c71123378b95811dfa570d31ce2aa3e141b9e49753c8e SHA512 9b1842df5d32f0f7a7080bedb98d8f9e36c08cbf7427c9ba1bd07bae40ef48ad4a843d6eaff336d1fe9869c209c05f4edf1117b994b6ed5818146445b28b3011
29 -DIST pdns-recursor-4.1.15.tar.bz2 1252518 BLAKE2B 11eecf1ca69e6855be1cb1a1a6bfefd6b65cf38a6fcfd1e98727fd7813958024b47f974a12fa05cf0a92079a7d14ecb1a6b199a51ba0b4731aa4a1a8b638441a SHA512 d493de78086a88784dbf8b54732faddca7e0dec008cf80a757240f8e1943d230edc4f0ef5a372cb1897be01956bbcfd282a979150901c0df6cc304ccdc6d878d
30 -DIST pdns-recursor-4.2.0.tar.bz2 1316156 BLAKE2B 3ceb71695b0d5aa2826e28975f45d03910b23f2d7dfbe7388ffd19ea51c37bf6758ea6f90f1772b0c4ed217ef844e112961f51c04dee4db20a05f1e25ae6b71f SHA512 e4be63c1be70f0dfd7aab71f1184d5cc1d15e60e775451a96e8472db6fb3825762ebd6f51b593b167389868bbfde0538612b14a04c03f3f60a7e49f7882e78bf
31 -DIST pdns-recursor-4.2.1.tar.bz2 1318022 BLAKE2B 19fba9dae26d27f68ceaf70f15f2fb27ec030fa64d5dfdfe7bf482293ed5aac6b8eb6ed47a75c2b88f4d481794695d66f0ce1cbc71d8eedeabd86d8ce8c382ba SHA512 ebd7ff40def4b5c9398dee5ceae0aaf762982be4124773002b3f603b18cab2a6df667524a268e72268032334ae29d32b42294cbae68dcdc154e08b8a38f75dff
32 -DIST pdns-recursor-4.3.0.tar.bz2 1349359 BLAKE2B cdb9d38a350ef371c3675185c0f52f416d55338df034ff32a9d9fc85d783de04513555ec96fbc1dd07ecd7214d889cfe6fba80bc6981e66a6b8d4fe6f1da7dfa SHA512 6ba4721f502e1e483d04e8d8cafa35d1cc088c6b3c73120a0cc90ff9c8e8f495a1591e01f0daf30d00f020e3aa06b1cf092ed6b8a0786070c307a6564812c085
33 DIST pdns-recursor-4.3.1.tar.bz2 1334817 BLAKE2B 1972259e42b1cefd9069a36d2bb235652ce234d525a2e3f19c96a93bf26f34063e6d04240146bba0560573c1d2ad042a579d6ab557fc7ac0aadee09fa15ee397 SHA512 49ae4957ef202f94ec87e6449dfa9c147689b5576ca1002e0155319099d698300c113e221571f6d41cb1cdc1649619621c2ccf8105620c25452ac30bd83e46b8
34
35 diff --git a/net-dns/pdns-recursor/files/pdns-recursor-r1 b/net-dns/pdns-recursor/files/pdns-recursor-r1
36 deleted file mode 100644
37 index 57c9df1eaa4..00000000000
38 --- a/net-dns/pdns-recursor/files/pdns-recursor-r1
39 +++ /dev/null
40 @@ -1,37 +0,0 @@
41 -#!/sbin/openrc-run
42 -# Copyright 1999-2017 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -
45 -PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}"
46 -
47 -PDNS_CONFIG="${PDNS_CONFIGDIR}/recursor.conf"
48 -PDNS_CHROOTDIR="$( awk -F = '$1 == "chroot" { print $2 }' "${PDNS_CONFIG}" )"
49 -PDNS_SOCKETDIR="$( awk -F = '$1 == "socket-dir" { print $2 }' "${PDNS_CONFIG}" )"
50 -[ -z "${PDNS_SOCKETDIR}" -a -z "${PDNS_CHROOTDIR}" ] && PDNS_SOCKETDIR="/var/run"
51 -
52 -name="PowerDNS Recursor"
53 -description="Recursive name server"
54 -
55 -extra_started_commands="ping"
56 -description_ping="Ping the PowerDNS instance"
57 -
58 -command="/usr/sbin/pdns_recursor"
59 -command_args="--config-dir=${PDNS_CONFIGDIR}"
60 -command_args_foreground="--daemon=no"
61 -command_args_background="--daemon=yes"
62 -yesno ${rc_verbose} || command_args_background="${command_args_background} >/dev/null 2>&1"
63 -
64 -pidfile="${PDNS_CHROOTDIR}/${PDNS_SOCKETDIR}/pdns_recursor.pid"
65 -
66 -control_command="/usr/bin/rec_control"
67 -control_command_args="${command_args}"
68 -
69 -depend() {
70 - need net
71 -}
72 -
73 -ping() {
74 - ebegin "Pinging ${name}"
75 - ${control_command} ${control_command_args} ping >/dev/null 2>&1
76 - eend $?
77 -}
78
79 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild
80 deleted file mode 100644
81 index 25a4668601a..00000000000
82 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild
83 +++ /dev/null
84 @@ -1,79 +0,0 @@
85 -# Copyright 1999-2019 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI="7"
89 -
90 -inherit flag-o-matic
91 -
92 -DESCRIPTION="The PowerDNS Recursor"
93 -HOMEPAGE="https://www.powerdns.com/"
94 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
95 -
96 -LICENSE="GPL-2"
97 -SLOT="0"
98 -KEYWORDS="amd64 ~arm x86"
99 -IUSE="debug libressl luajit protobuf snmp sodium systemd"
100 -
101 -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
102 - luajit? ( dev-lang/luajit:= )
103 - protobuf? (
104 - dev-libs/protobuf
105 - >=dev-libs/boost-1.42:=
106 - )
107 - systemd? ( sys-apps/systemd:0= )
108 - snmp? ( net-analyzer/net-snmp )
109 - sodium? ( dev-libs/libsodium:= )
110 - libressl? ( dev-libs/libressl:= )
111 - !libressl? ( dev-libs/openssl:= )
112 - >=dev-libs/boost-1.35:="
113 -RDEPEND="${DEPEND}
114 - !<net-dns/pdns-2.9.20-r1"
115 -BDEPEND="virtual/pkgconfig"
116 -
117 -S="${WORKDIR}"/${P/_/-}
118 -
119 -pkg_setup() {
120 - filter-flags -ftree-vectorize
121 -}
122 -
123 -src_configure() {
124 - econf \
125 - --sysconfdir=/etc/powerdns \
126 - $(use_enable debug verbose-logging) \
127 - $(use_enable systemd) \
128 - $(use_enable sodium libsodium) \
129 - $(use_with !luajit lua) \
130 - $(use_with luajit luajit) \
131 - $(use_with protobuf) \
132 - $(use_with snmp net-snmp)
133 -}
134 -
135 -src_install() {
136 - default
137 -
138 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
139 -
140 - # set defaults: setuid=nobody, setgid=nobody
141 - sed -i \
142 - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \
143 - -e 's/^# quiet=$/quiet=on/' \
144 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
145 - "${D}"/etc/powerdns/recursor.conf
146 -
147 - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor
148 -
149 - keepdir /var/lib/powerdns
150 -}
151 -
152 -pkg_postinst() {
153 - local old
154 -
155 - for old in ${REPLACING_VERSIONS}; do
156 - ver_test ${old} -lt 4.0.0-r1 || continue
157 -
158 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
159 - ewarn "to pdns-recursor, please update your runlevels accordingly."
160 -
161 - break
162 - done
163 -}
164
165 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild
166 deleted file mode 100644
167 index 8c6bb86d0ac..00000000000
168 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild
169 +++ /dev/null
170 @@ -1,79 +0,0 @@
171 -# Copyright 1999-2019 Gentoo Authors
172 -# Distributed under the terms of the GNU General Public License v2
173 -
174 -EAPI="7"
175 -
176 -inherit flag-o-matic
177 -
178 -DESCRIPTION="The PowerDNS Recursor"
179 -HOMEPAGE="https://www.powerdns.com/"
180 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
181 -
182 -LICENSE="GPL-2"
183 -SLOT="0"
184 -KEYWORDS="~amd64 ~arm ~x86"
185 -IUSE="debug libressl luajit protobuf snmp sodium systemd"
186 -
187 -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
188 - luajit? ( dev-lang/luajit:= )
189 - protobuf? (
190 - dev-libs/protobuf
191 - >=dev-libs/boost-1.42:=
192 - )
193 - systemd? ( sys-apps/systemd:0= )
194 - snmp? ( net-analyzer/net-snmp )
195 - sodium? ( dev-libs/libsodium:= )
196 - libressl? ( dev-libs/libressl:= )
197 - !libressl? ( dev-libs/openssl:= )
198 - >=dev-libs/boost-1.35:="
199 -RDEPEND="${DEPEND}
200 - !<net-dns/pdns-2.9.20-r1"
201 -BDEPEND="virtual/pkgconfig"
202 -
203 -S="${WORKDIR}"/${P/_/-}
204 -
205 -pkg_setup() {
206 - filter-flags -ftree-vectorize
207 -}
208 -
209 -src_configure() {
210 - econf \
211 - --sysconfdir=/etc/powerdns \
212 - $(use_enable debug verbose-logging) \
213 - $(use_enable systemd) \
214 - $(use_enable sodium libsodium) \
215 - $(use_with !luajit lua) \
216 - $(use_with luajit luajit) \
217 - $(use_with protobuf) \
218 - $(use_with snmp net-snmp)
219 -}
220 -
221 -src_install() {
222 - default
223 -
224 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
225 -
226 - # set defaults: setuid=nobody, setgid=nobody
227 - sed -i \
228 - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \
229 - -e 's/^# quiet=$/quiet=on/' \
230 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
231 - "${D}"/etc/powerdns/recursor.conf
232 -
233 - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor
234 -
235 - keepdir /var/lib/powerdns
236 -}
237 -
238 -pkg_postinst() {
239 - local old
240 -
241 - for old in ${REPLACING_VERSIONS}; do
242 - ver_test ${old} -lt 4.0.0-r1 || continue
243 -
244 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
245 - ewarn "to pdns-recursor, please update your runlevels accordingly."
246 -
247 - break
248 - done
249 -}
250
251 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild
252 deleted file mode 100644
253 index 2ae00b46ee1..00000000000
254 --- a/net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild
255 +++ /dev/null
256 @@ -1,78 +0,0 @@
257 -# Copyright 1999-2019 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI="7"
261 -
262 -inherit flag-o-matic
263 -
264 -DESCRIPTION="The PowerDNS Recursor"
265 -HOMEPAGE="https://www.powerdns.com/"
266 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
267 -
268 -LICENSE="GPL-2"
269 -SLOT="0"
270 -KEYWORDS="~amd64 ~arm ~x86"
271 -IUSE="debug libressl luajit protobuf snmp sodium systemd"
272 -
273 -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
274 - luajit? ( dev-lang/luajit:= )
275 - protobuf? (
276 - dev-libs/protobuf
277 - >=dev-libs/boost-1.42:=
278 - )
279 - systemd? ( sys-apps/systemd:0= )
280 - snmp? ( net-analyzer/net-snmp )
281 - sodium? ( dev-libs/libsodium:= )
282 - libressl? ( dev-libs/libressl:= )
283 - !libressl? ( dev-libs/openssl:= )
284 - >=dev-libs/boost-1.35:="
285 -RDEPEND="${DEPEND}
286 - !<net-dns/pdns-2.9.20-r1"
287 -BDEPEND="virtual/pkgconfig"
288 -
289 -S="${WORKDIR}"/${P/_/-}
290 -
291 -pkg_setup() {
292 - filter-flags -ftree-vectorize
293 -}
294 -
295 -src_configure() {
296 - econf \
297 - --sysconfdir=/etc/powerdns \
298 - --with-lua=$(usex luajit luajit lua) \
299 - $(use_enable debug verbose-logging) \
300 - $(use_enable systemd) \
301 - $(use_with sodium libsodium) \
302 - $(use_with protobuf) \
303 - $(use_with snmp net-snmp)
304 -}
305 -
306 -src_install() {
307 - default
308 -
309 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
310 -
311 - # set defaults: setuid=nobody, setgid=nobody
312 - sed -i \
313 - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \
314 - -e 's/^# quiet=$/quiet=on/' \
315 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
316 - "${D}"/etc/powerdns/recursor.conf
317 -
318 - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor
319 -
320 - keepdir /var/lib/powerdns
321 -}
322 -
323 -pkg_postinst() {
324 - local old
325 -
326 - for old in ${REPLACING_VERSIONS}; do
327 - ver_test ${old} -lt 4.0.0-r1 || continue
328 -
329 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
330 - ewarn "to pdns-recursor, please update your runlevels accordingly."
331 -
332 - break
333 - done
334 -}
335
336 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild
337 deleted file mode 100644
338 index 64c04adb42e..00000000000
339 --- a/net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild
340 +++ /dev/null
341 @@ -1,78 +0,0 @@
342 -# Copyright 1999-2020 Gentoo Authors
343 -# Distributed under the terms of the GNU General Public License v2
344 -
345 -EAPI="7"
346 -
347 -inherit flag-o-matic
348 -
349 -DESCRIPTION="The PowerDNS Recursor"
350 -HOMEPAGE="https://www.powerdns.com/"
351 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
352 -
353 -LICENSE="GPL-2"
354 -SLOT="0"
355 -KEYWORDS="amd64 ~arm x86"
356 -IUSE="debug libressl luajit protobuf snmp sodium systemd"
357 -
358 -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
359 - luajit? ( dev-lang/luajit:= )
360 - protobuf? (
361 - dev-libs/protobuf
362 - >=dev-libs/boost-1.42:=
363 - )
364 - systemd? ( sys-apps/systemd:0= )
365 - snmp? ( net-analyzer/net-snmp )
366 - sodium? ( dev-libs/libsodium:= )
367 - libressl? ( dev-libs/libressl:= )
368 - !libressl? ( dev-libs/openssl:= )
369 - >=dev-libs/boost-1.35:="
370 -RDEPEND="${DEPEND}
371 - !<net-dns/pdns-2.9.20-r1"
372 -BDEPEND="virtual/pkgconfig"
373 -
374 -S="${WORKDIR}"/${P/_/-}
375 -
376 -pkg_setup() {
377 - filter-flags -ftree-vectorize
378 -}
379 -
380 -src_configure() {
381 - econf \
382 - --sysconfdir=/etc/powerdns \
383 - --with-lua=$(usex luajit luajit lua) \
384 - $(use_enable debug verbose-logging) \
385 - $(use_enable systemd) \
386 - $(use_with sodium libsodium) \
387 - $(use_with protobuf) \
388 - $(use_with snmp net-snmp)
389 -}
390 -
391 -src_install() {
392 - default
393 -
394 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
395 -
396 - # set defaults: setuid=nobody, setgid=nobody
397 - sed -i \
398 - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \
399 - -e 's/^# quiet=$/quiet=on/' \
400 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
401 - "${D}"/etc/powerdns/recursor.conf
402 -
403 - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor
404 -
405 - keepdir /var/lib/powerdns
406 -}
407 -
408 -pkg_postinst() {
409 - local old
410 -
411 - for old in ${REPLACING_VERSIONS}; do
412 - ver_test ${old} -lt 4.0.0-r1 || continue
413 -
414 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
415 - ewarn "to pdns-recursor, please update your runlevels accordingly."
416 -
417 - break
418 - done
419 -}
420
421 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.3.0-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.3.0-r1.ebuild
422 deleted file mode 100644
423 index fa5437a3d38..00000000000
424 --- a/net-dns/pdns-recursor/pdns-recursor-4.3.0-r1.ebuild
425 +++ /dev/null
426 @@ -1,78 +0,0 @@
427 -# Copyright 1999-2020 Gentoo Authors
428 -# Distributed under the terms of the GNU General Public License v2
429 -
430 -EAPI="7"
431 -
432 -inherit flag-o-matic
433 -
434 -DESCRIPTION="The PowerDNS Recursor"
435 -HOMEPAGE="https://www.powerdns.com/"
436 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
437 -
438 -LICENSE="GPL-2"
439 -SLOT="0"
440 -KEYWORDS="~amd64 ~arm ~x86"
441 -IUSE="debug libressl luajit protobuf snmp sodium systemd"
442 -
443 -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
444 - luajit? ( dev-lang/luajit:= )
445 - protobuf? (
446 - dev-libs/protobuf
447 - >=dev-libs/boost-1.42:=
448 - )
449 - systemd? ( sys-apps/systemd:0= )
450 - snmp? ( net-analyzer/net-snmp )
451 - sodium? ( dev-libs/libsodium:= )
452 - libressl? ( dev-libs/libressl:= )
453 - !libressl? ( dev-libs/openssl:= )
454 - >=dev-libs/boost-1.35:="
455 -RDEPEND="${DEPEND}
456 - !<net-dns/pdns-2.9.20-r1
457 - acct-user/pdns
458 - acct-group/pdns"
459 -BDEPEND="virtual/pkgconfig"
460 -
461 -S="${WORKDIR}"/${P/_/-}
462 -
463 -pkg_setup() {
464 - filter-flags -ftree-vectorize
465 -}
466 -
467 -src_configure() {
468 - econf \
469 - --sysconfdir=/etc/powerdns \
470 - --with-lua=$(usex luajit luajit lua) \
471 - $(use_enable debug verbose-logging) \
472 - $(use_enable systemd) \
473 - $(use_with sodium libsodium) \
474 - $(use_with protobuf) \
475 - $(use_with snmp net-snmp)
476 -}
477 -
478 -src_install() {
479 - default
480 -
481 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
482 -
483 - # set defaults: setuid=nobody, setgid=nobody
484 - sed -i \
485 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \
486 - -e 's/^# quiet=$/quiet=on/' \
487 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
488 - "${D}"/etc/powerdns/recursor.conf
489 -
490 - newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor
491 -}
492 -
493 -pkg_postinst() {
494 - local old
495 -
496 - for old in ${REPLACING_VERSIONS}; do
497 - ver_test ${old} -lt 4.0.0-r1 || continue
498 -
499 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
500 - ewarn "to pdns-recursor, please update your runlevels accordingly."
501 -
502 - break
503 - done
504 -}