commit:     82bf3ca1216f46773ee95101d28be144bd196c82
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Apr  6 21:24:11 2025 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Sun Apr  6 21:29:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82bf3ca1

net-misc/wstunnel: new package, add 10.1.10

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 net-misc/wstunnel/Manifest                |  2 ++
 net-misc/wstunnel/metadata.xml            | 11 +++++++++
 net-misc/wstunnel/wstunnel-10.1.10.ebuild | 37 +++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/net-misc/wstunnel/Manifest b/net-misc/wstunnel/Manifest
new file mode 100644
index 000000000..a23aebe9b
--- /dev/null
+++ b/net-misc/wstunnel/Manifest
@@ -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

diff --git a/net-misc/wstunnel/metadata.xml b/net-misc/wstunnel/metadata.xml
new file mode 100644
index 000000000..689012bc5
--- /dev/null
+++ b/net-misc/wstunnel/metadata.xml
@@ -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>[email protected]</email>
+               <name>Nicolas PARLANT</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">erebe/wstunnel</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/net-misc/wstunnel/wstunnel-10.1.10.ebuild 
b/net-misc/wstunnel/wstunnel-10.1.10.ebuild
new file mode 100644
index 000000000..2d18375ce
--- /dev/null
+++ b/net-misc/wstunnel/wstunnel-10.1.10.ebuild
@@ -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
+}

Reply via email to