about summary refs log tree commit diff
path: root/pkgs/tools/security/chkrootkit/default.nix
blob: 73f7f8c9ae5ef991ad4e6918aefafaaed6b5ca82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 = "
    mkdir -p $out/sbin
    cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
  ";
  
}