1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

sysutils/tempo: Update 2.7.2 => 2.10.5

Changelog:
https://github.com/grafana/tempo/blob/v2.10.5/CHANGELOG.md

- Fix build with custom user/group not from UIDs/GIDs.
- Fix substitution in comments in rc script.

PR:		295525
Sponsored by:	UNIS Labs
Co-authored-by:	Vladimir Druzenko <vvd@FreeBSD.org>
This commit is contained in:
Daniel Morante
2026-05-24 01:37:36 +03:00
committed by Vladimir Druzenko
parent e85d11a07a
commit ae4db05349
4 changed files with 20 additions and 17 deletions
+8 -5
View File
@@ -1,7 +1,6 @@
PORTNAME= tempo
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.2
PORTREVISION= 13
DISTVERSION= 2.10.5
CATEGORIES= sysutils
MASTER_SITES+= https://raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/${DISTVERSIONFULL}/
PKGNAMEPREFIX= grafana-
@@ -14,7 +13,7 @@ WWW= https://github.com/grafana/tempo
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USES= go:1.26,modules
USE_GITHUB= yes
GH_ACCOUNT= grafana
GH_PROJECT= tempo
@@ -34,16 +33,20 @@ LD_FLAG_STRING= -s \
LD_FLAG_X_PREFIX= -X github.com/grafana/tempo/pkg/util/build
BUILD_USER?= ${USER}
TEMPO_USER?= tempo
TEMPO_GROUP?= tempo
TEMPO_USER?= ${PORTNAME}
TEMPO_GROUP?= ${PORTNAME}
TEMPO_DATADIR?= /var/db/${PORTNAME}
SUB_LIST= TEMPO_USER=${TEMPO_USER} \
TEMPO_GROUP=${TEMPO_GROUP} \
TEMPO_DATADIR=${TEMPO_DATADIR} \
.if ${TEMPO_USER} == ${PORTNAME}
USERS= ${TEMPO_USER}
.endif
.if ${TEMPO_GROUP} == ${PORTNAME}
GROUPS= ${TEMPO_GROUP}
.endif
PLIST_SUB= ${SUB_LIST}
+5 -5
View File
@@ -1,5 +1,5 @@
TIMESTAMP = 1749348766
SHA256 (go/sysutils_tempo/grafana-tempo-v2.7.2_GH0/go.mod) = 36fa642b1297b2c703e2a2a68908ec554b9b745ccc1b4b89a8bfb72f22d79262
SIZE (go/sysutils_tempo/grafana-tempo-v2.7.2_GH0/go.mod) = 20614
SHA256 (go/sysutils_tempo/grafana-tempo-v2.7.2_GH0/grafana-tempo-v2.7.2_GH0.tar.gz) = 17c66d1d101a08166777ff35f7937a7ab50e1fa6bb07e7dfc0ac229f235700bf
SIZE (go/sysutils_tempo/grafana-tempo-v2.7.2_GH0/grafana-tempo-v2.7.2_GH0.tar.gz) = 28123040
TIMESTAMP = 1779561193
SHA256 (go/sysutils_tempo/grafana-tempo-v2.10.5_GH0/go.mod) = 052e16bd8cd1be8fec66456c51da087e70c057210f80fa2883fde16e825e0f84
SIZE (go/sysutils_tempo/grafana-tempo-v2.10.5_GH0/go.mod) = 24032
SHA256 (go/sysutils_tempo/grafana-tempo-v2.10.5_GH0/grafana-tempo-v2.10.5_GH0.tar.gz) = a861edd57b72aeae753d5110aa38de54078a42e71dd77c3112f2487b2a85b317
SIZE (go/sysutils_tempo/grafana-tempo-v2.10.5_GH0/grafana-tempo-v2.10.5_GH0.tar.gz) = 28486326
@@ -1,6 +1,6 @@
--- example/docker-compose/shared/tempo.yaml.orig 2024-10-22 18:23:02 UTC
--- example/docker-compose/shared/tempo.yaml.orig 2025-01-01 00:00:00 UTC
+++ example/docker-compose/shared/tempo.yaml
@@ -36,22 +36,22 @@ metrics_generator:
@@ -33,20 +33,20 @@ metrics_generator:
registry:
external_labels:
source: tempo
@@ -18,10 +18,10 @@
storage:
trace:
backend: local # backend configuration to use
backend: local # backend configuration to use
wal:
- path: /var/tempo/wal # where to store the wal locally
+ path: /var/db/tempo/wal # where to store the wal locally
- path: /var/tempo/wal # where to store the wal locally
+ path: /var/db/tempo/wal # where to store the wal locally
local:
- path: /var/tempo/blocks
+ path: /var/db/tempo/blocks
+2 -2
View File
@@ -12,10 +12,10 @@
# Set to NO by default
# tempo_user (string):
# Set user that grafana will run under
# Default is "%%tempo_USER%%"
# Default is "%%TEMPO_USER%%"
# tempo_group (string):
# Set group that own grafana files
# Default is "%%tempo_GROUP%%"
# Default is "%%TEMPO_GROUP%%"
# tempo_config (string)
# Set full path to config file
# Default is "%%PREFIX%%/etc/tempo.yaml"