rpms/logwatch/devel logwatch-7.3.6-postfix4.patch, NONE, 1.1 logwatch.spec, 1.99, 1.100

Ivana Varekova varekova at fedoraproject.org
Fri Oct 24 08:42:15 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/logwatch/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9508

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-21 11:09:52.000000000 +0200
+++ logwatch-7.3.6/scripts/services/postfix	2008-10-24 10:31:50.000000000 +0200
@@ -769,8 +769,9 @@ while ( <> ) {
       #TD disconnect from mail.example.com[2001:dead:beef::1]
       $Totals{'Disconnection'}++;
    }
-   elsif (($host,$hostip,$reason) = ($p1 =~ /^connect to ([^[]*)\[($re_IP)\]: (.*)$/o)) {
+   elsif (($host,$hostip,$reason) = ($p1 =~ /^connect to ([^[]*)\[($re_IP)\]:?[0-9]*: (.*)$/o)) {
       # all "connect to" messages indicate a problem with the connection
+      #TD connect to mail.bues.ru[82.146.62.193]:25: Connection refused
       #TD connect to example.org[10.0.0.1]: Connection refused (port 25)
       #TD connect to mail.sample.com[10.0.0.1]: No route to host (port 25)
       #TD connect to sample.net[192.168.0.1]: read timeout (port 25)


Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- logwatch.spec	21 Oct 2008 09:14:17 -0000	1.99
+++ logwatch.spec	24 Oct 2008 08:41:45 -0000	1.100
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 30%{?dist}
+Release: 31%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -49,6 +49,7 @@
 Patch44: logwatch-7.3.6-pam_unix3.patch
 Patch45: logwatch-7.3.6-init2.patch
 Patch46: logwatch-7.3.6-secure2.patch
+Patch47: logwatch-7.3.6-postfix4.patch
 
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
@@ -106,6 +107,7 @@
 %patch44 -p1
 %patch45 -p1
 %patch46 -p1
+%patch47 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -219,6 +221,9 @@
 %doc License project/CHANGES 
 
 %changelog
+* Fri Oct 24 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-31
+- parse another bunch of postfix logs(#467378)
+
 * Tue Oct 21 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-30
 - fix secure, pam_unix and init scripts
 




More information about the fedora-extras-commits mailing list