Dnsupdate version 2.8 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    dnsupdate  most recent diff


    version 2.8

      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


      # -*- 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
      The dnsupdate Portfile 57459 2009-09-11 10:08:00Z jmr macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: dnsupdate
      Version: 2.8
      Category: aqua net
      license Restrictive/Distributable
      Maintainers: jmr openmaintainer
      Description: a 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.
      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

      # stop spamming the log every minute, and fix spelling errors in log messages
      # submitted upstream but no new version released yet
      Patch Files: patch-logmessages.diff patch-project.pbxproj.diff patch-HTTPLoader.m.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_dir}
      xinstall -d -m 0755 ${appPath}
      file copy ${worksrcpath}/build/${xcode.configuration}/${appName}.app ${appPath}/${appName}.app

      # Install DNSUpdate daemon
      xinstall -m 0755 ${worksrcpath}/build/${xcode.configuration}/${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.type 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



    Lightbox this page.