git: 3d7c67ed7494 - main - New port: www/wslay: C WebSocket library
Yuri Victorovich
yuri at FreeBSD.org
Mon May 17 22:53:05 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7c67ed7494413599dd96091054151f80f8d2a4
commit 3d7c67ed7494413599dd96091054151f80f8d2a4
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-17 22:52:39 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-17 22:53:03 +0000
New port: www/wslay: C WebSocket library
---
www/Makefile | 1 +
www/wslay/Makefile | 25 +++++++++++++++++++++++++
www/wslay/distinfo | 3 +++
www/wslay/pkg-descr | 14 ++++++++++++++
www/wslay/pkg-plist | 6 ++++++
5 files changed, 49 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 2446907f5fd1..33d1a7b88f3a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2298,6 +2298,7 @@
SUBDIR += wordpress
SUBDIR += wpebackend-fdo
SUBDIR += wsdlpull
+ SUBDIR += wslay
SUBDIR += wsmake
SUBDIR += wt
SUBDIR += wuzz
diff --git a/www/wslay/Makefile b/www/wslay/Makefile
new file mode 100644
index 000000000000..3c1e7977cfdd
--- /dev/null
+++ b/www/wslay/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= wslay
+DISTVERSIONPREFIX= release-
+DISTVERSION= 1.1.1-22
+DISTVERSIONSUFFIX= -g45d2258
+CATEGORIES= www devel
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= C WebSocket library
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+TEST_DEPENDS= cunit>0:devel/cunit
+
+USES= cmake:testing
+
+USE_GITHUB= yes
+GH_ACCOUNT= tatsuhiro-t
+
+CMAKE_ON= WSLAY_SHARED
+CMAKE_OFF= WSLAY_STATIC
+
+CMAKE_TESTING_ON= WSLAY_TESTS
+
+.include <bsd.port.mk>
diff --git a/www/wslay/distinfo b/www/wslay/distinfo
new file mode 100644
index 000000000000..69518676c5f1
--- /dev/null
+++ b/www/wslay/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621290190
+SHA256 (tatsuhiro-t-wslay-release-1.1.1-22-g45d2258_GH0.tar.gz) = 69382bf5644d15627bfd1514eac686cdb40302410d603037c4176bee97fa8aac
+SIZE (tatsuhiro-t-wslay-release-1.1.1-22-g45d2258_GH0.tar.gz) = 57505
diff --git a/www/wslay/pkg-descr b/www/wslay/pkg-descr
new file mode 100644
index 000000000000..687b66c019ae
--- /dev/null
+++ b/www/wslay/pkg-descr
@@ -0,0 +1,14 @@
+Wslay is a WebSocket library written in C. It implements the protocol version 13
+described in RFC 6455. This library offers 2 levels of API: event-based API and
+frame-based low-level API. For event-based API, it is suitable for non-blocking
+reactor pattern style. You can set callbacks in various events. For frame-based
+API, you can send WebSocket frame directly. Wslay only supports data transfer
+part of WebSocket protocol and does not perform opening handshake in HTTP.
+
+Wslay supports:
+* Text/Binary messages.
+* Automatic ping reply.
+* Callback interface.
+* External event loop.
+
+WWW: https://github.com/tatsuhiro-t/wslay
diff --git a/www/wslay/pkg-plist b/www/wslay/pkg-plist
new file mode 100644
index 000000000000..df71549a96c7
--- /dev/null
+++ b/www/wslay/pkg-plist
@@ -0,0 +1,6 @@
+include/wslay/wslay.h
+include/wslay/wslayver.h
+lib/cmake/wslay/wslay-config.cmake
+lib/cmake/wslay/wslay-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/wslay/wslay.cmake
+lib/libwslay_shared.so
More information about the dev-commits-ports-all
mailing list