rpms/logwatch/F-9 logwatch-7.3.6-maillog.patch, 1.1, 1.2 logwatch.spec, 1.90, 1.91

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Tue Jun 10 12:20:26 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/logwatch/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29932

Modified Files:
	logwatch-7.3.6-maillog.patch logwatch.spec 
Log Message:
- Resolves: #450494
  MailTo configuration parameter is ignored



logwatch-7.3.6-maillog.patch:

Index: logwatch-7.3.6-maillog.patch
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/F-9/logwatch-7.3.6-maillog.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- logwatch-7.3.6-maillog.patch	8 Jan 2008 11:05:46 -0000	1.1
+++ logwatch-7.3.6-maillog.patch	10 Jun 2008 12:19:38 -0000	1.2
@@ -1,17 +1,18 @@
 diff -up logwatch-7.3.6/scripts/logwatch.pl.pom logwatch-7.3.6/scripts/logwatch.pl
---- logwatch-7.3.6/scripts/logwatch.pl.pom	2008-01-08 11:04:59.000000000 +0100
-+++ logwatch-7.3.6/scripts/logwatch.pl	2008-01-08 11:23:09.000000000 +0100
-@@ -359,6 +359,13 @@ if ($ShowVersion) {
-    exit 0;
- }
+--- logwatch-7.3.6/scripts/logwatch.pl.pom	2008-06-10 14:13:13.000000000 +0200
++++ logwatch-7.3.6/scripts/logwatch.pl	2008-06-10 14:15:11.000000000 +0200
+@@ -61,7 +61,13 @@ my (@ReadConfigNames, @ReadConfigValues)
  
-+#if MAILTO is set in the environment, grab it as we may be being used by
-+#cron or anacron, which do not set command line args.
-+if ($ENV{'MAILTO'})
-+{
-+    $Config{'mailto'} = $ENV{'MAILTO'};
-+}
-+
- if ($tmp_mailto) {
-    $Config{'mailto'} = $tmp_mailto;
-    $Config{'print'} = 0;
+ # Default config here...
+ $Config{'detail'} = 0;
+-$Config{'mailto'} = "root";
++# if MAILTO is set in the environment, grab it, as it may be used by cron 
++# or anacron 
++if ($ENV{'MAILTO'}) { 
++    $Config{'mailto'} = $ENV{'MAILTO'}; 
++} else { 
++    $Config{'mailto'} = "root"; 
++} 
+ $Config{'mailfrom'} = "Logwatch";
+ $Config{'save'} = "";
+ $Config{'print'} = 1;


Index: logwatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/logwatch/F-9/logwatch.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- logwatch.spec	4 Apr 2008 11:32:09 -0000	1.90
+++ logwatch.spec	10 Jun 2008 12:19:38 -0000	1.91
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 21%{?dist}
+Release: 22%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -199,6 +199,10 @@
 %doc License project/CHANGES 
 
 %changelog
+* Tue Jun 10 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-22
+- Resolves: #450494
+  MailTo configuration parameter is ignored
+
 * Fri Apr  4 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-21
 - Resolves: #440534 
   Some unmatched OpenVPN log lines




More information about the fedora-extras-commits mailing list