Files
buildroot/package/shadowsocks-libev/shadowsocks-libev.mk
Bernd Kuhls 20a87376c7 package/shadowsocks-libev: bump version to 3.3.6
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:
7bb250739e

The 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>
2026-04-14 19:12:45 +02:00

28 lines
1.0 KiB
Makefile

################################################################################
#
# shadowsocks-libev
#
################################################################################
SHADOWSOCKS_LIBEV_VERSION = v3.3.6
SHADOWSOCKS_LIBEV_SITE = https://github.com/shadowsocks/shadowsocks-libev.git
SHADOWSOCKS_LIBEV_SITE_METHOD = git
SHADOWSOCKS_LIBEV_GIT_SUBMODULES = YES
SHADOWSOCKS_LIBEV_LICENSE = GPL-3.0+, BSD-2-Clause (libbloom), BSD-3-Clause (libcork, libipset)
SHADOWSOCKS_LIBEV_LICENSE_FILES = COPYING libbloom/LICENSE libcork/COPYING
SHADOWSOCKS_LIBEV_CPE_ID_VENDOR = shadowsocks
SHADOWSOCKS_LIBEV_DEPENDENCIES = host-pkgconf c-ares libev libsodium mbedtls pcre2
SHADOWSOCKS_LIBEV_INSTALL_STAGING = YES
SHADOWSOCKS_LIBEV_CONF_OPTS += \
-DDISABLE_SSP=ON \
-DWITH_STATIC=OFF
ifeq ($(BR2_PACKAGE_SHADOWSOCKS_LIBEV_CONNMARKTOS),y)
SHADOWSOCKS_LIBEV_DEPENDENCIES += libnetfilter_conntrack
SHADOWSOCKS_LIBEV_CONF_OPTS += -DENABLE_CONNMARKTOS=ON
else
SHADOWSOCKS_LIBEV_CONF_OPTS += -DENABLE_CONNMARKTOS=OFF
endif
$(eval $(cmake-package))