Re: Fwd: Clamav 'Database correctly reloaded' patch
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jul 21, 2008, at 10:17 AM, Kirk Bauer wrote: > ---------- Forwarded message ---------- > From: Penelope Fudd <[email protected]> > Date: Mon, 21 Jul 2008 09:57:02 -0700 (PDT) > Subject: Clamav 'Database correctly reloaded' patch > To: [email protected] > > Clamav has changed a little bit; it now loads signatures, not viruses: > /usr/share/logwatch/scripts/services/clamav > > > --- clamav.orig 2008-07-21 09:53:20.000000000 -0700 > +++ clamav 2008-07-21 09:53:42.000000000 -0700 > @@ -38,7 +38,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+) (viruses|signatures)\)/i )) { > $DatabaseReloads++; > $DatabaseViruses = $Viruses; > } elsif (($ThisLine =~ /Stopped at/)) { > > > This one was already in CVS. -Mike