mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
https://github.com/shadowsocks/shadowsocks-libev/releases/tag/v3.3.6 Upstream tarball does not contain submodules so we need to download the git repo ourselves. Please note that these submodules cannot be provided as system libraries:6423c8e496"These are vendored code built from git submodules, not system libraries, [...]" Removed all patches, they were either autoconf-related or are included in this release. Added patch to fix build with toolchains without c++. Switched build system to cmake due to upstream removal of autoconf and switched to pcre2 instead of pcre:7bb250739eThe cmake build system always builds dynamic libraries: https://github.com/shadowsocks/shadowsocks-libev/blob/v3.3.6/src/CMakeLists.txt#L252 so we added a dependency to !BR2_STATIC_LIBS and -DWITH_STATIC=OFF as configure option. Please note that this bump will not fix the build errors introduced by the bump of glibc to version 2.43: https://github.com/shadowsocks/shadowsocks-libev/issues/3032 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_SHADOWSOCKS_LIBEV
|
|
bool "shadowsocks-libev"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # for libcork
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_8 || !BR2_ARCH_IS_64 # for libcork
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_C_ARES
|
|
select BR2_PACKAGE_LIBEV
|
|
select BR2_PACKAGE_LIBSODIUM
|
|
select BR2_PACKAGE_MBEDTLS
|
|
select BR2_PACKAGE_PCRE2
|
|
help
|
|
Shadowsocks-libev is a lightweight secured SOCKS5 proxy for
|
|
embedded devices and low-end boxes.
|
|
|
|
https://github.com/shadowsocks/shadowsocks-libev
|
|
|
|
config BR2_PACKAGE_SHADOWSOCKS_LIBEV_CONNMARKTOS
|
|
bool "connmarktos support in ss-server"
|
|
depends on BR2_PACKAGE_SHADOWSOCKS_LIBEV
|
|
select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
|
|
help
|
|
Build ss-server with the connmark to TOS feature.
|
|
|
|
This feature requires advanced tc, iptables and conntrack
|
|
rules to perform QoS on the server side.
|
|
|
|
If unsure, don't enable this option
|
|
|
|
comment "shadowsocks-libev needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_8 || !BR2_ARCH_IS_64
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|