net-misc/wstunnel: new package, add 10.1.10

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
Nicolas PARLANT
2025-04-06 21:24:11 +00:00
parent 4b5bb282cc
commit 82bf3ca121
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST wstunnel-10.1.10-crates.tar.xz 26428260 BLAKE2B 186c3f45579deddcfc5609e77e5b22b9914b14aef644f3fa11aae02ce21f085d4bf63da0d26e6f8f213c501d1a095b29c2b3697a47d5952e644546036a02848d SHA512 ebc4b94c920ef495419af987a8bab519ca9ca2e995d9d37276e3c367edbb734de28ff9a676dade103cff8b61946250e0c3259eda14401d556f1454c8bf41d2a7
DIST wstunnel-10.1.10.tar.gz 288615 BLAKE2B a2e8285e27c8aa2ab4b7bc4cd92ab2519f5b724d8616f735bddbf13b07fdd6e27d747289e6806fc04d1dec38cc4bbf924511b46b9c286d550a917c49a3d85c58 SHA512 33d7041ddbca03b78445d31875fc0cedfb1f156c4117b45d39c89b43880cbda02ff0eb15650ccb9a9ff2e68c3344828146851fd593dfe8db14360dacb531a909

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<upstream>
<remote-id type="github">erebe/wstunnel</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
"
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 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() {
dobin target/release/wstunnel
}