From a42654c6b34e8bc03879db24228c8e8ca65ae41c Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Tue, 6 Aug 2019 10:13:24 +0200 Subject: [PATCH] net-dns/pdns: Also add security notice to 4.2.0_rc2 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Sven Wegener --- net-dns/pdns/pdns-4.2.0_rc2.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net-dns/pdns/pdns-4.2.0_rc2.ebuild b/net-dns/pdns/pdns-4.2.0_rc2.ebuild index 839351637f06..d811e77d5c51 100644 --- a/net-dns/pdns/pdns-4.2.0_rc2.ebuild +++ b/net-dns/pdns/pdns-4.2.0_rc2.ebuild @@ -155,4 +155,19 @@ pkg_postinst() { 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 } -- 2.26.2