summaryrefslogtreecommitdiff
path: root/net/bind910/patches
diff options
context:
space:
mode:
authortaca <taca>2014-10-14 16:23:19 +0000
committertaca <taca>2014-10-14 16:23:19 +0000
commit402cbcfcf69e9bfd77e3704d8e809cb6409a5102 (patch)
treeb885242d5a53dc93a879d4e2953c471a4d779e93 /net/bind910/patches
parent0dadc81520b633d37bcec65542765cfb2a87309b (diff)
downloadpkgsrc-402cbcfcf69e9bfd77e3704d8e809cb6409a5102.tar.gz
Update bind910 to 9.10.1.
Security Fixes A query specially crafted to exploit a defect in EDNS option processing could cause named to terminate with an assertion failure, due to a missing isc_buffer_availablelength() check when formatting packet contents for logging. For more information, see the security advisory at https://kb.isc.org/article/AA-01166/. [CVE-2014-3859] [RT #36078] A programming error in the prefetch feature could cause named to crash with a "REQUIRE" assertion failure in name.c. For more information, see the security advisory at https://kb.isc.org/article/AA-01161/. [CVE-2014-3214] [RT #35899] New Features Support for CAA record types, as described in RFC 6844 "DNS Certification Authority Authorization (CAA) Resource Record", was added. [RT#36625] [RT #36737] Disallow "request-ixfr" from being specified in zone statements where it is not valid (it is only valid for slave and redirect zones) [RT #36608] Support for CDS and CDNSKEY resource record types was added. For details see the proposed Informational Internet-Draft "Automating DNSSEC Delegation Trust Maintenance" at http://tools.ietf.org/html/draft-ietf-dnsop-delegation-trust-maintainance-14. [RT #36333] Added version printing options to various BIND utilities. [RT #26057] [RT #10686] Optionally allows libseccomp-based (secure computing mode) system-call filtering on Linux. This sandboxing mechanism may be used to isolate "named" from various system resources. Use "configure --enable-seccomp" at build time to enable it. Thank you to Loganaden Velvindron of AFRINIC for the contribution. [RT #35347] Feature Changes "geoip asnum" ACL elements would not match unless the full organization name was specified. They can now match against the AS number alone (e.g., AS1234). [RT #36945] Adds RPZ SOA to the additional section of responses to clearly indicate the use of RPZ in a manner that is intended to avoid causing issues for downstream resolvers and forwarders [RT #36507] rndc now gives distinct error messages when an unqualified zone name matches multiple views vs. matching no views [RT #36691] Improves the accuracy of dig's reported round trip times. [RT #36611] When an SPF record exists in a zone but no equivalent TXT record does, a warning will be issued. The warning for the reverse condition is no longer issued. See the check-spf option in the documentation for details. [RT #36210] Aging of smoothed round-trip time measurements is now limited to no more than once per second, to improve accuracy in selecting the best name server. [RT #32909] DNSSEC keys that have been marked active but have no publication date are no longer presumed to be publishable. [RT #35063] Bug Fixes The Makefile in bin/python was changed to work around a bmake bug in FreeBSD 10 and NetBSD 6. [RT #36993] (**) Corrected bugs in the handling of wildcard records by the DNSSEC validator: invalid wildcard expansions could be treated as valid if signed, and valid wildcard expansions in NSEC3 opt-out ranges had the AD bit set incorrectly in responses. [RT #37093] [RT #37072] An assertion failure could occur if a route event arrived while shutting down. [RT #36887] When resigning, dnssec-signzone was removing all signatures from delegation nodes. It now retains DS and (if applicable) NSEC signatures. [RT #36946] The AD flag was being set inappopriately on RPZ responses. [RT #36833] Updates the URI record type to current draft standard, draft-faltstrom-uri-08, and allows the value field to be zero length [RT #36642] [RT #36737] On some platforms, overhead from DSCP tagging caused a performance regression between BIND 9.9 and BIND 9.10. [RT #36534] RRSIG sets that were not loaded in a single transaction at start up were not being correctly added to re-signing heaps. [RT #36302] Setting '-t aaaa' in .digrc had unintended side-effects. [RT #36452] Fixed a bug where some updated policy zone contents could be ignored due to stale RPZ summary information [RT #35885] A race condition could cause a crash in isc_event_free during shutdown. [RT #36720] Addresses some problems with unrecoverable lookup failures. [RT #36330] Addresses a race condition issue in dispatch. [RT #36731] acl elements could be miscounted, causing a crash while loading a config [RT #36675] Corrects a deadlock between view.c and adb.c. [RT #36341] liblwres wasn't properly handling link-local addresses in nameserver clauses in resolv.conf. [RT #36039] Disable the GCC 4.9 "delete null pointer check" optimizer option, and refactor dns_rdataslab_fromrdataset() to separate out the handling of an rdataset with no records. This fixes problems when using GNU GCC 4.9.0 where its compiler code optimizations may cause crashes in BIND. For more information, see the operational advisory at https://kb.isc.org/article/AA-01167/. [RT #35968] Fixed a bug that could cause repeated resigning of records in dynamically signed zones. [RT #35273] Fixed a bug that could cause an assertion failure after forwarding was disabled. [RT #35979] Fixed a bug that caused GeoIP ACLs not to work when referenced indirectly via named or nested ACLs. [RT #35879] FIxed a bug that could cause problems with cache cleaning when SIT was enabled. [RT #35858] Fixed a bug that caused SERVFAILs when using RPZ on a system configured as a forwarder. [RT #36060] Worked around a limitation in Solaris's /dev/poll implementation that could cause named to fail to start when configured to use more sockets than the system could accomodate. [RT #35878] Fixed a bug that could cause an assertion failure when inserting and deleting parent and child nodes in a response-policy zone. [RT #36272]
Diffstat (limited to 'net/bind910/patches')
-rw-r--r--net/bind910/patches/patch-bin_tests_system_Makefile.in8
-rw-r--r--net/bind910/patches/patch-configure33
-rw-r--r--net/bind910/patches/patch-lib_bind9_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_dns_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_dns_rbt.c12
-rw-r--r--net/bind910/patches/patch-lib_isc_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_isccc_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_isccfg_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_lwres_Makefile.in15
-rw-r--r--net/bind910/patches/patch-lib_lwres_getaddrinfo.c6
10 files changed, 34 insertions, 115 deletions
diff --git a/net/bind910/patches/patch-bin_tests_system_Makefile.in b/net/bind910/patches/patch-bin_tests_system_Makefile.in
index 9d625e4f1c3..6d012e308db 100644
--- a/net/bind910/patches/patch-bin_tests_system_Makefile.in
+++ b/net/bind910/patches/patch-bin_tests_system_Makefile.in
@@ -1,15 +1,15 @@
-$NetBSD: patch-bin_tests_system_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+$NetBSD: patch-bin_tests_system_Makefile.in,v 1.2 2014/10/14 16:23:19 taca Exp $
Build fix for DragonFly while linking of driver.so.
---- bin/tests/system/Makefile.in.orig 2014-05-27 04:45:53.000000000 +0000
+--- bin/tests/system/Makefile.in.orig 2014-09-16 19:27:15.000000000 +0000
+++ bin/tests/system/Makefile.in
@@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@
@BIND9_MAKE_INCLUDES@
--SUBDIRS = dlzexternal filter-aaaa geoip lwresd rpz rsabigexponent tkey tsiggss
-+SUBDIRS = filter-aaaa geoip lwresd rpz rsabigexponent tkey tsiggss
+-SUBDIRS = builtin dlzexternal filter-aaaa geoip lwresd rpz rsabigexponent tkey tsiggss
++SUBDIRS = builtin filter-aaaa geoip lwresd rpz rsabigexponent tkey tsiggss
TARGETS =
@BIND9_MAKE_RULES@
diff --git a/net/bind910/patches/patch-configure b/net/bind910/patches/patch-configure
index 5fecf01e05e..68bde16b666 100644
--- a/net/bind910/patches/patch-configure
+++ b/net/bind910/patches/patch-configure
@@ -1,21 +1,30 @@
-$NetBSD: patch-configure,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+$NetBSD: patch-configure,v 1.2 2014/10/14 16:23:19 taca Exp $
* Add DragonFly support.
* Link proper postgresql library.
* Avoid using "==" for argument of test(1).
---- configure.orig 2014-01-27 18:58:24.000000000 +0000
+--- configure.orig 2014-09-16 19:27:15.000000000 +0000
+++ configure
-@@ -11685,7 +11685,7 @@ done
+@@ -11827,7 +11827,7 @@ fi
+ test -n "$PYTHON" && break
+ done
- ;;
- esac
-- if test "X$PYTHON" == "X"
-+ if test "X$PYTHON" = "X"
- then
- case "$use_python" in
- unspec)
-@@ -14410,6 +14410,8 @@ case $host in
+- if test "X$PYTHON" == "X"; then
++ if test "X$PYTHON" = "X"; then
+ continue;
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking python module 'argparse'" >&5
+@@ -11842,7 +11842,7 @@ $as_echo "not found" >&6; }
+ unset ac_cv_path_PYTHON
+ unset PYTHON
+ done
+- if test "X$PYTHON" == "X"
++ if test "X$PYTHON" = "X"
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python support" >&5
+ $as_echo_n "checking for python support... " >&6; }
+@@ -14352,6 +14352,8 @@ case $host in
use_threads=false ;;
*-freebsd*)
use_threads=true ;;
@@ -24,7 +33,7 @@ $NetBSD: patch-configure,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
*-bsdi[234]*)
# Thread signals do not work reliably on some versions of BSD/OS.
use_threads=false ;;
-@@ -19538,7 +19540,7 @@ $as_echo "no" >&6; }
+@@ -20865,7 +20867,7 @@ $as_echo "no" >&6; }
fi
if test -n "-L$use_dlz_postgres_lib -lpq"
then
diff --git a/net/bind910/patches/patch-lib_bind9_Makefile.in b/net/bind910/patches/patch-lib_bind9_Makefile.in
deleted file mode 100644
index 8cf647908c6..00000000000
--- a/net/bind910/patches/patch-lib_bind9_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_bind9_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/bind9/Makefile.in.orig 2013-09-05 05:09:08.000000000 +0000
-+++ lib/bind9/Makefile.in
-@@ -79,7 +79,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libbind9.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} libbind9.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f libbind9.@A@ timestamp
diff --git a/net/bind910/patches/patch-lib_dns_Makefile.in b/net/bind910/patches/patch-lib_dns_Makefile.in
deleted file mode 100644
index 7f98fa83338..00000000000
--- a/net/bind910/patches/patch-lib_dns_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_dns_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/dns/Makefile.in.orig 2013-09-05 05:09:08.000000000 +0000
-+++ lib/dns/Makefile.in
-@@ -142,7 +142,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} libdns.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f libdns.@A@ timestamp
diff --git a/net/bind910/patches/patch-lib_dns_rbt.c b/net/bind910/patches/patch-lib_dns_rbt.c
index af59ad22a72..89e16f4d996 100644
--- a/net/bind910/patches/patch-lib_dns_rbt.c
+++ b/net/bind910/patches/patch-lib_dns_rbt.c
@@ -1,17 +1,17 @@
-$NetBSD: patch-lib_dns_rbt.c,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+$NetBSD: patch-lib_dns_rbt.c,v 1.2 2014/10/14 16:23:19 taca Exp $
* Disable inline on powerpc.
---- lib/dns/rbt.c.orig 2014-05-27 04:45:53.000000000 +0000
+--- lib/dns/rbt.c.orig 2014-09-16 19:27:15.000000000 +0000
+++ lib/dns/rbt.c
-@@ -328,6 +328,10 @@ hexdump(const char *desc, unsigned char
+@@ -345,6 +345,10 @@ hexdump(const char *desc, unsigned char
}
- #endif
+ #endif /* DEBUG */
+#if !defined(inline) && defined(__powerpc__)
+#define inline /**/
+#endif
+
+ /* The passed node must not be NULL. */
static inline dns_rbtnode_t *
- find_up(dns_rbtnode_t *node) {
- dns_rbtnode_t *root;
+ get_subtree_root(dns_rbtnode_t *node) {
diff --git a/net/bind910/patches/patch-lib_isc_Makefile.in b/net/bind910/patches/patch-lib_isc_Makefile.in
deleted file mode 100644
index ea47a99fe60..00000000000
--- a/net/bind910/patches/patch-lib_isc_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_isc_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/isc/Makefile.in.orig 2014-01-27 18:58:24.000000000 +0000
-+++ lib/isc/Makefile.in
-@@ -134,7 +134,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisc.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} libisc.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
diff --git a/net/bind910/patches/patch-lib_isccc_Makefile.in b/net/bind910/patches/patch-lib_isccc_Makefile.in
deleted file mode 100644
index 4c3a342b827..00000000000
--- a/net/bind910/patches/patch-lib_isccc_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_isccc_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/isccc/Makefile.in.orig 2011-02-19 23:47:38.000000000 +0000
-+++ lib/isccc/Makefile.in
-@@ -80,7 +80,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccc.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} libisccc.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f libisccc.@A@ timestamp
diff --git a/net/bind910/patches/patch-lib_isccfg_Makefile.in b/net/bind910/patches/patch-lib_isccfg_Makefile.in
deleted file mode 100644
index 250233c2317..00000000000
--- a/net/bind910/patches/patch-lib_isccfg_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_isccfg_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/isccfg/Makefile.in.orig 2013-09-05 05:09:08.000000000 +0000
-+++ lib/isccfg/Makefile.in
-@@ -78,7 +78,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libisccfg.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} libisccfg.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f libisccfg.@A@ timestamp
diff --git a/net/bind910/patches/patch-lib_lwres_Makefile.in b/net/bind910/patches/patch-lib_lwres_Makefile.in
deleted file mode 100644
index 9a2a5ff012e..00000000000
--- a/net/bind910/patches/patch-lib_lwres_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_lwres_Makefile.in,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
-
-* XXX: Install with proper permission.
-
---- lib/lwres/Makefile.in.orig 2007-06-19 23:47:22.000000000 +0000
-+++ lib/lwres/Makefile.in
-@@ -78,7 +78,7 @@ installdirs:
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
- install:: timestamp installdirs
-- ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} liblwres.@A@ ${DESTDIR}${libdir}
-+ ${LIBTOOL_MODE_INSTALL} ${INSTALL_SCRIPT} liblwres.@A@ ${DESTDIR}${libdir}
-
- clean distclean::
- rm -f liblwres.@A@ liblwres.la timestamp
diff --git a/net/bind910/patches/patch-lib_lwres_getaddrinfo.c b/net/bind910/patches/patch-lib_lwres_getaddrinfo.c
index 4c1e458a0db..7d467098168 100644
--- a/net/bind910/patches/patch-lib_lwres_getaddrinfo.c
+++ b/net/bind910/patches/patch-lib_lwres_getaddrinfo.c
@@ -1,12 +1,12 @@
-$NetBSD: patch-lib_lwres_getaddrinfo.c,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+$NetBSD: patch-lib_lwres_getaddrinfo.c,v 1.2 2014/10/14 16:23:19 taca Exp $
* Add fix for KAME based implementation.
---- lib/lwres/getaddrinfo.c.orig 2008-11-25 23:47:23.000000000 +0000
+--- lib/lwres/getaddrinfo.c.orig 2014-09-16 19:27:15.000000000 +0000
+++ lib/lwres/getaddrinfo.c
@@ -142,6 +142,10 @@
- #include <lwres/netdb.h>
#include <lwres/stdlib.h>
+ #include <lwres/string.h>
+#ifdef __KAME__
+#include <net/if.h>