mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
add chkrootkit. It might need some tweaks to work properly.
svn path=/nixpkgs/trunk/; revision=10141
This commit is contained in:
parent
dab4608c4b
commit
8e71dd811c
16
pkgs/tools/security/chkrootkit/default.nix
Normal file
16
pkgs/tools/security/chkrootkit/default.nix
Normal 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
|
||||
";
|
||||
|
||||
}
|
@ -365,6 +365,10 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
chkrootkit = import ../tools/security/chkrootkit {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
cksfv = import ../tools/networking/cksfv {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user