aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/clamav/clamav.SlackBuild12
-rw-r--r--system/clamav/clamav.info8
2 files changed, 16 insertions, 4 deletions
diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild
index dbc4da05a06f6..ad2f16f49d9ff 100644
--- a/system/clamav/clamav.SlackBuild
+++ b/system/clamav/clamav.SlackBuild
@@ -31,7 +31,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=clamav
-VERSION=${VERSION:-0.105.0}
+VERSION=${VERSION:-0.105.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -109,6 +109,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $TARBALL
cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-vendor.tar.xz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -116,6 +117,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mkdir .cargo
+cat <<EOT >>.cargo/config.toml
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
+EOT
+
# Specify the desired mirror in the update config file
# http://www.iana.org/cctld/cctld-whois.htm
sed -i "s/^\#DatabaseMirror.*/DatabaseMirror db.${COUNTRY}.clamav.net/" \
diff --git a/system/clamav/clamav.info b/system/clamav/clamav.info
index 489cf252e26bc..5dea65c6c47e1 100644
--- a/system/clamav/clamav.info
+++ b/system/clamav/clamav.info
@@ -1,8 +1,10 @@
PRGNAM="clamav"
-VERSION="0.105.0"
+VERSION="0.105.1"
HOMEPAGE="https://www.clamav.net/"
-DOWNLOAD="https://www.clamav.net/downloads/production/clamav-0.105.0.tar.gz"
-MD5SUM="f9994b5036da80f61d18d5941d49545d"
+DOWNLOAD="https://www.clamav.net/downloads/production/clamav-0.105.1.tar.gz \
+ https://ponce.cc/slackware/sources/repo/clamav-0.105.1-vendor.tar.xz"
+MD5SUM="fe4581fa6a0af8c1e8e782d88e80fa4d \
+ 272603f1b171d6c205a14d99f58a7265"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""