Wed Aug 2 20:15:42 2017 UTC ()
Update net/powerdns-recursor to 4.0.6

Bug fixes
- Use the incoming ECS for cache lookup if use-incoming-edns-subnet is
  set
- when making a netmask from a comboaddress, we neglected to zero the
  port. This could lead to a proliferation of netmasks.
- Don't take the initial ECS source for a scope one if EDNS is off
- also set d_requestor without Lua: the ECS logic needs it
- Fix IXFR skipping the additions part of the last sequence
- Treat requestor's payload size lower than 512 as equal to 512
- make URI integers 16 bits, fixes ticket #5443
- unbreak quoting

Improvements
- EDNS Client Subnet becomes compatible with the packet cache, using
  the existing variable answer facility.
- Remove just enough entries from the cache, not one more than asked
- Move expired cache entries to the front so they are expunged
- changed IPv6 addr of b.root-servers.net
- e.root-servers.net has IPv6 now
- hello decaf signers (ED25519 and ED448)
- don't use the libdecaf ed25519 signer when libsodium is enabled
  (Kees Monshouwer)
- do not hash the message in the ed25519 signer (Kees Monshouwer)
- Disable use-incoming-edns-subnet by default


(fhajny)
diff -r1.23 -r1.24 pkgsrc/net/powerdns-recursor/Makefile
diff -r1.20 -r1.21 pkgsrc/net/powerdns-recursor/distinfo
diff -r1.1 -r1.2 pkgsrc/net/powerdns-recursor/patches/patch-configure
diff -r1.1 -r1.2 pkgsrc/net/powerdns-recursor/patches/patch-m4_pdns__check__os.m4

cvs diff -r1.23 -r1.24 pkgsrc/net/powerdns-recursor/Makefile (expand / switch to unified diff)

--- pkgsrc/net/powerdns-recursor/Makefile 2017/06/15 07:15:57 1.23
+++ pkgsrc/net/powerdns-recursor/Makefile 2017/08/02 20:15:42 1.24
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.23 2017/06/15 07:15:57 fhajny Exp $ 1# $NetBSD: Makefile,v 1.24 2017/08/02 20:15:42 fhajny Exp $
2# 2#
3 3
4DISTNAME= pdns-recursor-4.0.5 4DISTNAME= pdns-recursor-4.0.6
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= http://downloads.powerdns.com/releases/ 6MASTER_SITES= http://downloads.powerdns.com/releases/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.powerdns.com/ 10HOMEPAGE= http://www.powerdns.com/
11COMMENT= PowerDNS resolver/recursing nameserver 11COMMENT= PowerDNS resolver/recursing nameserver
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LANGUAGES= c c++11 15USE_LANGUAGES= c c++11
16USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config
17 17

cvs diff -r1.20 -r1.21 pkgsrc/net/powerdns-recursor/distinfo (expand / switch to unified diff)

--- pkgsrc/net/powerdns-recursor/distinfo 2017/07/03 13:02:38 1.20
+++ pkgsrc/net/powerdns-recursor/distinfo 2017/08/02 20:15:42 1.21
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: distinfo,v 1.20 2017/07/03 13:02:38 joerg Exp $ 1$NetBSD: distinfo,v 1.21 2017/08/02 20:15:42 fhajny Exp $
2 2
3SHA1 (pdns-recursor-4.0.5.tar.bz2) = 2f9fcab4a759ed4f21f8f1233b91ad6ef8b5545e 3SHA1 (pdns-recursor-4.0.6.tar.bz2) = 70c27e604841f833000416e9f06835ee92fd3616
4RMD160 (pdns-recursor-4.0.5.tar.bz2) = 3cf3594ab6ede39a1400cb21e2905217d735bc4e 4RMD160 (pdns-recursor-4.0.6.tar.bz2) = 93aeaaa2b26834f0a2cbea7421b6fe01a82d048e
5SHA512 (pdns-recursor-4.0.5.tar.bz2) = 30d41033d4650a496b2a699b03c8cb5adb3e803420330f09159cf7ca2ce1bab4818f4a9c9ce7a99d2676e31b1e30289198af1f049cd1f309b93f6aa1a05d4cb5 5SHA512 (pdns-recursor-4.0.6.tar.bz2) = 2203fd96469deded1da677344485da221eec036b1ad9fb418a89cd4477d73f2a6fcf984a39b574561df6946f440ddf1982de20cd39d7204da9c27e74216d1159
6Size (pdns-recursor-4.0.5.tar.bz2) = 1066145 bytes 6Size (pdns-recursor-4.0.6.tar.bz2) = 1105423 bytes
7SHA1 (patch-configure) = f6984cae95786514c9fa19884755374f1c97df11 7SHA1 (patch-configure) = aba2ac9f8e28dc16e9f94b2d91ff0d81be07b287
8SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68 8SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68
9SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a 9SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a
10SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d 10SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d
11SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0 11SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0
12SHA1 (patch-m4_pdns__check__os.m4) = 04ed7580d9cff6456c3ebcc5bc78a603af1d59a4 12SHA1 (patch-m4_pdns__check__os.m4) = fd84d61d71ec6eed7c9570a2d62c49646a0a4f4a
13SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2 13SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2
14SHA1 (patch-version.cc) = 117d440f16c9095c03e28b305b85e03ea6e65c8a 14SHA1 (patch-version.cc) = 117d440f16c9095c03e28b305b85e03ea6e65c8a

cvs diff -r1.1 -r1.2 pkgsrc/net/powerdns-recursor/patches/Attic/patch-configure (expand / switch to unified diff)

--- pkgsrc/net/powerdns-recursor/patches/Attic/patch-configure 2017/07/03 13:02:38 1.1
+++ pkgsrc/net/powerdns-recursor/patches/Attic/patch-configure 2017/08/02 20:15:42 1.2
@@ -1,60 +1,23 @@ @@ -1,60 +1,23 @@
1$NetBSD: patch-configure,v 1.1 2017/07/03 13:02:38 joerg Exp $ 1$NetBSD: patch-configure,v 1.2 2017/08/02 20:15:42 fhajny Exp $
2 2
3Regenerate for PDNS_CHECK_OS fix. 3Regenerate for PDNS_CHECK_OS fix.
4 4
5--- configure.orig 2017-07-02 23:26:02.024754888 +0000 5--- configure.orig 2017-07-04 15:43:19.000000000 +0000
6+++ configure 6+++ configure
7@@ -15885,17 +15885,14 @@ fi 7@@ -15921,13 +15921,12 @@ fi
8  8 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5
9 case "$host" in 9 $as_echo "$ax_cv_check_ldflags___latomic" >&6; }
10 mips* | powerpc* ) 10 if test "x$ax_cv_check_ldflags___latomic" = xyes; then :
11- as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_cannot continue" "$LINENO" 5 
12- _-latomic" | $as_tr_sh` 
13-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 
14+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 
15 $as_echo_n "checking whether the linker accepts -latomic... " >&6; } 
16-if eval \${$as_CACHEVAR+:} false; then : 
17+if ${ax_cv_check_ldflags___latomic+:} false; then : 
18 $as_echo_n "(cached) " >&6 
19 else 
20  
21 ax_check_save_flags=$LDFLAGS 
22- LDFLAGS="$LDFLAGS cannot continue" "$LINENO" 5 
23- -latomic" 
24+ LDFLAGS="$LDFLAGS -latomic" 
25 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
26 /* end confdefs.h. */ 
27  
28@@ -15908,24 +15905,23 @@ main () 
29 } 
30 _ACEOF 
31 if ac_fn_cxx_try_link "$LINENO"; then : 
32- eval "$as_CACHEVAR=yes" 
33+ ax_cv_check_ldflags___latomic=yes 
34 else 
35- eval "$as_CACHEVAR=no" 
36+ ax_cv_check_ldflags___latomic=no 
37 fi 
38 rm -f core conftest.err conftest.$ac_objext \ 
39 conftest$ac_exeext conftest.$ac_ext 
40 LDFLAGS=$ax_check_save_flags 
41 fi 
42-eval ac_res=\$$as_CACHEVAR 
43- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
44-$as_echo "$ac_res" >&6; } 
45-if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : 
46- : 11- :
47+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5 
48+$as_echo "$ax_cv_check_ldflags___latomic" >&6; } 
49+if test "x$ax_cv_check_ldflags___latomic" = xyes; then : 
50+ LDFLAGS="-latomic $LDFLAGS" 12+ LDFLAGS="-latomic $LDFLAGS"
51+ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5 13+ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5
52 else 14 else
53- as_fn_error $? "Unable to link against libatomic 15- as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5
 16-
54+ : 17+ :
55 fi 18 fi
56  19
57- LDFLAGS="-latomic $LDFLAGS" 20- LDFLAGS="-latomic $LDFLAGS"
58 ;; 21 ;;
59 esac 22 esac
60  23

cvs diff -r1.1 -r1.2 pkgsrc/net/powerdns-recursor/patches/Attic/patch-m4_pdns__check__os.m4 (expand / switch to unified diff)

--- pkgsrc/net/powerdns-recursor/patches/Attic/patch-m4_pdns__check__os.m4 2017/07/03 13:02:38 1.1
+++ pkgsrc/net/powerdns-recursor/patches/Attic/patch-m4_pdns__check__os.m4 2017/08/02 20:15:42 1.2
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1$NetBSD: patch-m4_pdns__check__os.m4,v 1.1 2017/07/03 13:02:38 joerg Exp $ 1$NetBSD: patch-m4_pdns__check__os.m4,v 1.2 2017/08/02 20:15:42 fhajny Exp $
2 2
3Third argument is a instruction list. 3Third argument is a instruction list.
4 4
5--- m4/pdns_check_os.m4.orig 2017-06-13 09:58:51.000000000 +0000 5--- m4/pdns_check_os.m4.orig 2017-07-04 15:43:07.000000000 +0000
6+++ m4/pdns_check_os.m4 6+++ m4/pdns_check_os.m4
7@@ -37,11 +37,8 @@ AC_DEFUN([PDNS_CHECK_OS],[ 7@@ -37,11 +37,8 @@ AC_DEFUN([PDNS_CHECK_OS],[
8  8
9 case "$host" in 9 case "$host" in
10 mips* | powerpc* ) 10 mips* | powerpc* )
11- AX_CHECK_LINK_FLAG([-latomic], 11- AX_CHECK_LINK_FLAG([-latomic],
12- [ : ], 12- [ : ],
13- AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) 13- [ AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ]
14- ) 14- )
15- LDFLAGS="-latomic $LDFLAGS" 15- LDFLAGS="-latomic $LDFLAGS"
16+ AX_CHECK_LINK_FLAG([-latomic],[LDFLAGS="-latomic $LDFLAGS"] 16+ AX_CHECK_LINK_FLAG([-latomic],[LDFLAGS="-latomic $LDFLAGS"]
17+ [AC_MSG_ERROR([Unable to link against libatomic, cannot continue])]) 17+ [AC_MSG_ERROR([Unable to link against libatomic, cannot continue])])
18 ;; 18 ;;
19 esac 19 esac
20  20