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,51 +1,50 @@ PORTNAME= connect DISTVERSIONPREFIX= v -DISTVERSION= 4.31.0 -PORTREVISION= 1 +DISTVERSION= 4.37.0 CATEGORIES= net PKGNAMEPREFIX= redpanda- MAINTAINER= olgeni@FreeBSD.org COMMENT= Stream processor for a wide array of data sources and sinks WWW= https://redpanda.com/blog/redpanda-connect # RCL license applies to the "snowflake" and "splunk" connectors LICENSE= APACHE20 RCL LICENSE_COMB= multi LICENSE_NAME_RCL= Redpanda Community License Agreement LICENSE_FILE_APACHE20= ${WRKSRC}/licenses/Apache-2.0.txt LICENSE_FILE_RCL= ${WRKSRC}/licenses/rcl.md LICENSE_PERMS_RCL= dist-mirror dist-sell pkg-mirror pkg-sell no-auto-accept LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= go:modules USE_RC_SUBR= redpanda_connect GO_MODULE= github.com/redpanda-data/connect/v4 GO_TARGET= ./cmd/redpanda-connect ETCDIR= ${PREFIX}/etc/${PKGNAMEPREFIX}${PORTNAME} # Redpanda Connect was formerly known as Benthos USERS= benthos GROUPS= benthos PLIST_FILES= bin/redpanda-connect \ "@dir(,,755) %%ETCDIR%%" \ "@sample %%ETCDIR%%/config.yaml.sample" OPTIONS_DEFINE= ENTERPRISE ENTERPRISE_DESC=Enable connectors under the RCL license .include post-patch: .if !${PORT_OPTIONS:MENTERPRISE} @${PATCH} -d ${WRKSRC} < ${FILESDIR}/remove-enterprise-connectors.patch .endif post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/config.yaml ${STAGEDIR}${ETCDIR}/config.yaml.sample .include 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" )