Skip to content

Commit

Permalink
havp: init at 0.92a
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Oct 9, 2017
1 parent 3fe7cdd commit 866d30f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/tools/security/havp/default.nix
@@ -0,0 +1,31 @@
{ stdenv, fetchurl, clamav, openssl, perl }:

stdenv.mkDerivation rec {
name = "havp-${version}";
version = "0.92a";

src = fetchurl {
url = "http://www.havp.org/download/${name}.tar.gz";
sha256 = "16hf1zshn7wgxjy7fwyddx3rf2nhdp3g0nhmlx51hf2p1cwqdv0d";
};

postPatch = ''
sed -i havp/Makefile.in \
-e '/localstatedir/d' \
-e '/init\.d/d'
'';

buildInputs = [ clamav openssl ];

nativeBuildInputs = [ perl ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "HTTP Anti Virus Proxy";
homepage = https://www.havp.org;
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1522,6 +1522,8 @@ with pkgs;

clamav = callPackage ../tools/security/clamav { };

havp = callPackage ../tools/security/havp { };

clex = callPackage ../tools/misc/clex { };

client-ip-echo = callPackage ../servers/misc/client-ip-echo { };
Expand Down

0 comments on commit 866d30f

Please sign in to comment.