Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37517818
en ru br
ALT Linux repos
S:1.11.0-alt1

Group :: Networking/Other
RPM: websocat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: websocat
Version: 1.11.0
Release: alt1

Summary: Netcat, curl and socat for WebSockets

License: MIT
Group: Networking/Other
Url: https://github.com/vi/websocat

VCS: https://github.com/vi/websocat.git
Source: %name-%version.tar
Source1: vendor.tar
Source99: websocat.watch

BuildRequires(pre): /proc
BuildRequires(pre): rust-cargo
BuildRequires: libssl-devel
BuildRequires: perl-Pod-Usage

%description
%summary.

%prep
%setup -a1
mkdir .cargo
cat <<EOF >.cargo/config.toml
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF

%build
cargo build \
--release \
--features=seqpacket,signal_handler,ssl,unix_stdio \
--no-default-features \
#

%install
install -pm755 -D target/release/websocat %buildroot%_bindir/websocat

%check
cargo test
./test.sh

%files
%_bindir/websocat
%doc doc.md moreexamples.md

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin