source: trunk/dports/net/bind9/Portfile @ 45060

Last change on this file since 45060 was 45060, checked in by dluke@…, 9 years ago

version bump, bind9 to 9.6.0-P1 (security fix release) - bind9.6 does not include libbind, so if it is needed a new port will have to be added.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 45060 2009-01-07 21:07:03Z dluke@macports.org $
2
3PortSystem 1.0
4
5name                    bind9
6version                 9.6.0-P1
7
8categories              net
9maintainers             dluke@geeklair.net
10platforms               darwin freebsd sunos
11
12description             Domain Name System server
13long_description        The BIND DNS Server is used on the vast majority of name \
14                                serving machines on the Internet, providing a robust \
15                                and stable \
16                                architecture on top of which an organization's naming architecture \
17                                can be built.  The resolver library included in the BIND distribution \
18                                provides the standard APIs for translation between domain names \
19                                and Internet addresses and is intended to be linked with applications \
20                                requiring name service.
21homepage                http://www.isc.org
22
23distname                bind-${version}
24master_sites            isc:${name}/${version}
25checksums           md5     886b7eae55cfdc8cd8d2ca74a2f99c6e \
26                    sha1    c2b703d05fc768f63f028b0812c46d6eb81c145d \
27                    rmd160  4507987e293b79e57ad6b87dd84012030d5b1d6e
28
29depends_lib             port:openssl
30
31use_parallel_build      no
32universal_variant       no
33
34test.run                yes
35test.target             test
36
37startupitem.create      yes
38startupitem.netchange   yes
39startupitem.executable  ${prefix}/sbin/named -f
40
41configure.args          --mandir=${prefix}/share/man \
42                                --with-openssl=${prefix} \
43                                --enable-threads \
44                                --enable-ipv6
45
46post-destroot   {
47        # Ensure needed directories
48        xinstall -m 755 -d \
49                ${destroot}${prefix}/var/named \
50                ${destroot}${prefix}/var/run
51       
52        # Install the conf file as a sample
53        xinstall -o root -m 644 ${filespath}/named.conf \
54                ${destroot}${prefix}/etc/named.conf.dist
55        reinplace "s|%%PREFIX%%|${prefix}|g" \
56                ${destroot}${prefix}/etc/named.conf.dist
57       
58        # Install the db files as samples
59        foreach f "db.127.0.0 db.cache db.localhost" {
60                xinstall -o root -m 644 ${filespath}/${f} \
61                        ${destroot}${prefix}/var/named/${f}.dist
62        }
63
64        destroot.keepdirs ${destroot}${prefix}/var/run
65}
66
67platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
Note: See TracBrowser for help on using the repository browser.