git: f70a947b82a7 - main - net/krakend-ce: Update to 2.5.1

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 00:32:24 UTC
The branch main has been updated by jrm:

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

commit f70a947b82a71403e19391aa001f5a9782134b72
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-01-29 03:07:52 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-01-30 00:30:07 +0000

    net/krakend-ce: Update to 2.5.1
    
    Also, set some values in GO_BUILDFLAGS so that 'krankend-ce version'
    reports useful values.
    
    Changelog:      https://github.com/krakend/krakend-ce/compare/v2.5.0...v2.5.1
    Sponsored by:   The FreeBSD Foundation
---
 net/krakend-ce/Makefile |  5 ++++-
 net/krakend-ce/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net/krakend-ce/Makefile b/net/krakend-ce/Makefile
index b66ac0842e93..b6dfd5628125 100644
--- a/net/krakend-ce/Makefile
+++ b/net/krakend-ce/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	krakend-ce
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.5.0
+DISTVERSION=	2.5.1
 CATEGORIES=	net
 
 MAINTAINER=	jrm@FreeBSD.org
@@ -17,6 +17,9 @@ USES=		go:modules
 GO_MODULE=	github.com/krakendio/krakend-ce/v2
 GO_TARGET=	./cmd/${PORTNAME}
 
+GO_BUILDFLAGS=	-ldflags="-X github.com/luraproject/lura/v2/core.KrakendVersion=${DISTVERSION} \
+	-X github.com/luraproject/lura/v2/core.GoVersion=${GO_VERSION}"
+
 PLIST_FILES=	bin/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/net/krakend-ce/distinfo b/net/krakend-ce/distinfo
index 9a7f180b3c9e..4c03715b60fe 100644
--- a/net/krakend-ce/distinfo
+++ b/net/krakend-ce/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1702417616
-SHA256 (go/net_krakend-ce/krakend-ce-v2.5.0/v2.5.0.mod) = 933563afbf614a7974e93534be2565071b1fc784ed1e3ef7eccc5c7f287dfd2d
-SIZE (go/net_krakend-ce/krakend-ce-v2.5.0/v2.5.0.mod) = 13720
-SHA256 (go/net_krakend-ce/krakend-ce-v2.5.0/v2.5.0.zip) = 91825f65f740da42b9c8beaa7e3998f88f7997714f61001a15911c257c520370
-SIZE (go/net_krakend-ce/krakend-ce-v2.5.0/v2.5.0.zip) = 202860
+TIMESTAMP = 1706477952
+SHA256 (go/net_krakend-ce/krakend-ce-v2.5.1/v2.5.1.mod) = 94ba5d179ab921a3bb795305bc374151a3810ee7a00b2643901e14568f7c90f7
+SIZE (go/net_krakend-ce/krakend-ce-v2.5.1/v2.5.1.mod) = 13363
+SHA256 (go/net_krakend-ce/krakend-ce-v2.5.1/v2.5.1.zip) = 9eaf3f61bb061a03cf6105acc71c6a7d4b568044bc18600441f7fdf110031398
+SIZE (go/net_krakend-ce/krakend-ce-v2.5.1/v2.5.1.zip) = 150299