git: 30099ec5ca4a - 2026Q3 - net/redpanda-connect: Set the version at build time
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Sep 2026 10:37:55 UTC
The branch 2026Q3 has been updated by olgeni:
URL: https://cgit.FreeBSD.org/ports/commit/?id=30099ec5ca4a6136a02dcd90cbeb960cd02b24ed
commit 30099ec5ca4a6136a02dcd90cbeb960cd02b24ed
Author: Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2026-08-28 22:16:14 +0000
Commit: Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2026-09-11 10:37:46 +0000
net/redpanda-connect: Set the version at build time
(cherry picked from commit afd3efee4bdfaedd4962bc5d23799f4263253779)
---
net/redpanda-connect/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/redpanda-connect/Makefile b/net/redpanda-connect/Makefile
index 09e5245ee18d..c012f419d569 100644
--- a/net/redpanda-connect/Makefile
+++ b/net/redpanda-connect/Makefile
@@ -1,6 +1,7 @@
PORTNAME= connect
DISTVERSIONPREFIX= v
DISTVERSION= 4.107.0
+PORTREVISION= 1
CATEGORIES= net
PKGNAMEPREFIX= redpanda-
@@ -23,6 +24,7 @@ USE_RC_SUBR= redpanda_connect
GO_MODULE= github.com/redpanda-data/connect/v4
GO_TARGET= ./cmd/redpanda-connect
+GO_LDFLAGS= -X main.Version=${DISTVERSION}
ETCDIR= ${PREFIX}/etc/${PKGNAMEPREFIX}${PORTNAME}