Skip to content

Commit

Permalink
package/bind: bump to version 9.16.26
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
pevik authored and arnout committed Mar 12, 2022
1 parent 94d1a54 commit 8adeaec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
12 changes: 11 additions & 1 deletion package/bind/Config.in
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions package/bind/bind.hash
Original file line number Diff line number Diff line change
@@ -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
15 changes: 7 additions & 8 deletions package/bind/bind.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 \
Expand All @@ -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)
Expand Down

0 comments on commit 8adeaec

Please sign in to comment.