diff --git a/logwatch-7.3.6-dovecot.patch b/logwatch-7.3.6-dovecot.patch new file mode 100644 index 0000000..ea9112a --- /dev/null +++ b/logwatch-7.3.6-dovecot.patch @@ -0,0 +1,12 @@ +diff -up logwatch-7.3.6/scripts/services/dovecot.pom logwatch-7.3.6/scripts/services/dovecot +--- logwatch-7.3.6/scripts/services/dovecot.pom 2007-03-17 20:13:13.000000000 +0100 ++++ logwatch-7.3.6/scripts/services/dovecot 2008-01-02 15:30:16.000000000 +0100 +@@ -56,7 +56,7 @@ while (defined($ThisLine = )) { + # We don't care about these + } elsif ( $ThisLine =~ /Killed with signal /) { + $End++; +- } elsif ( $ThisLine =~ /Dovecot starting up$/) { ++ } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up$/) { + $Restarts++; + $End = 0; + } elsif ( ($User, $Host) = ( $ThisLine =~ /^pop3-login: Login: (.*?) \[(.*)\]/ ) ) { diff --git a/logwatch.spec b/logwatch.spec index ef7de32..7efe5a5 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.3.6 -Release: 14%{?dist} +Release: 15%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -28,6 +28,7 @@ Patch21: logwatch-7.3.6-sudo.patch Patch22: logwatch-7.3.6-sshd1.patch Patch23: logwatch-7.3.6-clamav-milter.patch Patch24: logwatch-7.3.6-conf.patch +Patch25: logwatch-7.3.6-dovecot.patch Requires: textutils sh-utils grep mailx Requires: perl(Date::Manip) @@ -64,6 +65,7 @@ of the package on many systems. %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p1 %build @@ -176,7 +178,11 @@ rm -rf %{buildroot} %doc License project/CHANGES %changelog -* Wed Jan 2 2008 Ivana Varekova 7.3.6-13 +* Wed Jan 2 2008 Ivana Varekova 7.3.6-15 +- Resolves: #424171 + logwatch doesn't recognize dovecot starting up message .. + +* Wed Jan 2 2008 Ivana Varekova 7.3.6-14 - Resolves: #426857 is report cdrom "disk full" necessary