From nobody Mon Oct 7 07:37:51 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XMWG73JMnz5XSfB; Mon, 07 Oct 2024 07:37:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMWG72Rjyz4ppB; Mon, 7 Oct 2024 07:37:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728286671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cRiIyOw0XE3MTSBrAg5L3EdW7VQzZNF6XbJPNAWvCi4=; b=iHUAAB2hypAO4S8+SMwgqk5EJladzjgynX5jnXP0Q+Ydv4YdShX06J2Ribt5Zu9sv0UpZb 4fRU9rmXzf5RPqylt6/u7GkHKiLdz/rpnIc/tJo1Ujz91JoIjEys7HcEWH1QjAkh4Bsuyp GjHgu1Us5KxkQ+Sm53KM2Yc7rhb9odAb+1iKbQZ7oLtPz9KSLNSvHDJRkOg91b8fWajtf1 cwx7HbhGzDWQsNHeNpT0JdqzTa8T2YvdoYT+8Mx5qeeMhi7KhPK+SQC5+5s7AKGLjHiB62 NGDkS7DHUzWOn4hCgJAUZPL5FdPmS0E1tG3NuTCM/xqrN5t+7VfToLkMi0ip1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728286671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cRiIyOw0XE3MTSBrAg5L3EdW7VQzZNF6XbJPNAWvCi4=; b=SPMH2xdTYV7Bcj0JEW5JgL8Ho+jAwjKQcNpDlPMOgyboFl0A2dDq89Bz0lny1pU9UBnugy tHIJnp5TWtADgicwqC4Smx2UkuoETVX55VHB1iKXu9BmxVpmZghe/M+OPfqLNCzyKcK1qp +0DbZ7nMoSoEnxP978c/wletwYR+mlZVxERJWdUYoVCN4sURfD5VybUS9+/GdiJRO0qyst eU3+6xtMsEa1je39o/3AnDIeF2ZmoCJ/+nsRZA7U1smn8DBV1AGUe7aWxZtjbuPPXAhsCA SO0Z/z7MEVJXWrIjcyzzJYBYXsmbacMsNA58PvfLd+CMQTIIkd4X5WSRltVZvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728286671; a=rsa-sha256; cv=none; b=h6R/O/n3gqR4HZPPL3+yXxj9NugZGZrVOwFM9SabxHY0cHzHvOOm3gcZII1RmYoBJxRoW9 hynzAC3bXei35thYBWcMbMAGCLofh4H0+7MA8U7lqtxE/9L3G/SxYkT1RWnP1on89auE4J zmGpiSXtkF+05IuarWkCLI2+BAfzs8ZXqJzcUVTEESg1ESR78NgobpXeECOS5v3qX0bhTp 9off0B5mWj3BebQBb18058cJKKQTSX0NrRlCBTaF0/KXPQFrfMstPyTJL1ggfBDOkPZWFu ez0SEiWt6xDwVKkY/pSfyYC6v5SkEcrnWoedoa0Vajldrs/Ue20i+Rg+ICIVDw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XMWG71tR3zcwZ; Mon, 7 Oct 2024 07:37:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4977bpBH026645; Mon, 7 Oct 2024 07:37:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4977bppr026642; Mon, 7 Oct 2024 07:37:51 GMT (envelope-from git) Date: Mon, 7 Oct 2024 07:37:51 GMT Message-Id: <202410070737.4977bppr026642@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 858917c7c36f - main - net/krakend-ce: Update to 2.7.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 858917c7c36f2926c3c935945f8e1c38a8a80941 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=858917c7c36f2926c3c935945f8e1c38a8a80941 commit 858917c7c36f2926c3c935945f8e1c38a8a80941 Author: Älven AuthorDate: 2024-10-07 07:33:30 +0000 Commit: Zsolt Udvari 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 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(