# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
distname logcheck-${version}
description logfile auditing tool (previously logcheck)
Logsentry is a scheduled auditing tool that scans system log files \
for security violations and unusual activity. Reports of suspicious \
log entries are mailed to a specified user (usually root). \
Logsentry was formerly known as logcheck.
homepage http://sourceforge.net/projects/sentrytools
master_sites sourceforge:sentrytools
checksums md5 e97c2f096e219e20310c1b80e9e1bc29
patchfiles patch-Makefile
reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
file mkdir ${destroot}${prefix}/etc/${name}
file mkdir ${destroot}${prefix}/share/doc/${name}
CREDITS INSTALL README README.how.to.interpret README.keywords
} { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
logcheck.violations logcheck.violations.ignore \
logcheck.ignore logcheck.hacking
} { system "install -m 644 ${worksrcpath}/systems/generic/$file ${destroot}${prefix}/etc/${name}" }
system "install -m 755 ${worksrcpath}/src/logtail ${destroot}${prefix}/bin/"
system "install -m 755 ${worksrcpath}/systems/generic/logcheck.sh ${destroot}${prefix}/bin/"
file mkdir ${destroot}${prefix}/var/tmp
system "touch ${destroot}${prefix}/var/tmp/.turd"
system "chmod 700 ${destroot}${prefix}/var/tmp"