net-misc/wstunnel - 10.6.2 (guru)

Search

Install

Install this version:

emerge -a =net-misc/wstunnel-10.6.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/wstunnel-10.6.2

Or alternatively:

emerge --autounmask-write -a =net-misc/wstunnel-10.6.2

Package Information

Description:
Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI
Homepage:
https://github.com/erebe/wstunnel/
License:
BSD Apache-2.0 BSD CC0-1.0 ISC MIT openssl Unicode-3.0

Ebuild Details

Version EAPI Keywords Slot
10.6.2 8 ~amd64 0
View Raw Ebuild
# 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

# last update of Cargo.lock
CRATES_PV="10.6.2"
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/${PN}-${CRATES_PV}/${PN}-${CRATES_PV}-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"

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
}

Inherited Eclasses

Manifest for 10.6.2

Type File Size Source URLs
DIST wstunnel-10.6.2-crates.tar.xz 30420336 bytes https://raw.githubusercontent.com/PPN-SD/vendor/refs/tags/wstunnel-10.6.2/wstunnel-10.6.2-crates.tar.xz
DIST wstunnel-10.6.2.tar.gz 1722061 bytes https://github.com/erebe/wstunnel/archive/v10.6.2.tar.gz