shadowsocks-libev: ss-rules: Add 'auto-merge' flag to avoid conflicts
authorLi Xin <i@crzidea.com>
Thu, 10 Nov 2022 04:10:05 +0000 (12:10 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 4 May 2023 10:02:23 +0000 (18:02 +0800)
Link: https://github.com/openwrt/packages/pull/19872
Signed-off-by: Li Xin <i@crzidea.com>
(squash commits)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 8966f49f9a715e07527580c50ac29ae560447670)

net/shadowsocks-libev/Makefile
net/shadowsocks-libev/files/ss-rules/set.uc

index d5072e51e035945d587030b8c51165f02c29ae32..fe6953e287e67215138c2b294525417c8abf47cc 100644 (file)
@@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
 #
 PKG_NAME:=shadowsocks-libev
 PKG_VERSION:=3.3.5
-PKG_RELEASE:=7
+PKG_RELEASE:=8
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION)
index 5947f6ccd6c76d232124151824b1cf9a4e83f20d..38140e7e1eb9587dd6a8e28adefede18403654a0 100644 (file)
@@ -102,6 +102,7 @@ function set_elements(suf, af) {
 set {{ set_name(suf, af) }} {
        type ipv{{af}}_addr;
        flags interval;
+       auto-merge;
 {%   let elems = set_elements(suf, af); if (length(elems)): %}
        elements = {
 {%     for (let i = 0; i < length(elems); i++): %}