Browse Source

dnsutils: Update from 9.14.9 to 9.15.7

build-on-device
Fredrik Fornwall 5 years ago
parent
commit
71db4de2b9
  1. 9
      packages/dnsutils/build.sh
  2. 14
      packages/dnsutils/lib-isc-Makefile.in.patch

9
packages/dnsutils/build.sh

@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://www.isc.org/downloads/bind/
TERMUX_PKG_DESCRIPTION="Clients provided with BIND"
TERMUX_PKG_LICENSE="MPL-2.0"
TERMUX_PKG_VERSION=9.14.9
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=29575ed58fa2324fb137936421f64f9aa048d67c78840dd18ade204ee180573c
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf, zlib"
TERMUX_PKG_VERSION=9.15.7
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.xz"
TERMUX_PKG_SHA256=99ec7779c0a48a381338dde7e778d499ba677ea031823683004abc3c369898e3
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf, zlib, libuv"
TERMUX_PKG_BREAKS="dnsutils-dev"
TERMUX_PKG_REPLACES="dnsutils-dev"
TERMUX_PKG_BUILD_IN_SRC=true
@ -34,7 +34,6 @@ termux_step_pre_configure() {
_RESOLV_CONF=$TERMUX_PREFIX/etc/resolv.conf
CFLAGS+=" $CPPFLAGS -DRESOLV_CONF=\\\"$_RESOLV_CONF\\\""
LDFLAGS+=" -llog"
}
termux_step_make() {

14
packages/dnsutils/lib-isc-Makefile.in.patch

@ -0,0 +1,14 @@
https://bugs.gentoo.org/703650
diff -u -r ../bind-9.15.7/lib/isc/Makefile.in ./lib/isc/Makefile.in
--- ../bind-9.15.7/lib/isc/Makefile.in 2019-12-13 00:00:45.000000000 +0000
+++ ./lib/isc/Makefile.in 2019-12-29 23:25:03.422518000 +0000
@@ -82,7 +82,7 @@
symtab.c task.c taskpool.c timer.c \
tm.c version.c
-LIBS = ${OPENSSL_LIBS} @LIBS@
+LIBS = ${ZLIB_LIBS} ${OPENSSL_LIBS} @LIBS@
# Note: the order of SUBDIRS is important.
# Attempt to disable parallel processing.
Loading…
Cancel
Save