[128369] trunk/dports/security/logsentry/Portfile
khindenburg at macports.org
khindenburg at macports.org
Wed Nov 19 20:10:57 PST 2014
Revision: 128369
https://trac.macports.org/changeset/128369
Author: khindenburg at macports.org
Date: 2014-11-19 20:10:57 -0800 (Wed, 19 Nov 2014)
Log Message:
-----------
logsentry: add modeline + whitespace changes
Modified Paths:
--------------
trunk/dports/security/logsentry/Portfile
Modified: trunk/dports/security/logsentry/Portfile
===================================================================
--- trunk/dports/security/logsentry/Portfile 2014-11-20 03:49:03 UTC (rev 128368)
+++ trunk/dports/security/logsentry/Portfile 2014-11-20 04:10:57 UTC (rev 128369)
@@ -1,47 +1,53 @@
+# -*- 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
# $Id$
-PortSystem 1.0
-name logsentry
-version 1.1.1
-distname logcheck-${version}
-categories security
-maintainers touche.fr.st:julien.touche
-description logfile auditing tool
-long_description \
- 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
-platforms darwin
-checksums md5 e97c2f096e219e20310c1b80e9e1bc29
-configure { }
-build.target build
-patchfiles patch-Makefile
-destroot.target install
+PortSystem 1.0
+
+name logsentry
+version 1.1.1
+distname logcheck-${version}
+categories security
+maintainers touche.fr.st:julien.touche
+description logfile auditing tool
+long_description \
+ 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
+
+platforms darwin
+checksums md5 e97c2f096e219e20310c1b80e9e1bc29
+
+configure {}
+build.target build
+
+patchfiles patch-Makefile
+destroot.target install
+
post-patch {
- reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
+ reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
}
destroot {
- file mkdir ${destroot}${prefix}/etc/${name}
- file mkdir ${destroot}${prefix}/share/doc/${name}
- foreach doc_file {
- CREDITS INSTALL README README.how.to.interpret README.keywords
- } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
- foreach file {
- 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}/etc/${name}
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ foreach doc_file {
+ CREDITS INSTALL README README.how.to.interpret README.keywords
+ } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
+ foreach file {
+ 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/"
}
post-destroot {
- file mkdir ${destroot}${prefix}/var/tmp
- system "touch ${destroot}${prefix}/var/tmp/.turd"
- system "chmod 700 ${destroot}${prefix}/var/tmp"
+ file mkdir ${destroot}${prefix}/var/tmp
+ system "touch ${destroot}${prefix}/var/tmp/.turd"
+ system "chmod 700 ${destroot}${prefix}/var/tmp"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141119/d0bb3f37/attachment.html>
More information about the macports-changes
mailing list