Fwd: Suggestion for clamav

"Kirk Bauer" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Win Bent <[email protected]>
Date: Nov 26, 2007 5:44 PM
Subject: Suggestion for clamav
To: [email protected]
Cc: Win Bent <[email protected]>


Logwatch 7.3 (released 03/24/06)
/usr/share/logwatch/scripts/services/clamav ver. 0.85.1

ClamAV 0.91.2 prints a slightly different message when reloading the
database ("signatures" not "viruses"):

--- -   2007-11-26 18:41:58.284621000 -0600
+++ clamav      2007-11-24 16:35:32.000000000 -0600
@@ -44,7 +44,7 @@
       $SelfCheck{$Check}++;
    } elsif (($Virus) = ($ThisLine =~ /^.+?: (.*?) FOUND/i )) {
       $VirusList{$Virus}++;
-   } elsif (($Viruses) = ($ThisLine =~ /^Database correctly reloaded
\((\d+) viruses\)/i )) {
+   } elsif (($Viruses) = ($ThisLine =~ /^Database correctly reloaded
\((\d+) (signatures|viruses)\)/i )) {
       $DatabaseReloads++;
       $DatabaseViruses = $Viruses;
    } elsif (($ThisLine =~ /Stopped at/)) {

My apologies if you think this should be a Patch rather than a Suggestion.

        - Win
--
Win Bent, Head          [email protected]
Bent Sound Research     Sound advice for over 30 years!




-- 
Kirk Bauer <[email protected]>
http://linux.kaybee.org | www.logwatch.org
Author, Automating UNIX & Linux Administration
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.