clamav: 0.99.4 -> 0.100.1
This commit is contained in:
parent
4fbc423b77
commit
86e27e29c4
@ -1,14 +1,15 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig
|
||||
, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl, libmilter, pcre
|
||||
, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl, libmilter, pcre2
|
||||
, libmspack, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clamav-${version}";
|
||||
version = "0.99.4";
|
||||
version = "0.100.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.clamav.net/downloads/production/${name}.tar.gz";
|
||||
sha256 = "0q94iwi729id9pyc72w6zlllbaz37qvpi6gc51g2x3fy7ckw6anp";
|
||||
sha256 = "17x5b2gh84b167h6ip9hw05w809p009yx13i4gkps92ja5jjdq44";
|
||||
};
|
||||
|
||||
# don't install sample config files into the absolute sysconfdir folder
|
||||
@ -18,16 +19,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre
|
||||
zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter pcre2 libmspack
|
||||
systemd
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--libdir=$(out)/lib"
|
||||
"--sysconfdir=/etc/clamav"
|
||||
"--with-systemdsystemunitdir=$(out)/lib/systemd"
|
||||
"--disable-llvm" # enabling breaks the build at the moment
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--with-xml=${libxml2.dev}"
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--with-libcurl=${curl.dev}"
|
||||
"--with-system-libmspack"
|
||||
"--enable-milter"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user