Modernize C builds with offline dependencies and portable runtime helpers (#3050)

Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.

Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
This commit is contained in:
Max Lv
2026-09-11 13:42:11 +08:00
committed by GitHub
parent 8fe386b5c2
commit 201e70c4bd
120 changed files with 4631 additions and 1523 deletions
+6
View File
@@ -7,6 +7,7 @@ Uploaders:
Boyuan Yang <byang@debian.org>,
Roger Shimizu <rosh@debian.org>
Build-Depends:
cmake (>= 3.20),
asciidoc-base | asciidoc,
debhelper (>= 10),
libc-ares-dev,
@@ -51,6 +52,11 @@ Section: libdevel
Breaks: shadowsocks-libev (<< 2.4.0)
Depends:
libshadowsocks-libev2 (= ${binary:Version}),
libc-ares-dev,
libev-dev,
libmbedtls-dev,
libpcre2-dev,
libsodium-dev,
${misc:Depends}
Description: lightweight and secure socks5 proxy (development files)
Shadowsocks-libev is a lightweight and secure socks5 proxy for
+3
View File
@@ -1,3 +1,6 @@
usr/include/
usr/lib/*/libshadowsocks-libev.so
usr/lib/*/libshadowsocks-libev.a
usr/lib/*/shadowsocks-libev/
usr/lib/*/cmake/shadowsocks-libev/
usr/lib/*/pkgconfig/
+1 -1
View File
@@ -11,7 +11,7 @@ override_dh_auto_install:
dh_auto_install
override_dh_auto_configure:
dh_auto_configure -- -DWITH_STATIC=OFF
dh_auto_configure -- -DSS_DEPENDENCY_MODE=system -DWITH_STATIC=OFF -DWITH_DOC_MAN=ON -DWITH_DOC_HTML=ON -DSS_INSTALL_TOOLS=ON
override_dh_installchangelogs:
dh_installchangelogs -XChanges
+1
View File
@@ -5,3 +5,4 @@ debian/shadowsocks-libev-*.service lib/systemd/system
usr/bin/
usr/share/man/
usr/share/doc/shadowsocks-libev/
usr/share/licenses/shadowsocks-libev/