commit:     36c47a438b180ce752832f9fe4991a1c81df57bb
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 18:58:39 2022 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 19:00:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c47a43

net-dns/pdns: Cleanup

Bug: https://bugs.gentoo.org/836006
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 net-dns/pdns/Manifest                          |   5 -
 net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch |  26 ----
 net-dns/pdns/metadata.xml                      |   1 -
 net-dns/pdns/pdns-4.4.1-r2.ebuild              | 172 -------------------------
 net-dns/pdns/pdns-4.4.2-r1.ebuild              | 172 -------------------------
 net-dns/pdns/pdns-4.5.2-r2.ebuild              | 161 -----------------------
 net-dns/pdns/pdns-4.5.2-r3.ebuild              | 167 ------------------------
 net-dns/pdns/pdns-4.5.3-r1.ebuild              | 167 ------------------------
 net-dns/pdns/pdns-4.6.0-r1.ebuild              | 167 ------------------------
 9 files changed, 1038 deletions(-)

diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index 5c1f4274b505..e49930549115 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,6 +1 @@
-DIST pdns-4.4.1.tar.bz2 1276990 BLAKE2B 
9771cf3273ab7e8ab4607a91563bfe0dc3f4532b5420861d816eacd2798d66de3a1eb824c191264f9106ec47bd6003d99108b8df678190055948779b9b3b070f
 SHA512 
a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e
-DIST pdns-4.4.2.tar.bz2 1273410 BLAKE2B 
71c6bdf9e6253babb69e221b7fbc9e500dc92cdd8ba14a1ec2b22986355663f66ddb72579dde42eb4532206263e74a874ea1ce23b3407a019c30b9ca10a2f04a
 SHA512 
cf96a55179f19f75972bcd636b858c9d112662d0007b8895deeea7737f6f348d4318ecb5d2c2e77f66d1af82575a0f9a3207e16da1e70fc8bb316226f9252205
-DIST pdns-4.5.2.tar.bz2 1266572 BLAKE2B 
9bd3d391e32c4040cc916003a45d47784ea309dd43a326919e2ca5415e1a1c542d5937cf1570951a4100a524a933aa9c0114ef8e28957f64acb6f7a7fa18e237
 SHA512 
0a183d8c0bb517799afa0f9382e3c06ad3c6e9c871b7912073a860364ca97dc121be2372080100677db10601c8ef96ad56b10787c02a9a9ede82f8a1cc904c6e
-DIST pdns-4.5.3.tar.bz2 1265929 BLAKE2B 
49425dd65bc2ea1ceaba5349db828b8e7e0031f7327bc867235fe293a107cebae69f734731a21369616ce2a5121309490556ba7838a91a9cabb74a6f0d4e42c0
 SHA512 
9708f69ed045c801e5cbc5d62f57532ad461f1e9e4574fe2b5d5f72e8534587cfc28f55afaaa1a52f59d7feb8331a683b3f5db7e896d01002996321598550607
-DIST pdns-4.6.0.tar.bz2 1299604 BLAKE2B 
832e2dfb2a66fafd40d096193aad30feae8b751585199e9e4c9092e6bc02f478b617be1997df4bff58ce0a9b69100654bfafc062c4bf96ffad230132de9ce5d0
 SHA512 
bbe64ad01fed0ea93cec90d47b2fe71228b9298999f14456dd4b5617929c0e370b5b7cb568deeb17cbf3fd42873bb8c986e655ddda8c7b93b4591361ddef2397
 DIST pdns-4.6.1.tar.bz2 1315530 BLAKE2B 
18676fac07667215babce3687d2ed9f108cad56a3a099907feac7eb86ba771bcd6319eb687ff826c5288590e6cdf3babe6c6c867a892d290351017c5bfb10198
 SHA512 
02ecb4e182ac4976f9d788b351b70988ec56cc034631f482e539ec9c420bba231c4597b2f76a4b511c5aaa58ee097ad9de4e4b29b191af65eaf5033269ae7087

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
deleted file mode 100644
index 0e440020541f..000000000000
--- a/net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 42cec1e5948e828fb2b941107c4fce9ec847f9a8 Mon Sep 17 00:00:00 2001
-From: Peter van Dijk <peter.van.d...@powerdns.com>
-Date: Fri, 23 Apr 2021 15:40:43 +0200
-Subject: [PATCH] boost 1.76 containers: use standard exceptions
-
-(cherry picked from commit 311f26839819062ced8697686372b6c6b2210bdf)
----
- pdns/Makefile.am              | 3 ++-
- pdns/dnsdistdist/Makefile.am  | 2 +-
- pdns/recursordist/Makefile.am | 3 ++-
- 3 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/pdns/Makefile.am b/pdns/Makefile.am
-index 237a48f501f..f073f052600 100644
---- a/pdns/Makefile.am
-+++ b/pdns/Makefile.am
-@@ -6,7 +6,8 @@ AM_CPPFLAGS += \
-       $(LIBEDIT_CFLAGS) \
-       $(LIBCRYPTO_INCLUDES) \
-       $(SYSTEMD_CFLAGS) \
--      $(YAML_CFLAGS)
-+      $(YAML_CFLAGS) \
-+      -DBOOST_CONTAINER_USE_STD_EXCEPTIONS
- 
- AM_CXXFLAGS = \
-       -DSYSCONFDIR=\"$(sysconfdir)\" \

diff --git a/net-dns/pdns/metadata.xml b/net-dns/pdns/metadata.xml
index ba9ffd40f318..aa39421d3798 100644
--- a/net-dns/pdns/metadata.xml
+++ b/net-dns/pdns/metadata.xml
@@ -13,7 +13,6 @@ standards documents. Furthermore, PowerDNS interfaces with 
almost any database.
 <use>
        <flag name="lua-records">Enable LUA records.</flag>
        <flag name="mydns">Making it possible to use a MyDNS MySQL database 
with PowerDNS (not recommended for new deployments).</flag>
-       <flag name="protobuf">Enable support for 
<pkg>dev-libs/protobuf</pkg>.</flag>
        <flag name="remote">Use a generic socket or pipe as a backend (via JSON 
RPC requests).</flag>
        <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for 
cryptography</flag>
        <flag name="tinydns">Use a TinyDNS CDB database as backend.</flag>

diff --git a/net-dns/pdns/pdns-4.4.1-r2.ebuild 
b/net-dns/pdns/pdns-4.4.1-r2.ebuild
deleted file mode 100644
index a6ae91957e48..000000000000
--- a/net-dns/pdns/pdns-4.4.1-r2.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit autotools lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres protobuf remote 
sodium sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )
-       protobuf? ( dev-libs/protobuf )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-PATCHES=(
-       "${FILESDIR}"/${P}-boost-1.76.patch
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               $(use_with protobuf) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

diff --git a/net-dns/pdns/pdns-4.4.2-r1.ebuild 
b/net-dns/pdns/pdns-4.4.2-r1.ebuild
deleted file mode 100644
index 235248bb3944..000000000000
--- a/net-dns/pdns/pdns-4.4.2-r1.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit autotools lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres protobuf remote 
sodium sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )
-       protobuf? ( dev-libs/protobuf )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.4.1-boost-1.76.patch
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               $(use_with protobuf) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

diff --git a/net-dns/pdns/pdns-4.5.2-r2.ebuild 
b/net-dns/pdns/pdns-4.5.2-r2.ebuild
deleted file mode 100644
index a3efc10cb356..000000000000
--- a/net-dns/pdns/pdns-4.5.2-r2.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium 
sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

diff --git a/net-dns/pdns/pdns-4.5.2-r3.ebuild 
b/net-dns/pdns/pdns-4.5.2-r3.ebuild
deleted file mode 100644
index ed0d736ca687..000000000000
--- a/net-dns/pdns/pdns-4.5.2-r3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit flag-o-matic lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium 
sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-pkg_setup() {
-       lua-single_pkg_setup
-       append-lfs-flags
-       append-cppflags -D_TIME_BITS=64
-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

diff --git a/net-dns/pdns/pdns-4.5.3-r1.ebuild 
b/net-dns/pdns/pdns-4.5.3-r1.ebuild
deleted file mode 100644
index ed0d736ca687..000000000000
--- a/net-dns/pdns/pdns-4.5.3-r1.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit flag-o-matic lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium 
sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-pkg_setup() {
-       lua-single_pkg_setup
-       append-lfs-flags
-       append-cppflags -D_TIME_BITS=64
-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

diff --git a/net-dns/pdns/pdns-4.6.0-r1.ebuild 
b/net-dns/pdns/pdns-4.6.0-r1.ebuild
deleted file mode 100644
index ed0d736ca687..000000000000
--- a/net-dns/pdns/pdns-4.6.0-r1.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit flag-o-matic lua-single
-
-DESCRIPTION="The PowerDNS Daemon"
-HOMEPAGE="https://www.powerdns.com/";
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# other possible flags:
-# db2: we lack the dep
-# oracle: dito (need Oracle Client Libraries)
-# xdb: (almost) dead, surely not supported
-
-IUSE="debug doc geoip ldap lua-records mydns mysql postgres remote sodium 
sqlite systemd tools tinydns test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}
-       mydns? ( mysql )"
-
-DEPEND="${LUA_DEPS}
-       dev-libs/openssl:=
-       >=dev-libs/boost-1.35:=
-       lua-records? ( >=net-misc/curl-7.21.3 )
-       mysql? ( dev-db/mysql-connector-c:= )
-       postgres? ( dev-db/postgresql:= )
-       ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 )
-       sqlite? ( dev-db/sqlite:3 )
-       geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip )
-       sodium? ( dev-libs/libsodium:= )
-       tinydns? ( >=dev-db/tinycdb-0.77 )"
-RDEPEND="${DEPEND}
-       acct-user/pdns
-       acct-group/pdns"
-
-BDEPEND="virtual/pkgconfig
-       doc? ( app-doc/doxygen[dot] )"
-
-S="${WORKDIR}"/${P/_/-}
-
-pkg_setup() {
-       lua-single_pkg_setup
-       append-lfs-flags
-       append-cppflags -D_TIME_BITS=64
-}
-
-src_configure() {
-       local dynmodules="pipe bind" # the default backends, always enabled
-
-       #use db2 && dynmodules+=" db2"
-       use ldap && dynmodules+=" ldap"
-       use mydns && dynmodules+=" mydns"
-       use mysql && dynmodules+=" gmysql"
-       #use oracle && dynmodules+=" goracle oracle"
-       use postgres && dynmodules+=" gpgsql"
-       use remote && dynmodules+=" remote"
-       use sqlite && dynmodules+=" gsqlite3"
-       use tinydns && dynmodules+=" tinydns"
-       use geoip && dynmodules+=" geoip"
-       #use xdb && dynmodules+=" xdb"
-
-       econf \
-               --disable-static \
-               --sysconfdir=/etc/powerdns \
-               --libdir=/usr/$(get_libdir)/powerdns \
-               --with-service-user=pdns \
-               --with-service-group=pdns \
-               --with-modules= \
-               --with-dynmodules="${dynmodules}" \
-               --with-mysql-lib=/usr/$(get_libdir) \
-               --with-lua="${ELUA}" \
-               $(use_enable debug verbose-logging) \
-               $(use_enable lua-records) \
-               $(use_enable test unit-tests) \
-               $(use_enable tools) \
-               $(use_enable systemd) \
-               $(use_with sodium libsodium) \
-               ${myconf}
-}
-
-src_compile() {
-       default
-       use doc && emake -C codedocs codedocs
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
-       fperms 0700 /etc/powerdns
-       fperms 0600 /etc/powerdns/pdns.conf
-
-       # set defaults: setuid=pdns, setgid=pdns
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
-               "${D}"/etc/powerdns/pdns.conf
-
-       newinitd "${FILESDIR}"/pdns-r1 pdns
-
-       keepdir /var/empty
-
-       if use doc; then
-               docinto html
-               dodoc -r codedocs/html/.
-       fi
-
-       # Install development headers
-       insinto /usr/include/pdns
-       doins pdns/*.hh
-       insinto /usr/include/pdns/backends/gsql
-       doins pdns/backends/gsql/*.hh
-
-       if use ldap ; then
-               insinto /etc/openldap/schema
-               doins "${FILESDIR}"/dnsdomain2.schema
-       fi
-
-       find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-       elog "PowerDNS provides multiple instances support. You can create more 
instances"
-       elog "by symlinking the pdns init script to another name."
-       elog
-       elog "The name must be in the format pdns.<suffix> and PowerDNS will 
use the"
-       elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of 
the default."
-
-       local old
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 3.2 || continue
-
-               echo
-               ewarn "To fix a security bug (bug #458018) had the following"
-               ewarn "files/directories the world-readable bit removed (if 
set):"
-               ewarn "  ${EPREFIX}/etc/powerdns"
-               ewarn "  ${EPREFIX}/etc/powerdns/pdns.conf"
-               ewarn "Check if this is correct for your setup"
-               ewarn "This is a one-time change and will not happen on 
subsequent updates."
-               chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf}
-
-               break
-       done
-
-       if use postgres; then
-               for old in ${REPLACING_VERSIONS}; do
-                       ver_test ${old} -lt 4.1.11-r1 || continue
-
-                       echo
-                       ewarn "PowerDNS 4.1.11 contains a security fix for the 
PostgreSQL backend."
-                       ewarn "This security fix needs to be applied manually 
to the database schema."
-                       ewarn "Please refer to the official security advisory 
for more information:"
-                       ewarn
-                       ewarn "  
https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html";
-
-                       break
-               done
-       fi
-}

Reply via email to