@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := bind
PKG_VERSION := 9.11.2
PKG_RELEASE := 2
PKG_RELEASE := 3
USERID := bind = 57:bind= 57
PKG_MAINTAINER := Noah Meyerhans <frodo@morgul.net>
@ -29,7 +29,16 @@ PKG_INSTALL:=1
PKG_USE_MIPS16 := 0
PKG_CONFIG_DEPENDS := \
CONFIG_BIND_ENABLE_FILTER_AAAA
CONFIG_BIND_ENABLE_FILTER_AAAA \
CONFIG_BIND_LIBJSON \
CONFIG_BIND_LIBXML2
i f d e f C O N F I G _ B I N D _ L I B X M L 2
PKG_BUILD_DEPENDS += libxml2
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
PKG_BUILD_DEPENDS += libjson-c
e n d i f
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -48,6 +57,12 @@ define Package/bind-libs
DEPENDS:= +libopenssl +zlib
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
DEPENDS += +libjson-c
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
DEPENDS += +libxml2
e n d i 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
@ -104,9 +119,7 @@ CONFIGURE_ARGS += \
--disable-threads \
--disable-linux-caps \
--with-openssl= " $( STAGING_DIR) /usr " \
--with-libjson= no \
--with-libtool \
--with-libxml2= no \
--without-lmdb \
--enable-epoll= yes \
--with-gost= no \
@ -120,6 +133,22 @@ ifdef CONFIG_BIND_ENABLE_FILTER_AAAA
--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
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
CONFIGURE_ARGS += \
--with-libxml2= " $( STAGING_DIR) /usr "
e l s e
CONFIGURE_ARGS += \
--with-libxml2= no
e n d i f
CONFIGURE_VARS += \
BUILD_CC = " $( TARGET_CC) " \