rpms/iproute/devel iproute2-ss050901-help.patch, NONE, 1.1 iproute.spec, 1.31, 1.32

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 19 06:58:42 UTC 2005


Author: rvokal

Update of /cvs/dist/rpms/iproute/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18833

Modified Files:
	iproute.spec 
Added Files:
	iproute2-ss050901-help.patch 
Log Message:
- make ip help work again (#168449)

iproute2-ss050901-help.patch:
 ip.c |    6 ++++++
 1 files changed, 6 insertions(+)

--- NEW FILE iproute2-ss050901-help.patch ---
--- iproute2-ss050901/ip/ip.c.help	2005-09-02 00:29:33.000000000 +0200
+++ iproute2-ss050901/ip/ip.c	2005-09-19 08:54:54.000000000 +0200
@@ -53,6 +53,11 @@
 	exit(-1);
 }
 
+static int do_help(int argc, char **argv) {
+    usage();
+    exit(0);
+}
+
 static const struct cmd {
 	const char *cmd;
 	int (*func)(int argc, char **argv);
@@ -66,6 +71,7 @@
 	{ "tunnel",	do_iptunnel },
 	{ "monitor",	do_ipmonitor },
 	{ "xfrm",	do_xfrm },
+	{ "help",	do_help },
 	{ 0 }
 };
 


Index: iproute.spec
===================================================================
RCS file: /cvs/dist/rpms/iproute/devel/iproute.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- iproute.spec	14 Sep 2005 07:29:57 -0000	1.31
+++ iproute.spec	19 Sep 2005 06:58:40 -0000	1.32
@@ -4,7 +4,7 @@
 Summary: Advanced IP routing and network device configuration tools.
 Name: iproute
 Version: 2.6.14
-Release: 1
+Release: 2
 Group: Applications/System
 Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{date_version}.tar.bz2
 URL:    http://developer.osdl.org/dev/iproute2/
@@ -25,6 +25,7 @@
 Patch1: iproute2-2.4.7-rt_config.patch
 Patch2: iproute2-2.6.9-kernel.patch
 Patch3: cbq-0.7.1-avpkt-enhancement.patch
+Patch4:	iproute2-ss050901-help.patch
 
 License: GNU GPL
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -110,6 +111,9 @@
 %config(noreplace) /etc/sysconfig/cbq/*
 
 %changelog
+* Mon Sep 19 2005 Radek Vokal <rvokal at redhat.com> 2.6.14-2
+- make ip help work again (#168449)
+
 * Wed Sep 14 2005 Radek Vokal <rvokal at redhat.com> 2.6.14-1
 - upgrade to ss050901 for 2.6.14 kernel headers
 




More information about the fedora-cvs-commits mailing list