dnsutils: fix path to /etc/dns.conf
This commit is contained in:
parent
4b331de7ed
commit
7e7644481a
@ -2,7 +2,7 @@ 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.13.6
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SHA256=ae771f209fd807d6cb9db20e16ee96ec4ba44b2052cda8c4487ddacae124870e
|
||||
TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf"
|
||||
|
12
packages/dnsutils/lib-irs-context.c.patch
Normal file
12
packages/dnsutils/lib-irs-context.c.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr bind-9.13.6/lib/irs/context.c bind-9.13.6.mod/lib/irs/context.c
|
||||
--- bind-9.13.6/lib/irs/context.c 2019-02-07 01:44:09.000000000 +0200
|
||||
+++ bind-9.13.6.mod/lib/irs/context.c 2019-03-02 02:39:12.188552664 +0200
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#ifndef DNS_CONF
|
||||
/*% location of dns.conf */
|
||||
-#define DNS_CONF "/etc/dns.conf"
|
||||
+#define DNS_CONF "@TERMUX_PREFIX@/etc/dns.conf"
|
||||
#endif
|
||||
|
||||
static bool thread_key_initialized = false;
|
Loading…
Reference in New Issue
Block a user