rpms/logwatch/devel logwatch-7.3.6-postfix.patch, NONE, 1.1 logwatch.spec, 1.86, 1.87

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Mon Jan 28 11:20:28 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/logwatch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28790

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.6-postfix.patch 
Log Message:
-  resolves: #429933 fix postfix script
   thanks Benjamin Gordon



logwatch-7.3.6-postfix.patch:

--- NEW FILE logwatch-7.3.6-postfix.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	2007-05-14 19:27:27.000000000 +0200
+++ logwatch-7.3.6/scripts/services/postfix	2008-01-28 11:50:51.000000000 +0100
@@ -2163,7 +2163,7 @@ sub cleanhostreply($ $ $ $) {
    #print "HOSTREPLY: \"$hostreply\"\n";
    if (($host,$r1) = ($hostreply =~ /host (\S+) said: $re_DSN[\- ]"?(.*)"?$/o)) {
       # Strip recipient address from host's reply - we already have it in $recip.
-      $r1 =~ s/[<(]?$recip[>)]?\W*//ig;
+      $r1 =~ s/[<(]?\Q$recip\E[>)]?\W*//ig;
 
       # Strip and capture "in reply to XYZ command" from host's reply
       if ($r1 =~ s/\s*[(]?(in reply to .* command)[)]?//) {


Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- logwatch.spec	21 Jan 2008 11:55:13 -0000	1.86
+++ logwatch.spec	28 Jan 2008 11:19:50 -0000	1.87
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 17%{?dist}
+Release: 18%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -35,6 +35,7 @@
 Patch29: logwatch-7.3.6-maillog.patch
 Patch30: logwatch-7.3.6-amavis2.patch
 Patch31: logwatch-7.3.6-openvpn.patch
+Patch32: logwatch-7.3.6-postfix.patch
 
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
@@ -78,6 +79,7 @@
 %patch29 -p1
 %patch30 -p1
 %patch31 -p1
+%patch32 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -191,6 +193,10 @@
 %doc License project/CHANGES 
 
 %changelog
+* Mon Jan 28 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-18
+-  resolves: #429933 fix postfix script
+   thanks Benjamin Gordon
+
 * Mon Jan 21 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-17
 - Resolves: #427734
   fix amavis script




More information about the fedora-extras-commits mailing list