diff options
author | taca <taca@pkgsrc.org> | 2019-06-20 02:16:53 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2019-06-20 02:16:53 +0000 |
commit | 501cb9585ff0d27bfc078207897b9a99177719b2 (patch) | |
tree | 439fa19a24323b45a8933e94b5fa1ccf681f5f5e /net/bind914/patches | |
parent | 75ba29a2ee3742f6a584ef71db5c372071eac5a2 (diff) | |
download | pkgsrc-501cb9585ff0d27bfc078207897b9a99177719b2.tar.gz |
net/bind914: update to 9.14.3
Update bind914 to 9.14.3 (BIND 9.14.3).
--- 9.14.3 released ---
5244. [security] Fixed a race condition in dns_dispatch_getnext()
that could cause an assertion failure if a
significant number of incoming packets were
rejected. (CVE-2019-6471) [GL #942]
5243. [bug] Fix a possible race between dispatcher and socket
code in a high-load cold-cache resolver scenario.
[GL #943]
5242. [bug] In relaxed qname minimizatiom mode, fall back to
normal resolution when encountering a lame
delegation, and use _.domain/A queries rather
than domain/NS. [GL #1055]
5241. [bug] Fix Ed448 private and public key ASN.1 prefix blobs.
[GL #225]
5240. [bug] Remove key id calculation for RSAMD5. [GL #996]
5238. [bug] Fix a possible deadlock in TCP code. [GL #1046]
5237. [bug] Recurse to find the root server list with 'dig +trace'.
[GL #1028]
5234. [port] arm: just use the compiler's default support for
yield. [GL #981]
Diffstat (limited to 'net/bind914/patches')
-rw-r--r-- | net/bind914/patches/patch-config.h.in | 10 | ||||
-rw-r--r-- | net/bind914/patches/patch-configure | 26 | ||||
-rw-r--r-- | net/bind914/patches/patch-lib_isc_rwlock.c | 13 |
3 files changed, 22 insertions, 27 deletions
diff --git a/net/bind914/patches/patch-config.h.in b/net/bind914/patches/patch-config.h.in index 4d82b39068b..72d0329afd5 100644 --- a/net/bind914/patches/patch-config.h.in +++ b/net/bind914/patches/patch-config.h.in @@ -1,12 +1,12 @@ -$NetBSD: patch-config.h.in,v 1.1 2019/04/30 03:34:34 taca Exp $ +$NetBSD: patch-config.h.in,v 1.2 2019/06/20 02:16:53 taca Exp $ * Add support for blacklistd. ---- config.h.in.orig 2019-04-06 20:09:59.000000000 +0000 +--- config.h.in.orig 2019-06-04 15:20:04.000000000 +0000 +++ config.h.in -@@ -45,6 +45,9 @@ - /* Define to 1 if you have the `arc4random_uniform' function. */ - #undef HAVE_ARC4RANDOM_UNIFORM +@@ -48,6 +48,9 @@ + /* define if the ARM yield instruction is available */ + #undef HAVE_ARM_YIELD +/* Define to 1 if blacklist is supported. */ +#undef HAVE_BLACKLIST diff --git a/net/bind914/patches/patch-configure b/net/bind914/patches/patch-configure index 67381b63217..892dea64acb 100644 --- a/net/bind914/patches/patch-configure +++ b/net/bind914/patches/patch-configure @@ -1,11 +1,11 @@ -$NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ +$NetBSD: patch-configure,v 1.2 2019/06/20 02:16:53 taca Exp $ * Add DragonFly support. * Use proper link options for NetBSD. * Link proper postgresql library. * Add support for blacklistd. ---- configure.orig 2019-04-06 20:09:59.000000000 +0000 +--- configure.orig 2019-06-04 15:20:04.000000000 +0000 +++ configure @@ -725,6 +725,9 @@ purify_path MKDEPPROG @@ -17,7 +17,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ ZLIB JSONSTATS XMLSTATS -@@ -879,6 +882,7 @@ with_pic +@@ -882,6 +885,7 @@ with_pic enable_fast_install with_aix_soname with_gnu_ld @@ -25,7 +25,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ with_sysroot enable_libtool_lock enable_libbind -@@ -1672,6 +1676,7 @@ Optional Packages: +@@ -1675,6 +1679,7 @@ Optional Packages: --with-dlz-stub=ARG Build with stub DLZ driver [yes|no]. (Required to use stub driver with DLZ) --with-make-clean run "make clean" at end of configure [yes|no] @@ -33,7 +33,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ Some influential environment variables: CC C compiler command -@@ -3818,7 +3823,7 @@ fi +@@ -3821,7 +3826,7 @@ fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ @@ -42,7 +42,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -@@ -16679,27 +16684,10 @@ case "$use_libjson" in +@@ -16709,27 +16714,10 @@ case "$use_libjson" in libjson_libs="" ;; auto|yes) @@ -74,7 +74,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ ;; *) if test -f "${use_libjson}/include/json/json.h" -@@ -16805,6 +16793,139 @@ $as_echo "#define HAVE_JSON_C 1" >>confd +@@ -16835,6 +16823,139 @@ $as_echo "#define HAVE_JSON_C 1" >>confd JSONSTATS=1 fi @@ -214,7 +214,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ # # was --with-zlib specified? -@@ -20234,7 +20355,7 @@ else +@@ -20264,7 +20385,7 @@ else fi ;; #( @@ -223,7 +223,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ LDFLAGS="${LDFLAGS} -Wl,-E" SO_CFLAGS="-fpic" -@@ -20266,9 +20387,9 @@ fi +@@ -20296,9 +20417,9 @@ fi ;; #( *-solaris*) : @@ -234,9 +234,9 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ + SO_LDFLAGS="-Xcompiler -shared -Wl,-z -Wl,text" + SO_LD="${CC}" ;; #( - *) : + ia64-hp-hpux*) : -@@ -20691,8 +20812,8 @@ $as_echo "no" >&6; } +@@ -20727,8 +20848,8 @@ $as_echo "no" >&6; } fi if test -n "-L$use_dlz_postgres_lib -lpq" then @@ -247,7 +247,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ fi -@@ -23892,6 +24013,7 @@ report() { +@@ -23928,6 +24049,7 @@ report() { test "X$PYTHON" = "X" || echo " Python tools (--with-python)" test "X$XMLSTATS" = "X" || echo " XML statistics (--with-libxml2)" test "X$JSONSTATS" = "X" || echo " JSON statistics (--with-libjson)" @@ -255,7 +255,7 @@ $NetBSD: patch-configure,v 1.1 2019/04/30 03:34:34 taca Exp $ test "X$ZLIB" = "X" || echo " HTTP zlib compression (--with-zlib)" test "X$NZD_TOOLS" = "X" || echo " LMDB database to store configuration for 'addzone' zones (--with-lmdb)" test "no" = "$with_libidn2" || echo " IDN support (--with-libidn2)" -@@ -23970,6 +24092,7 @@ report() { +@@ -24006,6 +24128,7 @@ report() { test "X$PYTHON" = "X" && echo " Python tools (--with-python)" test "X$XMLSTATS" = "X" && echo " XML statistics (--with-libxml2)" test "X$JSONSTATS" = "X" && echo " JSON statistics (--with-libjson)" diff --git a/net/bind914/patches/patch-lib_isc_rwlock.c b/net/bind914/patches/patch-lib_isc_rwlock.c index 516250b0934..880e76f0714 100644 --- a/net/bind914/patches/patch-lib_isc_rwlock.c +++ b/net/bind914/patches/patch-lib_isc_rwlock.c @@ -1,21 +1,16 @@ -$NetBSD: patch-lib_isc_rwlock.c,v 1.1 2019/04/30 03:34:34 taca Exp $ +$NetBSD: patch-lib_isc_rwlock.c,v 1.2 2019/06/20 02:16:53 taca Exp $ * Platform change from NetBSD base. ---- lib/isc/rwlock.c.orig 2019-04-06 20:09:59.000000000 +0000 +--- lib/isc/rwlock.c.orig 2019-06-04 15:20:04.000000000 +0000 +++ lib/isc/rwlock.c -@@ -54,11 +54,12 @@ - # define isc_rwlock_pause() __asm__ __volatile__ ("rep; nop") - #elif defined(__ia64__) - # define isc_rwlock_pause() __asm__ __volatile__ ("hint @pause") --#elif defined(__arm__) -+#elif defined(__arm__) && defined(_ARM_ARCH_6) +@@ -58,7 +58,8 @@ # define isc_rwlock_pause() __asm__ __volatile__ ("yield") #elif defined(sun) && (defined(__sparc) || defined(__sparc__)) # define isc_rwlock_pause() smt_pause() -#elif defined(__sparc) || defined(__sparc__) +/* Disable pause, only works on v9 */ -+#elif (defined(__sparc) || defined(__sparc__)) && defined(notdef) ++#elif defined(__sparc) || defined(__sparc__) && defined(notdef) # define isc_rwlock_pause() __asm__ __volatile__ ("pause") #elif defined(__ppc__) || defined(_ARCH_PPC) || \ defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_POWER) |