Hello community,

here is the log from the commit of package logwatch for openSUSE:11.2
checked in at Fri Mar 25 17:41:59 CET 2011.



--------
--- old-versions/11.2/UPDATES/all/logwatch/logwatch.changes     2011-02-25 
12:54:53.000000000 +0100
+++ /mounts/work_src_done/11.2/logwatch/logwatch.changes        2011-02-28 
17:54:55.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 28 17:47:20 CET 2011 - p...@suse.de
+
+- Add missing bracket in CVE-2011-1018.patch.
+
+-------------------------------------------------------------------

calling whatdependson for 11.2-i586


New:
----
  logwatch-make_save_work.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ logwatch.spec ++++++
--- /var/tmp/diff_new_pack.ThfkS4/_old  2011-03-25 17:41:55.000000000 +0100
+++ /var/tmp/diff_new_pack.ThfkS4/_new  2011-03-25 17:41:55.000000000 +0100
@@ -21,7 +21,7 @@
 Name:           logwatch
 Summary:        Analyzes and Reports on system logs
 Version:        7.3.6
-Release:        67.<RELEASE5>
+Release:        67.<RELEASE6>
 License:        MIT License (or similar)
 Group:          System/Monitoring
 Url:            http://www.logwatch.org
@@ -32,7 +32,8 @@
 Patch0:         logwatch-firewall.patch
 Patch1:         logwatch-full_path_to_sendmail.patch
 Patch2:         logwatch-timestamp_in_var.patch
-Patch3:         logwatch-CVE-2011-1018.patch
+Patch3:         logwatch-make_save_work.patch
+Patch4:         logwatch-CVE-2011-1018.patch
 Requires:       perl textutils sh-utils grep mailx cron
 BuildRequires:  dos2unix
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -56,6 +57,7 @@
 %patch1
 %patch2
 %patch3
+%patch4
 dos2unix scripts/services/courier
 
 %build

++++++ logwatch-CVE-2011-1018.patch ++++++
--- /var/tmp/diff_new_pack.ThfkS4/_old  2011-03-25 17:41:55.000000000 +0100
+++ /var/tmp/diff_new_pack.ThfkS4/_new  2011-03-25 17:41:55.000000000 +0100
@@ -31,7 +31,7 @@
                 or die "system $Config{'pathtobzcat'} failed: $?" 
 -         } elsif (-f "$Archive") {
 -            my $arguments = "$Archive  >> $DestFile";
-+         } elsif (-f "$Archive") && (-s "$Archive")) {
++         } elsif ((-f "$Archive") && (-s "$Archive")) {
 +            my $arguments = "'${Archive}'  >> $DestFile";
              system("$Config{'pathtocat'} $arguments") == 0
                 or die "system $Config{'pathtocat'} failed: $?" 

++++++ logwatch-make_save_work.patch ++++++
Index: scripts/logwatch.pl
===================================================================
--- scripts/logwatch.pl.orig    2007-05-20 02:24:20.000000000 +0200
+++ scripts/logwatch.pl 2009-12-01 16:12:38.368978630 +0100
@@ -1005,10 +1005,10 @@ sub initprint {
    $OStitle = $OSname;
    $OStitle = "Solaris" if ($OSname eq "SunOS" && $release >= 2);
 
-   if ($Config{'print'} eq 1) {
-      *OUTFILE = *STDOUT;
-   } elsif ($Config{'save'} ne "") {
+   if ($Config{'save'} ne "") {
       open(OUTFILE,">>" . $Config{'save'}) or die "Can't open output file: 
$Config{'save'} $!\n";
+   } elsif ($Config{'print'} eq 1) {
+      *OUTFILE = *STDOUT;
    } else {
       if (($Config{'multiemail'} eq 1) || ($emailopen eq "")) {
          #Use mailer = in logwatch.conf to set options. Default should be 
"sendmail -t"

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to