2008-01-14 15:43:24 +01:00
|
|
|
{stdenv, fetchurl}:
|
2015-09-07 20:07:41 +02:00
|
|
|
|
2008-01-14 15:43:24 +01:00
|
|
|
stdenv.mkDerivation {
|
2015-09-07 20:07:41 +02:00
|
|
|
name = "chkrootkit-0.50";
|
|
|
|
|
2008-01-14 15:43:24 +01:00
|
|
|
src = fetchurl {
|
2015-10-15 10:56:22 +02:00
|
|
|
url = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.50.tar.gz;
|
2015-09-07 20:07:41 +02:00
|
|
|
sha256 = "1ivclp7ixndacjmf7xgj8lfa6h7ihx44mzzsapqdvf0c5f9gqj4m";
|
2008-01-14 15:43:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = "
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/sbin
|
2008-01-14 15:43:24 +01:00
|
|
|
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
|
|
|
";
|
|
|
|
}
|