Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package shadowsocks-libev for openSUSE:Factory checked in at 2026-05-05 15:15:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shadowsocks-libev (Old) and /work/SRC/openSUSE:Factory/.shadowsocks-libev.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shadowsocks-libev" Tue May 5 15:15:15 2026 rev:26 rq:1350903 version:3.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/shadowsocks-libev/shadowsocks-libev.changes 2026-04-05 18:25:34.205397764 +0200 +++ /work/SRC/openSUSE:Factory/.shadowsocks-libev.new.30200/shadowsocks-libev.changes 2026-05-05 15:16:32.898071324 +0200 @@ -1,0 +2,14 @@ +Tue May 5 03:23:02 UTC 2026 - Hillwood Yang <[email protected]> + +- Update version to 3.3.6 + * Reduce memory copies in crypto encrypt/decrypt paths + * Fix unbounded buffer growth in aead_decrypt chunk reassembly +- Add shadowsocks-libev-gcc13-compat.patch, fix build with gcc13 +- Drop 001-migrate-to-mbedtls-3.patch, 002-migrate-to-mbedtls-3.patch and + shadowsocks-libev-3.3.5-pcre2.patch +- Run ss-server with root privileges to allow binding to privileged ports + and reading SSL certificates (boo#1263916) +- All services have been switched to Type=simple mode, and PID file usage + has been removed (boo#1263914) + +------------------------------------------------------------------- Old: ---- 001-migrate-to-mbedtls-3.patch 002-migrate-to-mbedtls-3.patch shadowsocks-libev-3.3.5-pcre2.patch shadowsocks-libev-3.3.5.tar.gz New: ---- ipset-3ea7fe3.tar.gz libbloom-437e1ad.tar.gz libcork-074e074.tar.gz shadowsocks-libev-3.3.6.tar.gz shadowsocks-libev-gcc13-compat.patch ----------(Old B)---------- Old:- Add shadowsocks-libev-gcc13-compat.patch, fix build with gcc13 - Drop 001-migrate-to-mbedtls-3.patch, 002-migrate-to-mbedtls-3.patch and shadowsocks-libev-3.3.5-pcre2.patch Old:- Add shadowsocks-libev-gcc13-compat.patch, fix build with gcc13 - Drop 001-migrate-to-mbedtls-3.patch, 002-migrate-to-mbedtls-3.patch and shadowsocks-libev-3.3.5-pcre2.patch Old:- Drop 001-migrate-to-mbedtls-3.patch, 002-migrate-to-mbedtls-3.patch and shadowsocks-libev-3.3.5-pcre2.patch - Run ss-server with root privileges to allow binding to privileged ports ----------(Old E)---------- ----------(New B)---------- New: * Fix unbounded buffer growth in aead_decrypt chunk reassembly - Add shadowsocks-libev-gcc13-compat.patch, fix build with gcc13 - Drop 001-migrate-to-mbedtls-3.patch, 002-migrate-to-mbedtls-3.patch and ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shadowsocks-libev.spec ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:33.566099040 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:33.570099206 +0200 @@ -19,7 +19,7 @@ %define libver 2 Name: shadowsocks-libev -Version: 3.3.5 +Version: 3.3.6 Release: 0 Summary: Libev port of Shadowsocks License: GPL-3.0-or-later @@ -39,13 +39,15 @@ Source11: %{name}[email protected] Source12: %{name}[email protected] Source13: %{name}.tmpfiles -Patch0: shadowsocks-libev-3.3.5-pcre2.patch -Patch1: 001-migrate-to-mbedtls-3.patch -Patch2: 002-migrate-to-mbedtls-3.patch +Source99: https://github.com/shadowsocks/libbloom/archive/437e1add5a2b9a87797d8c648df7cf5f3ee155a8/libbloom-437e1ad.tar.gz +Source100: https://github.com/shadowsocks/libcork/archive/074e074b26e9e372e90e6ade215217763c8644aa/libcork-074e074.tar.gz +Source101: https://github.com/shadowsocks/ipset/archive/3ea7fe30adf4b39b27d932e5a70a2ddce4adb508/ipset-3ea7fe3.tar.gz +# PATCH-FIX-UPSTREAM shadowsocks-libev-gcc13-compat.patch [email protected] - Fix build with gcc 13 +Patch0: shadowsocks-libev-gcc13-compat.patch BuildRequires: asciidoc -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: mbedtls-devel BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros @@ -54,6 +56,7 @@ BuildRequires: pkgconfig(libev) BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libsodium) >= 1.0.4 +BuildRequires: pkgconfig(mbedtls) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(systemd) Requires(pre): shadow @@ -99,17 +102,20 @@ %prep %autosetup -p1 +rmdir libbloom libcork libipset +tar -zxf %{SOURCE99} +tar -zxf %{SOURCE100} +tar -zxf %{SOURCE101} +mv libbloom-437e1add5a2b9a87797d8c648df7cf5f3ee155a8 libbloom +mv libcork-074e074b26e9e372e90e6ade215217763c8644aa libcork +mv ipset-3ea7fe30adf4b39b27d932e5a70a2ddce4adb508 libipset %build -autoreconf -fiv -export CFLAGS="%{optflags} -fcommon" -%configure \ - --enable-shared - -%make_build +%cmake -DWITH_STATIC=OFF +%cmake_build %install -%make_install +%cmake_install find %{buildroot} -type f -name "*.la" -delete -print @@ -217,6 +223,7 @@ %{_bindir}/ss-tunnel %{_bindir}/ss-manager %{_bindir}/ss-nat +%{_bindir}/ss-setup %{_mandir}/man8/%{name}.8%{?ext_man} %{_mandir}/man1/ss-*.1%{?ext_man} %{_sbindir}/rcshadowsocks-libev-* ++++++ shadowsocks-libev-3.3.5.tar.gz -> shadowsocks-libev-3.3.6.tar.gz ++++++ ++++ 85820 lines of diff (skipped) ++++++ shadowsocks-libev-client.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:33.894112650 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:33.898112816 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-client.pid -ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-client.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:33.918113645 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:33.922113811 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-client@%i.pid -ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/%i.json -f /run/shadowsocks/shadowsocks-libev-client@%i.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/%i.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ shadowsocks-libev-gcc13-compat.patch ++++++ diff -Nur shadowsocks-libev-3.3.6/src/acl.c shadowsocks-libev-3.3.6-new/src/acl.c --- shadowsocks-libev-3.3.6/src/acl.c 2026-05-05 11:17:28.889233821 +0800 +++ shadowsocks-libev-3.3.6-new/src/acl.c 2026-05-05 11:17:43.346028956 +0800 @@ -57,7 +57,7 @@ parse_addr_cidr(const char *str, char *host, int *cidr) { int ret = -1; - char *pch; + const char *pch; pch = strchr(str, '/'); while (pch != NULL) { diff -Nur shadowsocks-libev-3.3.6/src/netutils.c shadowsocks-libev-3.3.6-new/src/netutils.c --- shadowsocks-libev-3.3.6/src/netutils.c 2026-02-09 09:15:12.000000000 +0800 +++ shadowsocks-libev-3.3.6-new/src/netutils.c 2026-05-05 11:10:41.796286187 +0800 @@ -275,7 +275,7 @@ const char *label = hostname; while (label < hostname + hostname_len) { size_t label_len = hostname_len - (label - hostname); - char *next_dot = strchr(label, '.'); + const char *next_dot = strchr(label, '.'); if (next_dot != NULL) label_len = next_dot - label; ++++++ shadowsocks-libev-manager.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:33.962115471 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:33.966115637 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-manager.pid -ExecStart=/usr/bin/ss-manager -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-manager.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-manager -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ shadowsocks-libev-nat.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:33.990116633 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:33.994116799 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-nat.pid -ExecStart=/usr/bin/ss-nat -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-nat.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-nat -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.014117629 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.018117795 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-nat@%i.pid -ExecStart=/usr/bin/ss-nat -c /etc/shadowsocks/%i.json -f /run/shadowsocks/shadowsocks-libev-nat@%i.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-nat -c /etc/shadowsocks/%i.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ shadowsocks-libev-redir.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.042118790 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.046118956 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-redir.pid -ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-redir.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.066119786 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.070119952 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-redir@%i.pid -ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/%i.json -f /run/shadowsocks/shadowsocks-libev-redir@%i.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks/%i.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ shadowsocks-libev-server.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.090120782 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.094120948 +0200 @@ -17,12 +17,9 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-server.pid -ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-server.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure -User=shadowsocks -Group=shadowsocks [Install] WantedBy=multi-user.target ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.114121778 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.118121944 +0200 @@ -17,12 +17,9 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-server@%i.pid -ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/%i.json -f /run/shadowsocks/shadowsocks-libev-server@%i.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/%i.json -u --fast-open Restart=on-failure -User=shadowsocks -Group=shadowsocks [Install] WantedBy=multi-user.target ++++++ shadowsocks-libev-tunnel.service ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.138122773 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.142122940 +0200 @@ -17,9 +17,8 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking -PIDFile=/run/shadowsocks/shadowsocks-libev-tunnel.pid -ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/shadowsocks-libev-config.json -f /run/shadowsocks/shadowsocks-libev-tunnel.pid -u --fast-open +Type=simple +ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/shadowsocks-libev-config.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks ++++++ [email protected] ++++++ --- /var/tmp/diff_new_pack.lu0DIG/_old 2026-05-05 15:16:34.162123770 +0200 +++ /var/tmp/diff_new_pack.lu0DIG/_new 2026-05-05 15:16:34.166123935 +0200 @@ -17,9 +17,9 @@ ProtectControlGroups=true RestrictRealtime=true # end of automatic additions -Type=forking +Type=simple PIDFile=/run/shadowsocks/shadowsocks-libev-tunnel@%i.pid -ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json -f /run/shadowsocks/shadowsocks-libev-tunnel@%i.pid -u --fast-open +ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/%i.json -u --fast-open Restart=on-failure User=shadowsocks Group=shadowsocks
