# -*- 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 # $Id$ PortSystem 1.0 name nsd version 3.2.2 categories net platforms darwin maintainers nomaintainer description Authoritative only, high performance, simple name server. long_description NSD is an authoritative only, high performance, simple and \ open source name server. set nsduser nsd set nsdgroup nsd homepage http://www.nlnetlabs.nl/nsd/ master_sites http://www.nlnetlabs.nl/downloads/nsd/ checksums sha1 23fc0be5d447ea852acd49f64743c96403a091fa depends_lib port:openssl configure.args --with-ssl=${prefix} \ --with-pidfile=${prefix}/var/run/nsd/nsd.pid pre-destroot { addgroup ${nsdgroup} set gid [existsgroup ${nsdgroup}] adduser ${nsduser} gid=${gid} shell=/sbin/nologin \ {realname=NSD Server} home=${prefix}/var/db/nsd xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/db/nsd xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/run/nsd } destroot.keepdirs ${destroot}${prefix}/var/run/nsd \ ${destroot}${prefix}/var/db/nsd variant stats description {Enable BIND8-style statistics} { configure.args-append --enable-bind8-stats } variant rootserver description {Allows NSD to function as a root server} { configure.args-append --enable-root-server } livecheck.check regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"