Merge pull request #8249 from joachifm/clamav-milter
clamav: build mail filter
This commit is contained in:
commit
af4c5f9cc4
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "clamav-${version}";
|
name = "clamav-${version}";
|
||||||
version = "0.98.7";
|
version = "0.98.7";
|
||||||
@ -8,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0wp2ad8km4cqmlndni5ljv7q3lfxm6y4r3giv0yf23bl0yvif918";
|
sha256 = "0wp2ad8km4cqmlndni5ljv7q3lfxm6y4r3giv0yf23bl0yvif918";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv ];
|
buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-zlib=${zlib}"
|
"--with-zlib=${zlib}"
|
||||||
@ -18,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-openssl=${openssl}"
|
"--with-openssl=${openssl}"
|
||||||
"--with-libncurses-prefix=${ncurses}"
|
"--with-libncurses-prefix=${ncurses}"
|
||||||
"--with-libcurl=${curl}"
|
"--with-libcurl=${curl}"
|
||||||
|
"--enable-milter"
|
||||||
"--disable-clamav"
|
"--disable-clamav"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user