rpms/logwatch/devel logwatch-7.3.6-maillog.patch, 1.1, 1.2 logwatch.spec, 1.91, 1.92

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


Author: varekova

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

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/devel/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:36:59 -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:29:41.000000000 +0200
++++ logwatch-7.3.6/scripts/logwatch.pl	2008-06-10 14:32:51.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/devel/logwatch.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- logwatch.spec	30 Apr 2008 13:36:44 -0000	1.91
+++ logwatch.spec	10 Jun 2008 12:36:59 -0000	1.92
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 22%{?dist}
+Release: 23%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -201,6 +201,10 @@
 %doc License project/CHANGES 
 
 %changelog
+* Tue Jun 10 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-23
+- Resolves: #450494
+  MailTo configuration parameter is ignored
+
 * Wed Apr 30 2008 Ivana Varekova <varekova at redhat.com> 7.3.6-22
 - Resolves: #436719
   Logwatch doesn't show any usable sendmail section




More information about the fedora-extras-commits mailing list