0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-24 08:02:45 +00:00
Files
termux-packages/packages/libunbound/smallapp-unbound-host.c.patch
Tee KOBAYASHI c2c6109dee unbound: Separate command-line tools as subpackage
named `unbound` and rename the parent package to `libunbound`.
2023-06-18 12:45:22 +09:00

21 lines
932 B
Diff

--- a/smallapp/unbound-host.c
+++ b/smallapp/unbound-host.c
@@ -99,7 +99,7 @@
printf(" -C config use the specified unbound.conf (none read by default)\n");
printf(" pass as first argument if you want to override some\n");
printf(" options with further arguments\n");
- printf(" -r read forwarder information from /etc/resolv.conf\n");
+ printf(" -r read forwarder information from @TERMUX_PREFIX@/etc/resolv.conf\n");
printf(" breaks validation if the forwarder does not do DNSSEC.\n");
printf(" -v be more verbose, shows nodata and security.\n");
printf(" -d debug, traces the action, -d -d shows more.\n");
@@ -462,7 +462,7 @@
debuglevel = 2; /* at least VERB_DETAIL */
break;
case 'r':
- check_ub_res(ub_ctx_resolvconf(ctx, "/etc/resolv.conf"));
+ check_ub_res(ub_ctx_resolvconf(ctx, "@TERMUX_PREFIX@/etc/resolv.conf"));
break;
case 't':
qtype = optarg;