2020-06-22 14:05:08 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://man7.org/linux/man-pages/man5/resolv.conf.5.html
|
2015-12-16 02:14:15 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Resolver configuration file"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="Public Domain"
|
2020-09-29 15:38:23 +02:00
|
|
|
TERMUX_PKG_VERSION=1.3
|
2019-08-14 13:27:16 +02:00
|
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
2020-09-29 15:38:23 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_CONFFILES="
|
|
|
|
etc/hosts
|
|
|
|
etc/resolv.conf
|
|
|
|
"
|
2015-12-16 02:14:15 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2020-09-29 15:38:23 +02:00
|
|
|
printf "127.0.0.1 localhost\n::1 ip6-localhost\n" > $TERMUX_PREFIX/etc/hosts
|
|
|
|
printf "nameserver 8.8.8.8\nnameserver 8.8.4.4\n" > $TERMUX_PREFIX/etc/resolv.conf
|
2015-12-16 02:14:15 +01:00
|
|
|
}
|