A bug fix and a couple of extra command-line options: Fixed double free() in exec.c/prepare_exec(), thanks to reports from Gregor Kopf of Recurity Labs, Jan Kohlrausch of DFN_CERT, and Wolfgang Ley Updated README & DISCLAIMER files removing DFN-CERT copyright Now just Logsurfer, not Logsurfer+ any more -D command line option for daemon mode. Warning: closes stdin, stdout, & stderr, therefore no error messages -F command line option to auto re-open log file
30 lines
854 B
Makefile
30 lines
854 B
Makefile
# $NetBSD: Makefile,v 1.21 2011/10/28 17:13:26 tez Exp $
|
|
|
|
DISTNAME= logsurfer-1.8
|
|
PKGNAME= logsurfer-1.8
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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}
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/start-mail/start-mail ${DESTDIR}${EGDIR}/start-mail
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|