[logwatch] Fix typo in sendmail service script (rhbz#708183)
jsynacek
jsynacek at fedoraproject.org
Mon Dec 19 14:13:27 UTC 2011
commit dc2494aa61c8d19955c563be9fd46f21e6258c24
Author: Jan Synacek <jsynacek at redhat.com>
Date: Mon Dec 19 15:13:11 2011 +0100
Fix typo in sendmail service script (rhbz#708183)
logwatch-sendmail-typo.patch | 11 +++++++++++
logwatch.spec | 8 +++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/logwatch-sendmail-typo.patch b/logwatch-sendmail-typo.patch
new file mode 100644
index 0000000..7df6045
--- /dev/null
+++ b/logwatch-sendmail-typo.patch
@@ -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;
+
diff --git a/logwatch.spec b/logwatch.spec
index 0837d95..73b9995 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -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 at redhat.com> - 7.4.0-6.20110328svn50
+- Added -sendmail-typo patch (rhbz#708183)
+
* Sat Apr 30 2011 Frank Crawford <frank at 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
More information about the scm-commits
mailing list