From a958864d770ed3ee740626065ebbcea228d28aa6 Mon Sep 17 00:00:00 2001 From: alick01 Date: Wed, 9 Dec 2020 16:48:22 +0300 Subject: [PATCH 1/3] Version Bump pspec and actions changed --- util/antivirus/clamav/actions.py | 30 ++++++++++++++++------ util/antivirus/clamav/files/freshclam.conf | 2 +- util/antivirus/clamav/pspec.xml | 18 ++++++++++--- 3 files changed, 38 insertions(+), 12 deletions(-) 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 From a4df4ce13a6c40b10cd79316a1075fca25ff3031 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Dec 2020 11:18:44 +0300 Subject: [PATCH 2/3] Unsupported update date changed --- programming/misc/ctpl/pspec.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programming/misc/ctpl/pspec.xml b/programming/misc/ctpl/pspec.xml index fc441ba69e..ded088c989 100644 --- a/programming/misc/ctpl/pspec.xml +++ b/programming/misc/ctpl/pspec.xml @@ -64,14 +64,14 @@ - 2019.10.18 + 2019-10-18 0.3.4 Rebuild. fury wascheme@tuta.io - 2019.04.21 + 2019-04-21 0.3.4 First build fury From b35f0b6f635a61597a0f8ac69f8fea4f1d1cf6a4 Mon Sep 17 00:00:00 2001 From: alick01 Date: Thu, 10 Dec 2020 11:45:42 +0300 Subject: [PATCH 3/3] clamav actions correction --- util/antivirus/clamav/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/antivirus/clamav/actions.py b/util/antivirus/clamav/actions.py index 79654ebf5a..bb0ad17bf6 100644 --- a/util/antivirus/clamav/actions.py +++ b/util/antivirus/clamav/actions.py @@ -12,7 +12,7 @@ from pisi.actionsapi import shelltools def setup(): #autotools.autoreconf("-fiv") autotools.configure("--prefix=/usr \ - -sbindir=/usr/bin \ + --sbindir=/usr/bin \ --enable-id-check \ --enable-clamdtop \ --disable-static \