Source
# -*- 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
PortSystem 1.0
name chkrootkit
version 0.53
revision 0
categories sysutils
platforms darwin
maintainers nomaintainer
license GPL-2+
description chkrootkit is a tool to locally check for signs of a rootkit
long_description chkrootkit is a tool to locally check for signs of a rootkit.
homepage http://www.chkrootkit.org/
master_sites ftp://ftp.pangeia.com.br/pub/seg/pac/
checksums rmd160 ef10200419eb13a9b1a494913d17fae18f9c3f76 \
sha256 7262dae33b338976828b5d156b70d159e0043c0db43ada8dee66c97387cf45b5 \
size 40483
patchfiles patch-chkrootkit.diff
use_configure no
variant universal {}
build.target sense
build.args CC="${configure.cc} [get_canonical_archflags cc]"
destroot {
xinstall -m 755 -W ${worksrcpath} \
check_wtmpx \
chkdirs \
chklastlog \
chkproc \
chkrootkit \
chkutmp \
chkwtmp \
ifpromisc \
strings-static \
${destroot}${prefix}/bin
set docdir ${destroot}${prefix}/share/doc/chkrootkit
xinstall -m 755 -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
ACKNOWLEDGMENTS \
COPYRIGHT \
README \
README.chklastlog \
README.chkwtmp \
${docdir}
}
platform darwin {
build.args-append STATIC=
}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]