Ticket #23596: nsd.patch
File nsd.patch, 1.3 KB (added by anand@…, 15 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name nsd 7 version 3.2. 27 version 3.2.4 8 8 categories net 9 9 platforms darwin 10 10 maintainers nomaintainer … … 17 17 18 18 homepage http://www.nlnetlabs.nl/nsd/ 19 19 master_sites http://www.nlnetlabs.nl/downloads/nsd/ 20 checksums sha1 23fc0be5d447ea852acd49f64743c96403a091fa20 checksums sha1 ca94d6c1e53c3ff9d46d3fc7ca56d43590a91a8f 21 21 22 22 depends_lib port:openssl 23 23 … … 29 29 set gid [existsgroup ${nsdgroup}] 30 30 adduser ${nsduser} gid=${gid} shell=/sbin/nologin \ 31 31 {realname=NSD Server} home=${prefix}/var/db/nsd 32 } 33 34 post-destroot { 35 xinstall -d ${destroot}${prefix}/share/doc/nsd 36 eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/nsd 32 37 xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/db/nsd 33 38 xinstall -o ${nsduser} -g ${nsdgroup} -m 755 -d ${destroot}${prefix}/var/run/nsd 34 39 } … … 44 49 configure.args-append --enable-root-server 45 50 } 46 51 52 variant nsid description {Enables support for the EDNS0 NSID option (RFC 5001)} { 53 configure.args-append --enable-nsid 54 } 55 47 56 livecheck.type regex 48 57 livecheck.url ${master_sites} 49 58 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"