rpms/logwatch/F-8 logwatch-7.3.6-postfix.patch, NONE, 1.1 logwatch.spec, 1.88, 1.89

Ivana Varekova varekova at fedoraproject.org
Fri Oct 17 11:22:19 UTC 2008


Author: varekova

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

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.6-postfix.patch 
Log Message:
 - fix postfix script bug (#467378)


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-10-17 13:10:56.000000000 +0200
@@ -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/F-8/logwatch.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- logwatch.spec	17 Sep 2008 10:25:24 -0000	1.88
+++ logwatch.spec	17 Oct 2008 11:21:48 -0000	1.89
@@ -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/
@@ -36,6 +36,7 @@
 Patch30: logwatch-7.3.6-cron4.patch
 Patch31: logwatch-7.3.6-dovecot_back.patch
 Patch32: logwatch-7.3.6-logrotate.patch
+Patch33: logwatch-7.3.6-postfix.patch
 
 Requires: textutils sh-utils grep mailx
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -79,6 +80,7 @@
 %patch30 -p1
 %patch31 -p1
 %patch32 -p1
+%patch33 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -192,6 +194,9 @@
 %doc License project/CHANGES 
 
 %changelog
+* Fri Oct 17 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-18
+- fix postfix script bug (#467378)
+
 * Wed Sep 17 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-17
 - fix problem with changed logrotate suffixes (#458580)  
 




More information about the scm-commits mailing list