Files
buildroot/package/shadowsocks-libev/0001-CMakeLists.txt-Add-LANGUAGES-option-to-project-varia.patch
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

30 lines
837 B
Diff

From cfff08f2ebc0edc89801c6dea97ca9b47d593608 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Sat, 4 Apr 2026 09:25:07 +0200
Subject: [PATCH] CMakeLists.txt: Add LANGUAGES option to project variable
Fixes build with toolchains without c++.
Upstream: https://github.com/shadowsocks/shadowsocks-libev/pull/3033
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52ff13e..0d9528f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)
-set(PROJECT_NAME shadowsocks-libev)
+set(PROJECT_NAME shadowsocks-libev LANGUAGES C)
set(RELEASE_DATE 2026-02-09)
set(PROJECT_VERSION "3.3.6")
set(PROJECT_DESC "a lightweight secured socks5 proxy")
--
2.47.3