git: a76c83ace4ac - main - net-mgmt/thanos: update 0.37.2 => 0.38.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 17 Apr 2025 22:59:22 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a76c83ace4ac177ec91940d6c1e61c47f8646620

commit a76c83ace4ac177ec91940d6c1e61c47f8646620
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2025-04-17 22:58:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-17 22:58:06 +0000

    net-mgmt/thanos: update 0.37.2 => 0.38.0
    
    * Switch Go 1.23 => 1.24
    * Sort Makefile entries
    
    Changelog:
    https://github.com/thanos-io/thanos/releases/tag/v0.38.0
    
    PR:     285885
---
 net-mgmt/thanos/Makefile | 10 +++++-----
 net-mgmt/thanos/distinfo | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/net-mgmt/thanos/Makefile b/net-mgmt/thanos/Makefile
index 0488ef1eba44..86925db2934a 100644
--- a/net-mgmt/thanos/Makefile
+++ b/net-mgmt/thanos/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	thanos
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.37.2
-PORTREVISION=	4
+DISTVERSION=	0.38.0
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	alster@vinterdalen.se
@@ -12,17 +11,18 @@ WWW=		https://thanos.io/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:1.23,modules
+USES=		go:1.24,modules
 
 GO_MODULE=	github.com/thanos-io/thanos
 GO_TARGET=	./cmd/${PORTNAME}
 GO_BUILDFLAGS=	-ldflags "\
 		-s -w \
-		-X github.com/prometheus/common/version.Version=${DISTVERSION} \
 		-X github.com/prometheus/common/version.Revision="18291a7" \
 		-X github.com/prometheus/common/version.Branch="master" \
+		-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE} \
 		-X github.com/prometheus/common/version.BuildUser=${USER} \
-		-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE}"
+		-X github.com/prometheus/common/version.Revision="0439da0" \
+		-X github.com/prometheus/common/version.Version=${DISTVERSION}"
 
 PLIST_FILES=	bin/${PORTNAME}
 
diff --git a/net-mgmt/thanos/distinfo b/net-mgmt/thanos/distinfo
index eb5a5ba7ec3e..59d0785f7547 100644
--- a/net-mgmt/thanos/distinfo
+++ b/net-mgmt/thanos/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1733947512
-SHA256 (go/net-mgmt_thanos/thanos-v0.37.2/v0.37.2.mod) = c0c9e4d86959671eaa7f3d9e207079f74cba206ad5c7df00931969023592c104
-SIZE (go/net-mgmt_thanos/thanos-v0.37.2/v0.37.2.mod) = 14761
-SHA256 (go/net-mgmt_thanos/thanos-v0.37.2/v0.37.2.zip) = 5156b5e21baf3b89e48304e32262b59069e7c8eb31bd4ec0c82c3c76d625c60b
-SIZE (go/net-mgmt_thanos/thanos-v0.37.2/v0.37.2.zip) = 28513018
+TIMESTAMP = 1743762799
+SHA256 (go/net-mgmt_thanos/thanos-v0.38.0/v0.38.0.mod) = a07ee190b2fc3249d9df901823a2e08d5cf11db1737a2c63c9c8abf6f6623d45
+SIZE (go/net-mgmt_thanos/thanos-v0.38.0/v0.38.0.mod) = 14756
+SHA256 (go/net-mgmt_thanos/thanos-v0.38.0/v0.38.0.zip) = 21b010d9c9871c41c8220333461a17d6c9cdf472fdec3759d401cadac54d4dd1
+SIZE (go/net-mgmt_thanos/thanos-v0.38.0/v0.38.0.zip) = 28589137