1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name unbound |
---|
7 | version 1.2.1 |
---|
8 | revision 1 |
---|
9 | categories net |
---|
10 | maintainers nomaintainer |
---|
11 | description Caching only namesever |
---|
12 | homepage http://www.unbound.net/ |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | set unbounduser unbound |
---|
16 | set unboundgroup unbound |
---|
17 | |
---|
18 | long_description Unbound is a validating, recursive, and caching DNS \ |
---|
19 | server software product from NLnet Labs, VeriSign Inc.,\ |
---|
20 | Nominet, and Kirei. It is distributed free of charge \ |
---|
21 | in open source form under the BSD license.\ |
---|
22 | Unbound is designed as a set of modular components \ |
---|
23 | that incorporate modern features, such as enhanced \ |
---|
24 | security (DNSSEC) validation, Internet Protocol \ |
---|
25 | Version 6 (IPv6), and a client resolver library API \ |
---|
26 | as an integral part of the architecture. |
---|
27 | |
---|
28 | master_sites http://unbound.net/downloads/ |
---|
29 | |
---|
30 | checksums md5 5437f2a1e698d8aa73ba19a60662a654 \ |
---|
31 | sha1 996aea210b24f8c4bd1aa7a9584bc5b70b989b1b \ |
---|
32 | rmd160 c26d82d92e3342fe860d342a0717824b07d1c38d |
---|
33 | |
---|
34 | |
---|
35 | destroot { |
---|
36 | addgroup ${unboundgroup} |
---|
37 | set gid [existsgroup ${unboundgroup}] |
---|
38 | adduser ${unbounduser} shell=/sbin/nologin gid=${gid} \ |
---|
39 | home=/dev/null \ |
---|
40 | realname=Unbound\ Resolver |
---|
41 | } |
---|
42 | |
---|
43 | # Make it run on boot |
---|
44 | startupitem.create yes |
---|
45 | startupitem.name unbound |
---|
46 | startupitem.start ${prefix}/sbin/unbound |
---|
47 | startupitem.stop "/bin/kill \$(cat ${prefix}/etc/unbound/unbound.pid)" |
---|
48 | |
---|