From 550f5491c328313a60c2ee791406230bab11f22c Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Tue, 6 Aug 2019 09:53:47 +0200 Subject: [PATCH] net-dns/pdns: Revision bump to include security notice Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Sven Wegener --- .../{pdns-4.1.11.ebuild => pdns-4.1.11-r1.ebuild} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) rename net-dns/pdns/{pdns-4.1.11.ebuild => pdns-4.1.11-r1.ebuild} (89%) diff --git a/net-dns/pdns/pdns-4.1.11.ebuild b/net-dns/pdns/pdns-4.1.11-r1.ebuild similarity index 89% rename from net-dns/pdns/pdns-4.1.11.ebuild rename to net-dns/pdns/pdns-4.1.11-r1.ebuild index 9c4996e63d3b..7a1b547621f5 100644 --- a/net-dns/pdns/pdns-4.1.11.ebuild +++ b/net-dns/pdns/pdns-4.1.11-r1.ebuild @@ -154,4 +154,18 @@ pkg_postinst() { break done + + if use postgres; then + for old in ${REPLACING_VERSIONS}; do + ver_test ${old} -lt 4.1.11-r1 || continue + + 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 } -- 2.26.2