Created attachment 225127 [details] git patch for sysutils/loki-logcli New port with the LogCLI for Grafana Loki, the log aggregation system. Belongs to #256030 as the client side. Thanks Christopher
Upgrade to v2.5.0 is currently blocked by go1.18. the CLI would require a environment variable to be set if build with go1.18. Since it's discouraged to set GO_PORT in an individual port, I can't make it build with go1.17. I'd recommend to wait until the upstream version is using an updated version of go4.org/unsafe/assume-no-moving-gc. #256030 is not affected by this because the env variable can be set in the rc script.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a53efc77beaf0df89f1f9e9d3cfacb862140edeb commit a53efc77beaf0df89f1f9e9d3cfacb862140edeb Author: Christopher Beppler <freebsd@funzi.org> AuthorDate: 2022-07-18 12:14:07 +0000 Commit: Dmitri Goutnik <dmgk@FreeBSD.org> CommitDate: 2022-07-18 12:14:07 +0000 sysutils/loki: Update to 2.6.0 - Update to 2.6.0 - Add logcli, loki-canary and promtail Changes: https://github.com/grafana/loki/releases/tag/v2.6.0 PR: 265295 PR: 256031 PR: 265231 sysutils/loki/Makefile | 43 ++++++++++++++----------- sysutils/loki/distinfo | 78 +++++++++++++++++++++++++++------------------ sysutils/loki/files/loki.in | 3 -- sysutils/loki/pkg-plist | 3 ++ 4 files changed, 74 insertions(+), 53 deletions(-)