Fix typo in sendmail service script (rhbz#708183)

This commit is contained in:
Jan Synacek 2011-12-19 15:13:11 +01:00
parent cf375db31a
commit dc2494aa61
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- logwatch-svn50/scripts/services/sendmail.old 2011-12-19 14:54:16.497290559 +0100
+++ logwatch-svn50/scripts/services/sendmail 2011-12-19 14:54:26.331285099 +0100
@@ -1758,7 +1758,7 @@ if (keys %Abuse) {
print "\n Total per host: $TotalAbuse" if ($Detail >= 5);
$TotalError[$ErrorIndex] += $TotalAbuse;
}
- print "\n\tTota: l $TotalError[$ErrorIndex]" if ($Detail >= 3);
+ print "\n\tTotal: $TotalError[$ErrorIndex]" if ($Detail >= 3);
}
$TotalError[++$ErrorIndex] = 0;

View File

@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.4.0
Release: 5.20110328svn50%{?dist}
Release: 6.20110328svn50%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@ -25,6 +25,8 @@ Patch5: logwatch-xntpd.patch
Patch6: logwatch-smartd.patch
Patch7: logwatch-dovecot.patch
Patch8: logwatch-sshd.patch
# Fixes typo in sendmail script output, not yet in upstream
Patch9: logwatch-sendmail-typo.patch
Requires: textutils sh-utils grep mailx
Requires: perl(Date::Manip)
BuildArchitectures: noarch
@ -46,6 +48,7 @@ of the package on many systems.
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
rm -f scripts/services/*.orig
%build
@ -137,6 +140,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
%{_mandir}/man*/*
%changelog
* Mon Dec 19 2011 Jan Synáček <jsynacek@redhat.com> - 7.4.0-6.20110328svn50
- Added -sendmail-typo patch (rhbz#708183)
* Sat Apr 30 2011 Frank Crawford <frank@crawford.emu.id.au> - 7.4.0-5.20110328svn50
- Added -sshd patch to match more pam_systemd messages (rhbz#699558)
- Updated logwatch.spec to create empty files in /etc/logwatch/conf