Flow-tools version 0.68 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    flow-tools  most recent diff


    version 0.68

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


      The flow-tools Portfile 50482 2009-05-01 15:43:59Z markd macports.org $

      PortSystem 1.0

      Name: flow-tools
      Version: 0.68
      Category: net
      Maintainers: nomaintainer
      Platform: darwin

      Description: Suite of tools and library to work with netflow data
      Long Description: ${description}

      Homepage: http://www.splintered.net/sw/flow-tools/
      Master Sites: ftp://ftp.eng.oar.net/pub/flow-tools/
      Checksums: md5 c9e0a8b53c79611b6bffcb9d510a5a38

      Patch Files: patch-configs_Makefile patch-flow-header.c patch-ftpaths.h patch-lib_ftchash.c patch-lib_ftio.c patch-lib_ftsym.c patch-lib_fttlv.c patch-lib_Makefile.in patch-lib_support.c patch-lib-ftfile.c patch-src_flow-fanout.c patch-src_Makefile.in

      depends_lib port:openssl port:zlib

      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${filespath}/patch-ftpaths.h

      reinplace "s|\$WHERE_MYSQL/lib/mysql|\$WHERE_MYSQL/lib/mysql5|g" ${worksrcpath}/configure
      reinplace "s|\$WHERE_MYSQL/include/mysql|\$WHERE_MYSQL/include/mysql5|g" ${worksrcpath}/configure

      eval reinplace "s| localstatedir /sym/|${prefix}/share/flow-tools/|g" [glob ${worksrcpath}/docs/flow-*.1.in] [glob ${worksrcpath}/docs/flow-*.html.in]

      eval reinplace "s| localstatedir /cfg/|${prefix}/etc/flow-tools/|g" [glob ${worksrcpath}/docs/flow-*.1.in] [glob ${worksrcpath}/docs/flow-*.html.in]
      }

      configure.args --with-openssl=${prefix} --localstatedir=${prefix} --mandir=${prefix}/share/man

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} INSTALL README ChangeLog TODO ${destroot}${prefix}/share/doc/${name}
      }

      Variant: mysql5 {
      configure.args-append --with-mysql=${prefix}
      depends_lib-append path:bin/mysql_config5:mysql5
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.