Ticket #53312: rbldnsd-0.998.diff

File rbldnsd-0.998.diff, 2.2 KB (added by ryandesign (Ryan Carsten Schmidt), 8 years ago)
  • net/rbldnsd/Portfile

    diff --git a/net/rbldnsd/Portfile b/net/rbldnsd/Portfile
    index ff483ad80c..25d4c80b27 100644
    a b  
    33PortSystem          1.0
    44
    55name                rbldnsd
    6 version             0.996b
     6version             0.998
    77categories          net
    88maintainers         pixilla
    99master_sites        http://www.corpit.ru/mjt/rbldnsd/
    1010platforms           darwin
    1111homepage            http://www.corpit.ru/mjt/rbldnsd.html
    12 distname            ${name}_${version}
    13 worksrcdir          ${name}-${version}
     12license             GPL-2+
    1413
    1514livecheck.url       ${master_sites}
    16 livecheck.regex     "${name}_(\\d+(?:\\.\\d+)\[b-z\])${extract.suffix}"
     15livecheck.regex     ${name}-(\\d+\\.\\d+\[a-z\]?)${extract.suffix}
    1716
    1817description             rbldnsd is a small and fast DNS daemon which \
    1918                    is especially made to serve DNSBL zone
    long_description The daemon can serve both IP-based (ordb.org, dsbl.org etc) \ 
    2726                    for faster operations, but its memory usage is very efficient, \
    2827                    especially for repeated TXT values which are stored only once.
    2928
    30 checksums           md5     9a0f26f3b33764c325a96bd4c61b26fa \
    31                     sha1    9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
    32                     rmd160  15be588fb4051f0526084425b586ea7986b6493a
     29checksums           rmd160  bdf9563b464f9f87fd6dc64607eb59bc892f890b \
     30                    sha256  bc36082d46828ecdc0c9e3f8f009596746e1242b2b4002ab9cf9b93fe36e4924
    3331
    3432depends_lib         port:zlib
    3533
    3634                    configure.pre_args-delete --prefix=${prefix}
    3735
     36add_users           _rbldnsd group=_rbldnsd realname=rbldnsd home=${prefix}/sbin
    3837
    39 pre-destroot {
    40         # Add user and group, these are the users rbldnsd will start as
    41         addgroup _rbldnsd
    42         set gid [existsgroup _rbldnsd]
    43         adduser _rbldnsd gid=${gid} realname=rbldnsd home=${prefix}/sbin
    44 }
     38configure.universal_args-delete --disable-dependency-tracking
    4539
    4640destroot {
    47      # Install binary
    4841     xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/sbin
    49      
    50      # Install man page 'rbldnsd.8'
    5142     xinstall -m 0640 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8
    5243}