source: trunk/dports/sysutils/chkrootkit/Portfile

Last change on this file was 127390, checked in by khindenburg@…, 3 years ago

chkrootkit: update to 0.50 - release has a typo which authors will fix in 0.51

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 127390 2014-10-26 22:12:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                chkrootkit
7version             0.50
8categories          sysutils
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2+
12
13description         chkrootkit is a tool to locally check for signs of a rootkit
14
15long_description    chkrootkit is a tool to locally check for signs of a rootkit.
16
17homepage            http://www.chkrootkit.org/
18master_sites        ftp://ftp.pangeia.com.br/pub/seg/pac/
19
20checksums           rmd160  c038cc6ddbc0cf30d3492545bc02b1c95df973f1 \
21                    sha256  9548fc922b0cb8ddf055faff4a4887f140a31c45f2f5e3aa64aad91ecfa56cc7
22
23patchfiles          patch-chkrootkit.diff patch-dirnametypo.diff
24
25use_configure       no
26
27variant universal {}
28
29build.target        sense
30build.args          CC="${configure.cc} [get_canonical_archflags cc]"
31
32destroot {
33    xinstall -m 755 -W ${worksrcpath} \
34        check_wtmpx \
35        chkdirs \
36        chklastlog \
37        chkproc \
38        chkrootkit \
39        chkutmp \
40        chkwtmp \
41        ifpromisc \
42        strings-static \
43        ${destroot}${prefix}/bin
44
45    set docdir ${destroot}${prefix}/share/doc/chkrootkit
46    xinstall -m 755 -d ${docdir}
47
48    xinstall -m 644 -W ${worksrcpath} \
49        ACKNOWLEDGMENTS \
50        COPYRIGHT \
51        README \
52        README.chklastlog \
53        README.chkwtmp \
54        ${docdir}
55}
56
57platform darwin {
58    build.args-append STATIC=
59}
60
61livecheck.type      regex
62livecheck.url       [lindex ${master_sites} 0]
63livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.