diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-04 22:07:11 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-04 22:10:06 +0100 |
commit | 2f861e6ba652eb580babd179a632a1413caae061 (patch) | |
tree | 63f5cecee48d275628a6fa4da3775902dd16ad91 /pkgs/tools/security | |
parent | 0fd5a0c8a3401d89ffd7e651e0d258f24a613ffd (diff) |
chkrootkit: 0.50 -> 0.51, fix build
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/chkrootkit/default.nix | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/pkgs/tools/security/chkrootkit/default.nix b/pkgs/tools/security/chkrootkit/default.nix index 2dad4b3e43aa..54aeb32cabd6 100644 --- a/pkgs/tools/security/chkrootkit/default.nix +++ b/pkgs/tools/security/chkrootkit/default.nix @@ -1,15 +1,25 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl }: -stdenv.mkDerivation { - name = "chkrootkit-0.50"; +stdenv.mkDerivation rec { + name = "chkrootkit-0.51"; src = fetchurl { - url = ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.50.tar.gz; - sha256 = "1ivclp7ixndacjmf7xgj8lfa6h7ihx44mzzsapqdvf0c5f9gqj4m"; + url = "ftp://ftp.pangeia.com.br/pub/seg/pac/${name}.tar.gz"; + sha256 = "0y0kbhy8156y8zli0wcqbakb9rprzl1w7jn0kw3xjfgzrgsncqgn"; }; - installPhase = " + # TODO: a lazy work-around for linux build failure ... + makeFlags = [ "STATIC=" ]; + + installPhase = '' mkdir -p $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; + }; } |