Download and Install mrtg version 2.15.2 on Mac OS X
Tuesday the 2nd of December, 2008

    version 2.15.2

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



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: mrtg
      Version: 2.15.2

      Category: net
      Maintainers: opendarwin.org darkart.com jberry
      Platform: darwin

      Description: The multi-router traffic grapher
      Long Description: MRTG is a tool to monitor the traffic load on network-links. It can also be used to gather and display a wide variety of time-series data.
      Homepage: http://www.mrtg.org/

      master_sites http://oss.oetiker.ch/mrtg/pub/ ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/
      checksums md5 5827175dd5ee941c2ae894369f0c9071 sha1 1d814dfeeaa77f83a0e6c20c4b9a5f9dcbd24089 rmd160 cf21cfeb5e68b00fec7552b58c60ad22a0c47e47

      depends_lib port:gd2 port:libpng port:zlib

      configure.args --mandir=${prefix}/share/man --with-gd=${prefix} --with-z=${prefix} --with-png=${prefix}

      post-destroot {
      destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/log ${destroot}${prefix}/var/cache/mrtg

      reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
      reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.