From nobody Fri May 1 05:25:15 2026 X-Original-To: dev-commits-ports-main@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 4g6KHb4Wgcz6bs0T for ; Fri, 01 May 2026 05:25:15 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g6KHb3m9Zz3Nm8 for ; Fri, 01 May 2026 05:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777613115; 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=AjsBppwJH9tTxhgiPcd/ZJSUhwSKgZUtYX4IrPWwMgQ=; b=alT0llSZEokaSuqpABIFuABKvB38rl3exUD2W83u/SipdZZ2zgei/Jv6CD1RBqLvfSlPkY BMmUSrPUHhCMCiSYeJvRSteAEmL0rW1LHynBm/uRBEKMZWRcvWEdgkGfcaPFGqjEpDTF+D ttFX7yopjfwV/hNkl16AYeW4SiiSP61cYRV7MTLgp/ppOJfdABs8U/nj0esVlKlcEjZVs8 yadSCEOoGv+bNZgeO/kM20ujl77WugDt6Y2zf5phYktvKr9GZg34wJgDEsln71seU4Y8Fw aUCT0iiBL4RA8DloaFnVWxS14875K5LxY4FRVxErhPskafzRcNblu4847tcszw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777613115; a=rsa-sha256; cv=none; b=iTF0KKccsXMXrp508neCjsC7eVPPLzigpcqbHZ5+CgrOc8QKS9Hc4jTCXpzHWDV75Y8kCC 1PJ/vDiNgYvDP3gfnLXgiP+W7Z7fb4vkl4LxynWDAnnR6W/Jbub34LYu8gjZj388NinGqS 4Fhdb8t7aVmRzzWEWYqK5VHE+ZJR+HwIB2ljXuKG5S9Eh0Tu6BUszqJLlSQMr5JUNt7d51 8W5cd39a/knwIa02L7r8x6UzH7Q2ZG3Q1mJ1VAt+MHvzGXquNlI1NsTrLhgu4zkXvkPwbu iuN3Uu0arZ/T9R3k3tq1g8l/EfOEgXHbYJ4mH4LIOQlaaU1EthjtpJVETTTtCg== 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=1777613115; 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=AjsBppwJH9tTxhgiPcd/ZJSUhwSKgZUtYX4IrPWwMgQ=; b=oaA+s0+xS1oEd/eRUM5ovoRq5SS88KfyQYKFk4g/2v1H6sLg366cLzo2Chel9MS8K97mKc Xxq/svVhJr8FBdWQS9rRsfvAdHhym44M4mfkAZiCDhMN7tycca5z5/vgq/2D948QuHd3Kp 2vKzI0FgMkPHTz/VRe6dQLYSnJMYwfLU2oPtaPsBYufwdSzet9OTyJy7taOD8oiocLOTNn /Fkb5NCFqXRj1KdEiud/fLHYjjciE6Gzb3fSBstqyRrj5a5jaDnldZTxiVx57cmxY2tmmM CNRvxRMPqTW3ESuoLmIhE5F9k8bGnRQfSIKciHxT39dLF58kilhI1/hi2u280Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g6KHb2nNMzlQ7 for ; Fri, 01 May 2026 05:25:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 23f12 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 01 May 2026 05:25:15 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 6bfa257f69aa - main - net/localgo: new port had been added (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6bfa257f69aa0e6fd64031b3560aad1744105e4e Auto-Submitted: auto-generated Date: Fri, 01 May 2026 05:25:15 +0000 Message-Id: <69f4393b.23f12.6a0aad85@gitrepo.freebsd.org> The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bfa257f69aa0e6fd64031b3560aad1744105e4e commit 6bfa257f69aa0e6fd64031b3560aad1744105e4e Author: Alexey Dokuchaev AuthorDate: 2026-05-01 05:22:50 +0000 Commit: Alexey Dokuchaev CommitDate: 2026-05-01 05:22:50 +0000 net/localgo: new port had been added (+) Go implementation of LocalSend v2.1 protocol for secure, cross-platform file sharing. WWW: https://github.com/bethropolis/localgo --- net/Makefile | 1 + net/localgo/Makefile | 41 +++++++++++++++++++++++++++++++++++ net/localgo/distinfo | 29 +++++++++++++++++++++++++ net/localgo/files/modules.txt | 50 +++++++++++++++++++++++++++++++++++++++++++ net/localgo/pkg-descr | 11 ++++++++++ 5 files changed, 132 insertions(+) diff --git a/net/Makefile b/net/Makefile index 9ce217937266..ead981bbbaf1 100644 --- a/net/Makefile +++ b/net/Makefile @@ -455,6 +455,7 @@ SUBDIR += liveMedia SUBDIR += lla SUBDIR += lldap + SUBDIR += localgo SUBDIR += lua-luasocket SUBDIR += lualdap SUBDIR += mDNSResponder diff --git a/net/localgo/Makefile b/net/localgo/Makefile new file mode 100644 index 000000000000..b76e9f16c320 --- /dev/null +++ b/net/localgo/Makefile @@ -0,0 +1,41 @@ +PORTNAME= localgo +PORTVERSION= 0.3.8 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Go implementation of LocalSend v2.1 prototol +WWW= https://github.com/bethropolis/localgo + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= bethropolis +GH_TUPLE= \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ + golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ + golang:term:v0.28.0:golang_term/vendor/golang.org/x/term \ + google:uuid:v1.6.0:google_uuid/vendor/github.com/google/uuid \ + gorilla:mux:v1.8.1:gorilla_mux/vendor/github.com/gorilla/mux \ + mitchellh:colorstring:d06e56a500db:mitchellh_colorstring/vendor/github.com/mitchellh/colorstring \ + pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ + rivo:uniseg:v0.4.7:rivo_uniseg/vendor/github.com/rivo/uniseg \ + schollz:progressbar:v3.19.0:schollz_progressbar/vendor/github.com/schollz/progressbar/v3 \ + stretchr:testify:v1.10.0:stretchr_testify/vendor/github.com/stretchr/testify \ + uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr \ + uber-go:zap:v1.27.1:uber_go_zap/vendor/go.uber.org/zap + +GO_TARGET= ./cmd/${PORTNAME} +GO_BUILDFLAGS= -ldflags "-X main.Version=${PORVERSION} \ + -X main.GitCommit=4915afb -X main.BuildDate=${_GET_DATE:sh}" +PLIST_FILES= bin/${PORTNAME} + +post-extract: + @${LN} -sf ${FILESDIR}/modules.txt ${WRKSRC}/vendor + +.include + +_GET_DATE= TZ= ${STAT} -f %Sm -t %FT%TZ ${WRKSRC}/.gitignore diff --git a/net/localgo/distinfo b/net/localgo/distinfo new file mode 100644 index 000000000000..11b12fceb96d --- /dev/null +++ b/net/localgo/distinfo @@ -0,0 +1,29 @@ +TIMESTAMP = 1773157945 +SHA256 (bethropolis-localgo-v0.3.8_GH0.tar.gz) = 1ee8e2927c61f0f20fb3952607627b5f3da6806cf56ce0ec498267551cdbd570 +SIZE (bethropolis-localgo-v0.3.8_GH0.tar.gz) = 100291 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5 +SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173 +SHA256 (golang-sys-v0.29.0_GH0.tar.gz) = 7bac3e0a686a05d0e86ca110917b45f60553d6c146dba8a4cdafb911486428e7 +SIZE (golang-sys-v0.29.0_GH0.tar.gz) = 1519988 +SHA256 (golang-term-v0.28.0_GH0.tar.gz) = d51c19c748969584974813009910ff3c4f32a4d1798b9967d3129891bd7ff7be +SIZE (golang-term-v0.28.0_GH0.tar.gz) = 14692 +SHA256 (google-uuid-v1.6.0_GH0.tar.gz) = ee63376b5675376c60e055ed66e5f3651ccc703bd580c022b8ad00cea309252d +SIZE (google-uuid-v1.6.0_GH0.tar.gz) = 20896 +SHA256 (gorilla-mux-v1.8.1_GH0.tar.gz) = c2a09e78d1886abb2d291b472eba3ac9185acb35234c1f5616669664ba893d6d +SIZE (gorilla-mux-v1.8.1_GH0.tar.gz) = 47033 +SHA256 (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 2093d564392b9d6b752471ad0506ee20d4f8648cd96c179536fcb17a9b4d4137 +SIZE (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 4677 +SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda +SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 +SHA256 (rivo-uniseg-v0.4.7_GH0.tar.gz) = dc7aedce4a8c174b01df8406ff7d92779e2df76cee2ad17fa2ff6777feddadec +SIZE (rivo-uniseg-v0.4.7_GH0.tar.gz) = 458088 +SHA256 (schollz-progressbar-v3.19.0_GH0.tar.gz) = 0fe0277fc83fcbd628b967c2733fbe581f84ffec30d769735f018994ee5af333 +SIZE (schollz-progressbar-v3.19.0_GH0.tar.gz) = 1041330 +SHA256 (stretchr-testify-v1.10.0_GH0.tar.gz) = 06af5143ab5fc8f2fbf3d1420a5f002f6383cd7de911698dbd1822beacb27684 +SIZE (stretchr-testify-v1.10.0_GH0.tar.gz) = 112732 +SHA256 (uber-go-multierr-v1.11.0_GH0.tar.gz) = 8aa599cf7de733306cf8770f854f8a38e6c819b1ae4296f15e44b1e7c6698f34 +SIZE (uber-go-multierr-v1.11.0_GH0.tar.gz) = 16900 +SHA256 (uber-go-zap-v1.27.1_GH0.tar.gz) = 772019ee25101643463bc47aa2386806da5c181e5c1fc8066224f5f95ec7def5 +SIZE (uber-go-zap-v1.27.1_GH0.tar.gz) = 269171 diff --git a/net/localgo/files/modules.txt b/net/localgo/files/modules.txt new file mode 100644 index 000000000000..cfa06914f279 --- /dev/null +++ b/net/localgo/files/modules.txt @@ -0,0 +1,50 @@ +# github.com/davecgh/go-spew v1.1.1 +## explicit +github.com/davecgh/go-spew/spew +# github.com/google/uuid v1.6.0 +## explicit +github.com/google/uuid +# github.com/gorilla/mux v1.8.1 +## explicit; go 1.20 +github.com/gorilla/mux +# github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db +## explicit +github.com/mitchellh/colorstring +# github.com/pmezard/go-difflib v1.0.0 +## explicit +github.com/pmezard/go-difflib/difflib +# github.com/rivo/uniseg v0.4.7 +## explicit; go 1.18 +github.com/rivo/uniseg +# github.com/schollz/progressbar/v3 v3.19.0 +## explicit; go 1.22 +github.com/schollz/progressbar/v3 +# github.com/stretchr/testify v1.10.0 +## explicit; go 1.17 +github.com/stretchr/testify/assert +github.com/stretchr/testify/assert/yaml +# go.uber.org/multierr v1.11.0 +## explicit; go 1.19 +go.uber.org/multierr +# go.uber.org/zap v1.27.1 +## explicit; go 1.19 +go.uber.org/zap +go.uber.org/zap/buffer +go.uber.org/zap/internal +go.uber.org/zap/internal/bufferpool +go.uber.org/zap/internal/color +go.uber.org/zap/internal/exit +go.uber.org/zap/internal/pool +go.uber.org/zap/internal/stacktrace +go.uber.org/zap/zapcore +# golang.org/x/sys v0.29.0 +## explicit; go 1.18 +golang.org/x/sys/plan9 +golang.org/x/sys/unix +golang.org/x/sys/windows +# golang.org/x/term v0.28.0 +## explicit; go 1.18 +golang.org/x/term +# gopkg.in/yaml.v3 v3.0.1 +## explicit +gopkg.in/yaml.v3 diff --git a/net/localgo/pkg-descr b/net/localgo/pkg-descr new file mode 100644 index 000000000000..10ff40b7c652 --- /dev/null +++ b/net/localgo/pkg-descr @@ -0,0 +1,11 @@ +Go implementation of the LocalSend v2.1 protocol for secure, +cross-platform file sharing. + +* Complete LocalSend v2.1 Protocol -- Works with LocalSend apps +* Secure -- HTTPS with certificates, optional PIN protection +* Fast Discovery -- Multicast UDP + HTTP fallback +* Multi-file Transfers -- Send multiple files concurrently +* Web Share -- Share files via browser download link +* Clipboard Integration -- Incoming text/plain transfers copied + to clipboard automatically +* Metadata Preserved -- File timestamps preserved on transfer