# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 53772 2009-07-13 14:24:31Z snc@macports.org $ PortSystem 1.0 name unbound version 1.3.2 categories net maintainers macports.org:snc \ macports.org:deric description Validating, recursive, and caching DNS resolver. homepage http://unbound.net/ platforms darwin set unbounduser unbound set unboundgroup unbound long_description Unbound is a validating, recursive, and caching DNS \ server software product from NLnet Labs, VeriSign Inc.,\ Nominet, and Kirei. It is distributed free of charge \ in open source form under the BSD license.\ Unbound is designed as a set of modular components \ that incorporate modern features, such as enhanced \ security (DNSSEC) validation, Internet Protocol \ Version 6 (IPv6), and a client resolver library API \ as an integral part of the architecture. master_sites http://unbound.net/downloads/ checksums md5 1aa735c95cff3d8bdec39b54ced7dd3d \ sha1 6aafdc87a70430f3aab54026bab5c901da2dba86 \ rmd160 a1f50182381d7950fffcbbc18a0a7fd362629d70 post-destroot { addgroup ${unboundgroup} set gid [existsgroup ${unboundgroup}] adduser ${unbounduser} shell=/sbin/nologin gid=${gid} \ home=/dev/null \ realname=Unbound\ Resolver } # Make it run on boot startupitem.create yes startupitem.name unbound startupitem.start ${prefix}/sbin/unbound startupitem.stop "/bin/kill \$(cat ${prefix}/etc/unbound/unbound.pid)" livecheck.check regex livecheck.url ${homepage}/download.html livecheck.regex "The latest version of unbound \\(currently (\\d+\\.\\d+(\\.\\d+))\\)"