net-misc/websocat - 1.14.1 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/websocat-1.14.1

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

autounmask =net-misc/websocat-1.14.1

Or alternatively:

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

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 BSD-2 BSD ISC MIT Unicode-DFS-2016

Ebuild Details

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

EAPI=8

CRATES=""
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://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"

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

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

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.14.1

Type File Size Source URLs
DIST websocat-1.14.1.tar.gz 159962 bytes https://github.com/vi/websocat/archive/v1.14.1.tar.gz