2015-09-18 06:23:12 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="MPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-02-22 18:25:49 +01:00
|
|
|
TERMUX_PKG_VERSION=9.16.11
|
2021-09-14 16:48:21 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2019-12-30 00:30:46 +01:00
|
|
|
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.xz"
|
2021-02-03 23:54:44 +01:00
|
|
|
TERMUX_PKG_SHA256=0111f64dd7d8f515cfa129e181cce96ff82070d1b27f11a21f6856110d0699c1
|
2019-12-30 00:30:46 +01:00
|
|
|
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf, zlib, libuv"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="dnsutils-dev"
|
|
|
|
TERMUX_PKG_REPLACES="dnsutils-dev"
|
2019-12-21 14:56:20 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
2017-05-23 00:42:36 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2018-09-30 09:40:49 +02:00
|
|
|
--disable-linux-caps
|
2018-11-27 00:21:03 +01:00
|
|
|
--without-python
|
2017-05-23 00:42:36 +02:00
|
|
|
--with-ecdsa=no
|
|
|
|
--with-gost=no
|
|
|
|
--with-gssapi=no
|
|
|
|
--with-libjson=no
|
|
|
|
--with-libtool
|
|
|
|
--with-libxml2=no
|
|
|
|
--with-openssl=$TERMUX_PREFIX
|
|
|
|
--with-randomdev=/dev/random
|
2017-07-26 13:43:18 +02:00
|
|
|
--with-readline=-lreadline
|
2018-08-14 12:20:07 +02:00
|
|
|
--with-eddsa=no
|
2017-05-23 00:42:36 +02:00
|
|
|
"
|
2015-09-18 06:23:12 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2016-09-04 00:45:08 +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
|
|
|
|
2016-09-04 00:45:08 +02:00
|
|
|
_RESOLV_CONF=$TERMUX_PREFIX/etc/resolv.conf
|
|
|
|
CFLAGS+=" $CPPFLAGS -DRESOLV_CONF=\\\"$_RESOLV_CONF\\\""
|
|
|
|
}
|
2015-09-18 06:23:12 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isc
|
|
|
|
make -C lib/dns
|
2019-01-13 22:57:45 +01:00
|
|
|
make -C lib/ns
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isccc
|
|
|
|
make -C lib/isccfg
|
|
|
|
make -C lib/bind9
|
2018-08-14 12:20:07 +02:00
|
|
|
make -C lib/irs
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C bin/dig
|
2018-10-16 07:16:00 +02:00
|
|
|
make -C bin/delv
|
2016-06-04 01:13:24 +02:00
|
|
|
make -C bin/nsupdate
|
2015-09-18 06:23:12 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isc install
|
|
|
|
make -C lib/dns install
|
2019-01-13 22:57:45 +01:00
|
|
|
make -C lib/ns install
|
2015-09-18 15:54:15 +02:00
|
|
|
make -C lib/isccc install
|
|
|
|
make -C lib/isccfg install
|
|
|
|
make -C lib/bind9 install
|
2018-08-14 12:20:07 +02:00
|
|
|
make -C lib/irs install
|
2015-09-18 06:23:12 +02:00
|
|
|
make -C bin/dig install
|
2018-10-16 07:16:00 +02:00
|
|
|
make -C bin/delv install
|
2016-06-04 01:13:24 +02:00
|
|
|
make -C bin/nsupdate install
|
2015-09-18 06:23:12 +02:00
|
|
|
}
|