iproute2: Bump to 6.0.0

This commit is contained in:
Tee KOBAYASHI 2022-10-15 19:59:36 +09:00 committed by xtkoba
parent 54fcf47852
commit 2992e4b70c
2 changed files with 14 additions and 2 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://wiki.linuxfoundation.org/networking/iproute2
TERMUX_PKG_DESCRIPTION="Utilities for controlling networking"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.18.0
TERMUX_PKG_VERSION=6.0.0
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=5ba3d464d51c8c283550d507ffac3d10f7aec587b7c66b0ccb6950643646389e
TERMUX_PKG_SHA256=523139e9e72aec996374fa2de74be4c53d2dd05589488934d21ff97bae19580a
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-support"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -1,3 +1,15 @@
--- iproute2-6.0.0/bridge/vni.c.orig 2022-10-05 00:17:15.000000000 +0900
+++ iproute2-6.0.0/bridge/vni.c 2022-10-15 20:17:02.509331351 +0900
@@ -41,6 +41,9 @@
exit(-1);
}
+#undef strdupa
+#define strdupa(s) strcpy(alloca(strlen(s) + 1), s)
+
static int parse_vni_filter(const char *argv, struct nlmsghdr *n, int reqsize,
inet_prefix *group)
{
--- iproute2-5.15.0/ip/iplink_bond.c.orig
+++ iproute2-5.15.0/ip/iplink_bond.c
@@ -171,6 +171,9 @@