@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk
#
PKG_NAME := shadowsocks-libev
PKG_VERSION := 3.2.5
PKG_RELEASE := 3
PKG_RELEASE := 4
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$( PKG_VERSION)
@ -29,6 +29,7 @@ PKG_FIXUP:=autoreconf
PKG_INSTALL := 1
PKG_USE_MIPS16 := 0
PKG_BUILD_PARALLEL := 1
PKG_BUILD_DEPENDS := c-ares pcre
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -56,7 +57,7 @@ define Package/shadowsocks-libev/Default
SUBMENU:= Web Servers/Proxies
TITLE:= shadowsocks-libev $( 1)
URL:= https://github.com/shadowsocks/shadowsocks-libev
DEPENDS:= +libcares +lib ev +libmbedtls +libpcre +libpthread +libsodium +shadowsocks-libev-config +zlib
DEPENDS:= +libev +libmbedtls +libpthread +libsodium +shadowsocks-libev-config $( DEPENDS_$( 1) )
endef
define Package/shadowsocks-libev-$( 1) /install
@ -66,6 +67,9 @@ define Package/shadowsocks-libev/Default
e n d e f
DEPENDS_ss-local = +libpcre
DEPENDS_ss-server = +libcares +libpcre
SHADOWSOCKS_COMPONENTS := ss-local ss-redir ss-tunnel ss-server
d e f i n e s h a d o w s o c k s - l i b e v / t e m p l a t e s
$( foreach component,$( SHADOWSOCKS_COMPONENTS) ,
@ -118,6 +122,9 @@ CONFIGURE_ARGS += \
--disable-assert \
--disable-ssp \
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
$( eval $ ( call BuildPackage ,shadowsocks -libev -config ) )
$( eval $ ( call BuildPackage ,shadowsocks -libev -ss -rules ) )
$( foreach component ,$ ( SHADOWSOCKS_COMPONENTS ) , \