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