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/files/, net-dns/pdns/
Date: Thu, 31 Mar 2022 19:01:50
Message-Id: 1648753212.36c47a438b180ce752832f9fe4991a1c81df57bb.swegener@gentoo
1 commit: 36c47a438b180ce752832f9fe4991a1c81df57bb
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 18:58:39 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=36c47a43
7
8 net-dns/pdns: 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/Manifest | 5 -
15 net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch | 26 ----
16 net-dns/pdns/metadata.xml | 1 -
17 net-dns/pdns/pdns-4.4.1-r2.ebuild | 172 -------------------------
18 net-dns/pdns/pdns-4.4.2-r1.ebuild | 172 -------------------------
19 net-dns/pdns/pdns-4.5.2-r2.ebuild | 161 -----------------------
20 net-dns/pdns/pdns-4.5.2-r3.ebuild | 167 ------------------------
21 net-dns/pdns/pdns-4.5.3-r1.ebuild | 167 ------------------------
22 net-dns/pdns/pdns-4.6.0-r1.ebuild | 167 ------------------------
23 9 files changed, 1038 deletions(-)
24
25 diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
26 index 5c1f4274b505..e49930549115 100644
27 --- a/net-dns/pdns/Manifest
28 +++ b/net-dns/pdns/Manifest
29 @@ -1,6 +1 @@
30 -DIST pdns-4.4.1.tar.bz2 1276990 BLAKE2B 9771cf3273ab7e8ab4607a91563bfe0dc3f4532b5420861d816eacd2798d66de3a1eb824c191264f9106ec47bd6003d99108b8df678190055948779b9b3b070f SHA512 a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e
31 -DIST pdns-4.4.2.tar.bz2 1273410 BLAKE2B 71c6bdf9e6253babb69e221b7fbc9e500dc92cdd8ba14a1ec2b22986355663f66ddb72579dde42eb4532206263e74a874ea1ce23b3407a019c30b9ca10a2f04a SHA512 cf96a55179f19f75972bcd636b858c9d112662d0007b8895deeea7737f6f348d4318ecb5d2c2e77f66d1af82575a0f9a3207e16da1e70fc8bb316226f9252205
32 -DIST pdns-4.5.2.tar.bz2 1266572 BLAKE2B 9bd3d391e32c4040cc916003a45d47784ea309dd43a326919e2ca5415e1a1c542d5937cf1570951a4100a524a933aa9c0114ef8e28957f64acb6f7a7fa18e237 SHA512 0a183d8c0bb517799afa0f9382e3c06ad3c6e9c871b7912073a860364ca97dc121be2372080100677db10601c8ef96ad56b10787c02a9a9ede82f8a1cc904c6e
33 -DIST pdns-4.5.3.tar.bz2 1265929 BLAKE2B 49425dd65bc2ea1ceaba5349db828b8e7e0031f7327bc867235fe293a107cebae69f734731a21369616ce2a5121309490556ba7838a91a9cabb74a6f0d4e42c0 SHA512 9708f69ed045c801e5cbc5d62f57532ad461f1e9e4574fe2b5d5f72e8534587cfc28f55afaaa1a52f59d7feb8331a683b3f5db7e896d01002996321598550607
34 -DIST pdns-4.6.0.tar.bz2 1299604 BLAKE2B 832e2dfb2a66fafd40d096193aad30feae8b751585199e9e4c9092e6bc02f478b617be1997df4bff58ce0a9b69100654bfafc062c4bf96ffad230132de9ce5d0 SHA512 bbe64ad01fed0ea93cec90d47b2fe71228b9298999f14456dd4b5617929c0e370b5b7cb568deeb17cbf3fd42873bb8c986e655ddda8c7b93b4591361ddef2397
35 DIST pdns-4.6.1.tar.bz2 1315530 BLAKE2B 18676fac07667215babce3687d2ed9f108cad56a3a099907feac7eb86ba771bcd6319eb687ff826c5288590e6cdf3babe6c6c867a892d290351017c5bfb10198 SHA512 02ecb4e182ac4976f9d788b351b70988ec56cc034631f482e539ec9c420bba231c4597b2f76a4b511c5aaa58ee097ad9de4e4b29b191af65eaf5033269ae7087
36
37 diff --git a/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch b/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
38 deleted file mode 100644
39 index 0e440020541f..000000000000
40 --- a/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
41 +++ /dev/null
42 @@ -1,26 +0,0 @@
43 -From 42cec1e5948e828fb2b941107c4fce9ec847f9a8 Mon Sep 17 00:00:00 2001
44 -From: Peter van Dijk <peter.van.dijk@××××××××.com>
45 -Date: Fri, 23 Apr 2021 15:40:43 +0200
46 -Subject: [PATCH] boost 1.76 containers: use standard exceptions
47 -
48 -(cherry picked from commit 311f26839819062ced8697686372b6c6b2210bdf)
49 ----
50 - pdns/Makefile.am | 3 ++-
51 - pdns/dnsdistdist/Makefile.am | 2 +-
52 - pdns/recursordist/Makefile.am | 3 ++-
53 - 3 files changed, 5 insertions(+), 3 deletions(-)
54 -
55 -diff --git a/pdns/Makefile.am b/pdns/Makefile.am
56 -index 237a48f501f..f073f052600 100644
57 ---- a/pdns/Makefile.am
58 -+++ b/pdns/Makefile.am
59 -@@ -6,7 +6,8 @@ AM_CPPFLAGS += \
60 - $(LIBEDIT_CFLAGS) \
61 - $(LIBCRYPTO_INCLUDES) \
62 - $(SYSTEMD_CFLAGS) \
63 -- $(YAML_CFLAGS)
64 -+ $(YAML_CFLAGS) \
65 -+ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS
66 -
67 - AM_CXXFLAGS = \
68 - -DSYSCONFDIR=\"$(sysconfdir)\" \
69
70 diff --git a/net-dns/pdns/metadata.xml b/net-dns/pdns/metadata.xml
71 index ba9ffd40f318..aa39421d3798 100644
72 --- a/net-dns/pdns/metadata.xml
73 +++ b/net-dns/pdns/metadata.xml
74 @@ -13,7 +13,6 @@ standards documents. Furthermore, PowerDNS interfaces with almost any database.
75 <use>
76 <flag name="lua-records">Enable LUA records.</flag>
77 <flag name="mydns">Making it possible to use a MyDNS MySQL database with PowerDNS (not recommended for new deployments).</flag>
78 - <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag>
79 <flag name="remote">Use a generic socket or pipe as a backend (via JSON RPC requests).</flag>
80 <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
81 <flag name="tinydns">Use a TinyDNS CDB database as backend.</flag>
82
83 diff --git a/net-dns/pdns/pdns-4.4.1-r2.ebuild b/net-dns/pdns/pdns-4.4.1-r2.ebuild
84 deleted file mode 100644
85 index a6ae91957e48..000000000000
86 --- a/net-dns/pdns/pdns-4.4.1-r2.ebuild
87 +++ /dev/null
88 @@ -1,172 +0,0 @@
89 -# Copyright 1999-2022 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=7
93 -
94 -LUA_COMPAT=( lua5-{1..4} luajit )
95 -
96 -inherit autotools lua-single
97 -
98 -DESCRIPTION="The PowerDNS Daemon"
99 -HOMEPAGE="https://www.powerdns.com/"
100 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
101 -
102 -LICENSE="GPL-2"
103 -SLOT="0"
104 -KEYWORDS="amd64 x86"
105 -
106 -# other possible flags:
107 -# db2: we lack the dep
108 -# oracle: dito (need Oracle Client Libraries)
109 -# xdb: (almost) dead, surely not supported
110 -
111 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres protobuf remote sodium sqlite systemd tools tinydns test"
112 -RESTRICT="!test? ( test )"
113 -
114 -REQUIRED_USE="${LUA_REQUIRED_USE}
115 - mydns? ( mysql )"
116 -
117 -DEPEND="${LUA_DEPS}
118 - dev-libs/openssl:=
119 - >=dev-libs/boost-1.35:=
120 - lua-records? ( >=net-misc/curl-7.21.3 )
121 - mysql? ( dev-db/mysql-connector-c:= )
122 - postgres? ( dev-db/postgresql:= )
123 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
124 - sqlite? ( dev-db/sqlite:3 )
125 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
126 - sodium? ( dev-libs/libsodium:= )
127 - tinydns? ( >=dev-db/tinycdb-0.77 )
128 - protobuf? ( dev-libs/protobuf )"
129 -RDEPEND="${DEPEND}
130 - acct-user/pdns
131 - acct-group/pdns"
132 -
133 -BDEPEND="virtual/pkgconfig
134 - doc? ( app-doc/doxygen[dot] )"
135 -
136 -S="${WORKDIR}"/${P/_/-}
137 -
138 -PATCHES=(
139 - "${FILESDIR}"/${P}-boost-1.76.patch
140 -)
141 -
142 -src_prepare() {
143 - default
144 - eautoreconf
145 -}
146 -
147 -src_configure() {
148 - local dynmodules="pipe bind" # the default backends, always enabled
149 -
150 - #use db2 && dynmodules+=" db2"
151 - use ldap && dynmodules+=" ldap"
152 - use mydns && dynmodules+=" mydns"
153 - use mysql && dynmodules+=" gmysql"
154 - #use oracle && dynmodules+=" goracle oracle"
155 - use postgres && dynmodules+=" gpgsql"
156 - use remote && dynmodules+=" remote"
157 - use sqlite && dynmodules+=" gsqlite3"
158 - use tinydns && dynmodules+=" tinydns"
159 - use geoip && dynmodules+=" geoip"
160 - #use xdb && dynmodules+=" xdb"
161 -
162 - econf \
163 - --disable-static \
164 - --sysconfdir=/etc/powerdns \
165 - --libdir=/usr/$(get_libdir)/powerdns \
166 - --with-service-user=pdns \
167 - --with-service-group=pdns \
168 - --with-modules= \
169 - --with-dynmodules="${dynmodules}" \
170 - --with-mysql-lib=/usr/$(get_libdir) \
171 - --with-lua="${ELUA}" \
172 - $(use_enable debug verbose-logging) \
173 - $(use_enable lua-records) \
174 - $(use_enable test unit-tests) \
175 - $(use_enable tools) \
176 - $(use_enable systemd) \
177 - $(use_with sodium libsodium) \
178 - $(use_with protobuf) \
179 - ${myconf}
180 -}
181 -
182 -src_compile() {
183 - default
184 - use doc && emake -C codedocs codedocs
185 -}
186 -
187 -src_install() {
188 - default
189 -
190 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
191 -
192 - fperms 0700 /etc/powerdns
193 - fperms 0600 /etc/powerdns/pdns.conf
194 -
195 - # set defaults: setuid=pdns, setgid=pdns
196 - sed -i \
197 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
198 - "${D}"/etc/powerdns/pdns.conf
199 -
200 - newinitd "${FILESDIR}"/pdns-r1 pdns
201 -
202 - keepdir /var/empty
203 -
204 - if use doc; then
205 - docinto html
206 - dodoc -r codedocs/html/.
207 - fi
208 -
209 - # Install development headers
210 - insinto /usr/include/pdns
211 - doins pdns/*.hh
212 - insinto /usr/include/pdns/backends/gsql
213 - doins pdns/backends/gsql/*.hh
214 -
215 - if use ldap ; then
216 - insinto /etc/openldap/schema
217 - doins "${FILESDIR}"/dnsdomain2.schema
218 - fi
219 -
220 - find "${D}" -name '*.la' -delete || die
221 -}
222 -
223 -pkg_postinst() {
224 - elog "PowerDNS provides multiple instances support. You can create more instances"
225 - elog "by symlinking the pdns init script to another name."
226 - elog
227 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
228 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
229 -
230 - local old
231 - for old in ${REPLACING_VERSIONS}; do
232 - ver_test ${old} -lt 3.2 || continue
233 -
234 - echo
235 - ewarn "To fix a security bug (bug #458018) had the following"
236 - ewarn "files/directories the world-readable bit removed (if set):"
237 - ewarn " ${EPREFIX}/etc/powerdns"
238 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
239 - ewarn "Check if this is correct for your setup"
240 - ewarn "This is a one-time change and will not happen on subsequent updates."
241 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
242 -
243 - break
244 - done
245 -
246 - if use postgres; then
247 - for old in ${REPLACING_VERSIONS}; do
248 - ver_test ${old} -lt 4.1.11-r1 || continue
249 -
250 - echo
251 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
252 - ewarn "This security fix needs to be applied manually to the database schema."
253 - ewarn "Please refer to the official security advisory for more information:"
254 - ewarn
255 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
256 -
257 - break
258 - done
259 - fi
260 -}
261
262 diff --git a/net-dns/pdns/pdns-4.4.2-r1.ebuild b/net-dns/pdns/pdns-4.4.2-r1.ebuild
263 deleted file mode 100644
264 index 235248bb3944..000000000000
265 --- a/net-dns/pdns/pdns-4.4.2-r1.ebuild
266 +++ /dev/null
267 @@ -1,172 +0,0 @@
268 -# Copyright 1999-2022 Gentoo Authors
269 -# Distributed under the terms of the GNU General Public License v2
270 -
271 -EAPI=7
272 -
273 -LUA_COMPAT=( lua5-{1..4} luajit )
274 -
275 -inherit autotools lua-single
276 -
277 -DESCRIPTION="The PowerDNS Daemon"
278 -HOMEPAGE="https://www.powerdns.com/"
279 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
280 -
281 -LICENSE="GPL-2"
282 -SLOT="0"
283 -KEYWORDS="~amd64 ~x86"
284 -
285 -# other possible flags:
286 -# db2: we lack the dep
287 -# oracle: dito (need Oracle Client Libraries)
288 -# xdb: (almost) dead, surely not supported
289 -
290 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres protobuf remote sodium sqlite systemd tools tinydns test"
291 -RESTRICT="!test? ( test )"
292 -
293 -REQUIRED_USE="${LUA_REQUIRED_USE}
294 - mydns? ( mysql )"
295 -
296 -DEPEND="${LUA_DEPS}
297 - dev-libs/openssl:=
298 - >=dev-libs/boost-1.35:=
299 - lua-records? ( >=net-misc/curl-7.21.3 )
300 - mysql? ( dev-db/mysql-connector-c:= )
301 - postgres? ( dev-db/postgresql:= )
302 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
303 - sqlite? ( dev-db/sqlite:3 )
304 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
305 - sodium? ( dev-libs/libsodium:= )
306 - tinydns? ( >=dev-db/tinycdb-0.77 )
307 - protobuf? ( dev-libs/protobuf )"
308 -RDEPEND="${DEPEND}
309 - acct-user/pdns
310 - acct-group/pdns"
311 -
312 -BDEPEND="virtual/pkgconfig
313 - doc? ( app-doc/doxygen[dot] )"
314 -
315 -S="${WORKDIR}"/${P/_/-}
316 -
317 -PATCHES=(
318 - "${FILESDIR}"/${PN}-4.4.1-boost-1.76.patch
319 -)
320 -
321 -src_prepare() {
322 - default
323 - eautoreconf
324 -}
325 -
326 -src_configure() {
327 - local dynmodules="pipe bind" # the default backends, always enabled
328 -
329 - #use db2 && dynmodules+=" db2"
330 - use ldap && dynmodules+=" ldap"
331 - use mydns && dynmodules+=" mydns"
332 - use mysql && dynmodules+=" gmysql"
333 - #use oracle && dynmodules+=" goracle oracle"
334 - use postgres && dynmodules+=" gpgsql"
335 - use remote && dynmodules+=" remote"
336 - use sqlite && dynmodules+=" gsqlite3"
337 - use tinydns && dynmodules+=" tinydns"
338 - use geoip && dynmodules+=" geoip"
339 - #use xdb && dynmodules+=" xdb"
340 -
341 - econf \
342 - --disable-static \
343 - --sysconfdir=/etc/powerdns \
344 - --libdir=/usr/$(get_libdir)/powerdns \
345 - --with-service-user=pdns \
346 - --with-service-group=pdns \
347 - --with-modules= \
348 - --with-dynmodules="${dynmodules}" \
349 - --with-mysql-lib=/usr/$(get_libdir) \
350 - --with-lua="${ELUA}" \
351 - $(use_enable debug verbose-logging) \
352 - $(use_enable lua-records) \
353 - $(use_enable test unit-tests) \
354 - $(use_enable tools) \
355 - $(use_enable systemd) \
356 - $(use_with sodium libsodium) \
357 - $(use_with protobuf) \
358 - ${myconf}
359 -}
360 -
361 -src_compile() {
362 - default
363 - use doc && emake -C codedocs codedocs
364 -}
365 -
366 -src_install() {
367 - default
368 -
369 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
370 -
371 - fperms 0700 /etc/powerdns
372 - fperms 0600 /etc/powerdns/pdns.conf
373 -
374 - # set defaults: setuid=pdns, setgid=pdns
375 - sed -i \
376 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
377 - "${D}"/etc/powerdns/pdns.conf
378 -
379 - newinitd "${FILESDIR}"/pdns-r1 pdns
380 -
381 - keepdir /var/empty
382 -
383 - if use doc; then
384 - docinto html
385 - dodoc -r codedocs/html/.
386 - fi
387 -
388 - # Install development headers
389 - insinto /usr/include/pdns
390 - doins pdns/*.hh
391 - insinto /usr/include/pdns/backends/gsql
392 - doins pdns/backends/gsql/*.hh
393 -
394 - if use ldap ; then
395 - insinto /etc/openldap/schema
396 - doins "${FILESDIR}"/dnsdomain2.schema
397 - fi
398 -
399 - find "${D}" -name '*.la' -delete || die
400 -}
401 -
402 -pkg_postinst() {
403 - elog "PowerDNS provides multiple instances support. You can create more instances"
404 - elog "by symlinking the pdns init script to another name."
405 - elog
406 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
407 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
408 -
409 - local old
410 - for old in ${REPLACING_VERSIONS}; do
411 - ver_test ${old} -lt 3.2 || continue
412 -
413 - echo
414 - ewarn "To fix a security bug (bug #458018) had the following"
415 - ewarn "files/directories the world-readable bit removed (if set):"
416 - ewarn " ${EPREFIX}/etc/powerdns"
417 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
418 - ewarn "Check if this is correct for your setup"
419 - ewarn "This is a one-time change and will not happen on subsequent updates."
420 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
421 -
422 - break
423 - done
424 -
425 - if use postgres; then
426 - for old in ${REPLACING_VERSIONS}; do
427 - ver_test ${old} -lt 4.1.11-r1 || continue
428 -
429 - echo
430 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
431 - ewarn "This security fix needs to be applied manually to the database schema."
432 - ewarn "Please refer to the official security advisory for more information:"
433 - ewarn
434 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
435 -
436 - break
437 - done
438 - fi
439 -}
440
441 diff --git a/net-dns/pdns/pdns-4.5.2-r2.ebuild b/net-dns/pdns/pdns-4.5.2-r2.ebuild
442 deleted file mode 100644
443 index a3efc10cb356..000000000000
444 --- a/net-dns/pdns/pdns-4.5.2-r2.ebuild
445 +++ /dev/null
446 @@ -1,161 +0,0 @@
447 -# Copyright 1999-2022 Gentoo Authors
448 -# Distributed under the terms of the GNU General Public License v2
449 -
450 -EAPI=7
451 -
452 -LUA_COMPAT=( lua5-{1..4} luajit )
453 -
454 -inherit lua-single
455 -
456 -DESCRIPTION="The PowerDNS Daemon"
457 -HOMEPAGE="https://www.powerdns.com/"
458 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
459 -
460 -LICENSE="GPL-2"
461 -SLOT="0"
462 -KEYWORDS="amd64"
463 -
464 -# other possible flags:
465 -# db2: we lack the dep
466 -# oracle: dito (need Oracle Client Libraries)
467 -# xdb: (almost) dead, surely not supported
468 -
469 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test"
470 -RESTRICT="!test? ( test )"
471 -
472 -REQUIRED_USE="${LUA_REQUIRED_USE}
473 - mydns? ( mysql )"
474 -
475 -DEPEND="${LUA_DEPS}
476 - dev-libs/openssl:=
477 - >=dev-libs/boost-1.35:=
478 - lua-records? ( >=net-misc/curl-7.21.3 )
479 - mysql? ( dev-db/mysql-connector-c:= )
480 - postgres? ( dev-db/postgresql:= )
481 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
482 - sqlite? ( dev-db/sqlite:3 )
483 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
484 - sodium? ( dev-libs/libsodium:= )
485 - tinydns? ( >=dev-db/tinycdb-0.77 )"
486 -RDEPEND="${DEPEND}
487 - acct-user/pdns
488 - acct-group/pdns"
489 -
490 -BDEPEND="virtual/pkgconfig
491 - doc? ( app-doc/doxygen[dot] )"
492 -
493 -S="${WORKDIR}"/${P/_/-}
494 -
495 -src_configure() {
496 - local dynmodules="pipe bind" # the default backends, always enabled
497 -
498 - #use db2 && dynmodules+=" db2"
499 - use ldap && dynmodules+=" ldap"
500 - use mydns && dynmodules+=" mydns"
501 - use mysql && dynmodules+=" gmysql"
502 - #use oracle && dynmodules+=" goracle oracle"
503 - use postgres && dynmodules+=" gpgsql"
504 - use remote && dynmodules+=" remote"
505 - use sqlite && dynmodules+=" gsqlite3"
506 - use tinydns && dynmodules+=" tinydns"
507 - use geoip && dynmodules+=" geoip"
508 - #use xdb && dynmodules+=" xdb"
509 -
510 - econf \
511 - --disable-static \
512 - --sysconfdir=/etc/powerdns \
513 - --libdir=/usr/$(get_libdir)/powerdns \
514 - --with-service-user=pdns \
515 - --with-service-group=pdns \
516 - --with-modules= \
517 - --with-dynmodules="${dynmodules}" \
518 - --with-mysql-lib=/usr/$(get_libdir) \
519 - --with-lua="${ELUA}" \
520 - $(use_enable debug verbose-logging) \
521 - $(use_enable lua-records) \
522 - $(use_enable test unit-tests) \
523 - $(use_enable tools) \
524 - $(use_enable systemd) \
525 - $(use_with sodium libsodium) \
526 - ${myconf}
527 -}
528 -
529 -src_compile() {
530 - default
531 - use doc && emake -C codedocs codedocs
532 -}
533 -
534 -src_install() {
535 - default
536 -
537 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
538 -
539 - fperms 0700 /etc/powerdns
540 - fperms 0600 /etc/powerdns/pdns.conf
541 -
542 - # set defaults: setuid=pdns, setgid=pdns
543 - sed -i \
544 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
545 - "${D}"/etc/powerdns/pdns.conf
546 -
547 - newinitd "${FILESDIR}"/pdns-r1 pdns
548 -
549 - keepdir /var/empty
550 -
551 - if use doc; then
552 - docinto html
553 - dodoc -r codedocs/html/.
554 - fi
555 -
556 - # Install development headers
557 - insinto /usr/include/pdns
558 - doins pdns/*.hh
559 - insinto /usr/include/pdns/backends/gsql
560 - doins pdns/backends/gsql/*.hh
561 -
562 - if use ldap ; then
563 - insinto /etc/openldap/schema
564 - doins "${FILESDIR}"/dnsdomain2.schema
565 - fi
566 -
567 - find "${D}" -name '*.la' -delete || die
568 -}
569 -
570 -pkg_postinst() {
571 - elog "PowerDNS provides multiple instances support. You can create more instances"
572 - elog "by symlinking the pdns init script to another name."
573 - elog
574 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
575 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
576 -
577 - local old
578 - for old in ${REPLACING_VERSIONS}; do
579 - ver_test ${old} -lt 3.2 || continue
580 -
581 - echo
582 - ewarn "To fix a security bug (bug #458018) had the following"
583 - ewarn "files/directories the world-readable bit removed (if set):"
584 - ewarn " ${EPREFIX}/etc/powerdns"
585 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
586 - ewarn "Check if this is correct for your setup"
587 - ewarn "This is a one-time change and will not happen on subsequent updates."
588 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
589 -
590 - break
591 - done
592 -
593 - if use postgres; then
594 - for old in ${REPLACING_VERSIONS}; do
595 - ver_test ${old} -lt 4.1.11-r1 || continue
596 -
597 - echo
598 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
599 - ewarn "This security fix needs to be applied manually to the database schema."
600 - ewarn "Please refer to the official security advisory for more information:"
601 - ewarn
602 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
603 -
604 - break
605 - done
606 - fi
607 -}
608
609 diff --git a/net-dns/pdns/pdns-4.5.2-r3.ebuild b/net-dns/pdns/pdns-4.5.2-r3.ebuild
610 deleted file mode 100644
611 index ed0d736ca687..000000000000
612 --- a/net-dns/pdns/pdns-4.5.2-r3.ebuild
613 +++ /dev/null
614 @@ -1,167 +0,0 @@
615 -# Copyright 1999-2022 Gentoo Authors
616 -# Distributed under the terms of the GNU General Public License v2
617 -
618 -EAPI=7
619 -
620 -LUA_COMPAT=( lua5-{1..4} luajit )
621 -
622 -inherit flag-o-matic lua-single
623 -
624 -DESCRIPTION="The PowerDNS Daemon"
625 -HOMEPAGE="https://www.powerdns.com/"
626 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
627 -
628 -LICENSE="GPL-2"
629 -SLOT="0"
630 -KEYWORDS="~amd64 ~x86"
631 -
632 -# other possible flags:
633 -# db2: we lack the dep
634 -# oracle: dito (need Oracle Client Libraries)
635 -# xdb: (almost) dead, surely not supported
636 -
637 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test"
638 -RESTRICT="!test? ( test )"
639 -
640 -REQUIRED_USE="${LUA_REQUIRED_USE}
641 - mydns? ( mysql )"
642 -
643 -DEPEND="${LUA_DEPS}
644 - dev-libs/openssl:=
645 - >=dev-libs/boost-1.35:=
646 - lua-records? ( >=net-misc/curl-7.21.3 )
647 - mysql? ( dev-db/mysql-connector-c:= )
648 - postgres? ( dev-db/postgresql:= )
649 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
650 - sqlite? ( dev-db/sqlite:3 )
651 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
652 - sodium? ( dev-libs/libsodium:= )
653 - tinydns? ( >=dev-db/tinycdb-0.77 )"
654 -RDEPEND="${DEPEND}
655 - acct-user/pdns
656 - acct-group/pdns"
657 -
658 -BDEPEND="virtual/pkgconfig
659 - doc? ( app-doc/doxygen[dot] )"
660 -
661 -S="${WORKDIR}"/${P/_/-}
662 -
663 -pkg_setup() {
664 - lua-single_pkg_setup
665 - append-lfs-flags
666 - append-cppflags -D_TIME_BITS=64
667 -}
668 -
669 -src_configure() {
670 - local dynmodules="pipe bind" # the default backends, always enabled
671 -
672 - #use db2 && dynmodules+=" db2"
673 - use ldap && dynmodules+=" ldap"
674 - use mydns && dynmodules+=" mydns"
675 - use mysql && dynmodules+=" gmysql"
676 - #use oracle && dynmodules+=" goracle oracle"
677 - use postgres && dynmodules+=" gpgsql"
678 - use remote && dynmodules+=" remote"
679 - use sqlite && dynmodules+=" gsqlite3"
680 - use tinydns && dynmodules+=" tinydns"
681 - use geoip && dynmodules+=" geoip"
682 - #use xdb && dynmodules+=" xdb"
683 -
684 - econf \
685 - --disable-static \
686 - --sysconfdir=/etc/powerdns \
687 - --libdir=/usr/$(get_libdir)/powerdns \
688 - --with-service-user=pdns \
689 - --with-service-group=pdns \
690 - --with-modules= \
691 - --with-dynmodules="${dynmodules}" \
692 - --with-mysql-lib=/usr/$(get_libdir) \
693 - --with-lua="${ELUA}" \
694 - $(use_enable debug verbose-logging) \
695 - $(use_enable lua-records) \
696 - $(use_enable test unit-tests) \
697 - $(use_enable tools) \
698 - $(use_enable systemd) \
699 - $(use_with sodium libsodium) \
700 - ${myconf}
701 -}
702 -
703 -src_compile() {
704 - default
705 - use doc && emake -C codedocs codedocs
706 -}
707 -
708 -src_install() {
709 - default
710 -
711 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
712 -
713 - fperms 0700 /etc/powerdns
714 - fperms 0600 /etc/powerdns/pdns.conf
715 -
716 - # set defaults: setuid=pdns, setgid=pdns
717 - sed -i \
718 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
719 - "${D}"/etc/powerdns/pdns.conf
720 -
721 - newinitd "${FILESDIR}"/pdns-r1 pdns
722 -
723 - keepdir /var/empty
724 -
725 - if use doc; then
726 - docinto html
727 - dodoc -r codedocs/html/.
728 - fi
729 -
730 - # Install development headers
731 - insinto /usr/include/pdns
732 - doins pdns/*.hh
733 - insinto /usr/include/pdns/backends/gsql
734 - doins pdns/backends/gsql/*.hh
735 -
736 - if use ldap ; then
737 - insinto /etc/openldap/schema
738 - doins "${FILESDIR}"/dnsdomain2.schema
739 - fi
740 -
741 - find "${D}" -name '*.la' -delete || die
742 -}
743 -
744 -pkg_postinst() {
745 - elog "PowerDNS provides multiple instances support. You can create more instances"
746 - elog "by symlinking the pdns init script to another name."
747 - elog
748 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
749 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
750 -
751 - local old
752 - for old in ${REPLACING_VERSIONS}; do
753 - ver_test ${old} -lt 3.2 || continue
754 -
755 - echo
756 - ewarn "To fix a security bug (bug #458018) had the following"
757 - ewarn "files/directories the world-readable bit removed (if set):"
758 - ewarn " ${EPREFIX}/etc/powerdns"
759 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
760 - ewarn "Check if this is correct for your setup"
761 - ewarn "This is a one-time change and will not happen on subsequent updates."
762 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
763 -
764 - break
765 - done
766 -
767 - if use postgres; then
768 - for old in ${REPLACING_VERSIONS}; do
769 - ver_test ${old} -lt 4.1.11-r1 || continue
770 -
771 - echo
772 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
773 - ewarn "This security fix needs to be applied manually to the database schema."
774 - ewarn "Please refer to the official security advisory for more information:"
775 - ewarn
776 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
777 -
778 - break
779 - done
780 - fi
781 -}
782
783 diff --git a/net-dns/pdns/pdns-4.5.3-r1.ebuild b/net-dns/pdns/pdns-4.5.3-r1.ebuild
784 deleted file mode 100644
785 index ed0d736ca687..000000000000
786 --- a/net-dns/pdns/pdns-4.5.3-r1.ebuild
787 +++ /dev/null
788 @@ -1,167 +0,0 @@
789 -# Copyright 1999-2022 Gentoo Authors
790 -# Distributed under the terms of the GNU General Public License v2
791 -
792 -EAPI=7
793 -
794 -LUA_COMPAT=( lua5-{1..4} luajit )
795 -
796 -inherit flag-o-matic lua-single
797 -
798 -DESCRIPTION="The PowerDNS Daemon"
799 -HOMEPAGE="https://www.powerdns.com/"
800 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
801 -
802 -LICENSE="GPL-2"
803 -SLOT="0"
804 -KEYWORDS="~amd64 ~x86"
805 -
806 -# other possible flags:
807 -# db2: we lack the dep
808 -# oracle: dito (need Oracle Client Libraries)
809 -# xdb: (almost) dead, surely not supported
810 -
811 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test"
812 -RESTRICT="!test? ( test )"
813 -
814 -REQUIRED_USE="${LUA_REQUIRED_USE}
815 - mydns? ( mysql )"
816 -
817 -DEPEND="${LUA_DEPS}
818 - dev-libs/openssl:=
819 - >=dev-libs/boost-1.35:=
820 - lua-records? ( >=net-misc/curl-7.21.3 )
821 - mysql? ( dev-db/mysql-connector-c:= )
822 - postgres? ( dev-db/postgresql:= )
823 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
824 - sqlite? ( dev-db/sqlite:3 )
825 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
826 - sodium? ( dev-libs/libsodium:= )
827 - tinydns? ( >=dev-db/tinycdb-0.77 )"
828 -RDEPEND="${DEPEND}
829 - acct-user/pdns
830 - acct-group/pdns"
831 -
832 -BDEPEND="virtual/pkgconfig
833 - doc? ( app-doc/doxygen[dot] )"
834 -
835 -S="${WORKDIR}"/${P/_/-}
836 -
837 -pkg_setup() {
838 - lua-single_pkg_setup
839 - append-lfs-flags
840 - append-cppflags -D_TIME_BITS=64
841 -}
842 -
843 -src_configure() {
844 - local dynmodules="pipe bind" # the default backends, always enabled
845 -
846 - #use db2 && dynmodules+=" db2"
847 - use ldap && dynmodules+=" ldap"
848 - use mydns && dynmodules+=" mydns"
849 - use mysql && dynmodules+=" gmysql"
850 - #use oracle && dynmodules+=" goracle oracle"
851 - use postgres && dynmodules+=" gpgsql"
852 - use remote && dynmodules+=" remote"
853 - use sqlite && dynmodules+=" gsqlite3"
854 - use tinydns && dynmodules+=" tinydns"
855 - use geoip && dynmodules+=" geoip"
856 - #use xdb && dynmodules+=" xdb"
857 -
858 - econf \
859 - --disable-static \
860 - --sysconfdir=/etc/powerdns \
861 - --libdir=/usr/$(get_libdir)/powerdns \
862 - --with-service-user=pdns \
863 - --with-service-group=pdns \
864 - --with-modules= \
865 - --with-dynmodules="${dynmodules}" \
866 - --with-mysql-lib=/usr/$(get_libdir) \
867 - --with-lua="${ELUA}" \
868 - $(use_enable debug verbose-logging) \
869 - $(use_enable lua-records) \
870 - $(use_enable test unit-tests) \
871 - $(use_enable tools) \
872 - $(use_enable systemd) \
873 - $(use_with sodium libsodium) \
874 - ${myconf}
875 -}
876 -
877 -src_compile() {
878 - default
879 - use doc && emake -C codedocs codedocs
880 -}
881 -
882 -src_install() {
883 - default
884 -
885 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
886 -
887 - fperms 0700 /etc/powerdns
888 - fperms 0600 /etc/powerdns/pdns.conf
889 -
890 - # set defaults: setuid=pdns, setgid=pdns
891 - sed -i \
892 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
893 - "${D}"/etc/powerdns/pdns.conf
894 -
895 - newinitd "${FILESDIR}"/pdns-r1 pdns
896 -
897 - keepdir /var/empty
898 -
899 - if use doc; then
900 - docinto html
901 - dodoc -r codedocs/html/.
902 - fi
903 -
904 - # Install development headers
905 - insinto /usr/include/pdns
906 - doins pdns/*.hh
907 - insinto /usr/include/pdns/backends/gsql
908 - doins pdns/backends/gsql/*.hh
909 -
910 - if use ldap ; then
911 - insinto /etc/openldap/schema
912 - doins "${FILESDIR}"/dnsdomain2.schema
913 - fi
914 -
915 - find "${D}" -name '*.la' -delete || die
916 -}
917 -
918 -pkg_postinst() {
919 - elog "PowerDNS provides multiple instances support. You can create more instances"
920 - elog "by symlinking the pdns init script to another name."
921 - elog
922 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
923 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
924 -
925 - local old
926 - for old in ${REPLACING_VERSIONS}; do
927 - ver_test ${old} -lt 3.2 || continue
928 -
929 - echo
930 - ewarn "To fix a security bug (bug #458018) had the following"
931 - ewarn "files/directories the world-readable bit removed (if set):"
932 - ewarn " ${EPREFIX}/etc/powerdns"
933 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
934 - ewarn "Check if this is correct for your setup"
935 - ewarn "This is a one-time change and will not happen on subsequent updates."
936 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
937 -
938 - break
939 - done
940 -
941 - if use postgres; then
942 - for old in ${REPLACING_VERSIONS}; do
943 - ver_test ${old} -lt 4.1.11-r1 || continue
944 -
945 - echo
946 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
947 - ewarn "This security fix needs to be applied manually to the database schema."
948 - ewarn "Please refer to the official security advisory for more information:"
949 - ewarn
950 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
951 -
952 - break
953 - done
954 - fi
955 -}
956
957 diff --git a/net-dns/pdns/pdns-4.6.0-r1.ebuild b/net-dns/pdns/pdns-4.6.0-r1.ebuild
958 deleted file mode 100644
959 index ed0d736ca687..000000000000
960 --- a/net-dns/pdns/pdns-4.6.0-r1.ebuild
961 +++ /dev/null
962 @@ -1,167 +0,0 @@
963 -# Copyright 1999-2022 Gentoo Authors
964 -# Distributed under the terms of the GNU General Public License v2
965 -
966 -EAPI=7
967 -
968 -LUA_COMPAT=( lua5-{1..4} luajit )
969 -
970 -inherit flag-o-matic lua-single
971 -
972 -DESCRIPTION="The PowerDNS Daemon"
973 -HOMEPAGE="https://www.powerdns.com/"
974 -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
975 -
976 -LICENSE="GPL-2"
977 -SLOT="0"
978 -KEYWORDS="~amd64 ~x86"
979 -
980 -# other possible flags:
981 -# db2: we lack the dep
982 -# oracle: dito (need Oracle Client Libraries)
983 -# xdb: (almost) dead, surely not supported
984 -
985 -IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium sqlite systemd tools tinydns test"
986 -RESTRICT="!test? ( test )"
987 -
988 -REQUIRED_USE="${LUA_REQUIRED_USE}
989 - mydns? ( mysql )"
990 -
991 -DEPEND="${LUA_DEPS}
992 - dev-libs/openssl:=
993 - >=dev-libs/boost-1.35:=
994 - lua-records? ( >=net-misc/curl-7.21.3 )
995 - mysql? ( dev-db/mysql-connector-c:= )
996 - postgres? ( dev-db/postgresql:= )
997 - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
998 - sqlite? ( dev-db/sqlite:3 )
999 - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
1000 - sodium? ( dev-libs/libsodium:= )
1001 - tinydns? ( >=dev-db/tinycdb-0.77 )"
1002 -RDEPEND="${DEPEND}
1003 - acct-user/pdns
1004 - acct-group/pdns"
1005 -
1006 -BDEPEND="virtual/pkgconfig
1007 - doc? ( app-doc/doxygen[dot] )"
1008 -
1009 -S="${WORKDIR}"/${P/_/-}
1010 -
1011 -pkg_setup() {
1012 - lua-single_pkg_setup
1013 - append-lfs-flags
1014 - append-cppflags -D_TIME_BITS=64
1015 -}
1016 -
1017 -src_configure() {
1018 - local dynmodules="pipe bind" # the default backends, always enabled
1019 -
1020 - #use db2 && dynmodules+=" db2"
1021 - use ldap && dynmodules+=" ldap"
1022 - use mydns && dynmodules+=" mydns"
1023 - use mysql && dynmodules+=" gmysql"
1024 - #use oracle && dynmodules+=" goracle oracle"
1025 - use postgres && dynmodules+=" gpgsql"
1026 - use remote && dynmodules+=" remote"
1027 - use sqlite && dynmodules+=" gsqlite3"
1028 - use tinydns && dynmodules+=" tinydns"
1029 - use geoip && dynmodules+=" geoip"
1030 - #use xdb && dynmodules+=" xdb"
1031 -
1032 - econf \
1033 - --disable-static \
1034 - --sysconfdir=/etc/powerdns \
1035 - --libdir=/usr/$(get_libdir)/powerdns \
1036 - --with-service-user=pdns \
1037 - --with-service-group=pdns \
1038 - --with-modules= \
1039 - --with-dynmodules="${dynmodules}" \
1040 - --with-mysql-lib=/usr/$(get_libdir) \
1041 - --with-lua="${ELUA}" \
1042 - $(use_enable debug verbose-logging) \
1043 - $(use_enable lua-records) \
1044 - $(use_enable test unit-tests) \
1045 - $(use_enable tools) \
1046 - $(use_enable systemd) \
1047 - $(use_with sodium libsodium) \
1048 - ${myconf}
1049 -}
1050 -
1051 -src_compile() {
1052 - default
1053 - use doc && emake -C codedocs codedocs
1054 -}
1055 -
1056 -src_install() {
1057 - default
1058 -
1059 - mv "${D}"/etc/powerdns/pdns.conf{-dist,}
1060 -
1061 - fperms 0700 /etc/powerdns
1062 - fperms 0600 /etc/powerdns/pdns.conf
1063 -
1064 - # set defaults: setuid=pdns, setgid=pdns
1065 - sed -i \
1066 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
1067 - "${D}"/etc/powerdns/pdns.conf
1068 -
1069 - newinitd "${FILESDIR}"/pdns-r1 pdns
1070 -
1071 - keepdir /var/empty
1072 -
1073 - if use doc; then
1074 - docinto html
1075 - dodoc -r codedocs/html/.
1076 - fi
1077 -
1078 - # Install development headers
1079 - insinto /usr/include/pdns
1080 - doins pdns/*.hh
1081 - insinto /usr/include/pdns/backends/gsql
1082 - doins pdns/backends/gsql/*.hh
1083 -
1084 - if use ldap ; then
1085 - insinto /etc/openldap/schema
1086 - doins "${FILESDIR}"/dnsdomain2.schema
1087 - fi
1088 -
1089 - find "${D}" -name '*.la' -delete || die
1090 -}
1091 -
1092 -pkg_postinst() {
1093 - elog "PowerDNS provides multiple instances support. You can create more instances"
1094 - elog "by symlinking the pdns init script to another name."
1095 - elog
1096 - elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
1097 - elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
1098 -
1099 - local old
1100 - for old in ${REPLACING_VERSIONS}; do
1101 - ver_test ${old} -lt 3.2 || continue
1102 -
1103 - echo
1104 - ewarn "To fix a security bug (bug #458018) had the following"
1105 - ewarn "files/directories the world-readable bit removed (if set):"
1106 - ewarn " ${EPREFIX}/etc/powerdns"
1107 - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf"
1108 - ewarn "Check if this is correct for your setup"
1109 - ewarn "This is a one-time change and will not happen on subsequent updates."
1110 - chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
1111 -
1112 - break
1113 - done
1114 -
1115 - if use postgres; then
1116 - for old in ${REPLACING_VERSIONS}; do
1117 - ver_test ${old} -lt 4.1.11-r1 || continue
1118 -
1119 - echo
1120 - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend."
1121 - ewarn "This security fix needs to be applied manually to the database schema."
1122 - ewarn "Please refer to the official security advisory for more information:"
1123 - ewarn
1124 - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html"
1125 -
1126 - break
1127 - done
1128 - fi
1129 -}