commit: 9a165bd38371936a003a07fd49b3a494527466fc Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Thu May 8 06:07:12 2025 +0000 Commit: Nicolas PARLANT <ppn <AT> parhuet <DOT> fr> CommitDate: Fri May 9 00:08:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a165bd3
net-misc/wstunnel: add 10.2.0 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> net-misc/wstunnel/Manifest | 2 ++ net-misc/wstunnel/wstunnel-10.2.0.ebuild | 43 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-misc/wstunnel/Manifest b/net-misc/wstunnel/Manifest index 265d168e1..bc9f98199 100644 --- a/net-misc/wstunnel/Manifest +++ b/net-misc/wstunnel/Manifest @@ -1,2 +1,4 @@ DIST wstunnel-10.1.11-crates.tar.xz 34790528 BLAKE2B 0a610f5ef5f9ae05a9d723a95089bf18cd7aaaebfc575f33167c7600495d4fb47eee9ed48e68ce0b25a9b74e32d62b079481dd8da138e387f65e28d8c8c224bb SHA512 55862002f3635fcf9ac31656853f79f06f647775f31805b8faa08a0d5d955081659ce59d6ec4b6543d14c06225292cbdb4d515b944db3c61f8c2ad5ab9e675fb DIST wstunnel-10.1.11.tar.gz 291192 BLAKE2B eb4ea4e19b56cd60f3f0d559dee6586bb83b463fa94b47cdac5c5cff1759e5806326f32961c0e60cdee847b53f6ffdee90fc4f0c1019b82d3a1210ddc1d8deaf SHA512 369cc82c2c71bf614a51f6952e7bbb080a512945ce7d7763e722710c78bc0dcfd569a493dea77358c8b9e596cf0e9df026774a715052bd5b19c3bf3bbc9699bc +DIST wstunnel-10.2.0-crates.tar.xz 34103388 BLAKE2B 03618ee3cf554e6df5e1ea320d4afeb31927baa8115e9bd203d97ceb8b64c00c47c7c34561571a710e0be22c07c77b7a0c818ad7b77f16d51740879aeb342710 SHA512 e6f07c00693e2ceea7befc25192813b2c27115eecdedcfc85f459fe715c63bf13e07a7d91557433572af005ac44af2f71eaba2ee61eabbeff1f654e42a5156c5 +DIST wstunnel-10.2.0.tar.gz 291521 BLAKE2B e8b02f18b3e924113a9e0b0e92493bda8632266550ebb81f428b23e0f6d40763011003c2870970a972db6c21e61a68ba706f41d3fd839a20e23744ccdc9f4082 SHA512 662d363c76831ad73dc3355541a39de890473c5802e99aa9b94164771d3ffd66b49d30abca7f520e11f07fd95282fd311494f0be0c88e158434c4375fd8ccc03 diff --git a/net-misc/wstunnel/wstunnel-10.2.0.ebuild b/net-misc/wstunnel/wstunnel-10.2.0.ebuild new file mode 100644 index 000000000..c57fe35d9 --- /dev/null +++ b/net-misc/wstunnel/wstunnel-10.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.85.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" + +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 +}
