PortSystem 1.0

name                pdnsd
version             1.2.9a
categories          net
platforms           darwin
license             GPL-3
maintainers         nomaintainer
description         proxy dns server with permanent caching
long_description    \
    pdnsd is a proxy dns server with permanent caching: the cache contents are \
    written to hard disk on exit. It is designed to cope with unreachable or \
    down dns servers, for example in dial-in networking.

homepage            http://members.home.nl/p.a.rombouts/pdnsd/
master_sites        http://members.home.nl/p.a.rombouts/pdnsd/releases/
distname            pdnsd-${version}-par
checksums           rmd160  3ca151bac64c1d5ea3c4d400ab8a3993e6370145 \
                    sha256  bb5835d0caa8c4b31679d6fd6a1a090b71bdf70950db3b1d0cea9cf9cb7e2a7b

worksrcdir          ${name}-${version}

configure.args      --mandir=${prefix}/share/man \
                    --sysconfdir=${prefix}/etc/${name} \
                    --disable-ipv6 \
                    --with-cachedir=${prefix}/var/cache/pdnsd \
                    --with-random-device=arc4random

livecheck.type      regex
livecheck.url       "http://members.home.nl/p.a.rombouts/pdnsd/releases/?C=M;O=D"
livecheck.regex     pdnsd-(\\d+(?:\\.\\d+)*\[a-z\]?)-par.tar.gz
