source: trunk/dports/security/logsentry/Portfile

Last change on this file was 151662, checked in by mf2k@…, 13 months ago

chaosreader daemonlogger libcdata libcdatetime libcerror libcfile libclocale libcnotify libcsplit libcstring libcthreads log2timeline logsentry masscan openfpc openvpn openvpn2 p5-file-mork p5-parse-win32registry pads pdfid pdfparser rekall snort tcpdstat tcpxtract volatility: Ports abandoned. (#52039)

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