[Buildroot] [git commit] package/bind: bump to version 9.16.26
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sat Mar 12 19:44:08 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=8adeaec8afacbc680edebae91524f6144926ac92
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
BIND 9.11 EOL in March, 2022. BIND 9.16 is current Stable/ESV version.
Changes:
* libuv (new dependency)
* openssl is now mandatory
* zlib must be detected with PKG_CONFIG_PATH (specifying zlib
installation path is not supported)
* bind9-config and isc-config.sh removed
* updated COPYRIGHT hash
Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
package/bind/Config.in | 12 +++++++++++-
package/bind/bind.hash | 6 +++---
package/bind/bind.mk | 15 +++++++--------
3 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/package/bind/Config.in b/package/bind/Config.in
index db10ceb304..9887403ed9 100644
--- a/package/bind/Config.in
+++ b/package/bind/Config.in
@@ -1,6 +1,11 @@
config BR2_PACKAGE_BIND
bool "bind"
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), libuv
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
+ depends on !BR2_STATIC_LIBS # libuv
+ select BR2_PACKAGE_LIBUV
+ select BR2_PACKAGE_OPENSSL
help
BIND (Berkeley Internet Name Domain) is an
implementation of the Domain Name System (DNS) protocols
@@ -24,6 +29,11 @@ config BR2_PACKAGE_BIND
https://www.isc.org/bind/
+comment "bind needs a toolchain w/ NPTL, dynamic library"
+ depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+
if BR2_PACKAGE_BIND
config BR2_PACKAGE_BIND_SERVER
diff --git a/package/bind/bind.hash b/package/bind/bind.hash
index 70299f1677..401e389e49 100644
--- a/package/bind/bind.hash
+++ b/package/bind/bind.hash
@@ -1,4 +1,4 @@
-# Verified from https://ftp.isc.org/isc/bind9/9.11.36/bind-9.11.36.tar.gz.asc
+# Verified from https://ftp.isc.org/isc/bind9/9.16.26/bind-9.16.26.tar.xz.asc
# with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD
-sha256 c953fcb6703b395aaa53e65ff8b2869b69a5303dd60507cba2201305e1811681 bind-9.11.36.tar.gz
-sha256 cad49daa42654bc241762cd998630168a2542c8fd6fad3881e2eac1510bb6fcd COPYRIGHT
+sha256 70b39a5eb71650358ec9ba41da3050d32aeac0aeb4a466684b23f35affa7fb45 bind-9.16.26.tar.xz
+sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT
diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index e329c803a3..5b4c60b14c 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -4,12 +4,12 @@
#
################################################################################
-BIND_VERSION = 9.11.36
+BIND_VERSION = 9.16.26
+BIND_SOURCE= bind-$(BIND_VERSION).tar.xz
BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION)
# bind does not support parallel builds.
BIND_MAKE = $(MAKE1)
BIND_INSTALL_STAGING = YES
-BIND_CONFIG_SCRIPTS = bind9-config isc-config.sh
BIND_LICENSE = MPL-2.0
BIND_LICENSE_FILES = COPYRIGHT
BIND_CPE_ID_VENDOR = isc
@@ -32,15 +32,18 @@ BIND_CONF_ENV = \
BIND_CONF_OPTS = \
$(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \
--without-lmdb \
- --with-libjson=no \
+ --with-json-c=no \
--with-randomdev=/dev/urandom \
--enable-epoll \
--enable-filter-aaaa \
--disable-backtrace
+BIND_DEPENDENCIES = libuv
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
-BIND_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
+BIND_CONF_OPTS += --with-zlib
BIND_DEPENDENCIES += zlib
+BIND_DEPENDENCIES += host-pkgconf zlib
else
BIND_CONF_OPTS += --without-zlib
endif
@@ -66,7 +69,6 @@ else
BIND_CONF_OPTS += --with-libxml2=no
endif
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
BIND_DEPENDENCIES += host-pkgconf openssl
BIND_CONF_OPTS += \
--with-openssl=$(STAGING_DIR)/usr \
@@ -80,9 +82,6 @@ BIND_CONF_OPTS += --with-gost=yes
else
BIND_CONF_OPTS += --with-gost=no
endif
-else
-BIND_CONF_OPTS += --with-openssl=no
-endif
# Used by dnssec-keymgr
ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
More information about the buildroot
mailing list