rpms/logwatch/devel logwatch-7.3.6-lost-connection.patch, NONE, 1.1 logwatch.spec, 1.119, 1.120

Karel Klíč kklic at fedoraproject.org
Wed Dec 16 11:20:03 UTC 2009


Author: kklic

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

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.6-lost-connection.patch 
Log Message:
Fixed error in the RE that matches lost connection lines in postfix script

logwatch-7.3.6-lost-connection.patch:
 postfix |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE logwatch-7.3.6-lost-connection.patch ---
diff -up logwatch-7.3.6/scripts/services/postfix.lost-connection logwatch-7.3.6/scripts/services/postfix
--- logwatch-7.3.6/scripts/services/postfix.lost-connection	2009-12-16 12:06:01.208255271 +0100
+++ logwatch-7.3.6/scripts/services/postfix	2009-12-16 12:06:17.115378576 +0100
@@ -1536,7 +1536,7 @@ while ( <> ) {
    # end of $re_QID section
 
    # see also ConnectionLost in $re_QID section
-   elsif ( ($reason,$host,$hostip) = ($p1 =~ /lost connection (after [^ ]*) (\(\d+ bytes\) )?from ([^[]*)\[($re_IP|unknown)\]$/o )) {
+   elsif ( ($reason,$host,$hostip) = ($p1 =~ /lost connection (after [^ ]*) (?:\(\d+ bytes\) )?from ([^[]*)\[($re_IP|unknown)\]$/o )) {
       unless ($hostip =~ /unknown/) {
          #TD lost connection after DATA (0 bytes) from mail.example.com[192.168.0.1]    
          #TD lost connection after CONNECT from mail.example.com[192.168.0.1] 


Index: logwatch.spec
===================================================================
RCS file: /cvs/extras/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -p -r1.119 -r1.120
--- logwatch.spec	16 Dec 2009 10:35:50 -0000	1.119
+++ logwatch.spec	16 Dec 2009 11:20:03 -0000	1.120
@@ -54,7 +54,10 @@ Patch54: logwatch-7.3.6-exim2.patch
 Patch55: logwatch-7.3.6-removeservice.patch
 Patch56: logwatch-7.3.6-cron_conf.patch
 Patch57: logwatch-7.3.6-named5.patch
+# Sent to upstream.
 Patch58: logwatch-7.3.6-iptables.patch
+# Not sent to upstream.
+Patch59: logwatch-7.3.6-lost-connection.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -117,6 +120,7 @@ of the package on many systems.
 %patch56 -p1
 %patch57 -p1
 %patch58 -p1
+%patch59 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -241,7 +245,8 @@ rm -rf %{buildroot}
 
 %changelog
 * Wed Dec  2 2009 Karel Klic <kklic at redhat.com> 7.3.6-49
-- Add 802.1q subinterface support to iptables report (#507743)
+- Add 802.1q subinterface support to iptables report; iptables.patch (#507743)
+- Fixed error in the RE that matches "lost connection" lines in postfix script; lost-connection.patch (#525903)
 
 * Tue Aug 11 2009 Ivana Varekova <varekova at redhat.com> 7.3.6-48
 - parse a few unmatched entries in named script (#513853)




More information about the fedora-extras-commits mailing list