[logwatch] Add missing options to logwatch.8

jsynacek jsynacek at fedoraproject.org
Thu May 23 06:51:38 UTC 2013


commit 57c3853772b0f72047fd9071a52d1582daa77369
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Thu May 23 08:49:43 2013 +0200

    Add missing options to logwatch.8

 logwatch-man.patch |   37 +++++++++++++++++++++++++++++++++++++
 logwatch.spec      |    7 ++++++-
 2 files changed, 43 insertions(+), 1 deletions(-)
---
diff --git a/logwatch-man.patch b/logwatch-man.patch
new file mode 100644
index 0000000..60626a0
--- /dev/null
+++ b/logwatch-man.patch
@@ -0,0 +1,37 @@
+Add --hostlimit and --html_wrap to the logwatch.8 manpage.
+
+Author: Jan Synacek <jsynacek at redhat.com>
+
+--- logwatch-svn140/logwatch.8	2013-05-22 15:29:09.779339911 +0200
++++ logwatch-svn140-dist/logwatch.8	2013-05-22 15:48:03.248311264 +0200
+@@ -21,8 +21,12 @@ logwatch \- system log analyzer and repo
+ .I file-name
+ .B ] [--logdir
+ .I directory
++.B ] [--hostlimit
++.I hosts
+ .B ] [--hostname
+ .I hostname
++.B ] [--html_wrap
++.I number of characters
+ .B ] [--hostformat 
+ .I host based options
+ .B ] [--output
+@@ -94,6 +98,8 @@ instead of displaying or mailing it.
+ Look in
+ .I directory
+ for log subdirectories or log files instead of the default directory.
++.IP "\fB--hostlimit\fR host1,host2"
++Limit report to hostname - host1, host2.
+ .IP "\fB--hostname\fR hostname"
+ Use
+ .I hostname
+@@ -101,6 +107,8 @@ for the reports instead of this system's
+ if HostLimit is set in the logwatch.conf configuration file (see
+ \fBMORE INFORMATION\fR, below),
+ then only logs from this hostname will be processed (where appropriate).
++.IP "\fB--html_wrap\fR num-characters"
++Number of characters that html output should be wrapped to. Default is 80.
+ .IP "\fB--numeric\fR"
+ Inhibits additional name lookups, displaying IP addresses numerically.
+ .IP "\fB--no-oldfiles-log\fR"
diff --git a/logwatch.spec b/logwatch.spec
index 93db8ee..5e764ca 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
 Summary: A log file analysis program
 Name: logwatch
 Version: 7.4.0
-Release: 25.20130522svn140%{?dist}
+Release: 26.20130522svn140%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -25,6 +25,7 @@ Patch9: logwatch-rkhunter.patch
 # Not yet upstreamed
 Patch16: logwatch-secure-userhelper.patch
 Patch18: logwatch-secure-username.patch
+Patch19: logwatch-man.patch
 Requires: textutils sh-utils grep mailx
 Requires: perl(Date::Manip)
 Requires: perl(Sys::CPU)
@@ -47,6 +48,7 @@ of the package on many systems.
 %patch9 -p0
 %patch16 -p1
 %patch18 -p1
+%patch19 -p1
 rm -f scripts/services/*.orig
 
 %build
@@ -146,6 +148,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
 %{_mandir}/man*/*
 
 %changelog
+* Thu May 23 2013 Jan Synáček <jsynacek at redhat.com> - 7.4.0-26.20130522svn140
+- Add missing options to logwatch.8
+
 * Wed May 22 2013 Jan Synáček <jsynacek at redhat.com> - 7.4.0-25.20130522svn140
 - Update to revision 140 and drop upstreamed patches
 - Own directories correctly


More information about the scm-commits mailing list