dnsmasq: use libidn2

This commit is contained in:
Rasmus Thomsen 2018-12-15 18:58:04 +01:00 committed by maxice8
parent 5afc6e99ca
commit 5e4b63da9b
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'dnsmasq'
pkgname=dnsmasq
version=2.80
revision=1
revision=2
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel libidn-devel $(vopt_if dnssec nettle-devel)"
makedepends="dbus-devel libcap-devel libidn2-devel $(vopt_if dnssec nettle-devel)"
conf_files="/etc/dnsmasq.conf"
system_accounts="dnsmasq"
dnsmasq_homedir="/var/chroot"
@ -19,6 +19,7 @@ desc_option_dnssec="Enable DNSSEC support via nettle"
do_build() {
echo '#define HAVE_DBUS' >> src/config.h
echo '#define HAVE_LIBIDN2' >> src/config.h
if [ "$build_option_dnssec" ]; then
echo '#define HAVE_DNSSEC' >> src/config.h
fi