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