- create missing man pages
This commit is contained in:
parent
4db75bfbc9
commit
8bf7d19692
@ -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á <mmaslano@redhat.com> - 2.6.29-5
|
||||
- create missing man pages
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.29-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
73
man-pages.patch
Normal file
73
man-pages.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user