---
name: netperf
version: 2.6.0_1
origin: benchmarks/netperf
comment: Network performance benchmarking package
arch: freebsd:9:x86:64
www: http://www.netperf.org/
maintainer: marius@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 620496
desc: "Netperf is a serious networking performance evaluation tool being\ndistributed
  under GPL by HP's Information Networks Division.\nTesting is done using a pair of
  programs: `netserver' (the server) and \n`netperf' (the measurement tool).\n\nNetperf
  allows control over a large number of test `variables'.\nSome of these are:\n        *
  specification of desired confidence levels for the tests\n          Netperf will
  warn the user if these levels were not achieved.\n        * filling send buffers
  with specified data (to beat compression schemes)\n        * specification of send/receive
  buffer alignments and data offsets\n        * requesting CPU utilization and service
  demand calculations\n        * specification of sizes of data to send\nNetperf can
  be used for measuring stream performance as well as\nround-trip performance.\n\nWWW:
  http://www.netperf.org/\n"
categories: [ipv6, benchmarks]
options: {EXS: on, HISTOGRAM: on, OMNI: off, SCTP: on, SOCKETS: on}
files:
  /usr/local/bin/netperf: db25c5549827b22b23428e06f92edbef40ecc70875b92ebca5fda5b3ce0f9114
  /usr/local/bin/netserver: 05b62c1281980cb99b1e3fb2fdcaaa118747110217383a6820ba44d3d0058284
  /usr/local/info/netperf.info: 6a1de55abad92f02a1b625f369cb168cfa57259d776de005f8b2c57efca3acaa
  /usr/local/man/man1/netperf.1.gz: aa8459e8f148e56390b4b72ad1520f2af6c412f3bf335e0d67b05ab9aeb212bf
  /usr/local/man/man1/netserver.1.gz: 518a8481209f2be29ab4cda20cc5adcb2c3df188438a444c5376a322e893ba55
  /usr/local/share/examples/netperf/arr_script: 1c984937f7703280dddadb9acff14c2f2fd0bf14c04af2b57dfaf769ac8fefc0
  /usr/local/share/examples/netperf/packet_byte_script: 078230368b62b17b1a95792afd5bba7ade8d78c3b300646b5be9016e6cbdcfd5
  /usr/local/share/examples/netperf/sctp_stream_script: 645b6b16688ee585d4e6b7da8215cd97c1e7069c2538697a9e612b514b78a22d
  /usr/local/share/examples/netperf/snapshot_script: 2c0d77879eb842d5d512d4f838b9d2b296a1ab06975b9b3f1456f2ecd77efef4
  /usr/local/share/examples/netperf/tcp_range_script: 76aab24fedffb9cc78006dbf4383e2dc7937e1626e6b9914af17d36c6e647769
  /usr/local/share/examples/netperf/tcp_rr_script: 3e20ad2566ee1385606c1fae81d2ff7272da58c4a6ef3394fc57bba7b2f5f7a6
  /usr/local/share/examples/netperf/tcp_stream_script: e225d15826650950e8dd6a0f7cc097b8e886a856b7e4715715c0820616147fb8
  /usr/local/share/examples/netperf/udp_rr_script: 7220f88c284cd743f4c09ee57a48ee484add4aae27980c130bbc04c62bfa6354
  /usr/local/share/examples/netperf/udp_stream_script: 51e445069230d95492b900bc278ef520cdbdc885b013c6a52aec505d9fd84039
directories:
  /usr/local/share/examples/netperf/: n
scripts:
  post-install: |
    file=/usr/local/info/netperf.info
    install-info --quiet /usr/local/info/netperf.info ${file%25/*}/dir
  pre-deinstall: |
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    file=/usr/local/info/netperf.info
    install-info --quiet --delete /usr/local/info/netperf.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
