Ticket #23596: nsd.patch

File nsd.patch, 1.3 KB (added by anand@…, 14 years ago)

Patch to update NSD to version 3.2.4

  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name                    nsd
    7 version                 3.2.2
     7version                 3.2.4
    88categories              net
    99platforms               darwin
    1010maintainers             nomaintainer
     
    1717
    1818homepage                http://www.nlnetlabs.nl/nsd/
    1919master_sites            http://www.nlnetlabs.nl/downloads/nsd/
    20 checksums               sha1 23fc0be5d447ea852acd49f64743c96403a091fa
     20checksums               sha1 ca94d6c1e53c3ff9d46d3fc7ca56d43590a91a8f
    2121
    2222depends_lib             port:openssl
    2323
     
    2929        set gid [existsgroup ${nsdgroup}]
    3030        adduser ${nsduser} gid=${gid} shell=/sbin/nologin \
    3131                {realname=NSD Server} home=${prefix}/var/db/nsd
     32}
     33
     34post-destroot {
     35        xinstall -d ${destroot}${prefix}/share/doc/nsd
     36        eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/nsd
    3237        xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/db/nsd
    3338        xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/run/nsd
    3439}
     
    4449        configure.args-append   --enable-root-server
    4550}
    4651
     52variant nsid description {Enables support for the EDNS0 NSID option (RFC 5001)} {
     53        configure.args-append   --enable-nsid
     54}
     55
    4756livecheck.type  regex
    4857livecheck.url   ${master_sites}
    4958livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"