clamav-database.
This commit is contained in:
@@ -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")
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>clamav-database</Name>
|
||||
<Homepage>https://www.clamav.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>custom</License>
|
||||
<IsA>data</IsA>
|
||||
<PartOf>util.antivirus</PartOf>
|
||||
<Summary>Virus database for clamav.</Summary>
|
||||
<Description>Virus database for clamav.</Description>
|
||||
<Archive sha1sum="a89e024f0dbc6c6584d0c7577af83c031c6265ac" type="binary">https://db.local.clamav.net/bytecode.cvd</Archive>
|
||||
<Archive sha1sum="abdc6e37e893debeea80e0cbbbf021c89513790f" type="binary">https://db.local.clamav.net/safebrowsing.cvd</Archive>
|
||||
<Archive sha1sum="029931779fb5d13625464995549421c108ae5518" type="binary">https://db.local.clamav.net/main.cvd</Archive>
|
||||
<BuildDependencies>
|
||||
<!-- <Dependency></Dependency> -->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level='1'></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>clamav-database</Name>
|
||||
<RuntimeDependencies>
|
||||
<!-- <Dependency></Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/var/lib/clamav/main.cvd</Path>
|
||||
<Path fileType="data">/var/lib/clamav/bytecode.cvd</Path>
|
||||
<Path fileType="data">/var/lib/clamav/safebrowsing.cvd</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2022-11-15</Date>
|
||||
<Version>0.0.20221115</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user