# $Id$

PortSystem 1.0

name                pdnsd
version             1.2.9
categories          net
platforms           darwin
license             GPL-3
maintainers         mww
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           md5     037f79d191b98974ffc2c9649727bf66 \
                    sha256  772d50e8ab45e11a541a263f086ead18a795a0f97745c2215a5d8e7c0c4f92da \
                    rmd160  0a584e03f6db8037ff6ef7289e279ff5ec71c34e

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      freecode
livecheck.version   ${version}-par