rpms/logwatch/F-8 logwatch-7.3.6-postfix4.patch, NONE, 1.1 logwatch.spec, 1.92, 1.93

Ivana Varekova varekova at fedoraproject.org
Tue Nov 11 11:38:09 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/logwatch/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9174

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.6-postfix4.patch 
Log Message:
- parse another bunch of postfix logs(#467378)


logwatch-7.3.6-postfix4.patch:

--- NEW FILE logwatch-7.3.6-postfix4.patch ---
diff -up logwatch-7.3.6/scripts/services/postfix.pom logwatch-7.3.6/scripts/services/postfix
--- logwatch-7.3.6/scripts/services/postfix.pom	2008-10-29 12:47:09.000000000 +0100
+++ logwatch-7.3.6/scripts/services/postfix	2008-11-11 12:23:24.000000000 +0100
@@ -1638,8 +1638,9 @@ while ( <> ) {
       #TD table hash:/etc/postfix/helo_checks has changed -- restarting
       $Totals{'TableChanged'}++;
 
-   } elsif ( ($cmd,$host,$hostip) = ($p1 =~ /too many errors after ([^ ]*) from ([^[]*)\[($re_IP)\]$/o)) {
+   } elsif ( ($cmd,$size,$host,$hostip) = ($p1 =~ /too many errors after ([^ ]*) (\(\d+ bytes\) )?from ([^[]*)\[($re_IP)\]$/o)) {
       #TD too many errors after AUTH from sample.net[10.0.0.1] 
+      #TD too many errors after DATA (0 bytes) from aasq46.neoplus.adsl.tpnet.pl[83.5.228.46] 
       $Totals{'TooManyErrors'}++;
       $Counts{'TooManyErrors'}{"After $cmd"}{formathost($hostip,$host)}++;
 


Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/F-8/logwatch.spec,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- logwatch.spec	29 Oct 2008 10:52:57 -0000	1.92
+++ logwatch.spec	11 Nov 2008 11:37:37 -0000	1.93
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 21%{?dist}
+Release: 22%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -39,6 +39,7 @@
 Patch33: logwatch-7.3.6-postfix.patch
 Patch34: logwatch-7.3.6-postfix2.patch
 Patch35: logwatch-7.3.6-postfix3.patch
+Patch36: logwatch-7.3.6-postfix4.patch
 
 Requires: textutils sh-utils grep mailx
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -85,6 +86,7 @@
 %patch33 -p1
 %patch34 -p1
 %patch35 -p1
+%patch36 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -198,6 +200,9 @@
 %doc License project/CHANGES 
 
 %changelog
+* Tue Nov 11 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-22
+- parse another bunch of postfix logs(#467378)
+
 * Wed Oct 29 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-21
 - parse another bunch of postfix logs(#467378)
 




More information about the fedora-extras-commits mailing list