From 261dfad8a788d65b204761ab5cfa08fe6dc2323e Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 7 Jun 2015 14:34:43 +0200 Subject: [PATCH] clamav: build mail filter Provides clamav-milter, a mail filter for sendmail compatible MTAs. --- pkgs/tools/security/clamav/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/clamav/default.nix b/pkgs/tools/security/clamav/default.nix index 350a6f369f0d..62ebeb10f48e 100644 --- a/pkgs/tools/security/clamav/default.nix +++ b/pkgs/tools/security/clamav/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl }: +{ stdenv, fetchurl, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl +, libmilter }: stdenv.mkDerivation rec { name = "clamav-${version}"; version = "0.98.6"; @@ -8,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0l99a0shgzpl8rvrrgbm1ki2zxlb7g1n82bhq7f2snj4amfj94b5"; }; - buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv ]; + buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter ]; configureFlags = [ "--with-zlib=${zlib}" @@ -18,6 +19,7 @@ stdenv.mkDerivation rec { "--with-openssl=${openssl}" "--with-libncurses-prefix=${ncurses}" "--with-libcurl=${curl}" + "--enable-milter" "--disable-clamav" ];