Hello community, here is the log from the commit of package logwatch for openSUSE:Factory checked in at Wed Mar 17 14:28:48 CET 2010. -------- --- logwatch/logwatch.changes 2009-08-30 20:06:42.000000000 +0200 +++ /mounts/work_src_done/STABLE/logwatch/logwatch.changes 2009-12-01 16:36:54.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 1 16:20:57 CET 2009 - pth@suse.de + +- --print was set by default and in that case redirection to file + never happened (bnc#450413). + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- logwatch-make_save_work.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ logwatch.spec ++++++ --- /var/tmp/diff_new_pack.e1VHmi/_old 2010-03-17 14:27:46.000000000 +0100 +++ /var/tmp/diff_new_pack.e1VHmi/_new 2010-03-17 14:27:46.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package logwatch (Version 7.3.6) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Name: logwatch Summary: Analyzes and Reports on system logs Version: 7.3.6 -Release: 66 +Release: 67 License: MIT License (or similar) Group: System/Monitoring Url: http://www.logwatch.org @@ -32,6 +32,7 @@ Patch0: logwatch-firewall.patch Patch1: logwatch-full_path_to_sendmail.patch Patch2: logwatch-timestamp_in_var.patch +Patch3: logwatch-make_save_work.patch Requires: perl textutils sh-utils grep mailx cron BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,6 +55,7 @@ %patch0 %patch1 %patch2 +%patch3 dos2unix scripts/services/courier %build ++++++ 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+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org