[logwatch/f15/master] Updated for extended starting message from upstream

Frank Crawford frankcrawford at fedoraproject.org
Tue Apr 26 04:57:56 UTC 2011


commit 5924025cf9cb4c547b2bff4d31fd20da65d4b0d1
Author: Frank Crawford <frank at crawford.emu.id.au>
Date:   Tue Apr 26 14:57:09 2011 +1000

    Updated for extended starting message from upstream

 logwatch-dovecot.patch |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/logwatch-dovecot.patch b/logwatch-dovecot.patch
index 6f459cb..20e6c98 100644
--- a/logwatch-dovecot.patch
+++ b/logwatch-dovecot.patch
@@ -1,6 +1,15 @@
---- logwatch-svn25/scripts/services/dovecot.orig	2011-02-01 08:01:34.000000000 +1100
-+++ logwatch-svn25/scripts/services/dovecot	2011-03-31 21:51:13.000000000 +1100
-@@ -139,15 +139,15 @@ while (defined($ThisLine = <STDIN>)) {
+--- logwatch-svn25.dist/scripts/services/dovecot	2011-02-01 08:01:34.000000000 +1100
++++ logwatch-svn25/scripts/services/dovecot	2011-04-26 11:36:47.000000000 +1000
+@@ -115,7 +115,7 @@
+          # We don't care about these
+      } elsif ( $ThisLine =~ /Killed with signal /) {
+          $End++;
+-     } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up$/) {
++     } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up( \(.*\))?$/) {
+          $Restarts++;
+          $End = 0;
+      } elsif ( ($User, $Host) = ( $ThisLine =~ /^pop3-login: Login: (.*?) \[(.*)\]/ ) ) {
+@@ -139,15 +139,15 @@
           $ConnectionSieve{$Host}++;
           $Connection{$Host}++;
        }


More information about the scm-commits mailing list