source: trunk/dports/sysutils/chkrootkit/Portfile @ 65417

Last change on this file since 65417 was 65417, checked in by ryandesign@…, 9 years ago

chkrootkit: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 65417 2010-03-26 01:35:23Z ryandesign@macports.org $
2
3PortSystem       1.0
4name                 chkrootkit
5version              0.49
6categories           sysutils
7platforms            darwin
8maintainers          nomaintainer
9description          chkrootkit is a tool to locally check for signs of a rootkit
10long_description chkrootkit is a tool to locally check for signs of a rootkit.
11homepage         http://www.chkrootkit.org/
12master_sites     ftp://ftp.pangeia.com.br/pub/seg/pac/
13checksums        md5     304d840d52840689e0ab0af56d6d3a18 \
14                 sha1    cec1a3c482b95b20d3a946b07fffb23290abc4a6 \
15                 rmd160  8c23ed9859a7dcf7d43ac15049b48c863ab63e92
16                   
17patchfiles       patch-Makefile
18
19use_configure    no
20
21build.target     sense all
22build.args       CC=${configure.cc}
23
24destroot {
25    xinstall -m 755 -W ${worksrcpath} \
26        check_wtmpx \
27        chkdirs \
28        chklastlog \
29        chkproc \
30        chkrootkit \
31        chkutmp \
32        chkwtmp \
33        ifpromisc \
34        strings-static \
35        ${destroot}${prefix}/bin
36       
37    set docdir ${destroot}${prefix}/share/doc/chkrootkit
38    xinstall -m 755 -d ${docdir}
39   
40    xinstall -m 644 -W ${worksrcpath} \
41        ACKNOWLEDGMENTS \
42        COPYRIGHT \
43        README \
44        README.chklastlog \
45        README.chkwtmp \
46        ${docdir}
47}
48
49livecheck.type   regex
50livecheck.url    [lindex ${master_sites} 0]
51livecheck.regex  ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.