rpms/logwatch/F-9 logwatch-7.3.6-postfix4.patch, NONE, 1.1 logwatch.spec, 1.94, 1.95

Ivana Varekova varekova at fedoraproject.org
Fri Oct 24 08:21:51 UTC 2008


Author: varekova

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

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-17 09:29:36.000000000 +0200
+++ logwatch-7.3.6/scripts/services/postfix	2008-10-24 10:13:53.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/F-9/logwatch.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- logwatch.spec	17 Oct 2008 07:37:40 -0000	1.94
+++ logwatch.spec	24 Oct 2008 08:21:21 -0000	1.95
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 25%{?dist}
+Release: 26%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -42,6 +42,7 @@
 Patch37: logwatch-7.3.6-postfix2.patch
 Patch38: logwatch-7.3.6-logrotate.patch
 Patch39: logwatch-7.3.6-postfix3.patch
+Patch40: logwatch-7.3.6-postfix4.patch
 
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
@@ -92,6 +93,7 @@
 %patch37 -p1
 %patch38 -p1
 %patch39 -p1
+%patch40 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -205,6 +207,10 @@
 %doc License project/CHANGES 
 
 %changelog
+* Fri Oct 24 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-26
+- parse another bunch of postfix logs(#467378)
+- NOT BUILD YET
+- .
 
 * Fri Oct 17 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-25
 - fix postfix script again (#462174)




More information about the fedora-extras-commits mailing list