PKGNAME=unbound
PKGSEC=net
PKGDEP="expat openssl libevent nghttp2 python-3"
PKGDES="A validating, recursive, and caching DNS resolver"
BUILDDEP="swig"

ABTYPE="autotools"
AUTOTOOLS_AFTER=(
    "PYTHON=/usr/bin/python3"
    "--disable-rpath"
    "--enable-pie"
    "--enable-relro-now"
    "--disable-static"
    "--enable-subnet"
    "--enable-ipsecmod"
    "--enable-sha2"
    "--enable-ecdsa"
    "--enable-linux-ip-local-port-range"
    "--enable-systemd"
    "--with-libnghttp2"
    "--with-libevent"
    "--with-pthreads"
    "--with-pyunbound"
    "--with-username=unbound"
    "--with-run-dir=/etc/unbound"
    "--with-rootkey-file=/etc/unbound/trusted-key.key"
    "--with-conf-file=/etc/unbound/unbound.conf"
    "--with-pidfile=/var/run/unbound.pi"
)
