commit: e995c7eeb5033a4ab841326c0909499cfee6fdba Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Feb 1 06:37:40 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Feb 1 06:56:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e995c7ee
net-misc/websocat: add 1.14.0 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> net-misc/websocat/Manifest | 2 ++ net-misc/websocat/websocat-1.14.0.ebuild | 43 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-misc/websocat/Manifest b/net-misc/websocat/Manifest index 4e05ed20d233..436bec4fcc0e 100644 --- a/net-misc/websocat/Manifest +++ b/net-misc/websocat/Manifest @@ -2,3 +2,5 @@ DIST websocat-1.12.0-crates.tar.xz 24777476 BLAKE2B 39d3162438d4941db1de46f0a904 DIST websocat-1.12.0.tar.gz 165961 BLAKE2B e83675c1bd421add00a3a2409b51e98edacb52c018b3f617cc78808e14d8a2af0a7ce9d6db1a6ebc740a6c620213e70fb3dda91c2f8a9bcd9e93d05c8043b313 SHA512 043e175d557fee92d381ed1f1aa510056e1d59d0bd25c8f1cc9bf78c3ef59e9e76c5ac283f6bf4e8c9563365cd57deaf5e6f3b0040e6d680a9e8dc80ad931610 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/websocat-1.14.0.ebuild b/net-misc/websocat/websocat-1.14.0.ebuild new file mode 100644 index 000000000000..39df4258640f --- /dev/null +++ b/net-misc/websocat/websocat-1.14.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2025 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://dev.gentoo.org/~arthurzam/distfiles/net-misc/${PN}/${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 +}
