net-misc/websocketd - 0.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/websocketd-0.4.1

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

autounmask =net-misc/websocketd-0.4.1

Or alternatively:

emerge --autounmask-write -a =net-misc/websocketd-0.4.1

Package Information

Description:
Like inetd, but for WebSockets
Homepage:
https://github.com/joewalnes/websocketd
License:
BSD-2

Ebuild Details

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

EAPI=8

inherit go-module

DESCRIPTION="Like inetd, but for WebSockets"
HOMEPAGE="https://github.com/joewalnes/websocketd"
SRC_URI="
	https://github.com/joewalnes/websocketd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	CGO_ENABLED=0 ego build -o ${PN}
}

src_test() {
	ego test -work "./..."
}

src_install() {
	dobin ${PN}
	dodoc CHANGES README.md
	newman release/${PN}.man ${PN}.1
}

Inherited Eclasses

Manifest for 0.4.1

Type File Size Source URLs
DIST websocketd-0.4.1-deps.tar.xz 109852 bytes https://dev.gentoo.org/~zmedico/dist/websocketd-0.4.1-deps.tar.xz
DIST websocketd-0.4.1.tar.gz 46366 bytes https://github.com/joewalnes/websocketd/archive/refs/tags/v0.4.1.tar.gz