---
name: logsurfer+
version: 1.7
origin: misc/logsurfer+
comment: Process logfiles and conditionally perform certain actions
arch: freebsd:9:x86:64
www: http://www.crypt.gen.nz/logsurfer/
maintainer: zi@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 91931
desc: "Logsurfer is a program for monitoring system logs in real-time, \nand reporting
  on the occurrence of events. It is similar to the \nwell-known swatch program on
  which it is based, but offers a \nnumber of advanced features which swatch does
  not support.\n\nLogsurfer is capable of grouping related log entries \ntogether
  - for instance, when a system boots it usually creates \na high number of log messages.
  In this case, logsurfer can be \nsetup to group boot-time messages together and
  forward them in \na single Email message to the system administrator under the \nsubject
  line \"Host xxx has just booted\".\nSwatch just couldn't do this properly.\n\nWWW:
  http://www.crypt.gen.nz/logsurfer/\n"
categories: [misc]
files:
  /usr/local/bin/logsurfer: 29e0e06751e356226c16f5f11b079828555e82d70991e52ed405c89a66cbbe7c
  /usr/local/etc/logsurfer+/context_arg_test.conf.sample: 3e37331e158eab5b40ec55d318d0bae6eb8fbbdd441ac2893a149302ef872bba
  /usr/local/etc/logsurfer+/echo_test.conf.sample: 5a0af74950990548beeebe770ac12e9a9ffd5f8aaa14848a03173ca62ebc121d
  /usr/local/etc/logsurfer+/lines_test.conf.sample: c4b094e4a5ea6a8637e7ef2c0f5d55eeaeed4f48a7fd5bc253749bf78f9e630c
  /usr/local/etc/logsurfer+/syslog_test.conf.sample: cbc43783f8d729f95061845b65d5ed8b6d179b8605016ceace7611fa71c8bd7d
  /usr/local/man/man1/logsurfer.1.gz: cfa3cfbdbf2c19efa783484438e4948b8be147f8cb35340fbda4d3760be190d6
  /usr/local/man/man4/logsurfer.conf.4.gz: 96dab8259b787d4e9c6545643a4ea8a02e7bfece2f054abb44e7d148239949d1
  /usr/local/share/doc/logsurfer+/ChangeLog: d5e5fc58f1e69099dad47b5948b5d4f2f9a31fb8914521b3709cec30c98d73c3
  /usr/local/share/doc/logsurfer+/README: dec19c9b84e3d96cea262ebdcec838105d591d407fba2733320ebfd0e4a2686b
  /usr/local/share/licenses/logsurfer+-1.7/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/share/licenses/logsurfer+-1.7/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/logsurfer+-1.7/catalog.mk: 9ec26581ed085d047de426c4960d31b30974f48d517b4bd370b237776505a452
directories:
  /usr/local/share/licenses/logsurfer+-1.7/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/logsurfer+/: n
  /usr/local/etc/logsurfer+/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    if [ -d /usr/local/etc/logsurfer+ ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/logsurfer+`` to remove any configuration files left."; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  *******************************************************************
  Sample configurations are located in /usr/local/etc/logsurfer+/

  Select an appropriate file and copy it to /usr/local/etc/logsurfer+/logsurfer.conf
  *******************************************************************
