---
name: ipcad
version: 3.7.3_1
origin: net-mgmt/ipcad
comment: IP accounting daemon with Cisco-like RSH and NetFlow export
arch: freebsd:9:x86:64
www: http://ipcad.sourceforge.net/
maintainer: vlm@lionet.info
prefix: /usr/local
licenselogic: single
flatsize: 114274
desc: |
  IPCAD is an IP accounting daemon. It uses bpf or pcap to access interfaces
  and gather IP statistics. Collected numbers are arranged to form an
  address-to-address flow pairs and than can be accessed via rsh in Cisco
  fashion, or exported via NetFlow UDP protocol.

  See README file and man pages for details.

  WWW: http://ipcad.sourceforge.net/
categories: [net-mgmt]
files:
  /usr/local/bin/ipcad: f4c5ab91369cb69d928e4b26b7fee1b9c33506382f5b7fd94b38f5e73a441442
  /usr/local/etc/ipcad.conf.default: d41eb8fb1604df4c40fb52ad7fc98e3705caa0cdddd5c2cae42486fcc1fad0a6
  /usr/local/etc/ipcad.conf.simple: 043ce7c52f29c788cf89cf8b024c2cdea0617ee6b31f9d32b1681fa372a8173c
  /usr/local/etc/rc.d/ipcad: 3b77c164b6f6eb201d69571fc2282993a15cd2507c387d5429635690647b03e4
  /usr/local/man/man5/ipcad.conf.5.gz: 901588ded174fa1ff8ce236090f66427985ab57d56d9c5cd2c64c6e1b40620b4
  /usr/local/man/man8/ipcad.8.gz: 85ef67d5af7d2a3c66c9b317f17fa0c21d745a99491e942e04c8213233d794e6
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/ipcad.conf /usr/local/etc/ipcad.conf.default; then rm -f /usr/local/etc/ipcad.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  ===========================================================================

  To enable rc.d script to startup ipcad, please add ipcad_enable="YES"
  in your rc.conf

  To configure this package, customize /usr/local/etc/ipcad.conf from
  /usr/local/etc/ipcad.conf.sample, then start via rc.d script
  You should be able to do `rsh localhost sh ip accounting` after that.

  ===========================================================================
