From nobody Sun Sep 15 20:15:57 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X6K715SSvz5WtCL; Sun, 15 Sep 2024 20:15:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6K712X1Vz435s; Sun, 15 Sep 2024 20:15:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tHXASV+cLruZFXGOJUku1kEN/NN/JO+6DMBqb33ChfE=; b=q7Tzh29IydFYFnggYRlubajnmWo3smI68y5X+V6RdmfwJr4GM8iNvYSHB+11IqtlxbuGaa s119rwKon1Toz9eh+A/AD08C4XrgiHII+Qck3Bn3lLPs001V0t27o8SlO/wDUhtafaRbcN 1ISeoepOBSBi6AQy/1+GOO4fR+5mtywVhkjH3ZEXOHDu28GLgogADlaKxdK3wpCZUekhum swC+V0es68iMMKjXH0sCQNjzxXaZTfjSY8Q4kRNcJhQEo8k/INWe1DrQi7PpNxw47qAjNT x78ST4II4vbrUy9XqlbWVl19WPbdBjV47abQe7coJEk5OCPob42vPFc5w37TQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726431357; a=rsa-sha256; cv=none; b=Arr1IcONdnXmFEOT9QOcaPtdaSoKmF0U0YUKAWLjKM+GrXgIzbXUaf82xK/FHdCZ5xgJVs 4e7bYovoT5chUqLlwuBuI842Dog+9aBg0+fzYId7uuyKLe/yTX00BDY752TzlKAR+5MLbR 4lYTcEKbdgcVUYad0xbrDMi00Tqrt2UTv2EuRL1DKYgvooav0vUnb8fI9nFK7158l2XjHA hnGLV5gKHngXZHvDqoywnMEj1t2tg/30KLVFzrUnnTHyVpux8T8AyNxI3DrI1gYSb0Kr/c LqQxENBAwWT0cDNDeQXdfuZobnE2o5jmS2xBhhMqky5JFXL9IxyZVuLQGtQKZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726431357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tHXASV+cLruZFXGOJUku1kEN/NN/JO+6DMBqb33ChfE=; b=PGqzdXB/7bA1/rkQBfblmme3h1kkUnWbG0a3khxPOT9b1+TqcB/Hf2J0M6TZMV67pSUytF KXYrVzjA+xcJYApAK0ahIavlietpSYrqpPXdvrJC0ZI1h5CfQBGoJOrGVKTa87fUdbDJbn WKWaRojkxYjXxFOVU068wPJrkXlRwBa/gpTuqg0maGc5BXDbWao20gFythnwzF9Dm0d3AO jmPpZiI3nmNLMNmqexeL0CmBaWsryQOMzx7G4ccPdftlyrHNetmj3cCikVtc8yW+p7GkU8 kepW8tHSZQYCtFUkAkTmw59yU7Pm14R9wGDG94siGCwUqYJBNQwY+hkMPE8M7w== 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 4X6K71284KzPYp; Sun, 15 Sep 2024 20:15:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48FKFvEX081437; Sun, 15 Sep 2024 20:15:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48FKFvYt081434; Sun, 15 Sep 2024 20:15:57 GMT (envelope-from git) Date: Sun, 15 Sep 2024 20:15:57 GMT Message-Id: <202409152015.48FKFvYt081434@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5231fb73762d - main - www/websocketd: Convert to USES=go:modules List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5231fb73762d9b62af1a720b5f82fd806f4dfb6f Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5231fb73762d9b62af1a720b5f82fd806f4dfb6f commit 5231fb73762d9b62af1a720b5f82fd806f4dfb6f Author: Po-Chuan Hsieh AuthorDate: 2024-09-15 19:42:50 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-15 20:09:38 +0000 www/websocketd: Convert to USES=go:modules - Update COMMENT - Update WWW - Remove unnecessary substitution - Update pkg-descr - Bump PORTREVISION for package change --- www/websocketd/Makefile | 16 ++++++++-------- www/websocketd/distinfo | 10 +++++----- www/websocketd/pkg-descr | 8 +++++--- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/www/websocketd/Makefile b/www/websocketd/Makefile index a25c1bac628b..1e793b8712c9 100644 --- a/www/websocketd/Makefile +++ b/www/websocketd/Makefile @@ -1,21 +1,21 @@ PORTNAME= websocketd +PORTVERSION= 0.4.1 DISTVERSIONPREFIX= v -DISTVERSION= 0.4.1 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Access any command-line tool via a WebSocket -WWW= http://websocketd.com/ +COMMENT= Turn any program that uses STDIN/STDOUT into a WebSocket server +WWW= http://websocketd.com/ \ + https://github.com/joewalnes/websocketd LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules -USE_GITHUB= yes -GH_ACCOUNT= joewalnes -GH_TUPLE= gorilla:websocket:v1.4.0:gorilla_websocket/vendor/github.com/gorilla/websocket -PLIST_FILES= bin/${PORTNAME} +GO_MODULE= github.com/joewalnes/websocketd + +PLIST_FILES= bin/websocketd .include diff --git a/www/websocketd/distinfo b/www/websocketd/distinfo index 6943fdd36161..abfd996bb5e4 100644 --- a/www/websocketd/distinfo +++ b/www/websocketd/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1619620958 -SHA256 (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 6b8fe0fad586d794e002340ee597059b2cfc734ba7579933263aef4743138fe5 -SIZE (joewalnes-websocketd-v0.4.1_GH0.tar.gz) = 46366 -SHA256 (gorilla-websocket-v1.4.0_GH0.tar.gz) = 2b5743c72bd0930c5a80e49c0138b5b7d27fa7c085efd0c86805cccfa7220c9d -SIZE (gorilla-websocket-v1.4.0_GH0.tar.gz) = 50228 +TIMESTAMP = 1726080953 +SHA256 (go/www_websocketd/websocketd-v0.4.1/v0.4.1.mod) = a0dd64dd22bc0456af68a3168b0abcb2a8f3c961f158abfebed4b9993d4a3bdd +SIZE (go/www_websocketd/websocketd-v0.4.1/v0.4.1.mod) = 95 +SHA256 (go/www_websocketd/websocketd-v0.4.1/v0.4.1.zip) = 3b0e44b23c96a2a31e21b098554fb13e6dea59889f75cf876a9ba033e2481d48 +SIZE (go/www_websocketd/websocketd-v0.4.1/v0.4.1.zip) = 90701 diff --git a/www/websocketd/pkg-descr b/www/websocketd/pkg-descr index b654597ceef0..9c6da1be88d9 100644 --- a/www/websocketd/pkg-descr +++ b/www/websocketd/pkg-descr @@ -1,6 +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. +WebSocket-capable applications can now be built very easily. As long as you can +write an executable program that reads STDIN and writes to STDOUT, you can build +a WebSocket server. Do it in Python, Ruby, Perl, Bash, .NET, C, Go, PHP, Java, +Clojure, Scala, Groovy, Expect, Awk, VBScript, Haskell, Lua, R, whatever! No +networking libraries necessary.