Skip to content

Commit

Permalink
[bot] AutoMerging: merge all upstream's changes:
Browse files Browse the repository at this point in the history
* https://github.com/coolsnowwolf/lede:
  keep truboacc at bottom (coolsnowwolf#5326)
  iproute2: disable SELinux for now (coolsnowwolf#5328)
  Coremark: use the general way to detect 64bit or not. (coolsnowwolf#5330)
  • Loading branch information
github-actions[bot] committed Aug 20, 2020
2 parents ec85490 + d003d3d commit 5f651d6
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 7 deletions.
5 changes: 2 additions & 3 deletions package/lean/coremark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ endef

DIR_ARCH:=linux

ifeq ($(ARCH),x86_64)
ifeq ($(CONFIG_ARCH_64BIT),y)
DIR_ARCH:=linux64
endif
ifeq ($(ARCH),aarch64)
else ifeq ($(CONFIG_64BIT),y)
DIR_ARCH:=linux64
endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function index()
return
end
local page
page = entry({"admin", "network", "flowoffload"}, cbi("flowoffload"), _("Turbo ACC Center"), 101)
page = entry({"admin", "network", "flowoffload"}, cbi("flowoffload"), _("Turbo ACC Center"), 1001)
page.i18n = "flowoffload"
page.dependent = true

Expand Down
2 changes: 1 addition & 1 deletion package/lean/luci-app-sfe/luasrc/controller/sfe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function index()
return
end
local page
page = entry({"admin", "network", "sfe"}, cbi("sfe"), _("Turbo ACC Center"), 100)
page = entry({"admin", "network", "sfe"}, cbi("sfe"), _("Turbo ACC Center"), 1000)
page.i18n = "sfe"
page.dependent = true

Expand Down
2 changes: 1 addition & 1 deletion package/network/utils/iproute2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=iproute2
PKG_VERSION:=5.7.0
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 650591a7a70cd79d826fcdc579a20c168c987cf2 Mon Sep 17 00:00:00 2001
From: Tony Ambardar <tony.ambardar@gmail.com>
Date: Tue, 7 Jul 2020 00:58:33 -0700
Subject: [PATCH] configure: support ipset version 7 with kernel version 5

The configure script checks for ipset v6 availability but doesn't test
for v7, which is backward compatible and used on kernel v5.x systems.
Update the script to test for both ipset versions. Without this change,
the tc ematch function em_ipset will be disabled.

Signed-off-by: Tony Ambardar <Tony.Ambardar@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index f415bf49..307912aa 100755
--- a/configure
+++ b/configure
@@ -208,7 +208,7 @@ typedef unsigned short ip_set_id_t;
#include <linux/netfilter/xt_set.h>

struct xt_set_info info;
-#if IPSET_PROTOCOL == 6
+#if IPSET_PROTOCOL == 6 || IPSET_PROTOCOL == 7
int main(void)
{
return IPSET_MAXNAMELEN;
--
2.17.1

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
+ for s in `grep -B 3 '\<dlsym' $$files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
+ sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:\1;:;p}' $$files ; \
+ done >> $@ ; \
+ echo "show_stats; print_tm; parse_rtattr; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> $@
+ echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> $@
+
endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -244,7 +244,7 @@ check_elf()
check_selinux()
# SELinux is a compile time option in the ss utility
{
- if ${PKG_CONFIG} libselinux --exists; then
+ if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
echo "HAVE_SELINUX:=y" >>$CONFIG
echo "yes"

0 comments on commit 5f651d6

Please sign in to comment.