summaryrefslogtreecommitdiff
path: root/package/iproute2
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2')
-rw-r--r--package/iproute2/Makefile23
-rw-r--r--package/iproute2/patches/patch-ip_iplink_can_c6
-rw-r--r--package/iproute2/patches/patch-misc_ifstat_c11
-rw-r--r--package/iproute2/patches/patch-misc_nstat_c11
-rw-r--r--package/iproute2/patches/patch-misc_rtacct_c11
-rw-r--r--package/iproute2/patches/patch-netem_Makefile8
-rw-r--r--package/iproute2/patches/patch-netem_maketable_c6
-rw-r--r--package/iproute2/patches/patch-netem_normal_c6
-rw-r--r--package/iproute2/patches/patch-netem_pareto_c6
-rw-r--r--package/iproute2/patches/patch-tc_tc_core_h11
10 files changed, 23 insertions, 76 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 4057007bc..1c7b61d64 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -4,22 +4,20 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= iproute2
-PKG_VERSION:= 4.15.0
+PKG_VERSION:= 6.14.0
PKG_RELEASE:= 1
-PKG_HASH:= 48d4616a99d7b609b7b795c0ae8ec57099fb0271ed89253e8772c02327798355
+PKG_HASH:= a6d23588150096591c3d00fc27a324a82ee71d7a1a9eea78df5df17ad9b8461f
PKG_DESCR:= routing control utility
PKG_SECTION:= net/route
-PKG_BUILDDEP:= iptables libnl linux-atm
+PKG_BUILDDEP:= iptables libnl
PKG_DEPENDS:= libnl
PKG_URL:= http://www.linuxfoundation.org/en/Net:Iproute2
PKG_SITES:= http://www.kernel.org/pub/linux/utils/net/iproute2/
-PKG_SUBPKGS:= IP TC TC_ATM TC_IPT IFSTAT LNSTAT ROUTEL RTMON SS
+PKG_SUBPKGS:= IP TC TC_IPT IFSTAT LNSTAT ROUTEL RTMON SS
+PKGSS_IP:= libmnl
PKGSD_TC:= traffic control utility
PKGSB_TC:= iptables
-PKGSD_TC_ATM:= traffic control atm support library
-PKGSS_TC_ATM:= tc libatm
-PKGSB_TC_ATM:= linux-atm
PKGSD_TC_IPT:= traffic control iptables support library
PKGSS_TC_IPT:= tc iptables
PKGSB_TC_IPT:= iptables
@@ -33,7 +31,6 @@ include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IP,ip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,TC,tc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC},${PKGSD_TC},${PKG_SECTION}))
-$(eval $(call PKG_template,TC_ATM,tc-atm,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC_ATM},${PKGSD_TC_ATM},${PKG_SECTION}))
$(eval $(call PKG_template,TC_IPT,tc-iptables,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_TC_IPT},${PKGSD_TC_IPT},${PKG_SECTION}))
$(eval $(call PKG_template,IFSTAT,ifstat,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_IFSTAT},${PKG_SECTION}))
$(eval $(call PKG_template,LNSTAT,lnstat,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LNSTAT},${PKG_SECTION}))
@@ -43,12 +40,11 @@ $(eval $(call PKG_template,SS,ss,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_SS},${PK
CONFIG_STYLE:= minimal
TARGET_CFLAGS+= -D_GNU_SOURCE
-XAKE_FLAGS+= CCOPTS="${TARGET_CFLAGS}" MFLAGS="CC=\"${TARGET_CC}\""
+XAKE_FLAGS+= CCOPTS="${TARGET_CFLAGS}" MFLAGS="CC=\"${TARGET_CC}\"" V=1
CONFIGURE_ENV+= CC="${TARGET_CC}" IPTC="${TARGET_CFLAGS}" IPTL="${TARGET_LDFLAGS}"
ip-install:
- ${INSTALL_DIR} ${IDIR_IP}/{etc/iproute2,bin}
- ${INSTALL_DATA} ${WRKINST}/etc/iproute2/* ${IDIR_IP}/etc/iproute2/
+ ${INSTALL_DIR} ${IDIR_IP}/bin
${INSTALL_BIN} ${WRKINST}/sbin/ip ${IDIR_IP}/bin/ip
tc-install:
@@ -56,11 +52,6 @@ tc-install:
${CP} ${WRKINST}/usr/lib/tc/*.dist ${IDIR_TC}/usr/lib/tc/
${INSTALL_BIN} ${WRKINST}/sbin/tc ${IDIR_TC}/usr/sbin/
-tc-atm-install:
- ${INSTALL_DIR} ${IDIR_TC_ATM}/usr/lib/tc
- ${INSTALL_DATA} ${WRKINST}/usr/lib/tc/q_atm.so \
- ${IDIR_TC_ATM}/usr/lib/tc/
-
tc-iptables-install:
${INSTALL_DIR} ${IDIR_TC_IPT}/usr/lib/tc
# use ${CP} here, since m_ipt.so is a symlink to m_xt.so
diff --git a/package/iproute2/patches/patch-ip_iplink_can_c b/package/iproute2/patches/patch-ip_iplink_can_c
index 491987005..f08774b36 100644
--- a/package/iproute2/patches/patch-ip_iplink_can_c
+++ b/package/iproute2/patches/patch-ip_iplink_can_c
@@ -1,6 +1,6 @@
---- iproute2-4.9.0.orig/ip/iplink_can.c 2016-12-13 00:07:42.000000000 +0100
-+++ iproute2-4.9.0/ip/iplink_can.c 2016-12-26 01:27:39.734025890 +0100
-@@ -119,7 +119,7 @@ static int can_parse_opt(struct link_uti
+--- iproute2-6.11.0.orig/ip/iplink_can.c 2024-09-15 21:42:26.000000000 +0200
++++ iproute2-6.11.0/ip/iplink_can.c 2024-09-24 09:43:33.522450056 +0200
+@@ -137,7 +137,7 @@ static int can_parse_opt(struct link_uti
if (get_u32(&bt.bitrate, *argv, 0))
invarg("invalid \"bitrate\" value\n", *argv);
} else if (matches(*argv, "sample-point") == 0) {
diff --git a/package/iproute2/patches/patch-misc_ifstat_c b/package/iproute2/patches/patch-misc_ifstat_c
deleted file mode 100644
index 7f6584649..000000000
--- a/package/iproute2/patches/patch-misc_ifstat_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- iproute2-3.10.0.orig/misc/ifstat.c 2013-07-16 19:06:36.000000000 +0200
-+++ iproute2-3.10.0/misc/ifstat.c 2013-08-17 15:27:59.236199157 +0200
-@@ -21,7 +21,7 @@
- #include <sys/file.h>
- #include <sys/socket.h>
- #include <sys/un.h>
--#include <sys/poll.h>
-+#include <poll.h>
- #include <sys/wait.h>
- #include <sys/stat.h>
- #include <signal.h>
diff --git a/package/iproute2/patches/patch-misc_nstat_c b/package/iproute2/patches/patch-misc_nstat_c
deleted file mode 100644
index feed4df14..000000000
--- a/package/iproute2/patches/patch-misc_nstat_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- iproute2-3.10.0.orig/misc/nstat.c 2013-07-16 19:06:36.000000000 +0200
-+++ iproute2-3.10.0/misc/nstat.c 2013-08-17 15:27:46.412360373 +0200
-@@ -21,7 +21,7 @@
- #include <sys/file.h>
- #include <sys/socket.h>
- #include <sys/un.h>
--#include <sys/poll.h>
-+#include <poll.h>
- #include <sys/wait.h>
- #include <sys/stat.h>
- #include <signal.h>
diff --git a/package/iproute2/patches/patch-misc_rtacct_c b/package/iproute2/patches/patch-misc_rtacct_c
deleted file mode 100644
index ac0c7d5e2..000000000
--- a/package/iproute2/patches/patch-misc_rtacct_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- iproute2-3.10.0.orig/misc/rtacct.c 2013-07-16 19:06:36.000000000 +0200
-+++ iproute2-3.10.0/misc/rtacct.c 2013-08-17 15:26:02.313669072 +0200
-@@ -22,7 +22,7 @@
- #include <sys/file.h>
- #include <sys/socket.h>
- #include <sys/un.h>
--#include <sys/poll.h>
-+#include <poll.h>
- #include <sys/wait.h>
- #include <sys/stat.h>
- #include <sys/mman.h>
diff --git a/package/iproute2/patches/patch-netem_Makefile b/package/iproute2/patches/patch-netem_Makefile
index 69141bd62..6583220fc 100644
--- a/package/iproute2/patches/patch-netem_Makefile
+++ b/package/iproute2/patches/patch-netem_Makefile
@@ -1,6 +1,6 @@
---- iproute2-4.10.0.orig/netem/Makefile 2017-02-20 17:47:52.000000000 +0100
-+++ iproute2-4.10.0/netem/Makefile 2017-04-23 20:23:07.404790192 +0200
-@@ -1,14 +1,12 @@
+--- iproute2-6.11.0.orig/netem/Makefile 2024-09-15 21:42:26.000000000 +0200
++++ iproute2-6.11.0/netem/Makefile 2024-09-24 09:43:33.530449869 +0200
+@@ -4,14 +4,12 @@ include ../config.mk
DISTGEN = maketable normal pareto paretonormal
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
@@ -16,7 +16,7 @@
%.dist: %
./$* > $@
-@@ -17,7 +15,7 @@ experimental.dist: maketable experimenta
+@@ -20,7 +18,7 @@ experimental.dist: maketable experimenta
./maketable experimental.dat > experimental.dist
stats: stats.c
diff --git a/package/iproute2/patches/patch-netem_maketable_c b/package/iproute2/patches/patch-netem_maketable_c
index b6eb03405..0fe26932f 100644
--- a/package/iproute2/patches/patch-netem_maketable_c
+++ b/package/iproute2/patches/patch-netem_maketable_c
@@ -1,6 +1,6 @@
---- iproute2-2.6.29-1.orig/netem/maketable.c 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/netem/maketable.c 2009-12-11 16:32:33.000000000 +0100
-@@ -10,7 +10,7 @@
+--- iproute2-6.11.0.orig/netem/maketable.c 2024-09-15 21:42:26.000000000 +0200
++++ iproute2-6.11.0/netem/maketable.c 2024-09-24 09:43:33.538449682 +0200
+@@ -11,7 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
diff --git a/package/iproute2/patches/patch-netem_normal_c b/package/iproute2/patches/patch-netem_normal_c
index 3eada6d03..ddf1927b2 100644
--- a/package/iproute2/patches/patch-netem_normal_c
+++ b/package/iproute2/patches/patch-netem_normal_c
@@ -1,6 +1,6 @@
---- iproute2-3.12.0.orig/netem/normal.c 2013-11-23 02:10:33.000000000 +0100
-+++ iproute2-3.12.0/netem/normal.c 2014-02-09 11:40:30.000000000 +0100
-@@ -8,9 +8,7 @@
+--- iproute2-6.11.0.orig/netem/normal.c 2024-09-15 21:42:26.000000000 +0200
++++ iproute2-6.11.0/netem/normal.c 2024-09-24 09:43:33.542449589 +0200
+@@ -9,9 +9,7 @@
#include <string.h>
#include <limits.h>
diff --git a/package/iproute2/patches/patch-netem_pareto_c b/package/iproute2/patches/patch-netem_pareto_c
index b422a56a0..1f6a9338f 100644
--- a/package/iproute2/patches/patch-netem_pareto_c
+++ b/package/iproute2/patches/patch-netem_pareto_c
@@ -1,6 +1,6 @@
---- iproute2-3.12.0.orig/netem/pareto.c 2013-11-23 02:10:33.000000000 +0100
-+++ iproute2-3.12.0/netem/pareto.c 2014-02-09 11:46:07.000000000 +0100
-@@ -7,10 +7,8 @@
+--- iproute2-6.11.0.orig/netem/pareto.c 2024-09-15 21:42:26.000000000 +0200
++++ iproute2-6.11.0/netem/pareto.c 2024-09-24 09:43:33.550449401 +0200
+@@ -8,10 +8,8 @@
#include <math.h>
#include <limits.h>
diff --git a/package/iproute2/patches/patch-tc_tc_core_h b/package/iproute2/patches/patch-tc_tc_core_h
deleted file mode 100644
index 2716b71c8..000000000
--- a/package/iproute2/patches/patch-tc_tc_core_h
+++ /dev/null
@@ -1,11 +0,0 @@
---- iproute2-3.12.0.orig/tc/tc_core.h 2013-11-23 02:10:33.000000000 +0100
-+++ iproute2-3.12.0/tc/tc_core.h 2014-02-08 20:19:59.000000000 +0100
-@@ -1,7 +1,7 @@
- #ifndef _TC_CORE_H_
- #define _TC_CORE_H_ 1
-
--#include <asm/types.h>
-+#include <sys/types.h>
- #include <linux/pkt_sched.h>
-
- #define TIME_UNITS_PER_SEC 1000000