add chkrootkit. It might need some tweaks to work properly.

svn path=/nixpkgs/trunk/; revision=10141
This commit is contained in:
Armijn Hemel 2008-01-14 14:43:24 +00:00
parent dab4608c4b
commit 8e71dd811c
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "chkrootkit-0.48";
src = fetchurl {
url = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz;
sha256 = "1yzid6bw092nf8k83y1119kc4ns7r0l3zsfah5xal8kh19ad7cxl";
};
installPhase = "
ensureDir $out/sbin
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
";
}

View File

@ -365,6 +365,10 @@ rec {
inherit fetchurl stdenv;
};
chkrootkit = import ../tools/security/chkrootkit {
inherit fetchurl stdenv;
};
cksfv = import ../tools/networking/cksfv {
inherit fetchurl stdenv;
};