git: 68984e1d942b - main - net/gitlab-agent: update to 15.0.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Fri, 27 May 2022 17:19:10 UTC
The branch main has been updated by mfechner:

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

commit 68984e1d942b5bdfc682f9d191be8b3fe1ef72d6
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-05-27 16:05:17 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-05-27 17:18:32 +0000

    net/gitlab-agent: update to 15.0.0
    
    Required for gitlab-ce 15.0.0.
---
 net/gitlab-agent/Makefile | 17 +++++++++--------
 net/gitlab-agent/distinfo | 10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/net/gitlab-agent/Makefile b/net/gitlab-agent/Makefile
index 27751234d9c9..67e35d2c3992 100644
--- a/net/gitlab-agent/Makefile
+++ b/net/gitlab-agent/Makefile
@@ -1,9 +1,9 @@
 # Created by: Matthias Fechner <mfechner@FreeBSD.org>
 
 PORTNAME=	gitlab-agent
-PORTVERSION=	14.10.0
-PORTREVISION=	0
+PORTVERSION=	15.0.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	0
 CATEGORIES=	net
 
 MAINTAINER=	mfechner@FreeBSD.org
@@ -16,13 +16,15 @@ BUILD_DEPENDS=	git>=0:devel/git \
 		golangci-lint>=0:devel/golangci-lint
 
 USES=		go:modules
-GO_MODULE=	gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v14
+GO_MODULE=	gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v15
 
-GO_BUILDFLAGS=	-tags="tracer_static,tracer_static_jaeger" \
+_BUILD_DATE=	$$(date -u "+%Y-%m-%d-%H%M UTC")
+GO_BUILDFLAGS= -tags="tracer_static,tracer_static_jaeger" \
 		-ldflags=" \
-		-X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Version=v${PORTVERSION} \
-		-X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Commit=${GL_COMMIT:C/^(........).*/\1/}"
-GO_TARGET=	./cmd/kas
+		-X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v15/cmd.Version=v${PORTVERSION}' \
+		-X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v15/cmd.Commit=${GL_COMMIT:C/^(........).*/\1/}' \
+		-X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v15/cmd.BuildTime=${_BUILD_DATE}'"
+GO_TARGET=     ./cmd/kas
 
 PLIST_FILES=	bin/kas
 
@@ -30,4 +32,3 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/bin/kas ${STAGEDIR}${PREFIX}/bin/kas
 
 .include <bsd.port.mk>
-
diff --git a/net/gitlab-agent/distinfo b/net/gitlab-agent/distinfo
index 645c2c384d9c..ae2a2c179808 100644
--- a/net/gitlab-agent/distinfo
+++ b/net/gitlab-agent/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1650526649
-SHA256 (go/net_gitlab-agent/gitlab-agent-v14.10.0/v14.10.0.mod) = a9221c1ba4244dede5cd50f006e004349856256223f0b2f407a118eeaa0a7d65
-SIZE (go/net_gitlab-agent/gitlab-agent-v14.10.0/v14.10.0.mod) = 11686
-SHA256 (go/net_gitlab-agent/gitlab-agent-v14.10.0/v14.10.0.zip) = d8fb6316f453cd8a74585d949bc70b33af30e1d0e833f2f74c4b3a5a4a957028
-SIZE (go/net_gitlab-agent/gitlab-agent-v14.10.0/v14.10.0.zip) = 864280
+TIMESTAMP = 1653646746
+SHA256 (go/net_gitlab-agent/gitlab-agent-v15.0.0/v15.0.0.mod) = cac5859819f0393d8747737dc1392bfbb87596eed0d527a30c28da070d0cdbdd
+SIZE (go/net_gitlab-agent/gitlab-agent-v15.0.0/v15.0.0.mod) = 10773
+SHA256 (go/net_gitlab-agent/gitlab-agent-v15.0.0/v15.0.0.zip) = a681d06a1be6a4aa5b82c952ddca38fe04d5986f09be924009dbcade188a20f1
+SIZE (go/net_gitlab-agent/gitlab-agent-v15.0.0/v15.0.0.zip) = 846433