]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
iproute2: Update to 4.14.1
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Feb 2018 17:34:50 +0000 (17:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Feb 2018 20:56:12 +0000 (20:56 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/iproute2
lfs/iproute2
src/patches/iproute2-4.7.0_remove_arpd.patch [deleted file]

index 2339d8320a52c7a1d4b00ce25e1b3dd4c4adce37..afa30467ffa70fa82ec4071cec64b04669b6e5f4 100644 (file)
@@ -24,6 +24,8 @@ sbin/rtpr
 sbin/rtstat
 sbin/ss
 sbin/tc
 sbin/rtstat
 sbin/ss
 sbin/tc
+#usr/include/iproute2
+#usr/include/iproute2/bpf_elf.h
 #usr/lib/tc
 #usr/lib/tc/experimental.dist
 #usr/lib/tc/normal.dist
 #usr/lib/tc
 #usr/lib/tc/experimental.dist
 #usr/lib/tc/normal.dist
@@ -34,9 +36,6 @@ sbin/tc
 #usr/share/bash-completion/completions
 usr/share/bash-completion/completions/tc
 #usr/share/doc/iproute2
 #usr/share/bash-completion/completions
 usr/share/bash-completion/completions/tc
 #usr/share/doc/iproute2
-#usr/share/doc/iproute2/SNAPSHOT.tex
-#usr/share/doc/iproute2/api-ip6-flowlabels.tex
-#usr/share/doc/iproute2/arpd.sgml
 #usr/share/doc/iproute2/examples
 #usr/share/doc/iproute2/examples/README.cbq
 #usr/share/doc/iproute2/examples/README.iproute2+tc
 #usr/share/doc/iproute2/examples
 #usr/share/doc/iproute2/examples/README.cbq
 #usr/share/doc/iproute2/examples/README.iproute2+tc
@@ -58,15 +57,9 @@ usr/share/bash-completion/completions/tc
 #usr/share/doc/iproute2/examples/diffserv/efcbq
 #usr/share/doc/iproute2/examples/diffserv/regression-testing
 #usr/share/doc/iproute2/examples/gaiconf
 #usr/share/doc/iproute2/examples/diffserv/efcbq
 #usr/share/doc/iproute2/examples/diffserv/regression-testing
 #usr/share/doc/iproute2/examples/gaiconf
-#usr/share/doc/iproute2/ip-cref.tex
-#usr/share/doc/iproute2/ip-tunnels.tex
-#usr/share/doc/iproute2/nstat.sgml
-#usr/share/doc/iproute2/preamble.tex
-#usr/share/doc/iproute2/rtstat.sgml
-#usr/share/doc/iproute2/ss.sgml
-#usr/share/doc/iproute2/tc-filters.tex
 #usr/share/man/man3/libnetlink.3
 #usr/share/man/man7/tc-hfsc.7
 #usr/share/man/man3/libnetlink.3
 #usr/share/man/man7/tc-hfsc.7
+#usr/share/man/man8/arpd.8
 #usr/share/man/man8/bridge.8
 #usr/share/man/man8/ctstat.8
 #usr/share/man/man8/devlink-dev.8
 #usr/share/man/man8/bridge.8
 #usr/share/man/man8/ctstat.8
 #usr/share/man/man8/devlink-dev.8
@@ -74,6 +67,9 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/devlink-port.8
 #usr/share/man/man8/devlink-sb.8
 #usr/share/man/man8/devlink.8
 #usr/share/man/man8/devlink-port.8
 #usr/share/man/man8/devlink-sb.8
 #usr/share/man/man8/devlink.8
+#usr/share/man/man8/genl.8
+#usr/share/man/man8/ifcfg.8
+#usr/share/man/man8/ifstat.8
 #usr/share/man/man8/ip-address.8
 #usr/share/man/man8/ip-addrlabel.8
 #usr/share/man/man8/ip-fou.8
 #usr/share/man/man8/ip-address.8
 #usr/share/man/man8/ip-addrlabel.8
 #usr/share/man/man8/ip-fou.8
@@ -90,13 +86,18 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/ip-ntable.8
 #usr/share/man/man8/ip-route.8
 #usr/share/man/man8/ip-rule.8
 #usr/share/man/man8/ip-ntable.8
 #usr/share/man/man8/ip-route.8
 #usr/share/man/man8/ip-rule.8
+#usr/share/man/man8/ip-sr.8
 #usr/share/man/man8/ip-tcp_metrics.8
 #usr/share/man/man8/ip-token.8
 #usr/share/man/man8/ip-tunnel.8
 #usr/share/man/man8/ip-tcp_metrics.8
 #usr/share/man/man8/ip-token.8
 #usr/share/man/man8/ip-tunnel.8
+#usr/share/man/man8/ip-vrf.8
 #usr/share/man/man8/ip-xfrm.8
 #usr/share/man/man8/ip.8
 #usr/share/man/man8/lnstat.8
 #usr/share/man/man8/nstat.8
 #usr/share/man/man8/ip-xfrm.8
 #usr/share/man/man8/ip.8
 #usr/share/man/man8/lnstat.8
 #usr/share/man/man8/nstat.8
+#usr/share/man/man8/rdma-dev.8
+#usr/share/man/man8/rdma-link.8
+#usr/share/man/man8/rdma.8
 #usr/share/man/man8/routef.8
 #usr/share/man/man8/routel.8
 #usr/share/man/man8/rtacct.8
 #usr/share/man/man8/routef.8
 #usr/share/man/man8/routel.8
 #usr/share/man/man8/rtacct.8
@@ -104,6 +105,7 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/rtpr.8
 #usr/share/man/man8/rtstat.8
 #usr/share/man/man8/ss.8
 #usr/share/man/man8/rtpr.8
 #usr/share/man/man8/rtstat.8
 #usr/share/man/man8/ss.8
+#usr/share/man/man8/tc-actions.8
 #usr/share/man/man8/tc-basic.8
 #usr/share/man/man8/tc-bfifo.8
 #usr/share/man/man8/tc-bpf.8
 #usr/share/man/man8/tc-basic.8
 #usr/share/man/man8/tc-bfifo.8
 #usr/share/man/man8/tc-bpf.8
@@ -123,6 +125,8 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/tc-fw.8
 #usr/share/man/man8/tc-hfsc.8
 #usr/share/man/man8/tc-htb.8
 #usr/share/man/man8/tc-fw.8
 #usr/share/man/man8/tc-hfsc.8
 #usr/share/man/man8/tc-htb.8
+#usr/share/man/man8/tc-ife.8
+#usr/share/man/man8/tc-matchall.8
 #usr/share/man/man8/tc-mirred.8
 #usr/share/man/man8/tc-mqprio.8
 #usr/share/man/man8/tc-nat.8
 #usr/share/man/man8/tc-mirred.8
 #usr/share/man/man8/tc-mqprio.8
 #usr/share/man/man8/tc-nat.8
@@ -135,13 +139,16 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/tc-prio.8
 #usr/share/man/man8/tc-red.8
 #usr/share/man/man8/tc-route.8
 #usr/share/man/man8/tc-prio.8
 #usr/share/man/man8/tc-red.8
 #usr/share/man/man8/tc-route.8
+#usr/share/man/man8/tc-sample.8
 #usr/share/man/man8/tc-sfb.8
 #usr/share/man/man8/tc-sfq.8
 #usr/share/man/man8/tc-simple.8
 #usr/share/man/man8/tc-skbedit.8
 #usr/share/man/man8/tc-sfb.8
 #usr/share/man/man8/tc-sfq.8
 #usr/share/man/man8/tc-simple.8
 #usr/share/man/man8/tc-skbedit.8
+#usr/share/man/man8/tc-skbmod.8
 #usr/share/man/man8/tc-stab.8
 #usr/share/man/man8/tc-tbf.8
 #usr/share/man/man8/tc-tcindex.8
 #usr/share/man/man8/tc-stab.8
 #usr/share/man/man8/tc-tbf.8
 #usr/share/man/man8/tc-tcindex.8
+#usr/share/man/man8/tc-tunnel_key.8
 #usr/share/man/man8/tc-u32.8
 #usr/share/man/man8/tc-vlan.8
 #usr/share/man/man8/tc-xt.8
 #usr/share/man/man8/tc-u32.8
 #usr/share/man/man8/tc-vlan.8
 #usr/share/man/man8/tc-xt.8
@@ -151,5 +158,7 @@ usr/share/bash-completion/completions/tc
 #usr/share/man/man8/tipc-media.8
 #usr/share/man/man8/tipc-nametable.8
 #usr/share/man/man8/tipc-node.8
 #usr/share/man/man8/tipc-media.8
 #usr/share/man/man8/tipc-nametable.8
 #usr/share/man/man8/tipc-node.8
+#usr/share/man/man8/tipc-peer.8
 #usr/share/man/man8/tipc-socket.8
 #usr/share/man/man8/tipc.8
 #usr/share/man/man8/tipc-socket.8
 #usr/share/man/man8/tipc.8
+#var/lib/arpd
index 47ce07791f93fdee6813d03603df695fc3fdd487..e93988d32e0fa9542aee14ba84cd8684a7ab650c 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
 
 include Config
 
-VER        = 4.7.0
+VER        = 4.14.1
 
 THISAPP    = iproute2-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
 
 THISAPP    = iproute2-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE)             = $(DL_FROM)/$(DL_FILE)
 
 
 $(DL_FILE)             = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5         = d4b205830cdc2702f8a0cbd6232129cd
+$(DL_FILE)_MD5         = 1075423d7029e02a8f23ed4f42b7e372
 
 install : $(TARGET)
 
 
 install : $(TARGET)
 
@@ -70,7 +70,6 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)_remove_arpd.patch
        cd $(DIR_APP) && make $(MAKETUNING) SBINDIR=/sbin
        cd $(DIR_APP) && make SBINDIR=/sbin install
        cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin
        cd $(DIR_APP) && make $(MAKETUNING) SBINDIR=/sbin
        cd $(DIR_APP) && make SBINDIR=/sbin install
        cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin
diff --git a/src/patches/iproute2-4.7.0_remove_arpd.patch b/src/patches/iproute2-4.7.0_remove_arpd.patch
deleted file mode 100644 (file)
index 786c031..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-diff -Naur a/doc/arpd.sgml b/doc/arpd.sgml
---- a/doc/arpd.sgml
-+++ b/doc/arpd.sgml
-@@ -1,130 +0,0 @@
--<!doctype linuxdoc system>
--
--<article>
--
--<title>ARPD Daemon
--<author>Alexey Kuznetsov, <tt/kuznet@ms2.inr.ac.ru/
--<date>some_negative_number, 20 Sep 2001
--<abstract>
--<tt/arpd/ is daemon collecting gratuitous ARP information, saving
--it on local disk and feeding it to kernel on demand to avoid
--redundant broadcasting due to limited size of kernel ARP cache. 
--</abstract>
--
--
--<p><bf/Description/
--
--<p>The format of the command is:
--
--<tscreen><verb>
--       arpd OPTIONS [ INTERFACE [ INTERFACE ... ] ]
--</verb></tscreen>
--
--<p> <tt/OPTIONS/ are:
--
--<itemize>
--
--<item><tt/-l/ - dump <tt/arpd/ database to stdout and exit. Output consists
--of three columns: interface index, IP address and MAC address.
--Negative entries for dead hosts are also shown, in this case MAC address
--is replaced by word <tt/FAILED/ followed by colon and time when the fact
--that host is dead was proven the last time.
--
--<item><tt/-f FILE/  - read and load <tt/arpd/ database from <tt/FILE/
--in text format similar dumped by option <tt/-l/. Exit after load,
--probably listing resulting database, if option <tt/-l/ is also given.
--If <tt/FILE/ is <tt/-/, <tt/stdin/ is read to get ARP table.
-- 
--<item><tt/-b DATABASE/  - location of database file. Default location is
--<tt>/var/lib/arpd/arpd.db</tt>.
--
--<item><tt/-a NUMBER/ - <tt/arpd/ not only passively listens ARP on wire, but
--also send brodcast queries itself. <tt/NUMBER/ is number of such queries
--to make before destination is considered as dead. When <tt/arpd/ is started
--as kernel helper (i.e. with <tt/app_solicit/ enabled in <tt/sysctl/
--or even with option <tt/-k/) without this option and still did not learn enough
--information, you can observe 1 second gaps in service. Not fatal, but
--not good.
--
--<item><tt/-k/ - suppress sending broadcast queries by kernel. It takes
--sense together with option <tt/-a/.
--
--<item><tt/-n TIME/ - timeout of negative cache. When resolution fails <tt/arpd/
--suppresses further attempts to resolve for this period. It makes sense
--only together with option <tt/-k/. This timeout should not be too much
--longer than boot time of a typical host not supporting gratuitous ARP.
--Default value is 60 seconds.
--
--<item><tt/-R RATE/ - maximal steady rate of broadcasts sent by <tt/arpd/
--in packets per second. Default value is 1.
--
--<item><tt/-B NUMBER/ - number of broadcasts sent by <tt/arpd/ back to back.
--Default value is 3. Together with option <tt/-R/ this option allows
--to police broadcasting not to exceed <tt/B+R*T/ over any interval
--of time <tt/T/.
--
--</itemize>
--
--<p><tt/INTERFACE/ is name of networking inteface to watch.
--If no interfaces given, <tt/arpd/ monitors all the interfaces.
--In this case <tt/arpd/ does not adjust <tt/sysctl/ parameters,
--it is supposed user does this himself after <tt/arpd/ is started.
--
--
--<p> Signals
--
--<p> <tt/arpd/ exits gracefully syncing database and restoring adjusted
--<tt/sysctl/ parameters, when receives <tt/SIGINT/ or <tt/SIGTERM/.
--<tt/SIGHUP/ syncs database to disk. <tt/SIGUSR1/ sends some statistics
--to <tt/syslog/. Effect of another signals is undefined, they may corrupt
--database and leave <tt/sysctl/ parameters in an unpredictable state.
--
--<p> Note
--
--<p> In order to <tt/arpd/ be able to serve as ARP resolver, kernel must be
--compiled with the option <tt/CONFIG_ARPD/ and, in the case when interface list
--is not given on command line, variable <tt/app_solicit/
--on interfaces of interest should be set in <tt>/proc/sys/net/ipv4/neigh/*</tt>.
--If this is not made <tt/arpd/ still collects gratuitous ARP information
--in its database.
--
--<p> Examples
--
--<enum>
--<item> Start <tt/arpd/ to collect gratuitous ARP, but not messing
--with kernel functionality:
--
--<tscreen><verb>
--   arpd -b /var/tmp/arpd.db
--</verb></tscreen>
--
--<item> Look at result after some time:
--
--<tscreen><verb>
--   killall arpd
--   arpd -l -b /var/tmp/arpd.db
--</verb></tscreen>
--
--<item> To enable kernel helper, leaving leading role to kernel:
--
--<tscreen><verb>
--   arpd -b /var/tmp/arpd.db -a 1 eth0 eth1
--</verb></tscreen>
--
--<item> Completely replace kernel resolution on interfaces <tt/eth0/
--and <tt/eth1/. In this case kernel still does unicast probing to
--validate entries, but all the broadcast activity is suppressed
--and made under authority of <tt/arpd/: 
--
--<tscreen><verb>
--   arpd -b /var/tmp/arpd.db -a 3 -k eth0 eth1
--</verb></tscreen>
--
--This is mode which <tt/arpd/ is supposed to work normally.
--It is not default just to prevent occasional enabling of too aggressive
--mode occasionally.
--
--</enum>
--
--</article>
--
-diff -Naur a/Makefile b/Makefile
---- a/Makefile
-+++ b/Makefile
-@@ -9,7 +9,6 @@
- DATADIR?=$(PREFIX)/share
- DOCDIR?=$(DATADIR)/doc/iproute2
- MANDIR?=$(DATADIR)/man
--ARPDDIR?=/var/lib/arpd
- KERNEL_INCLUDE?=/usr/include
- BASH_COMPDIR?=$(DATADIR)/bash-completion/completions
-@@ -62,7 +61,6 @@
- install: all
-       install -m 0755 -d $(DESTDIR)$(SBINDIR)
-       install -m 0755 -d $(DESTDIR)$(CONFDIR)
--      install -m 0755 -d $(DESTDIR)$(ARPDDIR)
-       install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples
-       install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples/diffserv
-       install -m 0644 README.iproute2+tc $(shell find examples -maxdepth 1 -type f) \
-diff -Naur a/man/man8/Makefile b/man/man8/Makefile
---- a/man/man8/Makefile
-+++ b/man/man8/Makefile
-@@ -1,6 +1,6 @@
- TARGETS = ip-address.8 ip-link.8 ip-route.8
--MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 rtpr.8 ss.8 \
-+MAN8PAGES = $(TARGETS) ip.8  lnstat.8 routel.8 rtacct.8 rtmon.8 rtpr.8 ss.8 \
-       tc.8 tc-bfifo.8 tc-bpf.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 \
-       tc-fq.8 \
-       tc-drr.8 tc-ematch.8 tc-fq_codel.8 tc-hfsc.8 tc-htb.8 tc-pie.8 \
-diff -Naur a/tc/Makefile b/tc/Makefile
---- a/tc/Makefile
-+++ b/tc/Makefile
-@@ -89,7 +89,7 @@
-       CFLAGS += -DTC_CONFIG_XT_H
-       TCSO += m_xt_old.so
-     else
--      TCMODULES += m_ipt.o
-+      TCMODULES += 
-     endif
-   endif
- endif