From 8e71dd811ce50d465b98818236a64e7731498eb2 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Mon, 14 Jan 2008 14:43:24 +0000 Subject: add chkrootkit. It might need some tweaks to work properly. svn path=/nixpkgs/trunk/; revision=10141 --- pkgs/tools/security/chkrootkit/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pkgs/tools/security/chkrootkit/default.nix (limited to 'pkgs/tools/security/chkrootkit') diff --git a/pkgs/tools/security/chkrootkit/default.nix b/pkgs/tools/security/chkrootkit/default.nix new file mode 100644 index 0000000000000..e7545ac8cd6a8 --- /dev/null +++ b/pkgs/tools/security/chkrootkit/default.nix @@ -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 + "; + +} -- cgit 1.4.1