From fbcc363ce82b0b66f07e51825776e9a9a833aaad Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sat, 2 Apr 2022 16:02:37 +0200 Subject: net-dns/pdns-recursor: Revision bump, bug #713746 and #836580 Closes: https://bugs.gentoo.org/713746 Closes: https://bugs.gentoo.org/836580 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sven Wegener --- .../files/pdns-recursor-4.6.1-parseACL.patch | 13 +++ .../pdns-recursor/pdns-recursor-4.6.1-r1.ebuild | 92 ++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch create mode 100644 net-dns/pdns-recursor/pdns-recursor-4.6.1-r1.ebuild (limited to 'net-dns/pdns-recursor') diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch new file mode 100644 index 000000000000..0d29a24f160f --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch @@ -0,0 +1,13 @@ +diff --git i/pdns_recursor.cc w/pdns_recursor.cc +index 1700a9fde..ed09f2680 100644 +--- i/pdns_recursor.cc ++++ w/pdns_recursor.cc +@@ -4844,7 +4844,7 @@ void parseACLs() + + auto allowFrom = parseACL("allow-from-file", "allow-from"); + +- if(allowFrom->size() == 0) { ++ if(allowFrom != nullptr && allowFrom->size() == 0) { + if(::arg()["local-address"]!="127.0.0.1" && ::arg().asNum("local-port")==53) + g_log<