Changeset 128369


Ignore:
Timestamp:
Nov 20, 2014, 4:10:57 AM (5 years ago)
Author:
khindenburg@…
Message:

logsentry: add modeline + whitespace changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/logsentry/Portfile

    r50984 r128369  
     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
    12# $Id$
    2 PortSystem        1.0
    3 name              logsentry
    4 version           1.1.1
    5 distname          logcheck-${version}
    6 categories        security
    7 maintainers       touche.fr.st:julien.touche
    8 description       logfile auditing tool
    9 long_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.
    15 homepage          http://sourceforge.net/projects/sentrytools
    16 master_sites      \
    17                   sourceforge:sentrytools
    18 platforms         darwin
    19 checksums         md5 e97c2f096e219e20310c1b80e9e1bc29
    20 configure { }
    21 build.target      build
    22 patchfiles       patch-Makefile
    23 destroot.target  install
     3
     4PortSystem          1.0
     5
     6name                logsentry
     7version             1.1.1
     8distname            logcheck-${version}
     9categories          security
     10maintainers         touche.fr.st:julien.touche
     11description         logfile auditing tool
     12long_description \
     13    Logsentry is a scheduled auditing tool that scans system log files \
     14    for security violations and unusual activity. Reports of suspicious \
     15    log entries are mailed to a specified user (usually root). \
     16    \
     17    Logsentry was formerly known as logcheck.
     18
     19homepage            http://sourceforge.net/projects/sentrytools
     20master_sites        sourceforge:sentrytools
     21
     22platforms           darwin
     23checksums           md5 e97c2f096e219e20310c1b80e9e1bc29
     24
     25configure {}
     26build.target        build
     27
     28patchfiles          patch-Makefile
     29destroot.target     install
    2430
    2531post-patch {
    26         reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
     32    reinplace "s|^TMPDIR = /usr/local/etc/tmp|TMPDIR = ${prefix}/var/tmp|" ${worksrcpath}/Makefile
    2733}
    2834
    2935destroot {
    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/"
     36    file mkdir ${destroot}${prefix}/etc/${name}
     37    file mkdir ${destroot}${prefix}/share/doc/${name}
     38    foreach doc_file {
     39        CREDITS INSTALL README README.how.to.interpret README.keywords
     40    } { system "install -m 644 ${worksrcpath}/$doc_file ${destroot}${prefix}/share/doc/${name}" }
     41    foreach file {
     42        logcheck.violations logcheck.violations.ignore \
     43        logcheck.ignore logcheck.hacking
     44    } { system "install -m 644 ${worksrcpath}/systems/generic/$file ${destroot}${prefix}/etc/${name}" }
     45    system "install -m 755 ${worksrcpath}/src/logtail ${destroot}${prefix}/bin/"
     46    system "install -m 755 ${worksrcpath}/systems/generic/logcheck.sh ${destroot}${prefix}/bin/"
    4147}
    4248
    4349post-destroot {
    44         file mkdir ${destroot}${prefix}/var/tmp
    45         system "touch ${destroot}${prefix}/var/tmp/.turd"
    46         system "chmod 700 ${destroot}${prefix}/var/tmp"
     50    file mkdir ${destroot}${prefix}/var/tmp
     51    system "touch ${destroot}${prefix}/var/tmp/.turd"
     52    system "chmod 700 ${destroot}${prefix}/var/tmp"
    4753}
Note: See TracChangeset for help on using the changeset viewer.