Install this version:
emerge -a =dev-nodejs/ws-8.13.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-nodejs/ws-8.13.0
Or alternatively:
emerge --autounmask-write -a =dev-nodejs/ws-8.13.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 8.13.0 | 8 | ~amd64 | 0 |
# Copyright 2022-2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit nodejs optfeature
DESCRIPTION="Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js"
HOMEPAGE="https://github.com/websockets/ws"
SRC_URI="https://github.com/websockets/ws/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
DOCS=( SECURITY.md README.md doc examples )
pkg_postinst() {
if has_version '<dev-lang/nodejs-18.14.0'; then
optfeature "(<nodejs-18.14.0) efficiently check if a message contains valid UTF-8" \
dev-nodejs/utf-8-validate
fi
optfeature "efficiently perform operations such as masking and unmasking" \
dev-nodejs/bufferutil
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ws-8.13.0.tar.gz | 80456 bytes | https://github.com/websockets/ws/archive/refs/tags/8.13.0.tar.gz |