nixpkgs/pkgs/tools/security/chkrootkit/default.nix

16 lines
389 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
2015-09-07 18:07:41 +00:00
stdenv.mkDerivation {
2015-09-07 18:07:41 +00:00
name = "chkrootkit-0.50";
src = fetchurl {
url = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz;
2015-09-07 18:07:41 +00:00
sha256 = "1ivclp7ixndacjmf7xgj8lfa6h7ihx44mzzsapqdvf0c5f9gqj4m";
};
installPhase = "
mkdir -p $out/sbin
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
";
}