net-misc/websocat - 1.13.0 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/websocat-1.13.0

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

autounmask =net-misc/websocat-1.13.0

Or alternatively:

emerge --autounmask-write -a =net-misc/websocat-1.13.0

Package Information

Description:
Command-line client for WebSockets, like netcat, with socat-like functions
Homepage:
https://github.com/vi/websocat
License:
MIT Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT Unicode-DFS-2016

Ebuild Details

Version EAPI Keywords Slot
1.13.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CRATES="traitobject@0.1.1"

inherit cargo

DESCRIPTION="Command-line client for WebSockets, like netcat, with socat-like functions"
HOMEPAGE="https://github.com/vi/websocat"
SRC_URI="https://github.com/vi/websocat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/net-misc/${PN}/${P}-crates.tar.xz"
SRC_URI+=" ${CARGO_CRATE_URIS}"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT
	Unicode-DFS-2016
"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ssl"
RESTRICT+=" test"

RDEPEND="
	ssl? (
		dev-libs/openssl:0=
	)
"
DEPEND="
	${RDEPEND}
"

PATCHES=(
	"${FILESDIR}"/${PN}-1.14.0-traitobject-lock.patch
)

QA_FLAGS_IGNORED="/usr/bin/websocat"

src_configure() {
	local myfeatures=(
		$(usex ssl ssl '')
		seqpacket
		signal_handler
		tokio-process
		unix_stdio
	)
	cargo_src_configure --no-default-features
}

src_install() {
	cargo_src_install
	dodoc *.md
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/websocat | euse -E <flag> -p net-misc/websocat | euse -D <flag> -p net-misc/websocat

Global/Standard Flags

ssl

Inherited Eclasses

Dependencies

DEPEND

	
	ssl? (
		dev-libs/openssl:0=
	)

RDEPEND

	ssl? (
		dev-libs/openssl:0=
	)

Manifest for 1.13.0

Type File Size Source URLs
DIST websocat-1.13.0-crates.tar.xz 26849464 bytes https://dev.gentoo.org/~arthurzam/distfiles/net-misc/websocat/websocat-1.13.0-crates.tar.xz
DIST websocat-1.13.0.tar.gz 175990 bytes https://github.com/vi/websocat/archive/v1.13.0.tar.gz