source: trunk/dports/net/unbound/Portfile @ 53772

Last change on this file since 53772 was 53772, checked in by snc@…, 10 years ago

updated version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
RevLine 
[52587]1# -*- 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
[47579]2# $Id: Portfile 53772 2009-07-13 14:24:31Z snc@macports.org $
3
[53772]4PortSystem          1.0
[47579]5
[52587]6name                unbound
[53772]7version             1.3.2
[52587]8categories          net
9maintainers         macports.org:snc \
10                    macports.org:deric
11description         Validating, recursive, and caching DNS resolver.
[52588]12homepage            http://unbound.net/
[52587]13platforms           darwin
[47579]14
[52587]15set unbounduser     unbound
16set unboundgroup    unbound
[47579]17
[52587]18long_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.
[47579]27
[52587]28master_sites        http://unbound.net/downloads/
[47579]29
[53772]30checksums           md5     1aa735c95cff3d8bdec39b54ced7dd3d \
31                    sha1    6aafdc87a70430f3aab54026bab5c901da2dba86 \
32                    rmd160  a1f50182381d7950fffcbbc18a0a7fd362629d70
[47579]33
34post-destroot {
[52587]35    addgroup ${unboundgroup}
36    set gid [existsgroup ${unboundgroup}]
37    adduser ${unbounduser} shell=/sbin/nologin gid=${gid} \
38        home=/dev/null \
39        realname=Unbound\ Resolver
[47579]40}
41
42# Make it run on boot
[52587]43startupitem.create  yes
44startupitem.name    unbound
45startupitem.start   ${prefix}/sbin/unbound
46startupitem.stop    "/bin/kill \$(cat ${prefix}/etc/unbound/unbound.pid)"
[52588]47
48livecheck.check     regex
49livecheck.url       ${homepage}/download.html
50livecheck.regex     "The latest version of unbound \\(currently (\\d+\\.\\d+(\\.\\d+))\\)"
Note: See TracBrowser for help on using the repository browser.