ldns: Update to 1.8.1

This commit is contained in:
Tee KOBAYASHI 2022-02-24 05:25:01 +09:00 committed by buttaface
parent 83f620d2ab
commit 184b88f372
2 changed files with 2 additions and 15 deletions

View File

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.nlnetlabs.nl/projects/ldns/
TERMUX_PKG_DESCRIPTION="Library for simplifying DNS programming and supporting recent and experimental RFCs"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.7.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_VERSION=1.8.1
TERMUX_PKG_SRCURL=https://www.nlnetlabs.nl/downloads/ldns/ldns-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229
TERMUX_PKG_SHA256=958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BREAKS="ldns-dev"
TERMUX_PKG_REPLACES="ldns-dev"

View File

@ -13,15 +13,3 @@ diff -uNr ldns-1.7.0/ldns/resolver.h ldns-1.7.0.mod/ldns/resolver.h
#define LDNS_RESOLV_KEYWORD -1
#define LDNS_RESOLV_DEFDOMAIN 0
diff -uNr ldns-1.7.0/resolver.c ldns-1.7.0.mod/resolver.c
--- ldns-1.7.0/resolver.c 2016-12-20 12:48:22.000000000 +0200
+++ ldns-1.7.0.mod/resolver.c 2017-10-04 16:28:34.203407382 +0300
@@ -780,7 +780,7 @@
if(!line_nr) line_nr = &lnr;
if(!fp) {
- myfp = fopen("/etc/resolv.conf", "r");
+ myfp = fopen("@TERMUX_PREFIX@/etc/resolv.conf", "r");
if(!myfp)
return LDNS_STATUS_FILE_ERR;
}