BSD Ports

www/gwsocket 0.3_1 FreeBSD

RFC6455 compliant WebSocket Server

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
www
Package size
30.1 KiB, 56.7 KiB installed

Description

gwsocket is a simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server, written in C.

In the other systems

SystemPortVersion
FreeBSDwww/gwsocket0.3_1
DragonFlywww/gwsocket0.3_1

Install

Binary package:

pkg install gwsocket

From the ports tree:

cd /usr/ports/www/gwsocket/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gwsocket>0:www/gwsocket

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3_10.3_10.30.3_10.3_1
FreeBSD:14:quarterly0.3_10.3_1n/a0.3_10.3_1
FreeBSD:15:latest0.3_10.3_1n/a0.3_10.3_1
FreeBSD:15:quarterly0.3_10.3_1n/an/an/a
FreeBSD:16:latest0.3_10.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

Options name: www_gwsocket

OptionDefaultDescription
DEBUGoffBuild with debugging support
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
OPENSSLoffSSL/TLS support via OpenSSL
USES
compiler:c11 pkgconfig
Service scripts
gwsocket

Message after installing

To run gwsocket at startup, enable it in your /etc/rc.conf:
sysrc gwsocket_enable="YES"

To start gwsocket:
service gwsocket start

To configure gwsocket edit:
/usr/local/etc/gwsocket/gwsocket.conf

A client example can be found at /usr/local/share/examples/gwsocket/sample.html

To run multiple instances of gwsocket, enable it in your /etc/rc.conf:
sysrc gwsocket_multi_enable="YES"

An instance will be created for each *.conf file found in:
/usr/local/etc/gwsocket

Files

Manual pages 1
  • gwsocket(1)
pkg-plist 6
  • bin/gwsocket
  • share/man/man1/gwsocket.1.gz
  • share/examples/gwsocket/sample.html
  • @sample etc/gwsocket/gwsocket.conf.sample
  • @dir(,,)
  • @dir(,,)
distinfo 2
FileSizeSHA256
gwsocket-0.3.tar.gz146851b2a46bbbc99faaf2dd99095d81bc29128fe54298ba6f4f9203ec3d2e4cc4c528
3d4e1d1585e5aa54e9500f58efede57feeed7d3d.patch1518c9b34acbf596de86488aedb725be847c4478bb57eab62899d381c63966515235
Master sites 1
  • http://tar.gwsocket.io/

Commit history 0

No commits in the history this site was built from.