flow-tools version 0.68 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    flow-tools  most recent diff


      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
      Google
      Web Darwinports.com



      # $Id: Portfile 25154 2007-05-15 05:34:03Z markd macports.org $

      PortSystem 1.0

      Name: flow-tools
      Version: 0.68
      Category: net
      Maintainers: markd macports.org
      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

      patchfiles 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}

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

      Variant: mysql5 {
      configure.args-append --with-mysql=${prefix}
      depends_lib-append port: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



    image test