From 5e5794a0130c3fe30f94a0e506eecefb88582c5d Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Thu, 6 Oct 2011 15:20:07 +0200 Subject: [PATCH] Fix ss, lnstat and arpd usage and manpages --- iproute.spec | 11 +++- ...2-arpd-fix-usage-and-manpage-options.patch | 49 +++++++++++++++ ...te2-2.6.39-iproute2-lnstat-fix-typos.patch | 35 +++++++++++ ...9-iproute2-ss-fix-missing-parameters.patch | 60 +++++++++++++++++++ 4 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 iproute2-2.6.39-iproute2-arpd-fix-usage-and-manpage-options.patch create mode 100644 iproute2-2.6.39-iproute2-lnstat-fix-typos.patch create mode 100644 iproute2-2.6.39-iproute2-ss-fix-missing-parameters.patch diff --git a/iproute.spec b/iproute.spec index 9cceb1e..f5d47b6 100644 --- a/iproute.spec +++ b/iproute.spec @@ -2,7 +2,7 @@ Summary: Advanced IP routing and network device configuration tools Name: iproute Version: 2.6.39 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/System URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/%{name}2 Source0: http://devresources.linuxfoundation.org/dev/iproute2/download/%{name}2-%{version}.tar.gz @@ -21,6 +21,9 @@ Patch9: iproute2-print-route-u32.patch Patch10: iproute2-2.6.39-create-peer-veth-without-a-name.patch Patch11: iproute2-2.6.39-xtables6.patch Patch12: iproute2-2.6.39-lnstat-dump-to-stdout.patch +Patch13: iproute2-2.6.39-iproute2-ss-fix-missing-parameters.patch +Patch14: iproute2-2.6.39-iproute2-lnstat-fix-typos.patch +Patch15: iproute2-2.6.39-iproute2-arpd-fix-usage-and-manpage-options.patch License: GPLv2+ and Public Domain BuildRequires: tex(latex) tex(dvips) linuxdoc-tools @@ -66,6 +69,9 @@ sed -i "s/_VERSION_/%{version}/" man/man8/ss.8 %patch10 -p1 -b .peer-veth-without-name %patch11 -p1 -b .xtables6 %patch12 -p1 -b .lnstat-dump-to-stdout +%patch13 -p1 -b .ss-usage +%patch14 -p1 -b .lnstat-usage +%patch15 -p1 -b .arpd-usage %build export LIBDIR=/%{_libdir} @@ -187,6 +193,9 @@ done %{_includedir}/libnetlink.h %changelog +* Thu Oct 06 2011 Petr Sabata - 2.6.39-5 +- Fix ss, lnstat and arpd usage and manpages + * Wed Sep 07 2011 Petr Sabata - 2.6.39-4 - lnstat should dump (-d) to stdout instead of stderr (#736332) diff --git a/iproute2-2.6.39-iproute2-arpd-fix-usage-and-manpage-options.patch b/iproute2-2.6.39-iproute2-arpd-fix-usage-and-manpage-options.patch new file mode 100644 index 0000000..50b66cb --- /dev/null +++ b/iproute2-2.6.39-iproute2-arpd-fix-usage-and-manpage-options.patch @@ -0,0 +1,49 @@ +From 0936556fa65a1ca905934be78b537810567205b2 Mon Sep 17 00:00:00 2001 +From: Petr Sabata +Date: Thu, 6 Oct 2011 14:38:48 +0200 +Subject: [PATCH 3/3] iproute2: arpd - fix usage and manpage options + +Signed-off-by: Petr Sabata +--- + man/man8/arpd.8 | 4 ++-- + misc/arpd.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/man/man8/arpd.8 b/man/man8/arpd.8 +index d172600..37b6ba4 100644 +--- a/man/man8/arpd.8 ++++ b/man/man8/arpd.8 +@@ -4,7 +4,7 @@ + arpd \- userspace arp daemon. + + .SH SYNOPSIS +-Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ] ++Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ] + + .SH DESCRIPTION + The +@@ -34,7 +34,7 @@ Suppress sending broadcast queries by kernel. It takes sense together with optio + -n