diff --git a/net/redpanda-connect/Makefile b/net/redpanda-connect/Makefile index d319848cc2b8..17f0c6403f3e 100644 --- a/net/redpanda-connect/Makefile +++ b/net/redpanda-connect/Makefile @@ -1,51 +1,50 @@ PORTNAME= connect DISTVERSIONPREFIX= v -DISTVERSION= 4.30.1 -PORTREVISION= 1 +DISTVERSION= 4.31.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 c523a7359fd8..fbd1824f8302 100644 --- a/net/redpanda-connect/distinfo +++ b/net/redpanda-connect/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1718453438 -SHA256 (go/net_redpanda-connect/connect-v4.30.1/v4.30.1.mod) = 697dc23f4b880849d6ed498a715a366bf8fc8949ae004ea4f8dd5c8714b98ba9 -SIZE (go/net_redpanda-connect/connect-v4.30.1/v4.30.1.mod) = 17766 -SHA256 (go/net_redpanda-connect/connect-v4.30.1/v4.30.1.zip) = 1e95a3cb8874acc6ca6d6f2c40c6c152926090f4b3245a75029a866876b6f883 -SIZE (go/net_redpanda-connect/connect-v4.30.1/v4.30.1.zip) = 1485113 +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 diff --git a/net/redpanda-connect/files/remove-enterprise-connectors.patch b/net/redpanda-connect/files/remove-enterprise-connectors.patch index 6444fec482e9..2e8a75bc3e85 100644 --- a/net/redpanda-connect/files/remove-enterprise-connectors.patch +++ b/net/redpanda-connect/files/remove-enterprise-connectors.patch @@ -1,11 +1,11 @@ ---- public/components/all/package.go.orig -+++ public/components/all/package.go -@@ -45,8 +45,6 @@ - _ "github.com/redpanda-data/connect/v4/public/components/redis" - _ "github.com/redpanda-data/connect/v4/public/components/sentry" - _ "github.com/redpanda-data/connect/v4/public/components/sftp" +--- 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 @@ + 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/snowflake" - _ "github.com/redpanda-data/connect/v4/public/components/splunk" - _ "github.com/redpanda-data/connect/v4/public/components/sql" - _ "github.com/redpanda-data/connect/v4/public/components/statsd" - _ "github.com/redpanda-data/connect/v4/public/components/twitter" + )