From owner-dev-commits-ports-all@freebsd.org Mon May 17 22:53:05 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2F72635A0D; Mon, 17 May 2021 22:53:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkZD156mSz4gFD; Mon, 17 May 2021 22:53:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 983AF1497F; Mon, 17 May 2021 22:53:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14HMr5jq087443; Mon, 17 May 2021 22:53:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14HMr5ls087442; Mon, 17 May 2021 22:53:05 GMT (envelope-from git) Date: Mon, 17 May 2021 22:53:05 GMT Message-Id: <202105172253.14HMr5ls087442@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 3d7c67ed7494 - main - New port: www/wslay: C WebSocket library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3d7c67ed7494413599dd96091054151f80f8d2a4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2021 22:53:05 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7c67ed7494413599dd96091054151f80f8d2a4 commit 3d7c67ed7494413599dd96091054151f80f8d2a4 Author: Yuri Victorovich AuthorDate: 2021-05-17 22:52:39 +0000 Commit: Yuri Victorovich 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@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 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