chkrootkit: 0.50 -> 0.51, fix build
This commit is contained in:
parent
0fd5a0c8a3
commit
2f861e6ba6
@ -1,15 +1,25 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "chkrootkit-0.50";
|
name = "chkrootkit-0.51";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.50.tar.gz;
|
url = "ftp://ftp.pangeia.com.br/pub/seg/pac/${name}.tar.gz";
|
||||||
sha256 = "1ivclp7ixndacjmf7xgj8lfa6h7ihx44mzzsapqdvf0c5f9gqj4m";
|
sha256 = "0y0kbhy8156y8zli0wcqbakb9rprzl1w7jn0kw3xjfgzrgsncqgn";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = "
|
# TODO: a lazy work-around for linux build failure ...
|
||||||
|
makeFlags = [ "STATIC=" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
mkdir -p $out/sbin
|
mkdir -p $out/sbin
|
||||||
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
||||||
";
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Locally checks for signs of a rootkit";
|
||||||
|
homepage = http://www.chkrootkit.org/;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
platforms = with platforms; linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user