[logwatch] Add -secure-grammar patch (rhbz#716224)

jsynacek jsynacek at fedoraproject.org
Wed Jan 4 11:14:18 UTC 2012


commit 06f9969b868bf7ea7a4a58f7d7e2d86bd4f75be4
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Wed Jan 4 11:51:22 2012 +0100

    Add -secure-grammar patch (rhbz#716224)

 logwatch-secure-grammar.patch |   11 +++++++++++
 logwatch.spec                 |    8 +++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/logwatch-secure-grammar.patch b/logwatch-secure-grammar.patch
new file mode 100644
index 0000000..d7a98f1
--- /dev/null
+++ b/logwatch-secure-grammar.patch
@@ -0,0 +1,11 @@
+--- logwatch-svn50.dist/scripts/services/secure	2012-01-04 10:45:55.615565439 +0100
++++ logwatch-svn50/scripts/services/secure	2012-01-04 11:42:12.056993506 +0100
+@@ -679,7 +679,7 @@ if (keys %Error) {
+ }
+ 
+ if ($RootLoginTTY) {
+-   print "\nRoot logins on tty\'s: $RootLoginTTY Time(s).\n";
++   print "\nRoot logins on ttys: $RootLoginTTY Time(s).\n";
+ }
+ 
+ if (keys %UserLogin) {
diff --git a/logwatch.spec b/logwatch.spec
index 3aa1ee6..38be019 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.4.0
-Release: 6.20110328svn50%{?dist}
+Release: 7.20110328svn50%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -27,6 +27,7 @@ Patch7: logwatch-dovecot.patch
 Patch8: logwatch-sshd.patch
 # Fixes typo in sendmail script output
 Patch9: logwatch-sendmail.patch
+Patch10: logwatch-secure-grammar.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 BuildArchitectures: noarch
@@ -49,6 +50,7 @@ of the package on many systems.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -140,6 +142,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %{_mandir}/man*/*
 
 %changelog
+* Wed Jan 04 2012 Jan Synáček <jsynacek at redhat.com> - 7.4.0-7.20110328svn50
+- Renamed sendmail patch to match other patches' naming convention
+- Added -secure-grammar patch (rhbz#716224)
+
 * Mon Dec 19 2011 Jan Synáček <jsynacek at redhat.com> - 7.4.0-6.20110328svn50
 - Added -sendmail-typo patch (rhbz#708183)
 


More information about the scm-commits mailing list