git: 34e132dfa321 - main - net/redpanda-connect: update to version 4.37.0

From: Jimmy Olgeni <olgeni_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 14:27:15 UTC
The branch main has been updated by olgeni:

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

commit 34e132dfa3212373ff74f121458c30f41cbaab6d
Author:     Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2024-10-02 13:43:04 +0000
Commit:     Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2024-10-02 14:26:46 +0000

    net/redpanda-connect: update to version 4.37.0
---
 net/redpanda-connect/Makefile                                |  3 +--
 net/redpanda-connect/distinfo                                | 10 +++++-----
 .../files/patch-internal_impl_redis_client.go                | 11 -----------
 .../files/remove-enterprise-connectors.patch                 | 12 +++++++++---
 4 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/net/redpanda-connect/Makefile b/net/redpanda-connect/Makefile
index 42a4b98b8beb..1363ac3f81ef 100644
--- a/net/redpanda-connect/Makefile
+++ b/net/redpanda-connect/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	connect
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.31.0
-PORTREVISION=	1
+DISTVERSION=	4.37.0
 CATEGORIES=	net
 PKGNAMEPREFIX=	redpanda-
 
diff --git a/net/redpanda-connect/distinfo b/net/redpanda-connect/distinfo
index fbd1824f8302..c9db3a63b70b 100644
--- a/net/redpanda-connect/distinfo
+++ b/net/redpanda-connect/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1721468014
-SHA256 (go/net_redpanda-connect/connect-v4.31.0/v4.31.0.mod) = 79dbee1066f8bd7df96683d766b10ed944c222a53374983be1c9764fc561bad3
-SIZE (go/net_redpanda-connect/connect-v4.31.0/v4.31.0.mod) = 17982
-SHA256 (go/net_redpanda-connect/connect-v4.31.0/v4.31.0.zip) = ca5ff1e4549a6ca383df0b3595d1951b1beab13f1f1d40ac86f5b653d077d39b
-SIZE (go/net_redpanda-connect/connect-v4.31.0/v4.31.0.zip) = 1670430
+TIMESTAMP = 1727863889
+SHA256 (go/net_redpanda-connect/connect-v4.37.0/v4.37.0.mod) = d7e26873cb68c14fc6b3025b019dd1d19d8765abf16393d87fd820f4f2d1f510
+SIZE (go/net_redpanda-connect/connect-v4.37.0/v4.37.0.mod) = 19927
+SHA256 (go/net_redpanda-connect/connect-v4.37.0/v4.37.0.zip) = 4615ea7678c71df30658f2859c2fb2608b6a89add1ccea1eddb2ab9fccfddce6
+SIZE (go/net_redpanda-connect/connect-v4.37.0/v4.37.0.zip) = 1933838
diff --git a/net/redpanda-connect/files/patch-internal_impl_redis_client.go b/net/redpanda-connect/files/patch-internal_impl_redis_client.go
deleted file mode 100644
index f9697c1afeab..000000000000
--- a/net/redpanda-connect/files/patch-internal_impl_redis_client.go
+++ /dev/null
@@ -1,11 +0,0 @@
---- internal/impl/redis/client.go.orig	1979-11-29 23:00:00 UTC
-+++ internal/impl/redis/client.go
-@@ -21,7 +21,7 @@ Some cloud hosted instances of Redis (such as Azure Ca
- 	return []*service.ConfigField{
- 		service.NewURLField("url").
- 			Description("The URL of the target Redis server. Database is optional and is supplied as the URL path.").
--			Example("redis://:6397").
-+			Example("redis://:6379").
- 			Example("redis://localhost:6379").
- 			Example("redis://foousername:foopassword@redisplace:6379").
- 			Example("redis://:foopassword@redisplace:6379").
diff --git a/net/redpanda-connect/files/remove-enterprise-connectors.patch b/net/redpanda-connect/files/remove-enterprise-connectors.patch
index 2e8a75bc3e85..1b3285cf9d4d 100644
--- a/net/redpanda-connect/files/remove-enterprise-connectors.patch
+++ b/net/redpanda-connect/files/remove-enterprise-connectors.patch
@@ -1,11 +1,17 @@
---- public/components/all/package.go.orig	1979-11-30 00:00:00.000000000 +0100
-+++ public/components/all/package.go	2024-07-20 15:56:19.212115000 +0200
-@@ -21,8 +21,4 @@
+--- public/components/all/package.go.orig
++++ public/components/all/package.go
+@@ -15,14 +15,4 @@
  import (
  	// Import all community components.
  	_ "github.com/redpanda-data/connect/v4/public/components/community"
 -
 -	// Import all enterprise components.
+-	_ "github.com/redpanda-data/connect/v4/public/components/aws/enterprise"
+-	_ "github.com/redpanda-data/connect/v4/public/components/cohere"
+-	_ "github.com/redpanda-data/connect/v4/public/components/gcp/enterprise"
+-	_ "github.com/redpanda-data/connect/v4/public/components/kafka/enterprise"
+-	_ "github.com/redpanda-data/connect/v4/public/components/ollama"
+-	_ "github.com/redpanda-data/connect/v4/public/components/openai"
 -	_ "github.com/redpanda-data/connect/v4/public/components/snowflake"
 -	_ "github.com/redpanda-data/connect/v4/public/components/splunk"
  )