- Add websocketd 0.3.0

websocketd is the WebSocket daemon. It takes care of handling the
WebSocket connections, launching your programs to handle the WebSockets,
and passing messages between programs and web-browser.

PR:		226867
Approved by:	adamw
This commit is contained in:
Guangyuan Yang 2018-03-24 06:43:29 +00:00
parent 1a0cc25e3f
commit 6e3314f231
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465429
4 changed files with 40 additions and 0 deletions

View file

@ -2453,6 +2453,7 @@
SUBDIR += webreport
SUBDIR += webresolve
SUBDIR += websh
SUBDIR += websocketd
SUBDIR += webstats
SUBDIR += webstone
SUBDIR += webstone-ssl

26
www/websocketd/Makefile Normal file
View file

@ -0,0 +1,26 @@
# Created by: Guangyuan Yang <ygy@FreeBSD.org>
# $FreeBSD$
PORTNAME= websocketd
DISTVERSION= 0.3.0
CATEGORIES= www
MASTER_SITES= https://github.com/joewalnes/${PORTNAME}/releases/download/v${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-freebsd_${ARCH:S/i386/386/:S/x86_64/amd64/}
MAINTAINER= ygy@FreeBSD.org
COMMENT= Access any command-line tool via a WebSocket
LICENSE= BSD2CLAUSE
ONLY_FOR_ARCHS= amd64 i386
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
NO_BUILD= yes
USES= zip
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

5
www/websocketd/distinfo Normal file
View file

@ -0,0 +1,5 @@
TIMESTAMP = 1521782495
SHA256 (websocketd-0.3.0-freebsd_amd64.zip) = 89e3c0b007a643c870c6b59eecb611cb0757780fcabe402bbb6cbb190ab478be
SIZE (websocketd-0.3.0-freebsd_amd64.zip) = 2555193
SHA256 (websocketd-0.3.0-freebsd_386.zip) = b5de6e70273ba0be28b9ee3c76491f6502045def69c8acdf0db5142502439f1e
SIZE (websocketd-0.3.0-freebsd_386.zip) = 2404543

8
www/websocketd/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
websocketd is a small command-line tool that will wrap an existing command-line
interface program, and allow it to be accessed via a WebSocket.
WebSocket-capable applications can now be built very easily in any language. As
long as you can write an executable program that reads `STDIN` and writes to
`STDOUT`, you can build a WebSocket server.
WWW: http://websocketd.com/