- Resolves: #247511 add zz-disk_space patch

This commit is contained in:
Ivana Varekova 2007-07-10 09:16:40 +00:00
parent 2b7ea5c29d
commit d5b3f9cf26
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- logwatch-7.3.6/scripts/services/zz-disk_space.pom 2007-03-13 23:07:27.000000000 +0100
+++ logwatch-7.3.6/scripts/services/zz-disk_space 2007-07-10 11:01:39.000000000 +0200
@@ -169,7 +169,7 @@ sub DiskFull
my @fields = split(' ', $row);
my $use = $fields[4];
$use =~ s/%//;
- if ($use > $diskfull_threshhold)
+ if (($use > $diskfull_threshhold) && ($fields[0] !~ /\/dev\/scd/ ))
{
print "$fields[0] => $fields[4] Used. Warning. Disk Filling up.\n";
}

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -19,6 +19,7 @@ Patch12: logwatch-7.3.6-audit.patch
Patch13: logwatch-7.3.6-pam_unix.patch
Patch14: logwatch-7.3.6-named3.patch
Patch15: logwatch-7.3.6-cron.patch
Patch16: logwatch-7.3.6-zz-disk_space.patch
Requires: textutils sh-utils grep mailx
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -45,6 +46,7 @@ of the package on many systems.
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%build
@ -157,6 +159,10 @@ rm -rf %{buildroot}
%doc License project/CHANGES
%changelog
* Tue Jul 10 2007 Ivana Varekova <varekova@redhat.com> 7.3.6-5
- Resolves: #247511
add zz-disk_space patch
* Tue Jul 10 2007 Ivana Varekova <varekova@redhat.com> 7.3.6-4
- Resolves: #246655
add cron service patch