Skip to content
Permalink
Browse files

havp: init at 0.92a

  • Loading branch information
peterhoeg committed Oct 9, 2017
1 parent 3fe7cdd commit 866d30f87c787041567716213ff79d83f94d4d0e
Showing with 33 additions and 0 deletions.
  1. +31 −0 pkgs/tools/security/havp/default.nix
  2. +2 −0 pkgs/top-level/all-packages.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;
};
}
@@ -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 { };

0 comments on commit 866d30f

Please sign in to comment.
You can’t perform that action at this time.