2979d9ae0a
* Added -e option to begin processing from the current end of the input log file. * Put double-quotes around regex expressions in dump file. * If the context argument to a pipe or report action is "-" then the current context contents are piped into the command. * Added "echo" action which simply echo's the output on stdout, or to a file. * Added a "$lines" macro construct in context action fields, it will be substituted by the number of lines in the context. * Added "syslog" action to send a message into syslog.
27 lines
739 B
Makefile
27 lines
739 B
Makefile
# $NetBSD: Makefile,v 1.19 2009/01/18 11:01:56 shattered Exp $
|
|
|
|
DISTNAME= logsurfer+-1.7
|
|
PKGNAME= logsurfer-1.7
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://kerryt.orcon.net.nz/ \
|
|
http://www.crypt.gen.nz/logsurfer/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.crypt.gen.nz/logsurfer/
|
|
COMMENT= Processes logfiles and performs certain actions
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
EGDIR= ${PREFIX}/share/examples/logsurfer
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 ${EGDIR}
|
|
|
|
post-install:
|
|
mkdir ${EGDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/start-mail/start-mail ${EGDIR}/start-mail
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|