summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2019-08-06 10:13:24 +0200
committerSven Wegener <swegener@gentoo.org>2019-08-06 10:13:34 +0200
commita42654c6b34e8bc03879db24228c8e8ca65ae41c (patch)
tree98a12da52bb1cd299eb4c8404cabed72865930ce /net-dns/pdns
parentnet-dns/pdns: Add empty line between messages (diff)
downloadgentoo-a42654c6b34e8bc03879db24228c8e8ca65ae41c.tar.gz
gentoo-a42654c6b34e8bc03879db24228c8e8ca65ae41c.tar.bz2
gentoo-a42654c6b34e8bc03879db24228c8e8ca65ae41c.zip
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 <swegener@gentoo.org>
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/pdns-4.2.0_rc2.ebuild15
1 files changed, 15 insertions, 0 deletions
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
}