From 0d704a022bf2e3a56b3758224e72d143e63995b3 Mon Sep 17 00:00:00 2001 From: fhajny Date: Thu, 15 Jun 2017 07:15:57 +0000 Subject: Update net/powerdns-recursor to 4.0.5. Enhancements - Add the 2017 DNSSEC root key - Add support for RPZ wildcarded target names. - Speed up RPZ zone loading and add a zoneSizeHint parameter to rpzFile and rpzMaster for faster reloads - Make the RPZ summary consistent and log additions/removals at debug level, not info - Update Ed25519 algorithm number and mnemonic and hook up to the Recursor - Add use-incoming-edns-subnet option to process and pass along ECS and fix some ECS bugs in the process - Refuse to start with chroot set in a systemd env - Handle exceptions raised by closesocket() to prevent process termination - Document missing top-pub-queries and top-pub-servfail-queries commands for rec_control - IPv6 address for g.root-servers.net added - Log outgoing queries / incoming responses via protobuf Bug fixes - Correctly lowercase the TSIG algorithm name in hash computation - Clear the RPZ NS IP table when clearing the policy, this prevents false positives - Fix cache-only queries against a forward-zone - Only delegate if NSes are below apex in auth-zones - Remove hardcoding of port 53 for TCP/IP forwarded zones in recursor - Make sure labelsToAdd is not empty in getZoneCuts() - Wait until after daemonizing to start the outgoing protobuf thread, prevents hangs when the protobuf server is not available - Ensure (re)priming the root never fails - Don't age the root, fixes a regression from 3.x - Fix exception when sending a protobuf message for an empty question - LuaWrapper: Allow embedded NULs in strings received from Lua - Fix coredumps on illumos/SmartOS - StateHolder: Allocate (and copy if needed) before taking the lock - SuffixMatchNode: Fix insertion issue for an existing node - Fix negative port detection for IPv6 addresses on 32-bit systems --- net/powerdns-recursor/Makefile | 5 ++-- net/powerdns-recursor/distinfo | 12 ++++----- net/powerdns-recursor/patches/patch-iputils.hh | 37 ++------------------------ 3 files changed, 10 insertions(+), 44 deletions(-) (limited to 'net') diff --git a/net/powerdns-recursor/Makefile b/net/powerdns-recursor/Makefile index b5a0545fa42..026943c66ea 100644 --- a/net/powerdns-recursor/Makefile +++ b/net/powerdns-recursor/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2017/05/03 08:38:44 jperkin Exp $ +# $NetBSD: Makefile,v 1.23 2017/06/15 07:15:57 fhajny Exp $ # -DISTNAME= pdns-recursor-4.0.4 -PKGREVISION= 1 +DISTNAME= pdns-recursor-4.0.5 CATEGORIES= net MASTER_SITES= http://downloads.powerdns.com/releases/ EXTRACT_SUFX= .tar.bz2 diff --git a/net/powerdns-recursor/distinfo b/net/powerdns-recursor/distinfo index 376764d7fd5..7ca708728a5 100644 --- a/net/powerdns-recursor/distinfo +++ b/net/powerdns-recursor/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.18 2017/05/22 23:41:52 joerg Exp $ +$NetBSD: distinfo,v 1.19 2017/06/15 07:15:57 fhajny Exp $ -SHA1 (pdns-recursor-4.0.4.tar.bz2) = e3d2f18e0ea929e425bc9da4256f76331797f691 -RMD160 (pdns-recursor-4.0.4.tar.bz2) = 12b1b7239156d9b898199c02a1edd6875301a7b1 -SHA512 (pdns-recursor-4.0.4.tar.bz2) = 9473dfe9abc509b2bb953139dd7892de2027ee1508902fa0c2cd30dd9a88878fcf44370b8372d573cbab12de32bb8c604005d3b39ea34db2ef86786e689d36ab -Size (pdns-recursor-4.0.4.tar.bz2) = 1050596 bytes +SHA1 (pdns-recursor-4.0.5.tar.bz2) = 2f9fcab4a759ed4f21f8f1233b91ad6ef8b5545e +RMD160 (pdns-recursor-4.0.5.tar.bz2) = 3cf3594ab6ede39a1400cb21e2905217d735bc4e +SHA512 (pdns-recursor-4.0.5.tar.bz2) = 30d41033d4650a496b2a699b03c8cb5adb3e803420330f09159cf7ca2ce1bab4818f4a9c9ce7a99d2676e31b1e30289198af1f049cd1f309b93f6aa1a05d4cb5 +Size (pdns-recursor-4.0.5.tar.bz2) = 1066145 bytes SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68 SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a -SHA1 (patch-iputils.hh) = ab1c952d27648b6db9fd74eba987d10b79837517 +SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0 SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2 diff --git a/net/powerdns-recursor/patches/patch-iputils.hh b/net/powerdns-recursor/patches/patch-iputils.hh index 62f9dd9f682..22881982f7f 100644 --- a/net/powerdns-recursor/patches/patch-iputils.hh +++ b/net/powerdns-recursor/patches/patch-iputils.hh @@ -1,10 +1,8 @@ -$NetBSD: patch-iputils.hh,v 1.3 2017/03/31 19:41:13 fhajny Exp $ +$NetBSD: patch-iputils.hh,v 1.4 2017/06/15 07:15:57 fhajny Exp $ - IP_PKTINFO structure different on NetBSD than expected. -- Backport fix for SunOS segfault problem, see: - https://github.com/PowerDNS/pdns/pull/4877 ---- iputils.hh.orig 2017-01-13 08:55:55.000000000 +0000 +--- iputils.hh.orig 2017-06-13 09:58:51.000000000 +0000 +++ iputils.hh @@ -38,6 +38,10 @@ #include @@ -17,34 +15,3 @@ $NetBSD: patch-iputils.hh,v 1.3 2017/03/31 19:41:13 fhajny Exp $ #include "namespaces.hh" #ifdef __APPLE__ -@@ -59,23 +63,22 @@ - #define le64toh(x) OSSwapLittleToHostInt64(x) - #endif - --// for illumos --#ifdef BE_64 -+#ifdef __sun - - #define htobe16(x) BE_16(x) - #define htole16(x) LE_16(x) --#define be16toh(x) BE_IN16(x) --#define le16toh(x) LE_IN16(x) -+#define be16toh(x) BE_IN16(&(x)) -+#define le16toh(x) LE_IN16(&(x)) - - #define htobe32(x) BE_32(x) - #define htole32(x) LE_32(x) --#define be32toh(x) BE_IN32(x) --#define le32toh(x) LE_IN32(x) -+#define be32toh(x) BE_IN32(&(x)) -+#define le32toh(x) LE_IN32(&(x)) - - #define htobe64(x) BE_64(x) - #define htole64(x) LE_64(x) --#define be64toh(x) BE_IN64(x) --#define le64toh(x) LE_IN64(x) -+#define be64toh(x) BE_IN64(&(x)) -+#define le64toh(x) LE_IN64(&(x)) - - #endif - -- cgit v1.2.3