git: 729fae763076 - main - net/krakend-ce: New port

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 22:37:07 UTC
The branch main has been updated by jrm:

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

commit 729fae763076fd68950754c5649edac2287efe66
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-12-12 22:27:31 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-12-12 22:35:38 +0000

    net/krakend-ce: New port
    
    KrakenD is an extensible, ultra-high performance API Gateway that helps
    you effortlessly adopt microservices and secure communications.  It is
    easy to operate and scales out without a single point of
    failure.  KrakenD Community Edition (or KrakenD-CE) is the open-source
    distribution of KrakenD.
    
    https://github.com/krakend/krakend-ce/
    
    Sponsored by:   The FreeBSD Foundation
---
 net/Makefile             |  1 +
 net/krakend-ce/Makefile  | 22 ++++++++++++++++++++++
 net/krakend-ce/distinfo  |  5 +++++
 net/krakend-ce/pkg-descr |  6 ++++++
 4 files changed, 34 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 3456a6b0d402..645d783b9c5e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -341,6 +341,7 @@
     SUBDIR += kontactinterface
     SUBDIR += kpeoplevcard
     SUBDIR += kpimtextedit
+    SUBDIR += krakend-ce
     SUBDIR += krdc
     SUBDIR += krfb
     SUBDIR += krill
diff --git a/net/krakend-ce/Makefile b/net/krakend-ce/Makefile
new file mode 100644
index 000000000000..b66ac0842e93
--- /dev/null
+++ b/net/krakend-ce/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	krakend-ce
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.5.0
+CATEGORIES=	net
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	High-performance, stateless, declarative, API Gateway
+WWW=		https://github.com/krakend/krakend-ce/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+NOT_FOR_ARCHS=	i386
+NOT_FOR_ARCHS_REASON=	Build failure: math.MaxInt64 overflow
+
+USES=		go:modules
+GO_MODULE=	github.com/krakendio/krakend-ce/v2
+GO_TARGET=	./cmd/${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/krakend-ce/distinfo b/net/krakend-ce/distinfo
new file mode 100644
index 000000000000..9a7f180b3c9e
--- /dev/null
+++ b/net/krakend-ce/distinfo
@@ -0,0 +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
diff --git a/net/krakend-ce/pkg-descr b/net/krakend-ce/pkg-descr
new file mode 100644
index 000000000000..435ba3907b67
--- /dev/null
+++ b/net/krakend-ce/pkg-descr
@@ -0,0 +1,6 @@
+KrakenD is an extensible, ultra-high performance API Gateway that helps
+you effortlessly adopt microservices and secure communications.  It is
+easy to operate and scales out without a single point of failure.
+
+KrakenD Community Edition (or KrakenD-CE) is the open-source
+distribution of KrakenD.