source: trunk/dports/net/rbldnsd/Portfile

Last change on this file was 92306, checked in by pixilla@…, 5 years ago

net/rbldnsd:

  • Add mode line.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
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: Portfile 92306 2012-04-24 22:14:14Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                rbldnsd
7version             0.996b
8categories          net
9maintainers         pixilla
10master_sites        http://www.corpit.ru/mjt/rbldnsd/
11platforms           darwin
12homepage            http://www.corpit.ru/mjt/rbldnsd.html
13distname            ${name}_${version}
14worksrcdir          ${name}-${version}
15
16livecheck.url       ${master_sites}
17livecheck.regex     "${name}_(\\d+(?:\\.\\d+)\[b-z\])${extract.suffix}"
18
19description             rbldnsd is a small and fast DNS daemon which \
20                    is especially made to serve DNSBL zone
21
22long_description        The daemon can serve both IP-based (ordb.org, dsbl.org etc) \
23                    and name-based (rfc-ignorant.org) blocklists. Unlike DJB's \
24                    rbldns, it has ability to specify individual values for every \
25                    entry, can serve as many zones on a single IP address as you \
26                    wish, and, finally, it is a real nameserver: it can reply to \
27                    DNS metadata requests. The daemon keeps all zones in memory \
28                    for faster operations, but its memory usage is very efficient, \
29                    especially for repeated TXT values which are stored only once.
30
31checksums           md5     9a0f26f3b33764c325a96bd4c61b26fa \
32                    sha1    9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
33                    rmd160  15be588fb4051f0526084425b586ea7986b6493a
34
35depends_lib         port:zlib
36
37                    configure.pre_args-delete --prefix=${prefix}
38
39
40pre-destroot {
41        # Add user and group, these are the users rbldnsd will start as
42        addgroup _rbldnsd
43        set gid [existsgroup _rbldnsd]
44        adduser _rbldnsd gid=${gid} realname=rbldnsd home=${prefix}/sbin
45}
46
47destroot {
48     # Install binary
49     xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/sbin
50     
51     # Install man page 'rbldnsd.8'
52     xinstall -m 0640 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8
53}
Note: See TracBrowser for help on using the repository browser.