Skip to content

Commit c3bfa69

Browse files
committed
net-misc/wstunnel: add 10.5.3
use CARGO_SKIP_TESTS (it seems to break the manual --skip) Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
1 parent fbf0757 commit c3bfa69

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

net-misc/wstunnel/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
DIST wstunnel-10.5.2-crates.tar.xz 32393352 BLAKE2B 395f11a1af48a2bdc18593fd4b6c187e6378b87f3430c547cf8ed55ffc7df75e3c22dd11de687661b47432c184d14d75d77856866e8ab42c8e8d423e9e532a83 SHA512 78e7fd7728b9dc8941e06831a8c3291a92160fbe9fdebfc15cb1687253c4801a71e50df4a414cd3c4ff7c5daea6421e580c6495cdb1ae9e893ab133d8bd8b22a
22
DIST wstunnel-10.5.2.tar.gz 1721076 BLAKE2B 8bcc814022ca6f7dcb34872eaf3e3e46e2d67c905b0aba9e8b91caca6e87b83c6995455da8b5e162b679fde6b1a3c557d105ceb1b652f5b75e117030868b9abf SHA512 c2a0dc10e137a814c8c3ddb1cc11d7f3638aa3c688935d0ab8bd04c0dc488014a6e57dbdf6c1e6634f2ff86d8c6cb2bfeb1f71e6551e96b433444f22ecf53a35
3+
DIST wstunnel-10.5.3-crates.tar.xz 30955744 BLAKE2B 378bc499774a7e0d4f1cfd3f07094a0d2dc41f2b9a52b2297ae1d0797db61c2808686978d8a8bf98f3f3ca5a6c724dd7c0bb6113161980e02f2de0d0113f692f SHA512 8f6ace449b4009e7c63eb8dedd5d5314e15ba0e53b644e9792783f9dc25b45f0852ea4d334f44da4bb947f596d4ec15abf6179a4d41f26b4a872124b78aa6858
4+
DIST wstunnel-10.5.3.tar.gz 1721587 BLAKE2B 401154e2292f341af949ac4dbbf820fc60725389267bc0e76057d9484eaecc543af6860e99893edc4a87fdf093cc4a5b497aab6bdcd87b7e3f28f5be2bf684d8 SHA512 f9dfba07edb8a664e8d80b7cf48ff18a9d5789ec5137663cea43aaf8d3532850cc88fc7ffe77c2533f13701903371595a2606e3c8303bcf35b53ba47b992b6af
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright 2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
CRATES="
7+
"
8+
RUST_MIN_VER="1.88.0"
9+
10+
inherit cargo
11+
12+
DESCRIPTION="Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI"
13+
HOMEPAGE="https://github.com/erebe/wstunnel/"
14+
SRC_URI="https://github.com/erebe/wstunnel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15+
SRC_URI+=" https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/${P}/${P}-crates.tar.xz"
16+
17+
LICENSE="BSD"
18+
# Autogenerated by pycargoebuild
19+
# Dependent crate licenses
20+
LICENSE+="
21+
Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 ISC MIT openssl
22+
Unicode-3.0 ZLIB
23+
"
24+
SLOT="0"
25+
KEYWORDS="~amd64"
26+
27+
QA_FLAGS_IGNORED="usr/bin/wstunnel"
28+
29+
pkg_setup() {
30+
# see bug #965963
31+
export CARGO_PROFILE_RELEASE_LTO=off
32+
33+
rust_pkg_setup
34+
}
35+
36+
src_compile() {
37+
cargo_src_compile --package wstunnel-cli
38+
}
39+
40+
src_test() {
41+
local CARGO_SKIP_TESTS=(
42+
# needs docker
43+
tests::test_proxy_connection
44+
)
45+
cargo_src_test --no-fail-fast
46+
}
47+
48+
src_install() {
49+
cargo_src_install --path wstunnel-cli
50+
local DOCS+=( README.md docs/*.md )
51+
einstalldocs
52+
}

0 commit comments

Comments
 (0)