Date: Fri, 01 May 2026 05:25:15 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6bfa257f69aa - main - net/localgo: new port had been added (+) Message-ID: <69f4393b.23f12.6a0aad85@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bfa257f69aa0e6fd64031b3560aad1744105e4e commit 6bfa257f69aa0e6fd64031b3560aad1744105e4e Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2026-05-01 05:22:50 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> 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 <bsd.port.mk> + +_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 transferhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f4393b.23f12.6a0aad85>
