# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {l2dy @l2dy} openmaintainer
license {GPL-2 OpenSSLException}
description a high-end, high-performance resolving name server
long_description The PowerDNS Recursor is a high-end, high-performance \
resolving name server which powers the DNS resolution of \
at least a hundred million subscribers. Utilizing multiple \
processors and supporting the same powerful scripting ability \
of the Authoritative Server, the Recursor delivers top performance \
while retaining the flexibility modern DNS deployments require.
homepage https://www.powerdns.com/recursor.html
master_sites https://downloads.powerdns.com/releases/
checksums rmd160 380687d14d4334aa641acb394f71e6ee419186b8 \
sha256 a4d8cf2401488c0a2d9c5f97bb6ebf135243edf2272aa66aa3855f94551fe8b8 \
depends_build port:pkgconfig
path:lib/libssl.dylib:openssl
startupitem.executable ${prefix}/sbin/pdns_recursor
configure.args --sysconfdir=${prefix}/etc/powerdns \
variant lua description {Build with Lua support} {
configure.args-replace --without-lua --with-lua
depends_lib-append port:lua
move ${destroot}${prefix}/etc/powerdns/recursor.conf-dist ${destroot}${prefix}/etc/powerdns/recursor.conf.sample
if {![file exists ${prefix}/etc/powerdns/recursor.conf]} {
copy ${prefix}/etc/powerdns/recursor.conf.sample ${prefix}/etc/powerdns/recursor.conf
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"