1 | PortSystem 1.0 |
---|
2 | name bind9 |
---|
3 | version 9.2.2 |
---|
4 | revision 1 |
---|
5 | categories net |
---|
6 | maintainers bchesneau@mac.com |
---|
7 | description Domain Name System server |
---|
8 | long_description The BIND DNS Server is used on the vast majority of name serving machines on the Internet, providing a robust and stable architecture on top of which an organization's naming architecture can be built. The resolver library included in the BIND distribution provides the standard APIs for translation between domain names and Internet addresses and is intended to be linked with applications requiring name service. |
---|
9 | |
---|
10 | platforms darwin freebsd |
---|
11 | master_sites ftp://ftp.isc.org/isc/${portname}/${version}/ |
---|
12 | distname bind-${version} |
---|
13 | worksrcdir bind-${version} |
---|
14 | checksums md5 6ea7d64a0856893ab3eb541ab7bbc725 |
---|
15 | |
---|
16 | depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup |
---|
17 | |
---|
18 | |
---|
19 | configure.args --mandir=${prefix}/share/man --localstatedir=${prefix}/var |
---|
20 | |
---|
21 | post-install { |
---|
22 | file mkdir ${destroot}${prefix}/etc/rc.d/ |
---|
23 | file mkdir ${destroot}${prefix}/var/run/ |
---|
24 | system "install -bC -o root ${portpath}/bind.sh ${destroot}${prefix}/etc/rc.d/" |
---|
25 | } |
---|
26 | |
---|
27 | variant darwin { |
---|
28 | depends_lib-append lib:libdl.1:dlcompat |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
32 | variant ipv6 { |
---|
33 | configure.args-append --enable-ipv6 |
---|
34 | } |
---|
35 | |
---|
36 | variant ssl { |
---|
37 | depends_lib-append lib:libssl.0.9:openssl |
---|
38 | configure.args-append --with-openssl |
---|
39 | } |
---|