summaryrefslogtreecommitdiff
path: root/net-dns/pdns
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /net-dns/pdns
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/Manifest16
-rw-r--r--net-dns/pdns/files/pdns-4.4.1-boost-1.76.patch26
-rw-r--r--net-dns/pdns/metadata.xml1
-rw-r--r--net-dns/pdns/pdns-4.4.1-r2.ebuild172
-rw-r--r--net-dns/pdns/pdns-4.4.2-r1.ebuild172
-rw-r--r--net-dns/pdns/pdns-4.5.2-r2.ebuild161
-rw-r--r--net-dns/pdns/pdns-4.5.3-r1.ebuild167
-rw-r--r--net-dns/pdns/pdns-4.6.0-r1.ebuild167
-rw-r--r--net-dns/pdns/pdns-4.6.1.ebuild (renamed from net-dns/pdns/pdns-4.5.2-r3.ebuild)5
9 files changed, 6 insertions, 881 deletions
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index 22a52393d6dd..f699d1c27cb4 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,15 +1,5 @@
AUX dnsdomain2.schema 6640 BLAKE2B d3efc6bc16390f35979f1184632e7184cf403453422888e2cb44fa4fed7891241919a39c8c6f539a61de032654650a45ea548a6983777ea1bfe029e817f2c315 SHA512 ac16f8d528d6138d3c2cbf997fd8fbb467d388aa63eb6ed4e7780a3dad11ea885b91252ff0809b1d2cf7d5200814b8963aab890af84741ea86d35b2f5955a7ea
-AUX pdns-4.4.1-boost-1.76.patch 830 BLAKE2B b74f9deece5c1bd71f6c3df571f288cbab01c567be4236bb3f94187e076fef461d8cc45e2bbe905adb83cbc785f00f91d191e30745ce42325d902b36f73c9b06 SHA512 0ab0a02d30ee5c8aa0b906c1a58e94b7e8aba8e382f963b528b52c926f000ccf00687a0445e0de5b3ab875910e4affd1f1697d4cab7a4e72d558790abd85112d
AUX pdns-r1 2815 BLAKE2B cd607cb30a94540eca9cfa2defb7c996f6e151875fcaad8ad3357261937868bc346962f1080ad45a0ef38c2dfc126eb11e41837ee0784f677d1e7c071589a057 SHA512 4c0442d8d92d95268d4971f80782d2772e2a22c43da00566a9328c79a834e4355b2610d133034351d7137ed6cd7fda300f3db8093b09d5852cea44d983de1e39
-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
-EBUILD pdns-4.4.1-r2.ebuild 4436 BLAKE2B 5f18c374a9c1c2d714009889e476d28257357f110b08550d1d0840d569c81c3d6995c47f635ddc105fa2df9fd069df12f1305f0626a11527ba974d71ba97fcc1 SHA512 76c9c2fe7af62ef4c2b307a121b4998dba25a3311187a289105a22ceb92ca9c319ba1aa86879f7353f9c338b262f9ba38400ae65365e3c14575d55ec01e6af61
-EBUILD pdns-4.4.2-r1.ebuild 4445 BLAKE2B 83d2fa6d4a2c01d3e730829ee6fa4050ef16ee38d9dfad5db0562d84319477acac78b184d4a7e0d43501d47007596ebe8508101b3bbb149b01b3a40bf144b4cd SHA512 b6736e29211e068bd94a6acd204f40be61e0970ceb0b0076428b81fc51473d84251ebba40058e0e7aa323405c0f221da4969a2a75620d5a1f40be85b24f7b9b9
-EBUILD pdns-4.5.2-r2.ebuild 4264 BLAKE2B e685fc2c69f3626e2465daccc36b51c224230938c482c583c893aff21e93f7d51f9ebd9e1ea18c2d1e1591bedab844853ce6b186ed27395411176b8aa9768dc2 SHA512 8161d213fa3e960981899e269f1974ca49d50b62f2ecc0e92e0d760ea2b6bd4e245f1e98958b3806624d0f6edce80b0fb92f3f2780c04ba3ca07dfa57b7ee54b
-EBUILD pdns-4.5.2-r3.ebuild 4373 BLAKE2B 229d4d37aafe8d4d1d7413ad44db7305198cf1d2d2a5e2cae00e9f7e7c33798ec7b62dea3daa2aa0703385078f9a0c6f46674b28ac48530dd0a87374596b912b SHA512 07f6d483960ca9c47db843c7138fe77f7bbfb39cc84d463ad41c90ea3872e8edc4442f4276dd1a7e2f3f3cf21cd87ea32cfdc3f532427f253ce86eb4fc08a9fd
-EBUILD pdns-4.5.3-r1.ebuild 4373 BLAKE2B 229d4d37aafe8d4d1d7413ad44db7305198cf1d2d2a5e2cae00e9f7e7c33798ec7b62dea3daa2aa0703385078f9a0c6f46674b28ac48530dd0a87374596b912b SHA512 07f6d483960ca9c47db843c7138fe77f7bbfb39cc84d463ad41c90ea3872e8edc4442f4276dd1a7e2f3f3cf21cd87ea32cfdc3f532427f253ce86eb4fc08a9fd
-EBUILD pdns-4.6.0-r1.ebuild 4373 BLAKE2B 229d4d37aafe8d4d1d7413ad44db7305198cf1d2d2a5e2cae00e9f7e7c33798ec7b62dea3daa2aa0703385078f9a0c6f46674b28ac48530dd0a87374596b912b SHA512 07f6d483960ca9c47db843c7138fe77f7bbfb39cc84d463ad41c90ea3872e8edc4442f4276dd1a7e2f3f3cf21cd87ea32cfdc3f532427f253ce86eb4fc08a9fd
-MISC metadata.xml 1112 BLAKE2B 1f422022f67b5667b7b2be3947316580c339738e624ddef0b7a7331cc8490633a054d96411892435f7982db74c7ff6c1b9702eb6c526d7e15afcd76049f040e9 SHA512 e9efc6f8ec5039249fa7d965ce1d4ef2c666813b554dba3fd289d326b4074df03555c4d5aee41101701a18e0b14166d3b3e340f55752a88acf2fbd6b16c8be79
+DIST pdns-4.6.1.tar.bz2 1315530 BLAKE2B 18676fac07667215babce3687d2ed9f108cad56a3a099907feac7eb86ba771bcd6319eb687ff826c5288590e6cdf3babe6c6c867a892d290351017c5bfb10198 SHA512 02ecb4e182ac4976f9d788b351b70988ec56cc034631f482e539ec9c420bba231c4597b2f76a4b511c5aaa58ee097ad9de4e4b29b191af65eaf5033269ae7087
+EBUILD pdns-4.6.1.ebuild 4420 BLAKE2B 7a85d32f4646c6a91187885184094c155322a8b5ba47954c15ce600b96a9846fe32f3d5fc362d36daee0ed298c185097d5c8ab1a02fd8dedc7dad4e1795d3683 SHA512 12ba08350b8255a395eaebcba671cd6ce70f46069fc1e962033d982691e39d9b995cc53e5a700cafff46bbdd485509afe5e4a72086a357656477c538ed046b4f
+MISC metadata.xml 1033 BLAKE2B 25e9c4711dd3f5113aba4edb7d0b8aeed9fd63344633c0889110899a5e2a8021908c585d2817a88c121eadde0d55b449404ea2b4e83ac7c85b270cd3c34513c0 SHA512 0b8ca219f5246165e35d8c2c43ccf95fc55ebc4df09568941fad377e3fa4c52a7312623c61fc87b72f9841246ee2ccb600317edf5c6514582db2d67272130f22
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.dijk@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.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
-}
diff --git a/net-dns/pdns/pdns-4.5.2-r3.ebuild b/net-dns/pdns/pdns-4.6.1.ebuild
index ed0d736ca687..c9114681d24b 100644
--- a/net-dns/pdns/pdns-4.5.2-r3.ebuild
+++ b/net-dns/pdns/pdns-4.6.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
# other possible flags:
# db2: we lack the dep
@@ -36,7 +36,8 @@ DEPEND="${LUA_DEPS}
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 )"
+ tinydns? ( >=dev-db/tinycdb-0.77 )
+ elibc_glibc? ( x86? ( >=sys-libs/glibc-2.34 ) )"
RDEPEND="${DEPEND}
acct-user/pdns
acct-group/pdns"