summaryrefslogtreecommitdiff
path: root/net-misc/websocat
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /net-misc/websocat
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'net-misc/websocat')
-rw-r--r--net-misc/websocat/Manifest5
-rw-r--r--net-misc/websocat/files/websocat-1.14.0-traitobject-lock.patch30
-rw-r--r--net-misc/websocat/metadata.xml13
-rw-r--r--net-misc/websocat/websocat-1.13.0-r1.ebuild56
-rw-r--r--net-misc/websocat/websocat-1.14.0.ebuild49
5 files changed, 153 insertions, 0 deletions
diff --git a/net-misc/websocat/Manifest b/net-misc/websocat/Manifest
new file mode 100644
index 000000000000..c1f335c5397e
--- /dev/null
+++ b/net-misc/websocat/Manifest
@@ -0,0 +1,5 @@
+DIST traitobject-0.1.1.crate 2411 BLAKE2B ee0398e4e79607111714edea6b9968ecec6302523e9112f4d25ab62f5111d9aae91ff1848c6ac094175953f9fb7e99abd707d557d1ee1d362dbc737f3f5031bd SHA512 48caf4b6f3b4e88a84fb34cc2262c05525f1efb42db1ddd9f19527dfc53c4e433ee5b0b23595f93b936117fd3672fb9500290f1e5960d5e064210f868b4116c2
+DIST websocat-1.13.0-crates.tar.xz 26849464 BLAKE2B d7be9a8db3c1774d7ed607d5ec5cdf6435fa9f2ac4dca7c23d7dc5c858f0301b103794707fec036318ef1287faa9ecdc795385439a71d7bbce28f2e746841ddd SHA512 2fc155c69c0c115e8c8298e9756bb92b905982b5212bd51ce82032babf145cef79451ca981c2378caf1b54980ef12b491c6d324bc6915bca63cfd23ef9fa1152
+DIST websocat-1.13.0.tar.gz 175990 BLAKE2B 287e869538246d9d5c62080aeb1627b0e8155585553800c0d639e2a8bebf9b4d65e3df35ff424c48076cdccbe79b54a15119793ae22cf68d1ce1774c0e795236 SHA512 119cb6d0c226ed4f1df86a42a26903ba8465db30e5d0908d4a28601a58636e9a906fbb44d2d811ec9b25103a8c48b4ccea8b31f2f61854d062bc436ac6afac78
+DIST websocat-1.14.0-crates.tar.xz 19274384 BLAKE2B 6da1d79f8820c5830c7d4ad5ef31523412f74241d087d707c2795cf1e42cf8b9011e81f4f6de04588e8f63042ee14ed0c01f554ebef1568ce3278430eb7215dc SHA512 f2ff7181225eb6c789f36dc0b7074d843e5b2b2c4f2682887846b68aff20865b917705d1ec4a3f04ae6711a1f0ca639be824b5adc4cd8aca5467fbe9dc69846f
+DIST websocat-1.14.0.tar.gz 159157 BLAKE2B 166b1205a4af1fc8cfc4fb2b2075b3fcea852a13e8a7bcd7a04a602f4bcbbde660d61841bbc84188891461a81974346721e5f64cbf33c055e9d7e0544c00ab84 SHA512 e9b583545408387bba90a92034a7a03038990f9b1ed2e68dd0414388c00542ec3f1190f09242b66cb73f336e723013a57a4e0d7bad8c691aa4af305d561ddadd
diff --git a/net-misc/websocat/files/websocat-1.14.0-traitobject-lock.patch b/net-misc/websocat/files/websocat-1.14.0-traitobject-lock.patch
new file mode 100644
index 000000000000..9c2004c2dba2
--- /dev/null
+++ b/net-misc/websocat/files/websocat-1.14.0-traitobject-lock.patch
@@ -0,0 +1,30 @@
+From upstream.
+https://bugs.gentoo.org/959621
+
+From d4455623e777231d69b029d69d7a17c0de2bafe7 Mon Sep 17 00:00:00 2001
+From: Vitaly _Vi Shukela <vi0oss@gmail.com>
+Date: Fri, 23 May 2025 21:37:00 +0200
+Subject: [PATCH] Update traitobject dependency to fix compilation on new Rust
+ versions
+
+Addresses #293.
+---
+ Cargo.lock | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -1768,9 +1768,9 @@ dependencies = [
+
+ [[package]]
+ name = "traitobject"
+-version = "0.1.0"
++version = "0.1.1"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
++checksum = "04a79e25382e2e852e8da874249358d382ebaf259d0d34e75d8db16a7efabbc7"
+
+ [[package]]
+ name = "typeable"
+--
+2.51.0
diff --git a/net-misc/websocat/metadata.xml b/net-misc/websocat/metadata.xml
new file mode 100644
index 000000000000..15677d9445fc
--- /dev/null
+++ b/net-misc/websocat/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/vi/websocat/issues</bugs-to>
+ <changelog>https://github.com/vi/websocat/commits/master</changelog>
+ <remote-id type="github">vi/websocat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/websocat/websocat-1.13.0-r1.ebuild b/net-misc/websocat/websocat-1.13.0-r1.ebuild
new file mode 100644
index 000000000000..18bdeec40d09
--- /dev/null
+++ b/net-misc/websocat/websocat-1.13.0-r1.ebuild
@@ -0,0 +1,56 @@
+# 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
+}
diff --git a/net-misc/websocat/websocat-1.14.0.ebuild b/net-misc/websocat/websocat-1.14.0.ebuild
new file mode 100644
index 000000000000..a261aa31c442
--- /dev/null
+++ b/net-misc/websocat/websocat-1.14.0.ebuild
@@ -0,0 +1,49 @@
+# 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 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}"/${P}-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
+}