packages/libadns/: Various minor fixes.
[termux-packages] / packages / libadns / build.sh
index 9de7ac6..f795140 100644 (file)
@@ -8,3 +8,14 @@ TERMUX_PKG_HOMEPAGE="http://www.gnu.org/software/adns/"
 TERMUX_PKG_VERSION=1.5.0
 TERMUX_PKG_SHA256=7fc5eb4d315111a3a3a3f45ff143339ad4050185fbe6bff687f21364cb4ae841
 TERMUX_PKG_SRCURL="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-$TERMUX_PKG_VERSION.tar.gz"
+TERMUX_PKG_CONFFILES="etc/resolv.conf"
+
+termux_step_post_make_install () {
+  cat >$TERMUX_PREFIX/etc/resolv.conf <<EOF
+### -*-conf-*-
+
+## Use Quad9 nameserver by default, since they appear to actually care about
+## privacy.
+nameserver 9.9.9.9
+EOF
+}