[logwatch/f15] Fix typo in sendmail service script (rhbz#708183)

jsynacek jsynacek at fedoraproject.org
Tue Dec 20 07:14:41 UTC 2011


commit 8ece202e1176c75c08a81c1d84f36efde1b94804
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Tue Dec 20 08:13:23 2011 +0100

    Fix typo in sendmail service script (rhbz#708183)

 logwatch-sendmail-typo.patch |   12 ++++++++++++
 logwatch.spec                |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/logwatch-sendmail-typo.patch b/logwatch-sendmail-typo.patch
new file mode 100644
index 0000000..6cad6cc
--- /dev/null
+++ b/logwatch-sendmail-typo.patch
@@ -0,0 +1,12 @@
+diff -up logwatch-svn25/scripts/services/sendmail.old logwatch-svn25/scripts/services/sendmail
+--- logwatch-svn25/scripts/services/sendmail.old	2011-12-20 08:03:51.423074861 +0100
++++ logwatch-svn25/scripts/services/sendmail	2011-12-20 08:04:04.702062528 +0100
+@@ -1732,7 +1732,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 f3ee826..616571d 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.3.6
-Release: 70.20110203svn25%{?dist}
+Release: 71.20110203svn25%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -32,6 +32,8 @@ Patch6: logwatch-xntpd.patch
 Patch7: logwatch-smartd.patch
 Patch8: logwatch-dovecot.patch
 Patch9: logwatch-sshd.patch
+# Fixes typo in sendmail script output, not yet in upstream
+Patch10: logwatch-sendmail-typo.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 BuildArchitectures: noarch
@@ -54,6 +56,7 @@ of the package on many systems.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -148,6 +151,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %doc LICENSE
 
 %changelog
+* Tue Dec 20 2011 Jan Synáček <jsynacek at redhat.com> - 7.3.6-71.20110203svn25
+- Added -sendmail-typo patch (rhbz#708183)
+
 * Sat Apr 30 2011 Frank Crawford <frank at crawford.emu.id.au> - 7.3.6-70.20110203svn25
 - 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