@ -9,7 +9,7 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := bind
PKG_VERSION := 9.12.3-P4
PKG_VERSION := 9.14.2
PKG_RELEASE := 1
USERID := bind = 57:bind= 57
@ -21,7 +21,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL := \
https://www.mirrorservice.org/sites/ftp.isc.org/isc/bind9/$( PKG_VERSION) \
https://ftp.isc.org/isc/bind9/$( PKG_VERSION)
PKG_HASH := d1014453c62623e42323fd83fc89444c12ae6b707fd586466959a052fe21f206
PKG_HASH := 0e4027573726502ec038db3973a086c02508671723a4845e21da1769a5c27f0c
PKG_FIXUP := autoreconf
PKG_REMOVE_FILES := aclocal.m4 libtool.m4
@ -31,7 +31,6 @@ PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL := 1
PKG_CONFIG_DEPENDS := \
CONFIG_BIND_ENABLE_FILTER_AAAA \
CONFIG_BIND_LIBJSON \
CONFIG_BIND_LIBXML2
@ -56,7 +55,7 @@ endef
d e f i n e P a c k a g e / b i n d - l i b s
SECTION:= libs
CATEGORY:= Libraries
DEPENDS:= +libopenssl +zlib
DEPENDS:= +libopenssl +zlib +libpthread +libatomic
TITLE:= bind shared libraries
URL:= https://www.isc.org/software/bind
i f d e f C O N F I G _ B I N D _ L I B J S O N
@ -76,6 +75,12 @@ define Package/bind-server/config
source " $( SOURCE) /Config.in "
e n d e f
d e f i n e P a c k a g e / b i n d - s e r v e r - f i l t e r - a a a a
$( call Package/bind-server)
DEPENDS:= +bind-server
TITLE += filter AAAA plugin
e n d e f
d e f i n e P a c k a g e / b i n d - c l i e n t
$( call Package/bind/Default)
TITLE += dynamic DNS client
@ -122,33 +127,22 @@ export BUILD_CC="$(TARGET_CC)"
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
CONFIGURE_ARGS += \
--enable-ipv6= $( if $( CONFIG_IPV6) ,yes,no) \
--with-randomdev= "/dev/urandom" \
--disable-threads \
--disable-linux-caps \
--with-openssl= " $( STAGING_DIR) /usr " \
--with-libtool \
--without-lmdb \
--enable-epoll= yes \
--with-gost= no \
--with-gssapi= no \
--with-ecdsa= $( if $( CONFIG_OPENSSL_WITH_EC) ,yes,no) \
--with-eddsa= $( if $( CONFIG_BIND_ENABLE_EDDSA) ,yes,no) \
--with-readline= no \
--enable-atomic= no \
--enable-epoll \
--without-gssapi \
--without-readline \
--without-python \
--sysconfdir= /etc/bind
i f d e f C O N F I G _ B I N D _ E N A B L E _ F I L T E R _ A A A A
CONFIGURE_ARGS += \
--enable-filter-aaaa
e n d i f
i f d e f C O N F I G _ B I N D _ L I B J S O N
CONFIGURE_ARGS += \
--with-libjson= " $( STAGING_DIR) /usr "
e l s e
CONFIGURE_ARGS += \
--with-libjson= no
--without -libjson
e n d i f
i f d e f C O N F I G _ B I N D _ L I B X M L 2
@ -156,7 +150,7 @@ ifdef CONFIG_BIND_LIBXML2
--with-libxml2= " $( STAGING_DIR) /usr "
e l s e
CONFIGURE_ARGS += \
--with-libxml2= no
--without -libxml2
e n d i f
CONFIGURE_VARS += \
@ -204,6 +198,11 @@ define Package/bind-server/conffiles
/ e t c / b i n d / n a m e d . c o n f
e n d e f
d e f i n e P a c k a g e / b i n d - s e r v e r - f i l t e r - a a a a / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/named
$( CP) $( PKG_INSTALL_DIR) /usr/lib/named/filter-aaaa.so $( 1) /usr/lib/named
e n d e f
d e f i n e P a c k a g e / b i n d - c l i e n t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/nsupdate $( 1) /usr/bin/
@ -245,6 +244,7 @@ endef
$( eval $ ( call BuildPackage ,bind -libs ) )
$( eval $ ( call BuildPackage ,bind -server ) )
$( eval $ ( call BuildPackage ,bind -server -filter -aaaa ) )
$( eval $ ( call BuildPackage ,bind -client ) )
$( eval $ ( call BuildPackage ,bind -tools ) )
$( eval $ ( call BuildPackage ,bind -rndc ) )