package/iproute2: bump to version 6.0.0

Drop patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-10-26 23:40:55 +02:00 committed by Thomas Petazzoni
parent 9376ed7bc4
commit 3cf8930508
5 changed files with 2 additions and 93 deletions

View File

@ -1,29 +0,0 @@
From cf6b60c504d4be5e1df2b2745e55d677967831d0 Mon Sep 17 00:00:00 2001
From: Changhyeok Bae <changhyeok.bae@gmail.com>
Date: Tue, 9 Aug 2022 04:01:05 +0000
Subject: [PATCH] ipstats: Add param.h for musl
Fix build error for musl
| /usr/src/debug/iproute2/5.19.0-r0/iproute2-5.19.0/ip/ipstats.c:231: undefined reference to `MIN'
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
[ upstream status: cf6b60c504d4be5e1df2b2745e55d677967831d0 ]
---
ip/ipstats.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ip/ipstats.c b/ip/ipstats.c
index 5cdd15ae..1ac275bd 100644
--- a/ip/ipstats.c
+++ b/ip/ipstats.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
#include <assert.h>
#include <errno.h>
+#include <sys/param.h>
#include "list.h"
#include "utils.h"
--
2.37.2

View File

@ -1,33 +0,0 @@
From 28c740473510cd911b97cc5d7d23bd809a0f200b Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 9 Aug 2022 13:27:33 -0700
Subject: [PATCH] ipstats: add missing headers
IWYU reports several headers are not explicitly
included by ipstats.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
[ upstream status: 28c740473510cd911b97cc5d7d23bd809a0f200b]
---
ip/ipstats.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ip/ipstats.c b/ip/ipstats.c
index 1ac275bd..dadded14 100644
--- a/ip/ipstats.c
+++ b/ip/ipstats.c
@@ -1,7 +1,11 @@
// SPDX-License-Identifier: GPL-2.0+
+#include <alloca.h>
#include <assert.h>
#include <errno.h>
+#include <stdio.h>
+#include <string.h>
#include <sys/param.h>
+#include <sys/socket.h>
#include "list.h"
#include "utils.h"
--
2.37.2

View File

@ -1,29 +0,0 @@
From d5fe96ab70928508f072a47449e9b641e46de323 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 10 Aug 2022 22:34:40 -0700
Subject: [PATCH] configure: Define _GNU_SOURCE when checking for setns
glibc defines this function only as gnu extention
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
[ upstream status: d5fe96ab70928508f072a47449e9b641e46de323 ]
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 440facb7..c02753bb 100755
--- a/configure
+++ b/configure
@@ -191,6 +191,7 @@ check_ipt_lib_dir()
check_setns()
{
cat >$TMPDIR/setnstest.c <<EOF
+#define _GNU_SOURCE
#include <sched.h>
int main(int argc, char **argv)
{
--
2.37.2

View File

@ -1,3 +1,3 @@
# From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc
sha256 26b7a34d6a7fd2f7a42e2b39c5a90cb61bac522d1096067ffeb195e5693d7791 iproute2-5.19.0.tar.xz
sha256 523139e9e72aec996374fa2de74be4c53d2dd05589488934d21ff97bae19580a iproute2-6.0.0.tar.xz
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING

View File

@ -4,7 +4,7 @@
#
################################################################################
IPROUTE2_VERSION = 5.19.0
IPROUTE2_VERSION = 6.0.0
IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz
IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \