---
name: flow-tools
version: 0.68_7
origin: net-mgmt/flow-tools
comment: Suite of tools and library to work with netflow data
arch: freebsd:9:x86:64
www: http://www.splintered.net/sw/flow-tools/
maintainer: 5u623l20@gmail.com
prefix: /usr/local
licenselogic: single
flatsize: 6907776
desc: |
  Tools to capture, replicate, print, filter, send and other works
  on Cisco's NetFlow Export.

  WWW: http://www.splintered.net/sw/flow-tools/
deps:
  python27: {origin: lang/python27, version: 2.7.5_2}
  python2: {origin: lang/python2, version: 2}
  python: {origin: lang/python, version: '2.7,2'}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- net-mgmt
options: {PGSQL: off, OPENSSL: off, MYSQL: off}
files:
  /usr/local/bin/flow-capture: 4baa9db4ad126f16bc11f16fe4fbc55e2faa7428cdc8afc18a25d8d45f0eb94f
  /usr/local/bin/flow-cat: 8e3842130944e86d36d472f3e95750551b5f5d90455237ab0dc75881d4ed4822
  /usr/local/bin/flow-dscan: d9a43310b34ecdec38a82dca3d3e2ec90c17ffde39e2bb49cf6bff49bfb53ffd
  /usr/local/bin/flow-expire: 927dca73bb65d2f181747bf517601e113b9f0fcaf21116676acccc5b705d37f0
  /usr/local/bin/flow-export: f92945a0e963789b4c15b7cdf7ac296881158a3e6ed9f205100e67d396d4ee28
  /usr/local/bin/flow-fanout: 7200794f01ad3b4c188ca549155228687e214827ca1372e00d2f7749889dc491
  /usr/local/bin/flow-filter: 8d818bdec4fa59e082b5f3b930df65c593bcfa514beba31a26fe441d7328dfc6
  /usr/local/bin/flow-gen: f754954da83e4b9cab5e57148c4f4c6e90ef3ff3978595be10f8fad905e8b457
  /usr/local/bin/flow-header: 3c783172c332f4ea0e81f7cbbbda105e8b0971d7579d4d1519c2ba568442230f
  /usr/local/bin/flow-import: 20ebdf1ac7b3643dce02f6c12b4d6192d2fe4c8cd236701212fb79e711d01797
  /usr/local/bin/flow-log2rrd: 825acecb10fd41a0c6eeb5aa04159746856f9145ab6cda24769dac1a12e2d2e6
  /usr/local/bin/flow-mask: 9e17001cef66959166ec55e8b791209732077aad0ad006f3abdfcf724c3cae30
  /usr/local/bin/flow-merge: 148db8bc5a7c50b9db208f03a5b23cbbbaedf8da5ed4cfe69a3ead7577f1cd7e
  /usr/local/bin/flow-nfilter: 080f92a08dfc689d5a48c5e1d571b2146a2056dc9f2cea05dbd67198f0e2f15d
  /usr/local/bin/flow-print: dcc263c0856c1bdafc2966142a274a98a12e9982eb14e0791b01278e23b43699
  /usr/local/bin/flow-receive: 5b4f976ee395d1c97e82512679e2acae2364d1d85d59fc6b07fb2cdb03bd9ff6
  /usr/local/bin/flow-report: 8c699dcb9937ecdfcb532452b699c8e79e822a581e8463862d439f48b0ad1d7e
  /usr/local/bin/flow-rpt2rrd: 393b3cad134658cc2d2c45671b7b2b789b6db3884dcf585d687d7b5c32b563a8
  /usr/local/bin/flow-rptfmt: 5d6c869181fd070fa58d8f4c87554c9b224b7d05457e4452b774464e1ccbcb5f
  /usr/local/bin/flow-send: 44a189c43213af90e1037eb72ed291cf269be1e9841887918732f3d0be854825
  /usr/local/bin/flow-split: eaa64cdd909bd73d722f6034812afc0a16c51c9396b7e8ea7bc86321bce41d37
  /usr/local/bin/flow-stat: ee93dc8f64e525e5cfba934bef0cbbf8bfdeca8c61b0c5c123d893c00e22b0c6
  /usr/local/bin/flow-tag: 731dd54ee9e9642877572259939e1ce5d3e0c060b28a2d52c92a8c344de54bad
  /usr/local/bin/flow-xlate: 058b461cc424da687ed8557c88605b70666faaa1256fa7295feddbdcb55570be
  /usr/local/etc/flow-tools/filter.cfg: 2dbab4683238ab7b2814e23d64518de7156de5a3e72e53078862c9b074483d07
  /usr/local/etc/flow-tools/map.cfg: 460b12289c6f4566e7abe9df66de095a12e8b446ea7fa49eb9d71db0b08bd6db
  /usr/local/etc/flow-tools/mask.cfg: d11140f05f30bf48de97a77197052c004235ae92f7ac33363479ea8d99fc963b
  /usr/local/etc/flow-tools/stat.cfg: f85c5368b36973a8351364da2b815fd92892e556402139705bb0610d23975a52
  /usr/local/etc/flow-tools/tag.cfg: f580c7790df4be81f124143c08131263251f08f1b06b82e535a7d2508aa53a55
  /usr/local/etc/flow-tools/xlate.cfg: 550f0682c51d2e79bfa8a12885372bfa49cffc8a623a86ee7cbe532328070e3d
  /usr/local/etc/rc.d/flow_capture: 8fe1a2cf7bf19d3b1b5c22da5856a36806083f0d727e891ab6f7e8d078da8f4c
  /usr/local/etc/rc.d/flow_fanout: 5638685b96b87bcce366174da0263f0fe9dc0493ce56850ac9e18690d2861ecd
  /usr/local/include/ftconfig.h: 6a9563876927425ffe986ddb6e3f7ac9c016b138d5e5ee96ffaf08c1211daea3
  /usr/local/include/ftlib.h: a051e0cee0b321b3e9164294766adda0d8daefdc23cd0e4149c78f4fc7954749
  /usr/local/include/ftpaths.h: 4d7f3cac9e6b39b3cd6abef08fd29dfde00ca72f72ce8fb94e1c182ee111f6bc
  /usr/local/include/ftqueue.h: e8e03dc7253a080f132f70b5ef120762d1423561c11ac7dc1bb73d2876229ca7
  /usr/local/include/radix.h: 0322d3ddc25c151846ac19e2f8856d09e49bb73c15d2ecc0e7dd61f3ca107d05
  /usr/local/lib/libft.a: 865a0209c3d7e0378108020be3013970d09482eda63c94d537239e2bc4a4e051
  /usr/local/man/man1/flow-capture.1.gz: d93c12f3536fa6ad4fbacb6119fe2b7680bd9b823c6f63e6cc7987e073b4ad8c
  /usr/local/man/man1/flow-cat.1.gz: 6238fb463c789c0fc9b0340aa6e03b2edbd2e21a6900a7e5f0cad9bc92237b2c
  /usr/local/man/man1/flow-dscan.1.gz: c786756586bbe70a9c05791b50ef24c939443bfe25ac935e733952ecac4d8226
  /usr/local/man/man1/flow-expire.1.gz: e945bb1ca8ff80a3883f861b68c2a38cfec110fe30e91458ae131e24e7355ac6
  /usr/local/man/man1/flow-export.1.gz: bda5f65418d44baf7b595c1dac383ac9dd2402faac3c587e8940bb84a433a90d
  /usr/local/man/man1/flow-fanout.1.gz: 183283aeec95f00fab4e687018bf002410bf65dc7f9c8e850e56357479651f86
  /usr/local/man/man1/flow-filter.1.gz: 7d59b2b424b542ddb37e5f800d791c43f3cc5a4a29b83ddcf81af90f1dbd5509
  /usr/local/man/man1/flow-gen.1.gz: 76848963c77ea65a9998d6fa29246a8cae9f7a853f15b67be528484a5a34413d
  /usr/local/man/man1/flow-header.1.gz: 146e33fa0386ab827b49ae4d6e9c1d8e9248ffb5d459c5367a4b7b8e7db5f018
  /usr/local/man/man1/flow-import.1.gz: 1e0009d764dc5f1381fabd035e72053ce80ecf5cdf8815eed5c22facca6b25df
  /usr/local/man/man1/flow-log2rrd.1.gz: e1ba87507a3974413130d655bc73a2243316572bb37b1bd732eb561340ee2907
  /usr/local/man/man1/flow-mask.1.gz: d9c3f9baa633342be26921b043a35a638cf4f4d98566156bb77e8da70a2c6706
  /usr/local/man/man1/flow-merge.1.gz: 6070da4c3c105e00a6dea8e12d7de762e04cd7381cb850d13d399618d691d265
  /usr/local/man/man1/flow-nfilter.1.gz: 68f4d49921cf5c9cda3242c3821b6d8f10294e26f7ab82f9fb820a427a60cd8e
  /usr/local/man/man1/flow-print.1.gz: 3b2e9a4a9c906a2180cce7533a15b73acb9b796c624fe70af1cda8487d799a81
  /usr/local/man/man1/flow-receive.1.gz: f61f27bd17de546264aa58f40f3aafaac7021e0ef69c17f6b1b4cd7664a037ec
  /usr/local/man/man1/flow-report.1.gz: f3d0d1bd82ccc2bedf63cf6492ead381b3db60ebd9e402f25aee962b90cbedd8
  /usr/local/man/man1/flow-rpt2rrd.1.gz: adf6ad27228c6913c069cd049fb9955365095a10e1c0e10bf2272a2901501195
  /usr/local/man/man1/flow-rptfmt.1.gz: 07c6b9735aa7632e9e79f6779f055b6a7c0078c863a48c998e90236c5571cb10
  /usr/local/man/man1/flow-send.1.gz: 264c490d997d63f4184ed69cada30156b9b10720c3fcf4569f25fa6a88caa776
  /usr/local/man/man1/flow-split.1.gz: 6b3dba806cd890ced4c452db018924403e5018044ad83472098f1ecbb4ec4fdb
  /usr/local/man/man1/flow-stat.1.gz: 782b92b5d7cc218ce80a4a2987ce940314e021fd2f608579353820dddf18d688
  /usr/local/man/man1/flow-tag.1.gz: 3405a2ee956f2e11a8c26076d4d76e3e6067a9b0c7854f499dfbd475b0432040
  /usr/local/man/man1/flow-tools-examples.1.gz: 999b0fcdf2bc6bf545795dac9994c3fc92817def4f033c37ff38aad8aea15b66
  /usr/local/man/man1/flow-tools.1.gz: b00c7c55e2cebc302d53cd2129a0c17460c22128aa9e5bb3eb190262ea668f9c
  /usr/local/man/man1/flow-xlate.1.gz: a1e6f4778a2293f7f93577804f19efb9cc511f565f61d4ce17089de94a646dba
  /usr/local/share/flow-tools/asn.sym: 9975ef4bf991f09cd1084cbc10731a3b03a65316c4ca82b6618ca4e48099db53
  /usr/local/share/flow-tools/ip-prot.sym: b118b1e8d1dea23fa03bc75a7902896158ee649d54c0280eea6906381f0eac71
  /usr/local/share/flow-tools/ip-type.sym: 51de6893c0fc5046eb3cab760d2df6411ce51c8d9561f4c53379aa0d198ee91b
  /usr/local/share/flow-tools/tag.sym: 35f875a314c5c558e10684db076e0af10eff8e543041889deddbe0756fc3e7fb
  /usr/local/share/flow-tools/tcp-port.sym: 7cd3c99ce105de87ee0ea54184e11cc2887461a00fd0d7f496d8d4723e3e03b4
directories:
  /usr/local/share/flow-tools/: n
  /usr/local/etc/flow-tools/: n
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
  install: "#!/bin/sh\n#\n# $FreeBSD: net-mgmt/flow-tools/files/pkg-install.in 300897
    2012-07-14 14:29:18Z beat $\n#\n\nPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin\n\nFLOW_CAPTURE_SPOOL=\"/var/db/flows\"\nFLOW_CAPTURE_USER=\"flowtools\"\nFLOW_CAPTURE_GROUP=\"flowtools\"\nFLOW_CAPTURE_UID=\"174\"\nFLOW_CAPTURE_GID=\"174\"\nFLOW_CAPTURE_PIDDIR=\"/var/run/flow-capture\"\n\nif
    [ -x /usr/sbin/nologin ]; then\n\tNOLOGIN=/usr/sbin/nologin\nelse\n\tNOLOGIN=/sbin/nologin\nfi\n\npre-install()
    {\n#\n# Create group\n#\n\tpw groupshow ${FLOW_CAPTURE_GROUP} > /dev/null 2>&1\n\tif
    [ $? -ne 0 ]; then\n\t\techo -n \"Creating '${FLOW_CAPTURE_GROUP}' group... \"\n\t\tpw
    groupadd -n ${FLOW_CAPTURE_GROUP} -g ${FLOW_CAPTURE_GID} -q\n\n\t\tif  [ $? -eq
    0 ]; then\n\t\t\techo \"ok\"\n\t\telse\n\t\t\techo \"failed\"\n\t\t\techo \"Cannot
    create group '${FLOW_CAPTURE_GROUP}'\" >&2\n\t\t\techo \"Please, create it manually.\"
    >&2\n\t\t\texit 1\n\t\tfi\n\telse\n\t\techo \"Using existing group '${FLOW_CAPTURE_GROUP}'\"\n\tfi\n\n#\n#
    Create user\n#\n\tpw usershow ${FLOW_CAPTURE_USER} > /dev/null 2>&1\n\tif [ $?
    -ne 0 ]; then\n\t\techo -n \"Creating '${FLOW_CAPTURE_USER}' user... \"\n\t\tpw
    useradd -n ${FLOW_CAPTURE_USER} -g ${FLOW_CAPTURE_GROUP} \\\n\t\t\t-u ${FLOW_CAPTURE_UID}
    \\\n\t\t\t-c \"Flow-tools collector pseudo-user\" \\\n\t\t\t-d \"/var/empty\"
    -s \"${NOLOGIN}\" -h - -q\n\n\t\tif  [ $? -eq 0 ]; then\n\t\t\techo \"ok\"\n\t\telse\n\t\t\techo
    \"failed\"\n\t\t\techo \"Cannot create user '${FLOW_CAPTURE_USER}'\" >&2\n\t\t\techo
    \"Please, create it manually.\" >&2\n\t\t\texit 1\n\t\tfi\n\telse\n\t\techo \"Using
    existing group '${FLOW_CAPTURE_USER}'\"\n\tfi\n}\n\npost-install() {\n\t/usr/bin/install
    -d -m 700 -o ${FLOW_CAPTURE_USER} \\\n\t\t-g ${FLOW_CAPTURE_GROUP} ${FLOW_CAPTURE_PIDDIR}\n\t/usr/bin/install
    -d -m 1700 -o ${FLOW_CAPTURE_USER} \\\n\t\t-g ${FLOW_CAPTURE_GROUP} ${FLOW_CAPTURE_SPOOL}\n}\n\n\ncase
    $2 in\n\tPRE-INSTALL)\n\t\tpre-install\n\t\t;;\n\tPOST-INSTALL)\n\t\tpost-install\n\t\t;;\nesac\n"
  deinstall: "#!/bin/sh\n#\n# $FreeBSD: net-mgmt/flow-tools/files/pkg-deinstall.in
    300897 2012-07-14 14:29:18Z beat $\n#\n\nPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin\n\nFLOW_CAPTURE_SPOOL=\"/var/db/flows\"\nFLOW_CAPTURE_USER=\"flowtools\"\nFLOW_CAPTURE_GROUP=\"flowtools\"\nFLOW_CAPTURE_PIDDIR=\"/var/run/flow-capture\"\n\npost-deinstall()
    {\n\trmdir ${FLOW_CAPTURE_SPOOL} > /dev/null 2>&1\n\tif [ $? -ne 0 ]; then\n\t\techo
    \"WARNING: If you will NOT use this package anymore, please\"\n\t\techo \" remove
    the following directory manually:\"\n\t\techo \" ${FLOW_CAPTURE_SPOOL}\"\n\t\techo\n\t\techo
    \"Also flow-tools related user accounts and groups were not\"\n\t\techo \"removed
    (${FLOW_CAPTURE_USER}:${FLOW_CAPTURE_GROUP}).\"\n\t\techo \"Do it manually, if
    needed.\"\n\t\techo\n\tfi\n\n#\n# Remove pid directory\n#\n\trm -rf ${FLOW_CAPTURE_PIDDIR}
    > /dev/null 2>&1\n}\n\n\ncase $2 in\n\tPOST-DEINSTALL)\n\t\tpost-deinstall\n\t\t;;\nesac\n"
