pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind916 net/bind916: Update to 9.16.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eff12afe46b3
branches:  trunk
changeset: 445805:eff12afe46b3
user:      otis <otis%pkgsrc.org@localhost>
date:      Fri Jan 29 16:17:15 2021 +0000

description:
net/bind916: Update to 9.16.11

- Fix build (at least) on SmartOS

- Changelog:
  * Feature Changes:
    - The new networking code introduced in BIND 9.16 (netmgr) was overhauled
      in order to make it more stable, testable, and maintainable. [GL #2321]

    - Earlier releases of BIND versions 9.16 and newer required the operating
      system to support load-balanced sockets in order for named to be able to
      achieve high performance (by distributing incoming queries among multiple
      threads). However, the only operating systems currently known to support
      load-balanced sockets are Linux and FreeBSD 12, which means both UDP and
      TCP performance were limited to a single thread on other systems. As of
      BIND 9.17.8, named attempts to distribute incoming queries among multiple
      threads on systems which lack support for load-balanced sockets (except
      Windows). [GL #2137]

    - It is now possible to transition a zone from secure to insecure mode
      without making it bogus in the process; changing to dnssec-policy none;
      also causes CDS and CDNSKEY DELETE records to be published, to signal
      that the entire DS RRset at the parent must be removed, as described in
      RFC 8078. [GL #1750]

    - When using the unixtime or date method to update the SOA serial number,
      named and dnssec-signzone silently fell back to the increment method to
      prevent the new serial number from being smaller than the old serial
      number (using serial number arithmetics). dnssec-signzone now prints a
      warning message, and named logs a warning, when such a fallback happens.
      [GL #2058]

  * Bug Fixes:
    - Multiple threads could attempt to destroy a single RBTDB instance at the
      same time, resulting in an unpredictable but low-probability assertion
      failure in free_rbtdb(). This has been fixed. [GL #2317]

    - named no longer attempts to assign threads to CPUs outside the CPU
      affinity set. Thanks to Ole Bjørn Hessen. [GL #2245]

    - When reconfiguring named, removing auto-dnssec did not turn off DNSSEC
      maintenance. This has been fixed. [GL #2341]

    - The report of intermittent BIND assertion failures triggered in
      lib/dns/resolver.c:dns_name_issubdomain() has now been closed without
      further action. Our initial response to this was to add diagnostic
      logging instead of terminating named, anticipating that we would receive
      further useful troubleshooting input. This workaround first appeared in
      BIND releases 9.17.5 and 9.16.7. However, since those releases were
      published, there have been no new reports of assertion failures matching
      this issue, but also no further diagnostic input, so we have closed the
      issue. [GL #2091]

- Full Changelog at:
  https://downloads.isc.org/isc/bind9/9.16.11/doc/arm/html/notes.html

diffstat:

 net/bind916/Makefile                                   |   5 ++-
 net/bind916/distinfo                                   |  15 ++++++-------
 net/bind916/patches/patch-lib_isc_include_isc_netmgr.h |  19 +++++++----------
 net/bind916/patches/patch-lib_isc_netmgr_tcp.c         |  15 --------------
 net/bind916/patches/patch-make_rules.in                |  19 ++++++++++++++++-
 5 files changed, 35 insertions(+), 38 deletions(-)

diffs (143 lines):

diff -r 14703ce798a7 -r eff12afe46b3 net/bind916/Makefile
--- a/net/bind916/Makefile      Fri Jan 29 13:58:26 2021 +0000
+++ b/net/bind916/Makefile      Fri Jan 29 16:17:15 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2021/01/13 09:34:30 nia Exp $
+# $NetBSD: Makefile,v 1.9 2021/01/29 16:17:15 otis Exp $
 
 DISTNAME=      bind-${BIND_VERSION}
 PKGNAME=       ${DISTNAME:S/-P/pl/}
@@ -15,7 +15,7 @@
 
 MAKE_JOBS_SAFE=        no
 
-BIND_VERSION=  9.16.10
+BIND_VERSION=  9.16.11
 
 BUILD_DEFS+=   BIND_DIR VARBASE
 
@@ -82,6 +82,7 @@
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
 .endfor
 
+.include "../../mk/atomic64.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../devel/libuv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff -r 14703ce798a7 -r eff12afe46b3 net/bind916/distinfo
--- a/net/bind916/distinfo      Fri Jan 29 13:58:26 2021 +0000
+++ b/net/bind916/distinfo      Fri Jan 29 16:17:15 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2020/12/19 16:41:36 taca Exp $
+$NetBSD: distinfo,v 1.9 2021/01/29 16:17:15 otis Exp $
 
-SHA1 (bind-9.16.10.tar.xz) = 016dc93596272d607a88439b247eacecd3eeca03
-RMD160 (bind-9.16.10.tar.xz) = 78897fd2473e0ba2b4ce54cc2382c3defd50af1a
-SHA512 (bind-9.16.10.tar.xz) = cb140fd577042ddeb7a47bc5e132d405d885bed22c9aeecb3d91a9115481ce4380ef191f78ba7acc9580ad0d4c8ed2658643007adf5b5527060879f34efdf8f7
-Size (bind-9.16.10.tar.xz) = 3269696 bytes
+SHA1 (bind-9.16.11.tar.xz) = 1bfb5725c85fd9dffe868d8e826a1f8c0de509cc
+RMD160 (bind-9.16.11.tar.xz) = 65d5e1c21f0e1b97cc785ffc6790ebc76d88741f
+SHA512 (bind-9.16.11.tar.xz) = 5ed632df7c74f5e6693db9b378450ea3073b8002e9924df1d0465f8b8edb933df3a853d3965a290a0477a67ca2bfa79f679d7e344db08a65462860c58d04dc1b
+Size (bind-9.16.11.tar.xz) = 5007520 bytes
 SHA1 (patch-bin_dig_dighost.c) = b1073911d80ecd519af98b6678968296ff8c0c98
 SHA1 (patch-bin_dig_include_dig_dig.h) = 10166f5bb98b208c7b10d63eb31e8253f704acc8
 SHA1 (patch-bin_named_Makefile.in) = f1367da6a226ba44d0ee13acf00b8abeb5b1b7eb
@@ -38,11 +38,10 @@
 SHA1 (patch-lib_dns_zone.c) = 900e84e0de403d601df4c30f22758ab26a2a52b5
 SHA1 (patch-lib_isc_backtrace.c) = 1b6bca9b3de7f7298882c6c88274b0baf1dad507
 SHA1 (patch-lib_isc_hp.c) = 4c9646722297460f0e973bd131439b4ede885588
-SHA1 (patch-lib_isc_include_isc_netmgr.h) = 1b59d94e0236922f8fc3118ad775cb8eecf8f033
+SHA1 (patch-lib_isc_include_isc_netmgr.h) = cdf6bceae7e0b288d3e7ef7a4545a9cf2411112c
 SHA1 (patch-lib_isc_include_isc_socket.h) = dc6376cd9e8391fa96efd805faee1a5d0647a142
 SHA1 (patch-lib_isc_include_isc_types.h) = bc0cdeb762d974b7be6e602b7dc2aac17fa7fe2f
 SHA1 (patch-lib_isc_netmgr_netmgr.c) = 63168c8901646e7b2079e1dc3324087508bb1e62
-SHA1 (patch-lib_isc_netmgr_tcp.c) = f71556e21a6416af012b8d37a9ffb7c3ed4aa986
 SHA1 (patch-lib_isc_rwlock.c) = 1d114248ddee20db7a7429afab446f8b2f0dca82
 SHA1 (patch-lib_isc_stats.c) = 024a372d9919fa751b894f8fc8267691297f00f4
 SHA1 (patch-lib_isc_task.c) = 103a23c74888edd3ddee0793ce6531cd2e6b87f3
@@ -59,4 +58,4 @@
 SHA1 (patch-lib_ns_query.c) = 0c3c4a20aa4b40c144c4f986599cda67db3e2491
 SHA1 (patch-lib_ns_update.c) = 2fb3457da333143508d28420490cbc1cb69ddb19
 SHA1 (patch-lib_ns_xfrout.c) = 79d9e4add58ffd75ea9718f5501f1517e67416e3
-SHA1 (patch-make_rules.in) = b4e340237b4d444dbd857a8c2a4760182569173d
+SHA1 (patch-make_rules.in) = 5fb3a44ff0066c93872c25596267fbabffc6da8f
diff -r 14703ce798a7 -r eff12afe46b3 net/bind916/patches/patch-lib_isc_include_isc_netmgr.h
--- a/net/bind916/patches/patch-lib_isc_include_isc_netmgr.h    Fri Jan 29 13:58:26 2021 +0000
+++ b/net/bind916/patches/patch-lib_isc_include_isc_netmgr.h    Fri Jan 29 16:17:15 2021 +0000
@@ -1,16 +1,13 @@
-$NetBSD: patch-lib_isc_include_isc_netmgr.h,v 1.1 2020/08/09 15:20:22 taca Exp $
+$NetBSD: patch-lib_isc_include_isc_netmgr.h,v 1.2 2021/01/29 16:17:15 otis Exp $
 
-* Take from NetBSD base.
+Declare missing prototype.
 
---- lib/isc/include/isc/netmgr.h.orig  2020-05-06 09:59:35.000000000 +0000
+--- lib/isc/include/isc/netmgr.h.orig  2021-01-11 13:23:31.000000000 +0000
 +++ lib/isc/include/isc/netmgr.h
-@@ -96,6 +96,9 @@ isc_nmhandle_unref(isc_nmhandle_t *handl
-  * with the client.)
-  */
- 
+@@ -510,3 +510,6 @@ isc_nm_tlsdnsconnect(isc_nm_t *mgr, isc_
+ isc_result_t
+ isc_nm_tls_create_server_ctx(const char *keyfile, const char *certfile,
+                            isc_ssl_ctx_t **ctxp);
++
 +int
 +isc_nmhandle_getfd(isc_nmhandle_t *handle);
-+
- void *
- isc_nmhandle_getdata(isc_nmhandle_t *handle);
- 
diff -r 14703ce798a7 -r eff12afe46b3 net/bind916/patches/patch-lib_isc_netmgr_tcp.c
--- a/net/bind916/patches/patch-lib_isc_netmgr_tcp.c    Fri Jan 29 13:58:26 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-lib_isc_netmgr_tcp.c,v 1.1 2020/08/09 15:20:22 taca Exp $
-
-* Take from NetBSD base.
-
---- lib/isc/netmgr/tcp.c.orig  2020-05-06 09:59:35.000000000 +0000
-+++ lib/isc/netmgr/tcp.c
-@@ -36,7 +36,7 @@
- static atomic_uint_fast32_t last_tcpquota_log = ATOMIC_VAR_INIT(0);
- 
- static bool
--can_log_tcp_quota() {
-+can_log_tcp_quota(void) {
-       isc_stdtime_t now, last;
- 
-       isc_stdtime_get(&now);
diff -r 14703ce798a7 -r eff12afe46b3 net/bind916/patches/patch-make_rules.in
--- a/net/bind916/patches/patch-make_rules.in   Fri Jan 29 13:58:26 2021 +0000
+++ b/net/bind916/patches/patch-make_rules.in   Fri Jan 29 16:17:15 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-make_rules.in,v 1.1 2020/08/09 15:20:22 taca Exp $
+$NetBSD: patch-make_rules.in,v 1.2 2021/01/29 16:17:15 otis Exp $
 
 * Add libuv handling.
 
---- make/rules.in.orig 2020-06-10 21:01:43.000000000 +0000
+--- make/rules.in.orig 2021-01-11 13:23:31.000000000 +0000
 +++ make/rules.in
 @@ -134,6 +134,9 @@ LIBUV_LIBS = @LIBUV_LIBS@
  LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
@@ -14,3 +14,18 @@
  LMDB_CFLAGS = @LMDB_CFLAGS@
  LMDB_LIBS = @LMDB_LIBS@
  
+@@ -171,10 +174,10 @@ ALL_CFLAGS = ${EXT_CFLAGS} ${ALL_CPPFLAG
+ 
+ SHELL = @SHELL@
+ LIBTOOL = @LIBTOOL@
+-LIBTOOL_MODE_COMPILE = ${LIBTOOL} @LIBTOOL_MODE_COMPILE@
+-LIBTOOL_MODE_INSTALL = ${LIBTOOL} @LIBTOOL_MODE_INSTALL@
+-LIBTOOL_MODE_LINK = ${LIBTOOL} @LIBTOOL_MODE_LINK@
+-LIBTOOL_MODE_UNINSTALL = ${LIBTOOL} @LIBTOOL_MODE_UNINSTALL@
++LIBTOOL_MODE_COMPILE = ${LIBTOOL} --tag CC @LIBTOOL_MODE_COMPILE@
++LIBTOOL_MODE_INSTALL = ${LIBTOOL} --tag CC @LIBTOOL_MODE_INSTALL@
++LIBTOOL_MODE_LINK = ${LIBTOOL} --tag CC @LIBTOOL_MODE_LINK@
++LIBTOOL_MODE_UNINSTALL = ${LIBTOOL} --tag CC @LIBTOOL_MODE_UNINSTALL@
+ PURIFY = @PURIFY@
+ 
+ MKDEP = ${SHELL} ${top_builddir}/make/mkdep



Home | Main Index | Thread Index | Old Index