source: trunk/dports/security/logsentry/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2PortSystem        1.0
3name              logsentry
4version           1.1.1
5distname          logcheck-${version}
6categories        security
7maintainers       touche.fr.st:julien.touche
8description       logfile auditing tool
9long_description  \
10                  Logsentry is a scheduled auditing tool that scans system log files \
11                  for security violations and unusual activity. Reports of suspicious \
12                  log entries are mailed to a specified user (usually root). \
13                  \
14                  Logsentry was formerly known as logcheck.
15homepage          http://sourceforge.net/projects/sentrytools
16master_sites      \
17                  sourceforge:sentrytools
18platforms         darwin
19checksums         md5 e97c2f096e219e20310c1b80e9e1bc29
20configure { }
21build.target      build
22patchfiles       patch-Makefile
23destroot.target  install
24
25post-patch {
26        reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
27}
28
29destroot {
30        file mkdir ${destroot}${prefix}/etc/${name}
31        file mkdir ${destroot}${prefix}/share/doc/${name}
32        foreach doc_file {
33          CREDITS INSTALL README README.how.to.interpret README.keywords
34        } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
35        foreach file {
36             logcheck.violations logcheck.violations.ignore \
37             logcheck.ignore logcheck.hacking
38        } { system "install -m 644 ${worksrcpath}/systems/generic/$file ${destroot}${prefix}/etc/${name}" }
39        system "install -m 755 ${worksrcpath}/src/logtail ${destroot}${prefix}/bin/"
40        system "install -m 755 ${worksrcpath}/systems/generic/logcheck.sh ${destroot}${prefix}/bin/"
41}
42
43post-destroot {
44        file mkdir ${destroot}${prefix}/var/tmp
45        system "touch ${destroot}${prefix}/var/tmp/.turd"
46        system "chmod 700 ${destroot}${prefix}/var/tmp"
47}
Note: See TracBrowser for help on using the repository browser.