Update clamav-data (#1998252)

This commit is contained in:
Sérgio M. Basto 2021-08-26 20:11:03 +01:00
parent 7f94084fd5
commit d4784f452c
3 changed files with 11 additions and 8 deletions

View File

@ -17,9 +17,9 @@ 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
mv -f main.cvd $main_ver
mv -f daily.cvd $daily_ver
mv -f bytecode.cvd $bytecode_ver
sed -i "s|^Source10: .*|Source10: $main_ver|" clamav.spec
sed -i "s|^Source11: .*|Source11: $daily_ver|" clamav.spec

View File

@ -42,7 +42,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.103.3
Release: 4%{?dist}
Release: 5%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
URL: https://www.clamav.net/
%if %{with unrar}
@ -63,9 +63,9 @@ Source5: clamd-README
# Check the first line of the file for version or run file *cvd
# Attention file < 5.33-7 have bugs see https://bugzilla.redhat.com/show_bug.cgi?id=1539107
#http://database.clamav.net/main.cvd
Source10: main-59.cvd
Source10: main-61.cvd
#http://database.clamav.net/daily.cvd
Source11: daily-26209.cvd
Source11: daily-26275.cvd
#http://database.clamav.net/bytecode.cvd
Source12: bytecode-333.cvd
#for update
@ -608,6 +608,9 @@ test -e %freshclamlog || {
%changelog
* Thu Aug 26 2021 Sérgio Basto <sergio@serjux.com> - 0.103.3-5
- Update clamav-data (#1998252)
* Sat Aug 14 2021 Sérgio Basto <sergio@serjux.com> - 0.103.3-4
- Rearrange tmpfiles following packaging guidelines
https://docs.fedoraproject.org/en-US/packaging-guidelines/Tmpfiles.d/

View File

@ -1,4 +1,4 @@
SHA512 (clamav-0.103.3-norar.tar.xz) = 3f3be128e201403a380213e270155fa4dfd4268c08da408ec185eb02dcbf36240826424af0fb746bdb3e5671d9201513b5ed74b2eab491b6b9915991a80d17ab
SHA512 (main-59.cvd) = c01792bdb9e07889af04ead91ba49f440cd4510b81b1c83bdfb10c65f099cf29416699f5485cc13b07c4d24195c81abc0b1c4439f5ba6d5d391b7406ba9fe26c
SHA512 (daily-26209.cvd) = 68ae98e61f5e1e41f17938de098f852b0d216adc6a6d6d48f74249c30db18335946f59c903bd06a4a59daa23571cdf4e75ab994961c11bbb26d6dc08180f3706
SHA512 (main-61.cvd) = 241a527b1ceb056fa3d72e97ad58ee0b420d613a03eb3871c1a9034efc7eb2eb109de49732c308f526a7e5078680fcebbeceec411f612161af882da571c10759
SHA512 (daily-26275.cvd) = 41bd8ea0f8c91939caeff4aebfd806a24295be84a11cc4e676737def70f0d22af4d2967bcbb8bb267ff85bd9785681104097897da435ccc76ea3f6ffd0c2df0a
SHA512 (bytecode-333.cvd) = 895c41266b9bc332f3a00c9267907251ad32abe3a5bff7584285e087430fe0dd7343e4ac0245308f3734d971d6ecb5656fd9ce6caf0fa24f9da7a41a96bc4d07