bind9 version 9.4.2 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    bind9  most recent diff


      View the most recent changes for the bind9 port at: bind9.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for bind9.
      The raw portfile for bind9 9.4.2 is located here:
      http://bind9.darwinports.com/dports/net/bind9/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/bind9
      Google
      Web Darwinports.com



      # $Id: Portfile 33833 2008-02-06 18:07:15Z dluke macports.org $

      PortSystem 1.0

      Name: bind9
      Version: 9.4.2
      revision 3

      Category: net
      Maintainers: dluke geeklair.net
      Platform: darwin freebsd sunos

      Description: Domain Name System server
      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.
      Homepage: http://www.isc.org

      distname bind-${version}
      master_sites isc:${name}/${version}
      checksums md5 57953d7264139b9506b9d66174125179
      depends_lib port:openssl

      test.run yes
      test.target test

      startupitem.create yes
      startupitem.netchange yes
      startupitem.executable ${prefix}/sbin/named -f

      patchfiles patch-inet_network.c.diff

      configure.args --mandir=${prefix}/share/man --enable-libbind --with-openssl=${prefix} --enable-threads

      post-patch {
      # Put bind includes in ${prefix}/include/bind
      reinplace "s|/bind/include|/include/bind|" ${worksrcpath}/lib/bind/configure
      # Put bind libs in ${prefix}/lib/bind
      reinplace "s|/bind/lib|/lib/bind|" ${worksrcpath}/lib/bind/configure
      }

      post-destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/var/named ${destroot}${prefix}/var/run

      # Install the conf file as a sample
      xinstall -o root -m 644 ${filespath}/named.conf ${destroot}${prefix}/etc/named.conf.dist
      reinplace "s|%%PREFIX%%|${prefix}|g" ${destroot}${prefix}/etc/named.conf.dist

      # Install the db files as samples
      foreach f "db.127.0.0 db.cache db.localhost" {
      xinstall -o root -m 644 ${filespath}/${f} ${destroot}${prefix}/var/named/${f}.dist
      }

      destroot.keepdirs ${destroot}${prefix}/var/run
      }

      platform darwin 6 { depends_lib-append lib:libdl:dlcompat }

      Variant: ipv6 description {enable ipv6 support} {
      configure.args-append --enable-ipv6
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/bind9
      % sudo port install bind9
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching bind9
      ---> Verifying checksum for bind9
      ---> Extracting bind9
      ---> Configuring bind9
      ---> Building bind9 with target all
      ---> Staging bind9 into destroot
      ---> Installing bind9
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using bind9 with these commands:
      %  man bind9
      % apropos bind9
      % which bind9
      % locate bind9

     Where to find more information:

    Darwin Ports



    image test