---
name: iplog
version: 2.2.3_3
origin: net/iplog
comment: TCP/IP traffic logging tool
arch: freebsd:9:x86:64
www: http://ojnk.sourceforge.net/
maintainer: udo.schweigert@siemens.com
prefix: /usr/local
licenselogic: single
flatsize: 72347
desc: |
  iplog is a TCP/IP traffic logger.  Currently, it is capable of logging
  TCP, UDP and ICMP traffic, though adding support for other protocols
  should be relatively easy. iplog contains a built-in packet filter,
  allowing for logging or excluding packets that fit a given set of
  criteria.

  WWW: http://ojnk.sourceforge.net/
categories: [security, net]
files:
  /usr/local/etc/example-iplog.conf: b8756599dc5b30aaf4acd57f6ebe35961ff686525c072416a15ad9b785226947
  /usr/local/etc/rc.d/iplog: 4726c25b0dcb2f9ca5ac6e6859f07f7e70f9c0893d63234d7444f25682552c5a
  /usr/local/man/man5/iplog.conf.5.gz: c24f4937dd6d6a1c93749748a1cd2b1eb018658582ccd093a7509252e30e35ef
  /usr/local/man/man8/iplog.8.gz: 94eaf89562107a25b11916c97b82aadeb8698e3fbc4db1726645aa1345767631
  /usr/local/sbin/iplog: 5e67d87d8dc9b0f811c363be8e64ba8019bab7b4d1af981f5863f884ccdba119
scripts:
  post-install: |
    test -f /usr/local/etc/iplog.conf || cp /usr/local/etc/example-iplog.conf /usr/local/etc/iplog.conf
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/iplog.conf /usr/local/etc/example-iplog.conf; then rm -f /usr/local/etc/iplog.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
  deinstall: |
    #!/bin/sh
    rm -rf /var/run/iplog
message: |
  =========================================================
  To daemonise iplog add iplog_enable="YES" to /etc/rc.conf
  & run
  /usr/local/etc/rc.d/iplog start
  =========================================================
