From 8bf7d19692c403ee1d8e8500fcf65305bc72fd4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 24 Sep 2009 12:09:39 +0000 Subject: [PATCH] - create missing man pages --- iproute.spec | 7 ++++- man-pages.patch | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 man-pages.patch diff --git a/iproute.spec b/iproute.spec index f7c4243..578d8f6 100644 --- a/iproute.spec +++ b/iproute.spec @@ -4,11 +4,12 @@ Summary: Advanced IP routing and network device configuration tools Name: iproute Version: 2.6.29 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/System Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2 #Source1: iproute-doc-2.6.22.tar.gz URL: http://linux-net.osdl.org/index.php/Iproute2 +Patch0: man-pages.patch Patch1: iproute2-2.6.9-kernel.patch Patch2: iproute2-ss050901-opt_flags.patch Patch3: iproute-ip-man.patch @@ -42,6 +43,7 @@ The iproute documentation contains howtos and examples of settings. %prep %setup -q -n iproute2-%{version} +%patch0 -p1 %patch1 -p1 -b .kernel %patch2 -p1 -b .opt_flags %patch3 -p1 @@ -130,6 +132,9 @@ EOF %doc RELNOTES %changelog +* Thu Sep 24 2009 Marcela Mašláňová - 2.6.29-5 +- create missing man pages + * Fri Jul 24 2009 Fedora Release Engineering - 2.6.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/man-pages.patch b/man-pages.patch new file mode 100644 index 0000000..d8cb1a9 --- /dev/null +++ b/man-pages.patch @@ -0,0 +1,73 @@ +diff -up iproute2-2.6.29/man/man8/cbq.8.man iproute2-2.6.29/man/man8/cbq.8 +--- iproute2-2.6.29/man/man8/cbq.8.man 2009-09-24 14:05:44.868922557 +0200 ++++ iproute2-2.6.29/man/man8/cbq.8 2009-09-24 14:05:24.760143753 +0200 +@@ -0,0 +1 @@ ++.so man8/cbq.8 +\ No newline at end of file +diff -up /dev/null iproute2-2.6.29/man/man8/ifcfg.8 +--- /dev/null 2009-09-22 09:26:40.270218984 +0200 ++++ iproute2-2.6.29/man/man8/ifcfg.8 2009-09-24 14:03:05.415151874 +0200 +@@ -0,0 +1,57 @@ ++.TH IFCFG 8 "September 24 2009" "iproute2" "Linux" ++.SH NAME ++ifcfg \- simplistic script which replaces ifconfig IP managment ++.SH SYNOPSIS ++.ad l ++.in +8 ++.ti -8 ++.B ifcfg ++.RI "[ " DEVICE " [ " :ALIAS: " ] ] [ " command " ] " ADDRESS " [ " LENGTH " ] [ " PEER " ] " ++.sp ++ ++.SH DESCRIPTION ++This manual page documents briefly the ++.B ifcfg ++command. ++.PP ++This is a simplistic script replacing one option of ++.B ifconfig ++, namely, IP address management. It not only adds ++addresses, but also carries out Duplicate Address Detection RFC-DHCP, ++sends unsolicited ARP to update the caches of other hosts sharing ++the interface, adds some control routes and restarts Router Discovery ++when it is necessary. ++ ++I strongly recommend using it ++.RI instead ++of ++.RI ifconfig ++both on hosts and on routers. ++ ++.SH IFCONFIG - COMMAND SYNTAX ++ ++.SS ++.TP ++.B DEVICE ++- it may have alias, suffix, separated by colon. ++ ++.TP ++.B command ++- add, delete or stop. ++ ++.TP ++.B address ++- optionally followed by prefix length. ++ ++.TP ++.B peer ++- optional peer address for pointpoint interfaces. ++ ++.SH EXAMPLE ++.nf ifcfg eth0 193.233.7.90/24 ++.fi ++This function determines, whether this is router or host. ++It returns 0, if the host is apparently not router. ++ ++.SH SEE ALSO ++.BR ip-cref.dvi +diff -up /dev/null iproute2-2.6.29/man/man8/nstat.8 +--- /dev/null 2009-09-22 09:26:40.270218984 +0200 ++++ iproute2-2.6.29/man/man8/nstat.8 2009-09-24 14:03:05.416161849 +0200 +@@ -0,0 +1 @@ ++.so man8/rtacct.8 +\ No newline at end of file