From 709eae1b1a6d70a533e8ceb98807eba514e29a1a Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 26 Mar 2017 15:55:01 -0600 Subject: [PATCH] Allow freshclam to run automatically on install (bug #1408649) --- clamav.spec | 6 +++++- freshclam.sysconfig | 6 ------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/clamav.spec b/clamav.spec index 723eaf5..789474b 100644 --- a/clamav.spec +++ b/clamav.spec @@ -58,7 +58,7 @@ Requires(postun): /bin/systemctl\ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 0.99.2 -Release: 4%{?dist} +Release: 5%{?dist} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} Group: Applications/File URL: http://www.clamav.net @@ -426,6 +426,7 @@ sed -ri \ etc/clamd.conf.sample sed -ri \ + -e 's!^Example!#Example!' \ -e 's!^#?(UpdateLogFile )!#\1!g;' \ -e 's!^#?(LogSyslog).*!\1 yes!g' \ -e 's!(DatabaseOwner *)clamav$!\1%username!g' etc/freshclam.conf.sample @@ -886,6 +887,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog +* Sun Mar 26 2017 Orion Poplawski - 0.99.2-5 +- Allow freshclam to run automatically on install (bug #1408649) + * Fri Feb 10 2017 Fedora Release Engineering - 0.99.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/freshclam.sysconfig b/freshclam.sysconfig index 94035f8..417dafc 100644 --- a/freshclam.sysconfig +++ b/freshclam.sysconfig @@ -16,9 +16,3 @@ ## gives out a warning ## 'disabled' ... disables the automatic freshclam silently # FRESHCLAM_DELAY= - - -### !!!!! REMOVE ME !!!!!! -### REMOVE ME: By default, the freshclam update is disabled to avoid -### REMOVE ME: network access without prior activation -FRESHCLAM_DELAY=disabled-warn # REMOVE ME