2015-09-18 06:23:12 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
|
2016-01-03 11:59:39 +01:00
|
|
|
# NOTE: When changing this version, you also needo to change TERMUX_PKG_SRCURL
|
|
|
|
# and TERMUX_PKG_FOLDERNAME.
|
|
|
|
TERMUX_PKG_VERSION=9.10.3.2
|
|
|
|
# TERMUX_PKG_SRCURL="https://www.isc.org/downloads/file/bind-9-10-3-p2/?version=tar-gz"
|
|
|
|
TERMUX_PKG_SRCURL="https://ftp.isc.org/isc/bind/cur/9.10/bind-9.10.3-P2.tar.gz"
|
|
|
|
TERMUX_PKG_FOLDERNAME="bind-9.10.3-P2"
|
2015-12-16 02:14:15 +01:00
|
|
|
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf"
|
2015-09-18 15:54:15 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no --with-libtool"
|
2015-09-18 06:23:12 +02:00
|
|
|
|
2015-09-18 15:28:25 +02:00
|
|
|
export BUILD_AR=ar
|
|
|
|
export BUILD_CC=gcc
|
|
|
|
export BUILD_CFLAGS=
|
|
|
|
export BUILD_CPPFLAGS=
|
|
|
|
export BUILD_LDFLAGS=
|
|
|
|
export BUILD_RANLIB=
|
2015-09-18 06:23:12 +02:00
|
|
|
|
2015-09-18 15:28:25 +02:00
|
|
|
_RESOLV_CONF=$TERMUX_PREFIX/etc/resolv.conf
|
|
|
|
CFLAGS+=" $CPPFLAGS -DRESOLV_CONF=\\\"$_RESOLV_CONF\\\""
|
|
|
|
LDFLAGS+=" -llog"
|
2015-09-18 06:23:12 +02:00
|
|
|
|
|
|
|
termux_step_make () {
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isc
|
|
|
|
make -C lib/dns
|
|
|
|
make -C lib/isccc
|
|
|
|
make -C lib/isccfg
|
|
|
|
make -C lib/bind9
|
|
|
|
make -C lib/lwres
|
|
|
|
make -C bin/dig
|
2015-09-18 06:23:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install () {
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isc install
|
|
|
|
make -C lib/dns install
|
|
|
|
make -C lib/isccc install
|
|
|
|
make -C lib/isccfg install
|
|
|
|
make -C lib/bind9 install
|
|
|
|
make -C lib/lwres install
|
2015-09-18 06:23:12 +02:00
|
|
|
make -C bin/dig install
|
|
|
|
}
|