Baruch Siach
65080e973d
iproute2: correct license
...
Source files license headers include the GPL "or ... any later version" language.
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
(cherry picked from commit b1b962274b )
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2017-07-20 07:39:02 +02:00
Baruch Siach
bd9549610f
iproute2: bump to version 4.9.0
...
Add the libc-compat.h musl workaround patch to the copy of the kernel header.
Add a patch adding missing limits.h for musl.
Drop 0001-Avoid-in6_addr-redefinition.patch; not needed after the
libc-compat.h patch.
Drop upstream 0003-iproute2-tc_bpf.c-fix-building-with-musl-libc..patch.
Drop 0004-iproute-no-iptables.patch; should be fixed by upstream commit
4710e46ec3 (tc, ipt: don't enforce iproute2 dependency on iptables-devel).
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-12-23 00:04:46 +01:00
Thomas Petazzoni
40c69fc5b5
iproute2: use @D instead of IPROUTE2_DIR
...
We more generally use $(@D) instead of $(pkg_DIR) to refer to the
package source directory, so this commit updates iproute2 to also use
$(@D) everywhere.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-07 23:05:26 +02:00
Thomas Petazzoni
9202490282
iproute2: fix no-thread build
...
iproute2 believes that it needs to link with libpthread for its arpd
binary, because "some db implementations require thread". Therefore, our
iproute2.mk explicitly disables the build of arpd when thread support is
not available.
However, the sed expression it uses no longer works. The Makefile used
to look like:
TARGETS = foo baz baz arpd foobar
so replacing " arpd " with a space was working fine. However, the
Makefile got changed in iproute2 to:
ifeq (... berkeleydb available ...)
TARGETS += arpd
endif
i.e, with no space at the end of the line. This made our sed expression
ineffective, causing build issues with no-thread configurations since
arpd was no longer disabled.
To address this, instead of sed-ing the Makefile, we overwrite the
berkeleydb detection of iproute2, by writing to the "Config" file, like
we're doing for other aspects of the package.
Fixes:
http://autobuild.buildroot.net/results/03a37a2372a4c2e438a073e015c49d9e554b86b7/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-07 23:05:21 +02:00
Gustavo Zacarias
f6fd41c16a
iproute2: bump to version 4.5.0
...
Drop 0003-iproute2-fix-building-with-musl.patch since it's upstream.
Add gentoo patch to allow for non-iptables builds.
Add new musl build fix.
Tweak 0001-Avoid-in6_addr-redefinition.patch since the first chunk is no
longer required.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-04-08 18:23:35 +02:00
Bernd Kuhls
5da3186efb
package/iproute2: add optional support for elfutils
...
When elfutils was compiled before, iproute2 will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/sbin/tc | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libelf.so.1]
[...]
The build system offers no option to en-/disable elfutils support:
http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/tree/configure#n252
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-02-21 12:41:23 +01:00
Gustavo Zacarias
11d7b8b64a
iproute2: add musl build fix patch
...
Patch status: submitted upstream
http://marc.info/?l=linux-netdev&m=145340072013792
Fixes:
http://autobuild.buildroot.net/results/d3d/d3d79b55cb19987d5d5c0da9c0f0d25697697c05/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-01-21 22:14:03 +01:00
Gustavo Zacarias
ad51e7910c
iproute2: bump to version 4.4.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-01-12 21:35:22 +01:00
Thomas Petazzoni
57b97576e4
iproute2: fix build with musl
...
This commit adds two patches to the iproute2 package that are
necessary to build it against the musl C library. Both patches have
been submitted upstream.
Fixes:
http://autobuild.buildroot.org/results/5d3/5d3f8c2242e9a89bb545166fc7d70429d2cddd42/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-11-19 22:51:29 +01:00
Gustavo Zacarias
ad727d467f
iproute2: bump to version 4.3.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-11-04 14:09:29 +01:00
Gustavo Zacarias
4ad133b516
iproute2: drop dead tipc disabling code
...
Since it's automatic via libmnl being present it's just dead code that's
not defined any longer, so remove it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-10-22 23:43:52 +02:00
Gustavo Zacarias
fc537892e6
iproute2: bump to version 4.2.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-09-04 11:57:35 +02:00
Gustavo Zacarias
869af2ad3d
iproute2: needs headers >= 3.0
...
The newest iproute2 version requires a toolchain with headers >= 3.0 for
proper namespace & bpf support, so adjust the dependencies and
dependants accordingly. Fixes:
http://autobuild.buildroot.net/results/fa8/fa810f310c7540e02c0ed84c4a3ce74ab602daa5/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-07-28 22:56:09 +02:00
Gustavo Zacarias
85945aad91
iproute2: bump to version 4.1.1
...
Now with local header for tipc support on older kernels.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-07-07 14:29:03 +02:00
Gustavo Zacarias
c2a3d1f8d6
iproute2: tipc support needs 3.18+ headers
...
Fixes:
http://autobuild.buildroot.net/results/173/173c9dbed6422a3cc4f9d1f998bc25ce2e9538c7/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-06-29 21:59:06 +02:00
Gustavo Zacarias
2e044bf335
iproute2: bump to version 4.1.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-06-28 14:05:22 +02:00
Peter Korsgaard
8e881e2def
iproute2: drop unneeded Werror handling
...
Upstream has dropped -Werror since the 3.12 release, so there's no point in
us sed'ing it away:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=3140e9a3a343d37a8d828ee27e16ad9f3f9ab389
Reported-by: Romain Naour <romain.naour@openwide.fr >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-05-25 22:25:21 +02:00
Peter Korsgaard
dc587bf92c
iproute2: ensure TARGET_LDFLAGS are used
...
Otherwise we can end up with various linker issues (E.G. linking shared
against libc for a static build, ..).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-05-21 23:22:52 +02:00
Peter Korsgaard
a9aa2ba02f
iproute2: needs host-pkgconf
...
The (handwritten) configure script uses pkg-config, so ensure it is
available.
With this in place XT and IPT_LIB_DIR detection works correctly, so drop the
overrides.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-05-21 23:22:52 +02:00
Baruch Siach
72e548a480
iproute2: disable xtables on static build
...
iproute2 always builds m_xt.so as a shared library.
Fixes:
http://autobuild.buildroot.net/results/f42/f42bbbf5be4594a8806d0e571586ce2bf119582d/
http://autobuild.buildroot.net/results/3b3/3b37871bdf5766677fc20dca22c13177091d104f/
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-05-21 23:22:52 +02:00
Baruch Siach
cebea9a0f4
iproute2: fix static build
...
Fixes:
http://autobuild.buildroot.net/results/a10/a107ac3252ad48732069ec0de6ff8692b32c6a71/
http://autobuild.buildroot.net/results/e27/e2785a35bc6bc63d5da77e406e589889e7d39055/
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-05-07 22:16:38 +02:00
Gustavo Zacarias
757e9c4c2a
package: kill pointless text justification
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-04-23 09:47:08 +02:00
Gustavo Zacarias
55bab4f619
packages: remove non-IPv6 enabler patches
...
These are no longer required so remove them.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-04-22 23:00:31 +02:00
Gustavo Zacarias
15944a5ea4
iproute2: bump to version 4.0.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-04-14 10:06:59 +02:00
Gustavo Zacarias
47ecd4a841
iproute2: bump to version 3.19.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-02-15 21:45:41 +01:00
Gustavo Zacarias
e5469f7fed
iproute2: bump to version 3.18.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-12-28 10:25:31 +01:00
Gustavo Zacarias
4631ae3105
iproute2: bump to version 3.17.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-11-07 08:53:08 +01:00
Gustavo Zacarias
d19a9f2667
iproute2: add hash
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-09-18 21:44:13 +02:00
Gustavo Zacarias
250e8a9ada
iproute2: bump to version 3.16.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2014-08-06 19:44:20 +02:00
Peter Korsgaard
bca6d1cbb9
iproute2: bump version
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-06-12 22:03:48 +02:00
Baruch Siach
0a0947ce96
iproute2: fix build without threads
...
arpd link command lists -pthread explicitly. Disable arpd when threads are not
supported.
Fixes:
http://autobuild.buildroot.net/results/88e/88eac71e674f773439b953956af3ded71465cf9e/
Signed-off-by: Baruch Siach <baruch@tkos.co.il >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-04-28 14:08:19 +02:00
Gustavo Zacarias
a65605d28d
iproute2: bump to version 3.14.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2014-04-14 20:53:12 +02:00
Gustavo Zacarias
382143fc70
iproute2: bump to version 3.12.0
...
* Add arpd support via the new berkeleydb compat option.
* Remove uninstall define.
* Install ifcfg if bash on the target is enabled.
* Misc cleanups.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2013-12-02 08:45:10 +01:00
Gustavo Zacarias
85f1fd14bf
iproute2: bump to version 3.11.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-09-17 20:43:52 +02:00
Jerzy Grzegorek
62146ea3ad
change package tarball compression to xz whenever possible
...
[Peter: leave change xz tarball format to not end up with circular deps]
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-09-08 22:44:23 +02:00
Gustavo Zacarias
dbe6ad1dd1
iproute2: bump to version 3.10.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-09-01 21:43:54 +02:00
Alexandre Belloni
8dfd59d114
Normalize separator size to 80
...
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-06-06 22:30:24 +02:00
Thomas Petazzoni
87827beff7
iproute2: add missing host-flex dependency
...
Fixes
http://autobuild.buildroot.org/results/0931e622a0e80fc7321f0e26c96ae4607eaadd00/build-end.log .
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-03-24 16:15:56 +01:00
Thomas Petazzoni
fad8177bb3
iproute2: add dependency on host-bison
...
iproute2 requires bison, so we add the necessary dependency. In
addition, in order for iproute2 to find bison, we need to pass
$(TARGET_MAKE_ENV).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-03-24 13:44:32 +01:00
Gustavo Zacarias
aff304d535
iproute2: needs mmu
...
Fixes
http://autobuild.buildroot.net/results/08beca1cae9dc55b2f770a01ad95bcbe56594300/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2013-03-19 17:06:53 +01:00
Gustavo Zacarias
2a26c4e17e
iproute2: bump to version 3.7.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-12-12 22:32:55 +01:00
Peter Korsgaard
1b5ce0e9a2
iproute2: fix em_ipset build issue
...
Fixes http://autobuild.buildroot.net/results/be19e39c19b62946ea48dd6b3dfd55f5c3ccd7c9
em_ipset.c uses xtables.h from iptables, but the configure script fails
to to check for this, so forcibly disable it if not available.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-11-03 16:58:25 +01:00
Peter Korsgaard
102f79865e
iproute2: fix build with toolchains providing setns(2)
...
Fixes http://autobuild.buildroot.net/results/b2f28621bc9d6048057c406048b3f7d665cef165
ipnetns.c contains a replacement setns implementation, which is used
if the toolchain doesn't provide any (HAVE_SETNS not set).
We don't have any knowledge of toolchain setns support on buildroot
level, but the (handwritten) configure script contains a test for it,
so run the configure script before building.
The configure script isn't written for cross compilation, so it needs
to be massaged slightly to use the cross compiler / flags.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-11-03 09:21:25 +01:00
Gustavo Zacarias
2bd4ee3e39
iproute2: bump to version 3.6.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-10-04 00:02:10 +02:00
Gustavo Zacarias
513108126d
iproute2: bump to version 3.5.1
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-09-09 22:59:53 +02:00
Gustavo Zacarias
7a3d7601fb
iproute2: bump to version 3.5.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2012-08-17 17:49:12 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c
all packages: rename XXXTARGETS to xxx-package
...
Also remove the redundant $(call ...).
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
-e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
-e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2012-07-17 20:23:05 +02:00
Peter Korsgaard
9001722c79
iproute2: bump version
...
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-05-22 13:36:17 +02:00
Gustavo Zacarias
29f656e081
iproute2: bump to version 3.3.0
...
Bump to version 3.3.0
We now need to keep builtin headers since it's using very modern defines
which aren't yet mainstream in glibc or uClibc.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2012-04-30 22:59:22 +02:00
Gustavo Zacarias
8c9a74836a
iproute2: bump to version 3.1.0
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk >
2011-12-07 22:35:54 +01:00