@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := iproute2
PKG_VERSION := 5.0.0
PKG_RELEASE := 2
PKG_RELEASE := 2.1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @KERNEL/linux/utils/net/iproute2
@ -49,7 +49,7 @@ $(call Package/iproute2/Default)
VARIANT:= full
PROVIDES:= ip
ALTERNATIVES:= 300:/sbin/ip:/usr/libexec/ip-full
DEPENDS:= +libnl-tiny +libelf +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl
DEPENDS:= +libnl-tiny +libelf +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +libcap
e n d e f
d e f i n e P a c k a g e / t c
@ -57,43 +57,43 @@ $(call Package/iproute2/Default)
TITLE:= Traffic control utility
VARIANT:= tc
PROVIDES:= tc
DEPENDS:= +kmod-sched-core +libxtables +libelf +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl
DEPENDS:= +kmod-sched-core +libxtables +libelf +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / g e n l
$( call Package /iproute 2/Default )
TITLE:= General netlink utility frontend
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / i p - b r i d g e
$( call Package /iproute 2/Default )
TITLE:= Bridge configuration utility from iproute2
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / s s
$( call Package /iproute 2/Default )
TITLE:= Socket statistics utility
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / n s t a t
$( call Package /iproute 2/Default )
TITLE:= Network statistics utility
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libnl-tiny +( PACKAGE_devlink|| PACKAGE_rdma) :libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / d e v l i n k
$( call Package /iproute 2/Default )
TITLE:= Network devlink utility
DEPENDS:= +libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
d e f i n e P a c k a g e / r d m a
$( call Package /iproute 2/Default )
TITLE:= Network rdma utility
DEPENDS:= +libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf
DEPENDS:= +libmnl +( PACKAGE_tc|| PACKAGE_ip-full) :libelf +PACKAGE_ip-full:libcap
e n d e f
i f e q ( $( BUILD_VARIANT ) , t i n y )
@ -102,6 +102,7 @@ endif
i f e q ( $( BUILD_VARIANT ) , f u l l )
HAVE_ELF:= y
HAVE_CAP:= y
e n d i f
i f e q ( $( BUILD_VARIANT ) , t c )
@ -132,6 +133,7 @@ MAKE_FLAGS += \
IP_CONFIG_TINY = $( IP_CONFIG_TINY) \
HAVE_ELF = $( HAVE_ELF) \
HAVE_MNL = $( HAVE_MNL) \
HAVE_CAP = $( HAVE_CAP) \
IPT_LIB_DIR = /usr/lib/iptables \
XT_LIB_DIR = /usr/lib/iptables \
FPIC = " $( FPIC) "