Files

62 lines
1.6 KiB
Tcl

# -*- 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
PortGroup makefile 1.0
name chkrootkit
version 0.55
revision 0
checksums rmd160 94fb0ed9bdae7cf6695508c148da9d3f7ce0bdce \
sha256 a81c0286ec449313f953701202a00e81b204fc2cf43e278585a11c12a5e0258b \
size 42630
categories sysutils
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/
patchfiles patch-chkrootkit.diff \
implicit.patch \
Makefile.patch
build.target sense
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]
livecheck.regex ${name}-(\[0-9.\]+)\\.tar