X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b402eeffd99d766b52fd96e2200f09893b416817..1b11c6fa66441b6b254bf96ac97e868019c1a8b6:/packages/dnsutils/build.sh diff --git a/packages/dnsutils/build.sh b/packages/dnsutils/build.sh index 3e6704b8..50009289 100644 --- a/packages/dnsutils/build.sh +++ b/packages/dnsutils/build.sh @@ -1,11 +1,12 @@ TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/ TERMUX_PKG_DESCRIPTION="Clients provided with BIND" -TERMUX_PKG_VERSION=9.10.3 +TERMUX_PKG_VERSION=9.10.4 TERMUX_PKG_BUILD_REVISION=1 -TERMUX_PKG_SRCURL="https://www.isc.org/downloads/file/bind-9-10-3/?version=tar-gz" -TERMUX_PKG_FOLDERNAME="bind-${TERMUX_PKG_VERSION}" -TERMUX_PKG_DEPENDS="openssl" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no" +TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz" +TERMUX_PKG_FOLDERNAME="bind-$TERMUX_PKG_VERSION" +TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no --with-libtool" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-openssl=$TERMUX_PREFIX" export BUILD_AR=ar export BUILD_CC=gcc @@ -19,16 +20,23 @@ CFLAGS+=" $CPPFLAGS -DRESOLV_CONF=\\\"$_RESOLV_CONF\\\"" LDFLAGS+=" -llog" termux_step_make () { - make -C lib/dns && - make -C lib/isc && - make -C lib/bind9 && - make -C lib/isccfg && - make -C lib/lwres && - make -C bin/dig + 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 + make -C bin/nsupdate } termux_step_make_install () { + 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 make -C bin/dig install - - printf "nameserver 8.8.8.8\nnameserver 8.8.4.4" > $_RESOLV_CONF + make -C bin/nsupdate install }