diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
commit | b49088575eb777ced2551f484da86317332d6087 (patch) | |
tree | bf9a151cf2d61956340d555659ffc098ee1da466 /net-misc/websocketd | |
parent | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff) |
gentoo resync : 24.07.2021
Diffstat (limited to 'net-misc/websocketd')
-rw-r--r-- | net-misc/websocketd/Manifest | 5 | ||||
-rw-r--r-- | net-misc/websocketd/metadata.xml | 10 | ||||
-rw-r--r-- | net-misc/websocketd/websocketd-0.4.1.ebuild | 37 |
3 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/websocketd/Manifest b/net-misc/websocketd/Manifest new file mode 100644 index 000000000000..aad48e194840 --- /dev/null +++ b/net-misc/websocketd/Manifest @@ -0,0 +1,5 @@ +DIST github.com%2Fgorilla%2Fwebsocket%2F@v%2Fv1.4.0.mod 36 BLAKE2B 94a5b4cb6c6de32397f001dfc95c49960de212f67fbb6b4a1a4806f78cac88a2698c3c2e19b7e1cb64d07a3ad6caab25a1006bb4f51b65e1c62c5a12c77d8b9c SHA512 21ce8fb666af3c32e843c816626a7c4c0c63ed1f170c7a49eea4a2f40e28e4ba0105dad2e17aa527da7dc3eca198a20dbb6566e60ef48d7d7cf72413bc81d24a +DIST github.com%2Fgorilla%2Fwebsocket%2F@v%2Fv1.4.0.zip 73861 BLAKE2B ab1760636aad8ffa0aceb1720b6221debe9ddc6ef0c50d180cf5eb30d19a746acbe07ba3bb83047d7595a7e3060370c63ae6288fd2c57fa66a49e36492fc93da SHA512 6261d3ef4f67e239ad3a2d5b3a6b7b05254f6596ee7e9410c1e80de1b42047642286b2c0239b62ee769fbd2319c5aaeae595a1b9beb69abdd85504b53108bac8 +DIST websocketd-0.4.1.tar.gz 46366 BLAKE2B 8b2fd1b63736cb47363e512044cb22a6eaa726c471289dbd1a6b77733d64b3023eddadd47a82357aec4bcbe097ce2b90806284f4483a36d2cf446d4eef66c224 SHA512 8535637bdf8fecbc4340606b6096672420126c32ed9e68944593f577e6307c810caf654e76f7077bf119d6273c6eec4c4c21eb21bfd805d0b8f5549c626460e4 +EBUILD websocketd-0.4.1.ebuild 737 BLAKE2B 28d5c70abd78e4a81747dd2436324cefc8db766b2e0d311e43618024a36f0ebe3df7a039a6aea30615f086743fd6e9f4daa280fca9096d9ba6de858d8dc0da21 SHA512 095d9712dee37c00bf16dda7885a9304d0ce02bfc83849df3775db65d1b6d5b16029198b88eddd079e61bcfbcb8027e1c7b4d3337e7297fb0261ef199998200a +MISC metadata.xml 303 BLAKE2B 17c1847d16be705e0992719a1d8a425234bee05b26c73cf860689b2771ae8e2606bb96ea9e32dc72e3470b11c4490869e79d9202c3f81ff578ffb8e2a9f1c6b1 SHA512 631c3a3ac28da7ed40c715ad39baae39ca0cc74f0cc30d47cb0a1219ab361f5c463c187a5952aa30aac1123ed5862a0b902ad27655c9ba0f53cf52a77ed0746c diff --git a/net-misc/websocketd/metadata.xml b/net-misc/websocketd/metadata.xml new file mode 100644 index 000000000000..d7ed249b765a --- /dev/null +++ b/net-misc/websocketd/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">joewalnes/websocketd</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/websocketd/websocketd-0.4.1.ebuild b/net-misc/websocketd/websocketd-0.4.1.ebuild new file mode 100644 index 000000000000..a611fd44e054 --- /dev/null +++ b/net-misc/websocketd/websocketd-0.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +EGIT_COMMIT="v${PV}" +ARCHIVE_URI="https://github.com/joewalnes/websocketd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" +DESCRIPTION="Like inetd, but for WebSockets." +HOMEPAGE="https://github.com/joewalnes/websocketd" +SLOT="0" +LICENSE="BSD-2" + +EGO_SUM=( +"github.com/gorilla/websocket v1.4.0" +"github.com/gorilla/websocket v1.4.0/go.mod" +) + +go-module_set_globals +SRC_URI=" + ${ARCHIVE_URI} + ${EGO_SUM_SRC_URI} +" + +src_compile() { + GOBIN="${S}/bin" CGO_ENABLED=0 go install ./... || die +} + +src_test() { + go test -work "./..." || die +} + +src_install() { + dobin bin/${PN} + dodoc CHANGES README.md +} |