Download and Install dnsupdate version 2.8 on Mac OS X
Wednesday the 23rd of July, 2008

    dnsupdate  most recent diff


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



      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      # $Id: Portfile 36148 2008-04-19 13:55:13Z jmr macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: dnsupdate
      Version: 2.8
      Category: aqua net
      Maintainers: jmr openmaintainer
      Description: DNSUpdate 2 is an Mac OS X client for dynamic DNS services
      Long Description: DNSUpdate 2 is a client for dynamic DNS services like DynDNS.org and ZoneEdit.com, specific to Mac OS X. It uses the Cocoa framework and is launched at boot time. It comes with a graphic application to configure and monitor the client. NOTE: this version is for Mac OS X 10.4 and later. For 10.3 and earlier, use dnsupdate27.
      Homepage: http://www.dnsupdate.org/
      master_sites http://ju.jalon.free.fr/DNSUpdateProject/
      distname DNSUpdate${version}s
      checksums md5 e7baab094ee3fa60871eec8f9aa3510e sha1 52367f763368a680ddb85f5abd886a2d7d1d0f35 rmd160 5deeca2a0468c8dceea89dc5109446ccb6acbbf6

      extract.suffix .tgz

      pre-fetch {
      if {${os.major} < 8} {
      return -code error "This version of DNSUpdate is for Mac OS X 10.4 or later. For 10.3 and earlier, use dnsupdate27."
      }
      }

      patch.pre_args -p1
      # stop spamming the log every minute, and fix spelling errors in log messages
      # submitted upstream but no new version released yet
      patchfiles patch-logmessages.diff

      post-patch {
      reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/DNSUpdate2.xcodeproj/project.pbxproj ${worksrcpath}/DUAppController.m ${worksrcpath}/duInstallDaemon.py ${worksrcpath}/duUninstallDaemon.py ${worksrcpath}/English.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/French.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/German.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Italian.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Spanish.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/startDaemon.py ${worksrcpath}/org.dnsupdate.daemon.plist
      reinplace "s|/var/log|${prefix}/var/log|" ${worksrcpath}/DUAppController.m ${worksrcpath}/duInstallDaemon.py ${worksrcpath}/English.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/French.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/German.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Italian.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Spanish.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/startDaemon.py ${worksrcpath}/org.dnsupdate.daemon.plist
      reinplace "s|/var/run|${prefix}/var/run|" ${worksrcpath}/DUProtocols.h ${worksrcpath}/English.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/French.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/German.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Italian.lproj/DNSUpdateHelp.rtfd/TXT.rtf ${worksrcpath}/Spanish.lproj/DNSUpdateHelp.rtfd/TXT.rtf
      reinplace "s|org.dnsupdate.daemon|org.macports.dnsupdate|" ${worksrcpath}/org.dnsupdate.daemon.plist
      }

      xcode.target All

      destroot {
      # Install DNSUpdate application
      set appName DNSUpdate
      set appPath ${destroot}/Applications/MacPorts
      xinstall -d -m 0755 ${appPath}
      file copy ${worksrcpath}/build/Deployment/${appName}.app ${appPath}/${appName}.app

      # Install DNSUpdate daemon
      xinstall -m 0755 ${worksrcpath}/build/Deployment/${appName}.app/Contents/Resources/${name} ${destroot}${prefix}/sbin/${name}

      # Install LaunchDaemon for DNSUpdate
      set itemName org.macports.dnsupdate.plist
      set itemAliasPath ${destroot}/Library/LaunchDaemons
      set itemPath ${prefix}/etc/LaunchDaemons
      xinstall -d -m 0755 ${destroot}${itemPath}
      xinstall -d -m 0755 ${itemAliasPath}
      xinstall -m 0755 ${worksrcpath}/org.dnsupdate.daemon.plist ${destroot}${itemPath}/${itemName}
      system "ln -s ${itemPath}/${itemName} ${itemAliasPath}/${itemName}"

      # Create PREFIX/var/log placeholder
      set logPath ${destroot}${prefix}/var/log
      xinstall -d -m 0755 ${logPath}

      # Create PREFIX/var/run placeholder
      set runPath ${destroot}${prefix}/var/run
      destroot.keepdirs ${logPath} ${runPath}
      }

      livecheck.check regex
      livecheck.url ${master_sites}
      livecheck.regex "DNSUpdate(\[0-9\]+(\\.\\w+)+)s${extract.suffix}"

    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/dnsupdate
      % sudo port install dnsupdate
      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 dnsupdate
      ---> Verifying checksum for dnsupdate
      ---> Extracting dnsupdate
      ---> Configuring dnsupdate
      ---> Building dnsupdate with target all
      ---> Staging dnsupdate into destroot
      ---> Installing dnsupdate
    - 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 dnsupdate with these commands:
      %  man dnsupdate
      % apropos dnsupdate
      % which dnsupdate
      % locate dnsupdate

     Where to find more information:

    Darwin Ports



    image test