Apan version 0.3.0-sql - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 0.3.0-sql

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


      The apan Portfile 46139 2009-01-30 05:08:08Z snc macports.org $

      PortSystem 1.0

      Name: apan
      Version: 0.3.0-sql
      Category: net
      Maintainers: nomaintainer
      Description: apan plugin for nagios
      Long Description: use of rrdtool in nagios
      Homepage: http://www.nagios.org
      Master Sites: sourceforge:apan
      Platform: darwin openbsd
      Checksums: md5 da41d67b41f2d807cb3019753e70336e
      depends_lib port:nagios

      use_configure no
      build { }
      worksrcdir apan-sql

      destroot {
      file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan
      file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql
      file mkdir ${destroot}${prefix}/libexec/nagios
      system "echo ${worksrcpath}"
      system "install -bC ${worksrcpath}/libexec/* ${destroot}${prefix}/libexec/nagios"
      system "install -bC ${worksrcpath}/*.{cgi,sh} ${destroot}${prefix}/var/www/cgi-bin/apan"
      system "install -bC ${worksrcpath}/plugs-sql/* ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql"
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.