Fix for rhbz #1969240, epel7 only, location of old freshclam update file is

/etc/cron.d/clamav-update, not /etc/cron.d/clamav-freshclam
This commit is contained in:
Sérgio M. Basto 2021-06-14 10:58:43 +01:00
parent 7dcf6c59d4
commit 607a6aafc2
2 changed files with 15 additions and 4 deletions

View File

@ -1,6 +1,13 @@
--- ./freshclam/clamav-freshclam.service.in.orig 2021-02-01 20:49:25.000000000 +0000
+++ ./freshclam/clamav-freshclam.service.in 2021-03-07 22:59:34.476455890 +0000
@@ -8,7 +8,6 @@ After=network-online.target
--- ./freshclam/clamav-freshclam.service.in.orig 2021-06-14 10:36:39.029730737 +0100
+++ ./freshclam/clamav-freshclam.service.in 2021-06-14 10:37:53.621423748 +0100
@@ -2,13 +2,12 @@
Description=ClamAV virus database updater
Documentation=man:freshclam(1) man:freshclam.conf(5) https://www.clamav.net/documents
# If user wants it run from cron, don't start the daemon.
-ConditionPathExists=!/etc/cron.d/clamav-freshclam
+ConditionPathExists=!/etc/cron.d/clamav-update
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=@prefix@/bin/freshclam -d --foreground=true

View File

@ -42,7 +42,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 0.103.2
Release: 1%{?dist}
Release: 2%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
URL: https://www.clamav.net/
%if %{with unrar}
@ -632,6 +632,10 @@ fi
%changelog
* Mon Jun 14 2021 Sérgio Basto <sergio@serjux.com> - 0.103.2-2
- Fix for rhbz #1969240, epel7 only, location of old freshclam update file is
/etc/cron.d/clamav-update, not /etc/cron.d/clamav-freshclam
* Wed Apr 07 2021 Sérgio Basto <sergio@serjux.com> - 0.103.2-1
- Update to 0.103.2