summaryrefslogtreecommitdiffstats
path: root/package/iproute2
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* iproute2: fix build without threadsBaruch Siach2014-04-281-2/+2
| | | | | | | | | | | 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>
* iproute2: bump to version 3.14.0Gustavo Zacarias2014-04-142-19/+18
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iproute2: bump to version 3.12.0Gustavo Zacarias2013-12-023-16/+107
| | | | | | | | | | * 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>
* iproute2: bump to version 3.11.0Gustavo Zacarias2013-09-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* change package tarball compression to xz whenever possibleJerzy Grzegorek2013-09-081-0/+1
| | | | | | [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>
* iproute2: bump to version 3.10.0Gustavo Zacarias2013-09-012-33/+28
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iproute2: add missing host-flex dependencyThomas Petazzoni2013-03-241-1/+1
| | | | | | | | 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>
* iproute2: add dependency on host-bisonThomas Petazzoni2013-03-241-2/+5
| | | | | | | | | 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>
* iproute2: needs mmuGustavo Zacarias2013-03-191-0/+1
| | | | | | | | Fixes http://autobuild.buildroot.net/results/08beca1cae9dc55b2f770a01ad95bcbe56594300/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iproute2: bump to version 3.7.0Gustavo Zacarias2012-12-121-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* iproute2: fix em_ipset build issuePeter Korsgaard2012-11-031-0/+5
| | | | | | | | | 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>
* iproute2: fix build with toolchains providing setns(2)Peter Korsgaard2012-11-031-0/+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>
OpenPOWER on IntegriCloud