new version 4.0.0

This commit is contained in:
Pavel Šimerda 2015-04-14 11:12:31 +02:00
parent cfb7669cf6
commit aadb61f0c3
4 changed files with 29 additions and 29 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ iproute2-2.6.35.tar.bz2
/iproute2-3.15.0.tar.gz /iproute2-3.15.0.tar.gz
/iproute2-3.16.0.tar.gz /iproute2-3.16.0.tar.gz
/iproute2-3.19.0.tar.xz /iproute2-3.19.0.tar.xz
/iproute2-4.0.0.tar.xz

View File

@ -1,7 +1,7 @@
%global cbq_version v0.7.3 %global cbq_version v0.7.3
Summary: Advanced IP routing and network device configuration tools Summary: Advanced IP routing and network device configuration tools
Name: iproute Name: iproute
Version: 3.19.0 Version: 4.0.0
Release: 1%{?dist} Release: 1%{?dist}
Group: Applications/System Group: Applications/System
URL: http://kernel.org/pub/linux/utils/net/%{name}2/ URL: http://kernel.org/pub/linux/utils/net/%{name}2/
@ -9,12 +9,6 @@ Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{ve
Source1: cbq-0000.example Source1: cbq-0000.example
Source2: avpkt Source2: avpkt
# Selective git diff between release and master. Updating this pachage
# using current may require updating one or more of the subsequent
# patches.
#
# git diff v3.19.0..master man
Patch0: iproute2-3.19.0-diff.patch
# manpage/help improvements # manpage/help improvements
# #
# https://bugzilla.redhat.com/show_bug.cgi?id=1072441 # https://bugzilla.redhat.com/show_bug.cgi?id=1072441
@ -23,42 +17,45 @@ Patch0: iproute2-3.19.0-diff.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1105438 # https://bugzilla.redhat.com/show_bug.cgi?id=1105438
# https://bugzilla.redhat.com/show_bug.cgi?id=1121261 # https://bugzilla.redhat.com/show_bug.cgi?id=1121261
# #
# TODO submit upstream # http://www.spinics.net/lists/netdev/msg325114.html
Patch1: iproute2-3.19.0-docs.patch Patch1: iproute2-3.19.0-docs.patch
# build system improvements # build system improvements
# #
# (no bugzilla tickets) # (no bugzilla tickets)
# # http://www.spinics.net/lists/netdev/msg325109.html
# TODO submit upstream
Patch2: iproute2-3.19.0-build.patch Patch2: iproute2-3.19.0-build.patch
# ip-xfrm: support 'proto any' with 'sport' and 'dport' # ip-xfrm: support 'proto any' with 'sport' and 'dport'
# #
# https://bugzilla.redhat.com/show_bug.cgi?id=497355 # https://bugzilla.redhat.com/show_bug.cgi?id=497355
# # http://www.spinics.net/lists/netdev/msg325111.html
# TODO: submit upstream
Patch3: iproute2-3.19.0-proto-any.patch Patch3: iproute2-3.19.0-proto-any.patch
# cbq: fix find syntax in example # cbq: fix find syntax in example
# #
# https://bugzilla.redhat.com/show_bug.cgi?id=539232 # https://bugzilla.redhat.com/show_bug.cgi?id=539232
# # http://www.spinics.net/lists/netdev/msg325112.html
# TODO: submit upstream
Patch4: iproute2-3.19.0-cbq-example.patch Patch4: iproute2-3.19.0-cbq-example.patch
# ip-route: don't hide routes with RTM_F_CLONED by default # ip-route: don't hide routes with RTM_F_CLONED by default
# #
# (no bugzilla ticket) # (no bugzilla ticket)
# # http://www.spinics.net/lists/netdev/msg325115.html
# TODO: submit upstream
Patch5: iproute2-3.19.0-route-cloned.patch Patch5: iproute2-3.19.0-route-cloned.patch
# lnstat: dump to stdout, not stderr # lnstat: dump to stdout, not stderr
# #
# TODO: submit upstream # (no bugzilla ticket)
# http://www.spinics.net/lists/netdev/msg325113.html
Patch6: iproute2-3.19.0-lnstat-stdout.patch Patch6: iproute2-3.19.0-lnstat-stdout.patch
# lnstat: run indefinitely by default # lnstat: run indefinitely by default
# #
# https://bugzilla.redhat.com/show_bug.cgi?id=977845 # https://bugzilla.redhat.com/show_bug.cgi?id=977845
# # http://www.spinics.net/lists/netdev/msg325110.html
# TODO: submit upstream
Patch7: iproute2-3.19.0-lnstat-interval.patch Patch7: iproute2-3.19.0-lnstat-interval.patch
# tc: add -OK option # tc: add -OK option
# #
# http://thread.gmane.org/gmane.linux.network/284101 # http://thread.gmane.org/gmane.linux.network/284101
@ -66,7 +63,7 @@ Patch7: iproute2-3.19.0-lnstat-interval.patch
# Rejected by upstream. # Rejected by upstream.
# #
# TODO: Retry upstreaming and decide whether it's needed in Fedora. # TODO: Retry upstreaming and decide whether it's needed in Fedora.
Patch8: iproute2-3.11.0-tc-ok.patch Patch8: iproute2-4.0.0-tc-ok.patch
License: GPLv2+ and Public Domain License: GPLv2+ and Public Domain
BuildRequires: bison BuildRequires: bison
@ -111,7 +108,6 @@ The libnetlink static library.
%prep %prep
%setup -q -n %{name}2-%{version} %setup -q -n %{name}2-%{version}
%patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
@ -224,6 +220,9 @@ done
%{_includedir}/libnetlink.h %{_includedir}/libnetlink.h
%changelog %changelog
* Tue Apr 14 2015 Pavel Šimerda <psimerda@redhat.com> - 4.0.0-1
- new version 4.0.0
* Fri Mar 13 2015 Pavel Šimerda <psimerda@redhat.com> - 3.19.0-1 * Fri Mar 13 2015 Pavel Šimerda <psimerda@redhat.com> - 3.19.0-1
- new version 3.19.0 - new version 3.19.0

View File

@ -30,9 +30,9 @@ index e0acfeb..583eae2 100644
.IR OPTIONS " := {" .IR OPTIONS " := {"
-\fB[ -force ] -b\fR[\fIatch\fR] \fB[ filename ] \fR| -\fB[ -force ] -b\fR[\fIatch\fR] \fB[ filename ] \fR|
+\fB[ -force ] [ -OK ] -b\fR[\fIatch\fR] \fB[ filename ] \fR| +\fB[ -force ] [ -OK ] -b\fR[\fIatch\fR] \fB[ filename ] \fR|
\fB[ \fB-n\fR[\fIetns\fR] name \fB] \fR} \fB[ \fB-n\fR[\fIetns\fR] name \fB] \fR|
\fB[ \fB-nm \fR| \fB-nam\fR[\fIes\fR] \fB] \fR|
.ti 8 \fB[ \fR{ \fB-cf \fR| \fB-c\fR[\fIonf\fR] \fR} \fB[ filename ] \fB] \fR}
@@ -440,6 +440,12 @@ First failure will cause termination of tc. @@ -440,6 +440,12 @@ First failure will cause termination of tc.
.RS 4 .RS 4
Shows classes as ASCII graph with stats info under each class. Shows classes as ASCII graph with stats info under each class.
@ -55,9 +55,9 @@ index 9b50e74..b43bb47 100644
int use_iec = 0; int use_iec = 0;
int force = 0; int force = 0;
+int ok = 0; +int ok = 0;
struct rtnl_handle rth; bool use_names = false;
static void *BODY = NULL; /* cached handle dlopen(NULL) */ static char *conf_file;
@@ -183,7 +184,7 @@ noexist: @@ -183,7 +184,7 @@ noexist:
static void usage(void) static void usage(void)
{ {
@ -66,7 +66,7 @@ index 9b50e74..b43bb47 100644
+ " tc [-force] [-OK] -batch filename\n" + " tc [-force] [-OK] -batch filename\n"
"where OBJECT := { qdisc | class | filter | action | monitor }\n" "where OBJECT := { qdisc | class | filter | action | monitor }\n"
" OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] | " " OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] | "
"-n[etns] name }\n"); "-n[etns] name |\n"
@@ -251,6 +252,9 @@ static int batch(const char *name) @@ -251,6 +252,9 @@ static int batch(const char *name)
ret = 1; ret = 1;
if (!force) if (!force)
@ -83,7 +83,7 @@ index 9b50e74..b43bb47 100644
++force; ++force;
+ } else if (matches(argv[1], "-OK") == 0) { + } else if (matches(argv[1], "-OK") == 0) {
+ ++ok; + ++ok;
} else if (matches(argv[1], "-batch") == 0) { } else if (matches(argv[1], "-batch") == 0) {
argc--; argv++; argc--; argv++;
if (argc <= 1) if (argc <= 1)
-- --

View File

@ -1 +1 @@
237083a1e3c388cde7a115a5724dc72a iproute2-3.19.0.tar.xz 3adc263ade4ee76c35032e8f50b54108 iproute2-4.0.0.tar.xz