Re: Fwd: Suggestion for clamav
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Kirk Bauer wrote: > ---------- 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! > > > This has been committed and the sig line filter has been removed so it will actually work. -Mike