|
@@ -8,12 +8,12 @@
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
PKG_NAME:=iproute2
|
|
|
-PKG_VERSION:=6.7.0
|
|
|
+PKG_VERSION:=6.9.0
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
|
|
|
-PKG_HASH:=ff942dd9828d7d1f867f61fe72ce433078c31e5d8e4a78e20f02cb5892e8841d
|
|
|
+PKG_HASH:=2f643d09ea11a4a2a043c92e2b469b5f73228cbf241ae806760296ed0ec413d0
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
PKG_BUILD_DEPENDS:=iptables
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
@@ -77,14 +77,7 @@ $(call Package/iproute2/Default)
|
|
|
VARIANT:=tcfull
|
|
|
PROVIDES:=tc
|
|
|
ALTERNATIVES:=400:/sbin/tc:/usr/libexec/tc-full
|
|
|
- DEPENDS:=+kmod-sched-core +(PACKAGE_devlink||PACKAGE_rdma):libmnl +libbpf +libxtables +tc-mod-iptables
|
|
|
-endef
|
|
|
-
|
|
|
-define Package/tc-mod-iptables
|
|
|
-$(call Package/iproute2/Default)
|
|
|
- TITLE:=Traffic control module - iptables action
|
|
|
- VARIANT:=tcfull
|
|
|
- DEPENDS:=+libxtables +libbpf
|
|
|
+ DEPENDS:=+kmod-sched-core +(PACKAGE_devlink||PACKAGE_rdma):libmnl +libbpf +libxtables
|
|
|
endef
|
|
|
|
|
|
define Package/genl
|
|
@@ -102,7 +95,7 @@ endef
|
|
|
define Package/ss
|
|
|
$(call Package/iproute2/Default)
|
|
|
TITLE:=Socket statistics utility
|
|
|
- DEPENDS:=+libnl-tiny +(PACKAGE_devlink||PACKAGE_rdma):libmnl +kmod-netlink-diag
|
|
|
+ DEPENDS:=+libnl-tiny +(PACKAGE_devlink||PACKAGE_rdma):libmnl +libbpf +kmod-netlink-diag
|
|
|
endef
|
|
|
|
|
|
define Package/nstat
|
|
@@ -232,11 +225,6 @@ define Package/tc-full/install
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tc/tc $(1)/usr/libexec/tc-full
|
|
|
endef
|
|
|
|
|
|
-define Package/tc-mod-iptables/install
|
|
|
- $(INSTALL_DIR) $(1)/usr/lib/tc
|
|
|
- $(CP) $(PKG_BUILD_DIR)/tc/m_xt.so $(1)/usr/lib/tc
|
|
|
-endef
|
|
|
-
|
|
|
define Package/genl/install
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/genl/genl $(1)/usr/sbin/
|
|
@@ -269,9 +257,6 @@ endef
|
|
|
|
|
|
$(eval $(call BuildPackage,ip-tiny))
|
|
|
$(eval $(call BuildPackage,ip-full))
|
|
|
-# build tc-mod-iptables before its dependents, to avoid
|
|
|
-# spurious rebuilds when building multiple variants.
|
|
|
-$(eval $(call BuildPackage,tc-mod-iptables))
|
|
|
$(eval $(call BuildPackage,tc-tiny))
|
|
|
$(eval $(call BuildPackage,tc-bpf))
|
|
|
$(eval $(call BuildPackage,tc-full))
|