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 defaultdiff -r1.23 -r1.24 pkgsrc/net/powerdns-recursor/Makefile
(fhajny)
@@ -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 | |||
4 | DISTNAME= pdns-recursor-4.0.5 | 4 | DISTNAME= pdns-recursor-4.0.6 | |
5 | CATEGORIES= net | 5 | CATEGORIES= net | |
6 | MASTER_SITES= http://downloads.powerdns.com/releases/ | 6 | MASTER_SITES= http://downloads.powerdns.com/releases/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.powerdns.com/ | 10 | HOMEPAGE= http://www.powerdns.com/ | |
11 | COMMENT= PowerDNS resolver/recursing nameserver | 11 | COMMENT= PowerDNS resolver/recursing nameserver | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_LANGUAGES= c c++11 | 15 | USE_LANGUAGES= c c++11 | |
16 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
17 | 17 |
@@ -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 | |||
3 | SHA1 (pdns-recursor-4.0.5.tar.bz2) = 2f9fcab4a759ed4f21f8f1233b91ad6ef8b5545e | 3 | SHA1 (pdns-recursor-4.0.6.tar.bz2) = 70c27e604841f833000416e9f06835ee92fd3616 | |
4 | RMD160 (pdns-recursor-4.0.5.tar.bz2) = 3cf3594ab6ede39a1400cb21e2905217d735bc4e | 4 | RMD160 (pdns-recursor-4.0.6.tar.bz2) = 93aeaaa2b26834f0a2cbea7421b6fe01a82d048e | |
5 | SHA512 (pdns-recursor-4.0.5.tar.bz2) = 30d41033d4650a496b2a699b03c8cb5adb3e803420330f09159cf7ca2ce1bab4818f4a9c9ce7a99d2676e31b1e30289198af1f049cd1f309b93f6aa1a05d4cb5 | 5 | SHA512 (pdns-recursor-4.0.6.tar.bz2) = 2203fd96469deded1da677344485da221eec036b1ad9fb418a89cd4477d73f2a6fcf984a39b574561df6946f440ddf1982de20cd39d7204da9c27e74216d1159 | |
6 | Size (pdns-recursor-4.0.5.tar.bz2) = 1066145 bytes | 6 | Size (pdns-recursor-4.0.6.tar.bz2) = 1105423 bytes | |
7 | SHA1 (patch-configure) = f6984cae95786514c9fa19884755374f1c97df11 | 7 | SHA1 (patch-configure) = aba2ac9f8e28dc16e9f94b2d91ff0d81be07b287 | |
8 | SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68 | 8 | SHA1 (patch-dns.hh) = 7e9c1b10a066a605b74ebdbee2d894aed50f6c68 | |
9 | SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a | 9 | SHA1 (patch-ext_json11_json11.cpp) = 2de8ea8b51556bd3e3c1a88f681697eff239ab1a | |
10 | SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d | 10 | SHA1 (patch-iputils.hh) = 9de7c58db7468da9fd2a175464becdbe339fac9d | |
11 | SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0 | 11 | SHA1 (patch-kqueuemplexer.cc) = 87b3b6670393ee60fc96cf91c5acf575adfd06c0 | |
12 | SHA1 (patch-m4_pdns__check__os.m4) = 04ed7580d9cff6456c3ebcc5bc78a603af1d59a4 | 12 | SHA1 (patch-m4_pdns__check__os.m4) = fd84d61d71ec6eed7c9570a2d62c49646a0a4f4a | |
13 | SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2 | 13 | SHA1 (patch-qtype.hh) = f14eb9ad7efc7dd4a0ce220c1f93044ef69e99c2 | |
14 | SHA1 (patch-version.cc) = 117d440f16c9095c03e28b305b85e03ea6e65c8a | 14 | SHA1 (patch-version.cc) = 117d440f16c9095c03e28b305b85e03ea6e65c8a |
@@ -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 | |||
3 | Regenerate for PDNS_CHECK_OS fix. | 3 | Regenerate 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 |
@@ -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 | |||
3 | Third argument is a instruction list. | 3 | Third 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 |