Update to 0.103.2

This commit is contained in:
Sérgio M. Basto 2021-04-08 11:34:50 +01:00
parent 0c636a8688
commit 7dcf6c59d4
3 changed files with 30 additions and 8 deletions

View File

@ -1,4 +1,4 @@
VERSION=0.103.1
VERSION=0.103.2
NAME=clamav
TARBALL_CLEAN=${NAME}-${VERSION}-norar.tar.xz
TARBALL=${NAME}-${VERSION}.tar.gz
@ -7,3 +7,22 @@ wget https://www.clamav.net/downloads/production/${TARBALL}
wget https://www.clamav.net/downloads/production/${TARBALL}.sig
gpg --verify ${TARBALL}.sig ${TARBALL}
zcat ${TARBALL} | tar --delete -f - '*/libclamunrar/*' | xz -c > ${TARBALL_CLEAN}
# WIP
wget http://database.clamav.net/main.cvd
wget http://database.clamav.net/daily.cvd
wget http://database.clamav.net/bytecode.cvd
main_ver=$(file main.cvd | sed -e 's/.*version /main-/;s/,.*/.cvd/')
daily_ver=$(file daily.cvd | sed -e 's/.*version /daily-/;s/,.*/.cvd/')
bytecode_ver=$(file bytecode.cvd | sed -e 's/.*version /bytecode-/;s/,.*/.cvd/')
cp main.cvd $main_ver
cp daily.cvd $daily_ver
cp bytecode.cvd $bytecode_ver
sed -i "s|^Source10: .*|Source10: $main_ver|" clamav.spec
sed -i "s|^Source11: .*|Source11: $daily_ver|" clamav.spec
sed -i "s|^Source12: .*|Source12: $bytecode_ver|" clamav.spec
fedpkg new-sources ${TARBALL_CLEAN} $main_ver $daily_ver $bytecode_ver

View File

@ -41,8 +41,8 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.103.1
Release: 3%{?dist}
Version: 0.103.2
Release: 1%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
URL: https://www.clamav.net/
%if %{with unrar}
@ -65,9 +65,9 @@ Source5: clamd-README
#http://database.clamav.net/main.cvd
Source10: main-59.cvd
#http://database.clamav.net/daily.cvd
Source11: daily-26082.cvd
Source11: daily-26133.cvd
#http://database.clamav.net/bytecode.cvd
Source12: bytecode-331.cvd
Source12: bytecode-333.cvd
#for update
Source200: freshclam-sleep
Source201: freshclam.sysconfig
@ -632,6 +632,9 @@ fi
%changelog
* Wed Apr 07 2021 Sérgio Basto <sergio@serjux.com> - 0.103.2-1
- Update to 0.103.2
* Sun Mar 07 2021 Sérgio Basto <sergio@serjux.com> - 0.103.1-3
- clamav-freshclam.service: Standard output type syslog is obsolete (#1933977)
- Quiet proxy on stdout (#1814698)

View File

@ -1,4 +1,4 @@
SHA512 (clamav-0.103.1-norar.tar.xz) = a6732d40a706572cfea8484924af5b9211db13accddedf73738dc0ca0e6259d0612916302d30890b7c27c8fabe936f35c4a27c87bce027fd1f28b548df6b762f
SHA512 (bytecode-331.cvd) = 41957106337cb28fd0eb6459bd70ab23b4ce218b3691d592e0f1bc14841696b36b1fbbc4feaef64f7b572b6cbe400f5d44fc4efedd07afe37921a9044a1a8f53
SHA512 (daily-26082.cvd) = 1824397d5063e026e15f8a1e048234b75c819a99cd87050ba13256f638ca51a840ea81909decef07f1b9286c79ce310755305279fd57bfc6dbb8f9199172582c
SHA512 (clamav-0.103.2-norar.tar.xz) = 3a2d67eadfe49adee0b7dbea63e22b220db8841ebf5293af3d7debd829ffe0988fbff73e797c1d71d52e1a9447a1eac1d6aaff540a5dd56cd04874d0730ea92f
SHA512 (main-59.cvd) = c01792bdb9e07889af04ead91ba49f440cd4510b81b1c83bdfb10c65f099cf29416699f5485cc13b07c4d24195c81abc0b1c4439f5ba6d5d391b7406ba9fe26c
SHA512 (daily-26133.cvd) = d22185a19c6c4d5b0315b57572035fd38c3562ecba7ff811854f29bf508c0f10e60a6df6fb7049a302359b5a469b7d7274cffd1b44b3cbb5246a8ec6ed8ddcfb
SHA512 (bytecode-333.cvd) = 895c41266b9bc332f3a00c9267907251ad32abe3a5bff7584285e087430fe0dd7343e4ac0245308f3734d971d6ecb5656fd9ce6caf0fa24f9da7a41a96bc4d07