mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
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>
This commit is contained in:
2 files changed
+54
No files matched your search
@@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST wstunnel-10.5.3-crates.tar.xz 30955744 BLAKE2B 378bc499774a7e0d4f1cfd3f07094a0d2dc41f2b9a52b2297ae1d0797db61c2808686978d8a8bf98f3f3ca5a6c724dd7c0bb6113161980e02f2de0d0113f692f SHA512 8f6ace449b4009e7c63eb8dedd5d5314e15ba0e53b644e9792783f9dc25b45f0852ea4d334f44da4bb947f596d4ec15abf6179a4d41f26b4a872124b78aa6858
|
||||
DIST wstunnel-10.5.3.tar.gz 1721587 BLAKE2B 401154e2292f341af949ac4dbbf820fc60725389267bc0e76057d9484eaecc543af6860e99893edc4a87fdf093cc4a5b497aab6bdcd87b7e3f28f5be2bf684d8 SHA512 f9dfba07edb8a664e8d80b7cf48ff18a9d5789ec5137663cea43aaf8d3532850cc88fc7ffe77c2533f13701903371595a2606e3c8303bcf35b53ba47b992b6af
|
||||
@@ -0,0 +1,52 @@
|
||||
# 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 ZLIB
|
||||
"
|
||||
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() {
|
||||
local CARGO_SKIP_TESTS=(
|
||||
# needs docker
|
||||
tests::test_proxy_connection
|
||||
)
|
||||
cargo_src_test --no-fail-fast
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path wstunnel-cli
|
||||
local DOCS+=( README.md docs/*.md )
|
||||
einstalldocs
|
||||
}
|
||||
Reference in new issue
Block a user