mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
iproute2: bump to version 2.6.37 + fixes
Bump to version 2.6.37 Add iptables support when it's available. ATM support requires linux-atm for which we don't have a package yet. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
bd5cbcb2b1
commit
749a5d7c2d
@ -4,19 +4,29 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
IPROUTE2_VERSION = 2.6.35
|
IPROUTE2_VERSION = 2.6.37
|
||||||
IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.bz2
|
IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.bz2
|
||||||
IPROUTE2_SITE = http://devresources.linuxfoundation.org/dev/iproute2/download
|
IPROUTE2_SITE = http://devresources.linuxfoundation.org/dev/iproute2/download
|
||||||
IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc
|
IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc
|
||||||
|
|
||||||
|
# If we've got iptables enable xtables support for tc
|
||||||
|
ifeq ($(BR2_PACKAGE_IPTABLES),y)
|
||||||
|
IPROUTE2_DEPENDENCIES += iptables
|
||||||
|
define IPROUTE2_WITH_IPTABLES
|
||||||
|
# Makefile is busted so it never passes IPT_LIB_DIR properly
|
||||||
|
$(SED) "s/-DIPT/-DXT/" $(IPROUTE2_DIR)/tc/Makefile
|
||||||
|
echo "TC_CONFIG_XT:=y" >>$(IPROUTE2_DIR)/Config
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define IPROUTE2_CONFIGURE_CMDS
|
define IPROUTE2_CONFIGURE_CMDS
|
||||||
# Use kernel headers
|
# Use kernel headers
|
||||||
rm -r $(IPROUTE2_DIR)/include/netinet
|
rm -r $(IPROUTE2_DIR)/include/netinet
|
||||||
# arpd needs berkeleydb
|
# arpd needs berkeleydb
|
||||||
$(SED) "/^TARGETS=/s: arpd : :" $(IPROUTE2_DIR)/misc/Makefile
|
$(SED) "/^TARGETS=/s: arpd : :" $(IPROUTE2_DIR)/misc/Makefile
|
||||||
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(IPROUTE2_DIR)/Makefile
|
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(IPROUTE2_DIR)/Makefile
|
||||||
( cd $(@D); ./configure )
|
echo "IPT_LIB_DIR:=/usr/lib/xtables" >>$(IPROUTE2_DIR)/Config
|
||||||
echo "IPT_LIB_DIR=/usr/lib/xtables" >>$(IPROUTE2_DIR)/Config
|
$(IPROUTE2_WITH_IPTABLES)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define IPROUTE2_BUILD_CMDS
|
define IPROUTE2_BUILD_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user