From b04e0275769c7f719c362957195855fffd294ab8 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 16 Nov 2022 10:48:44 +0300 Subject: [PATCH] clamav-database. --- util/antivirus/clamav-database/actions.py | 14 +++++++ util/antivirus/clamav-database/pspec.xml | 48 +++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 util/antivirus/clamav-database/actions.py create mode 100644 util/antivirus/clamav-database/pspec.xml diff --git a/util/antivirus/clamav-database/actions.py b/util/antivirus/clamav-database/actions.py new file mode 100644 index 0000000000..1c0b64bdbb --- /dev/null +++ b/util/antivirus/clamav-database/actions.py @@ -0,0 +1,14 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, pisitools, get + +WorkDir = "." + +def install(): + for t in shelltools.ls("*.cvd"): + pisitools.insinto("/var/lib/clamav", t) + shelltools.chown("%s/var/lib/clamav/%s" % (get.installDIR(), t), uid = "clamav", gid = "clamav") diff --git a/util/antivirus/clamav-database/pspec.xml b/util/antivirus/clamav-database/pspec.xml new file mode 100644 index 0000000000..64f320d999 --- /dev/null +++ b/util/antivirus/clamav-database/pspec.xml @@ -0,0 +1,48 @@ + + + + + clamav-database + https://www.clamav.net/ + + fury + uglyside@yandex.ru + + custom + data + util.antivirus + Virus database for clamav. + Virus database for clamav. + https://db.local.clamav.net/bytecode.cvd + https://db.local.clamav.net/safebrowsing.cvd + https://db.local.clamav.net/main.cvd + + + + + + + + + + clamav-database + + + + + /var/lib/clamav/main.cvd + /var/lib/clamav/bytecode.cvd + /var/lib/clamav/safebrowsing.cvd + + + + + + 2022-11-15 + 0.0.20221115 + First build. + fury + uglyside@yandex.ru + + +