commit:     d812c385948746b693bd70da5cfa31cf6624d39f
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Feb 11 08:00:22 2026 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Wed Feb 11 10:12:28 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d812c385

net-misc/wstunnel: add 10.5.2

disable LTO

Bug: https://bugs.gentoo.org/965963
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 net-misc/wstunnel/Manifest               |  2 ++
 net-misc/wstunnel/wstunnel-10.5.2.ebuild | 50 ++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/net-misc/wstunnel/Manifest b/net-misc/wstunnel/Manifest
index f92f223cac..fc1fea89b4 100644
--- a/net-misc/wstunnel/Manifest
+++ b/net-misc/wstunnel/Manifest
@@ -2,3 +2,5 @@ DIST wstunnel-10.5.0-crates.tar.xz 32389584 BLAKE2B 
b3d90c772801045ebf9f7a91acf3
 DIST wstunnel-10.5.0.tar.gz 1721280 BLAKE2B 
231b6e01e9bb470270d8668a0c4779b2391c8d31ecc4303c1908ffde74b68300227829a4aa72783966280f9fb2d7f09bd6b7e24d9b656c2e05c4880216b56e03
 SHA512 
bfad942dda0d65820d6f502d072019517f11147a08ec06431dd7c624dc848ea2990e7e1005305c2d6e903d74450489870c2d389869507e416dd35fd82ab602d2
 DIST wstunnel-10.5.1-crates.tar.xz 31889256 BLAKE2B 
fa8a54090e160b765435f554f24d8be0bb605ff043a3ec6a319a5eb3f16a159a24e00f0d8f9ac44e294e23d7667ce485828db918a01612dd2433bee87925c3af
 SHA512 
0f4ef093855fda9d7890c753455e2c7c6d78334ffc28c3447e62cd9030ed1e5494bacaab4098c40f630b2c052f3a18950802fe7d1845ee8807ecbd11de7b22f4
 DIST wstunnel-10.5.1.tar.gz 1720846 BLAKE2B 
ef7d5e150a9f9f16de6f959c37bede7e6a431ccc8fedcaf8fa36d22a14d3247b80915e8d2dfa7e82fc6d26aeac6490047757dbb231963071c0a39f34eeebfaf7
 SHA512 
4c34fb311511711f0a0d002bcadf3f3641ac516814a97b1e1aea3f7531168caad5a3aa39c5a33d3a571153f52d1dd89923e4611bbfe4fa6f85968747f2718275
+DIST wstunnel-10.5.2-crates.tar.xz 32393352 BLAKE2B 
395f11a1af48a2bdc18593fd4b6c187e6378b87f3430c547cf8ed55ffc7df75e3c22dd11de687661b47432c184d14d75d77856866e8ab42c8e8d423e9e532a83
 SHA512 
78e7fd7728b9dc8941e06831a8c3291a92160fbe9fdebfc15cb1687253c4801a71e50df4a414cd3c4ff7c5daea6421e580c6495cdb1ae9e893ab133d8bd8b22a
+DIST wstunnel-10.5.2.tar.gz 1721076 BLAKE2B 
8bcc814022ca6f7dcb34872eaf3e3e46e2d67c905b0aba9e8b91caca6e87b83c6995455da8b5e162b679fde6b1a3c557d105ceb1b652f5b75e117030868b9abf
 SHA512 
c2a0dc10e137a814c8c3ddb1cc11d7f3638aa3c688935d0ab8bd04c0dc488014a6e57dbdf6c1e6634f2ff86d8c6cb2bfeb1f71e6551e96b433444f22ecf53a35

diff --git a/net-misc/wstunnel/wstunnel-10.5.2.ebuild 
b/net-misc/wstunnel/wstunnel-10.5.2.ebuild
new file mode 100644
index 0000000000..e1b4d92bb0
--- /dev/null
+++ b/net-misc/wstunnel/wstunnel-10.5.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+RUST_MIN_VER="1.88.0"
+
+inherit cargo
+
+DESCRIPTION="Tunnel all your traffic over Websocket or HTTP2 - Bypass 
firewalls/DPI"
+HOMEPAGE="https://github.com/erebe/wstunnel/";
+SRC_URI="https://github.com/erebe/wstunnel/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" 
https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${P}/${P}-crates.tar.xz";
+
+LICENSE="BSD"
+# Autogenerated by pycargoebuild
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 ISC MIT openssl
+       Unicode-3.0
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+QA_FLAGS_IGNORED="usr/bin/wstunnel"
+
+pkg_setup() {
+       # see bug #965963
+       export CARGO_PROFILE_RELEASE_LTO=off
+
+       rust_pkg_setup
+}
+
+src_compile() {
+       cargo_src_compile --package wstunnel-cli
+}
+
+src_test() {
+       # skip test with network sandbox violations
+       cargo_src_test -- \
+               --skip test_proxy_connection
+}
+
+src_install() {
+       cargo_src_install --path wstunnel-cli
+       local DOCS+=( README.md docs/*.md )
+       einstalldocs
+}

Reply via email to