summaryrefslogtreecommitdiffstats
path: root/package/iproute2
Commit message (Collapse)AuthorAgeFilesLines
* package/iproute2: backport patch to fix compilation under glibc < 2.18Thomas De Schampheleire2019-02-251-0/+39
| | | | | | | | | | | When compiling iproute2 using a toolchain containing glibc 2.17 and older, it fails due to a missing definition of AF_VSOCK. Add a submitted and accepted upstream patch to fix this issue. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* iproute2: fix build on glibc < 2.21 / uClibcPeter Korsgaard2018-10-271-0/+32
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/fc9/fc99b1ad49080f552ce611d5a7a2f9fe171b5a2c/ http://autobuild.buildroot.net/results/5f7/5f74c258a3adafa5aecd4abc378eef0573143764/ q_{etf,taprio}.c uses CLOCK_TAI, which isn't exposed by glibc < 2.21 or uClibc, breaking the build. Provide a fallback definition like it is done for IPPROTO_MPLS and others. Patch submitted upstream: https://lwn.net/ml/netdev/20181027153102.32302-1-peter%40korsgaard.com/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump version to 4.19.0Peter Korsgaard2018-10-272-2/+2
| | | | | | | | | For support for the new 4.19+ kernel features. Release notes: https://lwn.net/ml/netdev/20181023104935.282ff4ec@xeon-e3/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 4.18.0Baruch Siach2018-08-243-41/+2
| | | | | | | | | Drop upstream patch. Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/busybox: invert dependency with iproute2Yann E. MORIN2018-07-081-6/+0
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* iproute2: fix rdma buildFabrice Fontaine2018-06-231-0/+39
| | | | | | | | | | | | Retrieve upstream patch Fixes: - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 4.17.0Baruch Siach2018-06-223-39/+2
| | | | | | | | Drop upstream patch. Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 4.16.0Baruch Siach2018-05-015-128/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop uClibc-ng compatibility patch. Current uClibc-ng provides the needed definitions. Drop the libc-config.h musl compatibility workaround patch. iproute2 update its headers copy to current kernel version for which this workaround is no longer needed. Don't modify tc/Makefile to make XT_LIB_DIR get the value of IPT_LIB_DIR. Pass the correct value directly in CFLAGS. Add a patch removing arpd dependency on threading support. Rename IPROUTE2_WITH_IPTABLES to IPROUTE2_DISABLE_IPTABLES which better describes what it does. Don't patch the configure script for the cross compiler. The CC environment variable is enough. Don't force the CCOPTS make variable. The CFLAGS environment variable does the trick for target code. Don't patch CCOPTS out of netem/Makefile. The CBUILD_CFLAGS environment variable can pass the host CFLAGS to host code. The ifcfg script is now POSIX shell compatible. Remove its installation dependency on bash. Pass installation DESTDIR in the environment. Don't force SBINDIR, DOCDIR, and MANDIR. The default values are fine. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* iproute2: fix build with uclibc-ngBaruch Siach2018-02-151-0/+58
| | | | | | | | | | | | | ublibc-ng does not provide PF_VSOCK/AF_VSOCK definitions. Add them locally until ucblibc-ng updates its headers. Fixes: http://autobuild.buildroot.net/results/3d5/3d5a29e3c61ff071628c2937844ea4156059b3dd/ Cc: Petr Vorel <petr.vorel@gmail.com> Cc: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* iproute2: bump to version 4.15.0Baruch Siach2018-02-142-2/+2
| | | | | | | | | | | | Keep the musl workaround patch for now, even though libc-compat.h has been updated from kernel v4.15. To take advantage of the new libc-compat.h we need a newer or patched version of musl. The workaround patch will be removed once musl is updated, and external autobuilders toolchains are rebuilt. Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* iproute2: fix configure output file nameBaruch Siach2017-12-181-3/+2
| | | | | | | | | | | | | | iproute2 renamed the configure script output file to config.mk. Update the config tweaking code accordingly. The configure script now detects xtables correctly, drop this part. Add a comment to explain the TC_CONFIG_XT disable tweak. Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: fix build with threads support disabledBaruch Siach2017-12-181-1/+1
| | | | | | | | | | | | | | iproute2 renamed the configure script generated file to config.mk. Update the berkeleydb disable code. Fixes: http://autobuild.buildroot.net/results/46d/46da1142806fb524326994585cec6de9f7f3f480/ http://autobuild.buildroot.net/results/3aa/3aa028fe9e730335d2af00d5969b674a3d9f640b/ Cc: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: bump to version 4.14.1Baruch Siach2017-11-155-151/+10
| | | | | | | | | | | | | Remove uClibc build fix; current uClibc version defines the required macro. Remove static link fix; fixed upstream. Rebase the musl libc-compat.h workaround to adapt to upstream headers location change. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: fix static build with uClibcBaruch Siach2017-09-281-0/+103
| | | | | | | | | | | | | | Version 4.13 added a local definition of strlcpy(). This clashes with the uClibc provided one when linking statically. Add a patch that detects libc provided strlcpy(), and avoids the multiple definition. Fixes: http://autobuild.buildroot.net/results/f34/f34684dcdb47938a3da8b00c8b29000cc23b4e3d/ http://autobuild.buildroot.net/results/a01/a01c5775945f5ffe75451722b676fc93333a0f14/ http://autobuild.buildroot.net/results/0ee/0eeab1a0ca943f9a035a0d458ddf9cc210bc87f4/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 4.13.0Baruch Siach2017-09-222-2/+2
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 4.12.0Baruch Siach2017-07-194-37/+41
| | | | | | | | | | | | | Drop upstream patch. Add uClibc-ng compatibility fix. This is needed due to missing definition in netinet/in.h. Add license file hash. Cc: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: correct licenseBaruch Siach2017-07-191-1/+1
| | | | | | | 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>
* iproute2: needs kernel headers 3.4+Baruch Siach2017-06-041-3/+3
| | | | | | | | | | | | iproute2 needs the __kernel_long_t and __kernel_ulong_t types that were introduced in kernel v3.4. Fixes: http://autobuild.buildroot.net/results/823/823f0dbe17999c07134fac5a0620e3ad15362204/ http://autobuild.buildroot.net/results/a79/a797a6e3d193fa70abd59411df21657a1c0a45d4/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: drop obsolete patchBaruch Siach2017-05-232-38/+0
| | | | | | | | | | Since version 4.5.0 the iptables_common.h header is unused. Don't bother patching this file. Renumber the following patch. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: bump to version 4.11.0Baruch Siach2017-05-224-40/+37
| | | | | | | | | | Drop upstream patch. Add a patch fixing struct ethhdr conflict using the Buildroot local if_ether.h kernel header suppression patch. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: bump to version 4.9.0Baruch Siach2016-12-237-166/+78
| | | | | | | | | | | | | | | | | 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>
* iproute2: use @D instead of IPROUTE2_DIRThomas Petazzoni2016-08-071-4/+4
| | | | | | | | | | 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>
* iproute2: fix no-thread buildThomas Petazzoni2016-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* iproute2: bump to version 4.5.0Gustavo Zacarias2016-04-086-54/+90
| | | | | | | | | | | 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>
* package/iproute2: add optional support for elfutilsBernd Kuhls2016-02-211-0/+4
| | | | | | | | | | | | | | | 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>
* iproute2: add musl build fix patchGustavo Zacarias2016-01-211-0/+33
| | | | | | | | | | | 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>
* iproute2: bump to version 4.4.0Gustavo Zacarias2016-01-122-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: fix build with muslThomas Petazzoni2015-11-192-0/+133
| | | | | | | | | | | | | 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>
* iproute2: bump to version 4.3.0Gustavo Zacarias2015-11-042-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: drop dead tipc disabling codeGustavo Zacarias2015-10-221-1/+0
| | | | | | | | 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>
* iproute2: bump to version 4.2.0Gustavo Zacarias2015-09-042-2/+2
| | | | | | | 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>
* iproute2: needs headers >= 3.0Gustavo Zacarias2015-07-281-0/+5
| | | | | | | | | | | 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>
* iproute2: bump to version 4.1.1Gustavo Zacarias2015-07-073-45/+4
| | | | | | | 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>
* iproute2: tipc support needs 3.18+ headersGustavo Zacarias2015-06-291-1/+7
| | | | | | | | 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>
* iproute2: bump to version 4.1.0Gustavo Zacarias2015-06-283-2/+39
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: drop unneeded Werror handlingPeter Korsgaard2015-05-251-1/+0
| | | | | | | | | | 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>
* iproute2: ensure TARGET_LDFLAGS are usedPeter Korsgaard2015-05-211-1/+1
| | | | | | | 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>
* iproute2: needs host-pkgconfPeter Korsgaard2015-05-211-3/+1
| | | | | | | | | | 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>
* iproute2: disable xtables on static buildBaruch Siach2015-05-211-1/+2
| | | | | | | | | | | 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>
* iproute2: fix static buildBaruch Siach2015-05-071-1/+2
| | | | | | | | | 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>
* package: kill pointless text justificationGustavo Zacarias2015-04-231-1/+1
| | | | | | 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>
* packages: remove non-IPv6 enabler patchesGustavo Zacarias2015-04-222-172/+0
| | | | | | | 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>
* iproute2: bump to version 4.0.0Gustavo Zacarias2015-04-142-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: bump to version 3.19.0Gustavo Zacarias2015-02-152-2/+2
| | | | | | | 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>
* iproute2: bump to version 3.18.0Gustavo Zacarias2014-12-284-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* iproute2: bump to version 3.17.0Gustavo Zacarias2014-11-072-2/+2
| | | | | | | 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>
* iproute2: add hashGustavo Zacarias2014-09-181-0/+2
| | | | | | 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>
* iproute2: bump to version 3.16.0Gustavo Zacarias2014-08-061-1/+1
| | | | | | 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>
* iproute2: bump versionPeter Korsgaard2014-06-121-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud