dnsmasq: configurable services

Close: #35826
This commit is contained in:
Đoàn Trần Công Danh 2022-03-04 10:17:47 +07:00
parent cd63e05633
commit ccb6ed253f
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
mkdir -p /var/lib/misc mkdir -p /var/lib/misc
exec dnsmasq -k --enable-dbus -u dnsmasq -g dnsmasq 2>&1 [ -r ./conf ] && . ./conf
exec dnsmasq -k ${OPTS:---enable-dbus -u dnsmasq -g dnsmasq} 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'dnsmasq' # Template file for 'dnsmasq'
pkgname=dnsmasq pkgname=dnsmasq
version=2.86 version=2.86
revision=1 revision=2
conf_files="/etc/dnsmasq.conf" conf_files="/etc/dnsmasq.conf"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel libidn2-devel $(vopt_if dnssec nettle-devel)" makedepends="dbus-devel libcap-devel libidn2-devel $(vopt_if dnssec nettle-devel)"