Date: Mon, 7 Oct 2024 07:37:51 GMT From: Zsolt Udvari <uzsolt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 858917c7c36f - main - net/krakend-ce: Update to 2.7.2 Message-ID: <202410070737.4977bppr026642@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=858917c7c36f2926c3c935945f8e1c38a8a80941 commit 858917c7c36f2926c3c935945f8e1c38a8a80941 Author: Älven <alster@vinterdalen.se> AuthorDate: 2024-10-07 07:33:30 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-10-07 07:37:01 +0000 net/krakend-ce: Update to 2.7.2 Add TEST_TARGET and patch with fix of default path to the krakend bin. Use go 1.23. Changelog: https://github.com/krakend/krakend-ce/releases/tag/v2.7.2 PR: 281739 Approved by: submitter is maintainer --- net/krakend-ce/Makefile | 13 +++++++------ net/krakend-ce/distinfo | 10 +++++----- net/krakend-ce/files/patch-tests_integration.go | 11 +++++++++++ 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/net/krakend-ce/Makefile b/net/krakend-ce/Makefile index 51385b34a2b1..9936106f4407 100644 --- a/net/krakend-ce/Makefile +++ b/net/krakend-ce/Makefile @@ -1,6 +1,6 @@ PORTNAME= krakend-ce DISTVERSIONPREFIX= v -DISTVERSION= 2.7.1 +DISTVERSION= 2.7.2 CATEGORIES= net MAINTAINER= alster@vinterdalen.se @@ -10,17 +10,18 @@ WWW= https://github.com/krakend/krakend-ce/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_armv7= vendor/github.com/krakendio/krakend-amqp/v2/consumer.go:47:20: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows) -NOT_FOR_ARCHS= i386 -NOT_FOR_ARCHS_REASON= Build failure: math.MaxInt64 overflow +NOT_FOR_ARCHS= armv7 i386 +NOT_FOR_ARCHS_REASON= Build failure: vendor/github.com/krakendio/krakend-amqp/v2/consumer.go:47:20: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows) + +USES= go:1.23,modules -USES= go:1.22,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}" +TEST_TARGET= test + PLIST_FILES= bin/${PORTNAME} .include <bsd.port.mk> diff --git a/net/krakend-ce/distinfo b/net/krakend-ce/distinfo index 030564cb5b69..ac506f80e8f7 100644 --- a/net/krakend-ce/distinfo +++ b/net/krakend-ce/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1726129974 -SHA256 (go/net_krakend-ce/krakend-ce-v2.7.1/v2.7.1.mod) = c733cb1d157ff6a9e3dbfea78a48a4ceeb97d8a2e2eb6be80bce80b4e083ace2 -SIZE (go/net_krakend-ce/krakend-ce-v2.7.1/v2.7.1.mod) = 14935 -SHA256 (go/net_krakend-ce/krakend-ce-v2.7.1/v2.7.1.zip) = da4751fe49ca13fe4d57aa48820d7d7a9c494f74519a89d298dbc1e60fd0381d -SIZE (go/net_krakend-ce/krakend-ce-v2.7.1/v2.7.1.zip) = 136804 +TIMESTAMP = 1727414977 +SHA256 (go/net_krakend-ce/krakend-ce-v2.7.2/v2.7.2.mod) = fdb4b8fbd238ce3dd6e8413380e32e804f3d6c659d7edd840341f92d6ede61cb +SIZE (go/net_krakend-ce/krakend-ce-v2.7.2/v2.7.2.mod) = 14959 +SHA256 (go/net_krakend-ce/krakend-ce-v2.7.2/v2.7.2.zip) = a964651aa427f9eafeab0e5433c08b2b5d6f7681a21a65da72c06fa32d3fcba3 +SIZE (go/net_krakend-ce/krakend-ce-v2.7.2/v2.7.2.zip) = 138762 diff --git a/net/krakend-ce/files/patch-tests_integration.go b/net/krakend-ce/files/patch-tests_integration.go new file mode 100644 index 000000000000..c6421df955c7 --- /dev/null +++ b/net/krakend-ce/files/patch-tests_integration.go @@ -0,0 +1,11 @@ +--- tests/integration.go.orig 1979-11-29 20:00:00 UTC ++++ tests/integration.go +@@ -25,7 +25,7 @@ var ( + ) + + var ( +- defaultBinPath *string = flag.String("krakend_bin_path", ".././krakend", "The default path to the krakend bin") ++ defaultBinPath *string = flag.String("krakend_bin_path", "../../../../../bin/krakend-ce", "The default path to the krakend bin") + defaultSpecsPath *string = flag.String("krakend_specs_path", "./fixtures/specs", "The default path to the specs folder") + defaultBackendPort *int = flag.Int("krakend_backend_port", 8081, "The port for the mocked backend api") + defaultCfgPath *string = flag.String(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410070737.4977bppr026642>