Ticket #19914: Portfile

File Portfile, 1.8 KB (added by scott@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                rbldnsd
6version             0.996b
7categories          net
8maintainers         hostwizard.com:scott
9master_sites        http://www.corpit.ru/mjt/rbldnsd/
10homepage            http://www.corpit.ru/mjt/rbldnsd.html
11distname            ${name}_${version}
12worksrcdir          ${name}-${version}
13description             rbldnsd is a small and fast DNS daemon which \
14                    is especially made to serve DNSBL zone
15
16long_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
25checksums           md5     9a0f26f3b33764c325a96bd4c61b26fa \
26                    sha1    9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
27                    rmd160  15be588fb4051f0526084425b586ea7986b6493a
28
29                    configure.pre_args-delete --prefix=${prefix}
30
31
32pre-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
39destroot {
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}