-# Verified from ftp://ftp.isc.org/isc/bind9/9.10.4-P3/bind-9.10.4-P3.tar.gz.sha256.asc
-sha256 a075e5ce89fddccb0e64d1777d59161387dd5151cf4e7d1a93875a487812baef bind-9.10.4-P3.tar.gz
+# Verified from ftp://ftp.isc.org/isc/bind9/9.11.0/bind-9.11.0.tar.gz.sha256.asc
+sha256 6f0b403036e0281b272a0fbdd0dc3417f3050b625cb059c5409432611418058b bind-9.11.0.tar.gz
#
################################################################################
-BIND_VERSION = 9.10.4-P3
+BIND_VERSION = 9.11.0
BIND_SITE = ftp://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 = ISC
+BIND_LICENSE = MPLv2.0
BIND_LICENSE_FILES = COPYRIGHT
BIND_TARGET_SERVER_SBIN = arpaname ddns-confgen dnssec-checkds dnssec-coverage
BIND_TARGET_SERVER_SBIN += dnssec-importkey dnssec-keygen dnssec-revoke
--enable-rrl \
--enable-filter-aaaa
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+BIND_CONF_OPTS += --with-zlib
+BIND_DEPENDENCIES += zlib
+else
+BIND_CONF_OPTS += --without-zlib
+endif
+
ifeq ($(BR2_PACKAGE_LIBCAP),y)
BIND_CONF_OPTS += --enable-linux-caps
BIND_DEPENDENCIES += libcap