1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name rbldnsd |
---|
6 | version 0.996b |
---|
7 | categories net |
---|
8 | maintainers hostwizard.com:scott |
---|
9 | master_sites http://www.corpit.ru/mjt/rbldnsd/ |
---|
10 | homepage http://www.corpit.ru/mjt/rbldnsd.html |
---|
11 | distname ${name}_${version} |
---|
12 | worksrcdir ${name}-${version} |
---|
13 | description rbldnsd is a small and fast DNS daemon which \ |
---|
14 | is especially made to serve DNSBL zone |
---|
15 | |
---|
16 | long_description The daemon can serve both IP-based (ordb.org, dsbl.org etc) \ |
---|
17 | and name-based (rfc-ignorant.org) blocklists. Unlike DJB's \ |
---|
18 | rbldns, it has ability to specify individual values for every \ |
---|
19 | entry, can serve as many zones on a single IP address as you \ |
---|
20 | wish, and, finally, it is a real nameserver: it can reply to \ |
---|
21 | DNS metadata requests. The daemon keeps all zones in memory \ |
---|
22 | for faster operations, but its memory usage is very efficient, \ |
---|
23 | especially for repeated TXT values which are stored only once. |
---|
24 | |
---|
25 | checksums md5 9a0f26f3b33764c325a96bd4c61b26fa \ |
---|
26 | sha1 9cfe6cf01c54088cecc3a02902c721ee714f1c28 \ |
---|
27 | rmd160 15be588fb4051f0526084425b586ea7986b6493a |
---|
28 | |
---|
29 | configure.pre_args-delete --prefix=${prefix} |
---|
30 | |
---|
31 | |
---|
32 | pre-destroot { |
---|
33 | # Add user and group, these are the users rbldnsd will start as |
---|
34 | addgroup _rbldnsd |
---|
35 | set gid [existsgroup _rbldnsd] |
---|
36 | adduser _rbldnsd gid=${gid} realname=rbldnsd home=${prefix}/sbin |
---|
37 | } |
---|
38 | |
---|
39 | destroot { |
---|
40 | # Install binary |
---|
41 | xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/sbin |
---|
42 | |
---|
43 | # Install man page 'rbldnsd.8' |
---|
44 | xinstall -m 0640 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8 |
---|
45 | } |
---|