diff --git a/util/antivirus/clamav/actions.py b/util/antivirus/clamav/actions.py
index b96b385cde..79654ebf5a 100644
--- a/util/antivirus/clamav/actions.py
+++ b/util/antivirus/clamav/actions.py
@@ -12,6 +12,21 @@ from pisi.actionsapi import shelltools
def setup():
#autotools.autoreconf("-fiv")
autotools.configure("--prefix=/usr \
+ -sbindir=/usr/bin \
+ --enable-id-check \
+ --enable-clamdtop \
+ --disable-static \
+ --disable-clamav \
+ --disable-fanotify \
+ --disable-experimental \
+ --disable-silent-rules \
+ --with-system-tommath \
+ --with-zlib=/usr \
+ --with-no-cache \
+ --with-user=clamav \
+ --with-group=clamav \
+ --disable-llvm \
+ --with-tcpwrappers \
--sysconfdir=/etc \
--with-dbdir=/var/lib/clamav")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -22,12 +37,11 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.dodir("/run/clamav")
- pisitools.dodir("/var/lib/clamav")
- shelltools.chmod(get.installDIR() + "/var/lib/clamav", 0777)
- pisitools.dodir("/var/log/clamav")
- shelltools.touch(get.installDIR() + "/var/log/clamav/freshclam.log")
- shelltools.chmod(get.installDIR() + "/var/log/clamav/freshclam.log", 0660)
- shelltools.chown("%s/var/log/clamav/freshclam.log" % get.installDIR(), "clamav", "clamav")
+ #pisitools.dodir("/run/clamav")
+ #pisitools.dodir("/var/lib/clamav")
+ #pisitools.dodir("/var/log/clamav")
+ #shelltools.touch(get.installDIR() + "/var/log/clamav/freshclam.log")
+ #shelltools.chmod(get.installDIR() + "/var/log/clamav/freshclam.log", 0600)
+ #shelltools.chown("%s/var/log/clamav/freshclam.log" % get.installDIR(), "clamav", "clamav")
-
+ pisitools.dodoc("COPYING*", "NEWS*", "README*")
diff --git a/util/antivirus/clamav/files/freshclam.conf b/util/antivirus/clamav/files/freshclam.conf
index b0d31044a8..fea1abaa24 100644
--- a/util/antivirus/clamav/files/freshclam.conf
+++ b/util/antivirus/clamav/files/freshclam.conf
@@ -14,7 +14,7 @@
# Path to the log file (make sure it has proper permissions)
# Default: disabled
-# UpdateLogFile /var/log/clamav/freshclam.log
+UpdateLogFile /var/log/clamav/freshclam.log
# Maximum size of the log file.
# Value of 0 disables the limit.
diff --git a/util/antivirus/clamav/pspec.xml b/util/antivirus/clamav/pspec.xml
index 85dee7eb95..6c39f84c9b 100644
--- a/util/antivirus/clamav/pspec.xml
+++ b/util/antivirus/clamav/pspec.xml
@@ -14,9 +14,10 @@
app:console
Clam Antivirus software
Clam AntiVirus is a GPL anti-virus toolkit for UNIX.
- http://www.clamav.net/downloads/production/clamav-0.101.1.tar.gz
+ https://www.clamav.net/downloads/production/clamav-0.103.0.tar.gz
- gmp-devel
+ libxml2-devel
+ libpcre2-devel
curl-devel
zlib-devel
json-c-devel
@@ -30,7 +31,11 @@
clamav
- gmp
+ libxml2
+ bzip2
+ libgcc
+ libtool-ltdl
+ libpcre2
curl
zlib
json-c
@@ -76,6 +81,13 @@
+
+ 2020-12-09
+ 0.103.0
+ Version Bump
+ Ali Cengiz Kurt
+ alicengizkurt@gmail.com
+
2019-01-13
0.101.1