diff options
Diffstat (limited to 'net/redpanda-connect')
-rw-r--r-- | net/redpanda-connect/Makefile | 24 | ||||
-rw-r--r-- | net/redpanda-connect/distinfo | 10 | ||||
-rw-r--r-- | net/redpanda-connect/files/extra-patch-public_components_all_package.go (renamed from net/redpanda-connect/files/remove-enterprise-connectors.patch) | 12 |
3 files changed, 25 insertions, 21 deletions
diff --git a/net/redpanda-connect/Makefile b/net/redpanda-connect/Makefile index 46d6d169c3f0..fc02013018f9 100644 --- a/net/redpanda-connect/Makefile +++ b/net/redpanda-connect/Makefile @@ -1,7 +1,6 @@ PORTNAME= connect DISTVERSIONPREFIX= v -DISTVERSION= 4.38.0 -PORTREVISION= 2 +DISTVERSION= 4.63.0 CATEGORIES= net PKGNAMEPREFIX= redpanda- @@ -15,7 +14,8 @@ 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_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 @@ -30,20 +30,22 @@ ETCDIR= ${PREFIX}/etc/${PKGNAMEPREFIX}${PORTNAME} USERS= benthos GROUPS= benthos -PLIST_FILES= bin/redpanda-connect \ - "@dir(,,755) %%ETCDIR%%" \ - "@sample %%ETCDIR%%/config.yaml.sample" +PLIST_FILES= "@dir(,,755) %%ETCDIR%%" \ + "@sample %%ETCDIR%%/config.yaml.sample" \ + bin/redpanda-connect -OPTIONS_DEFINE= ENTERPRISE -ENTERPRISE_DESC=Enable connectors under the RCL license +OPTIONS_DEFINE= ENTERPRISE +ENTERPRISE_DESC= Enable connectors under the RCL license -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -post-patch: .if !${PORT_OPTIONS:MENTERPRISE} - @${PATCH} -d ${WRKSRC} < ${FILESDIR}/remove-enterprise-connectors.patch +EXTRA_PATCHES= ${FILESDIR}/extra-patch-public_components_all_package.go .endif +.include <bsd.port.pre.mk> + + post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/config.yaml ${STAGEDIR}${ETCDIR}/config.yaml.sample diff --git a/net/redpanda-connect/distinfo b/net/redpanda-connect/distinfo index 12a6a0a2bfd0..7927524f246d 100644 --- a/net/redpanda-connect/distinfo +++ b/net/redpanda-connect/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1729455945 -SHA256 (go/net_redpanda-connect/connect-v4.38.0/v4.38.0.mod) = 1133575da78c520fb3a64f3ad79e3bf9d5df02adbb3b131023b13402a4214aec -SIZE (go/net_redpanda-connect/connect-v4.38.0/v4.38.0.mod) = 20068 -SHA256 (go/net_redpanda-connect/connect-v4.38.0/v4.38.0.zip) = abaafe502942e21234ff3350181ff526cfc526d02abe9cfba8d64ee82bb41867 -SIZE (go/net_redpanda-connect/connect-v4.38.0/v4.38.0.zip) = 1957689 +TIMESTAMP = 1756802247 +SHA256 (go/net_redpanda-connect/connect-v4.63.0/v4.63.0.mod) = 33badbc44017dfad2b93750ec9e33e2eeaf56fc472fcd9c873e02e45c3894a9a +SIZE (go/net_redpanda-connect/connect-v4.63.0/v4.63.0.mod) = 24593 +SHA256 (go/net_redpanda-connect/connect-v4.63.0/v4.63.0.zip) = d10393fd3a96cc3b9c591f0bd88c2d28377941576ad7522e54e81dec70b71815 +SIZE (go/net_redpanda-connect/connect-v4.63.0/v4.63.0.zip) = 2852709 diff --git a/net/redpanda-connect/files/remove-enterprise-connectors.patch b/net/redpanda-connect/files/extra-patch-public_components_all_package.go index 1b3285cf9d4d..0e489a4c3db2 100644 --- a/net/redpanda-connect/files/remove-enterprise-connectors.patch +++ b/net/redpanda-connect/files/extra-patch-public_components_all_package.go @@ -1,17 +1,19 @@ --- public/components/all/package.go.orig +++ public/components/all/package.go -@@ -15,14 +15,4 @@ +@@ -15,16 +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/gateway" - _ "github.com/redpanda-data/connect/v4/public/components/gcp/enterprise" +- _ "github.com/redpanda-data/connect/v4/public/components/google" - _ "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/mongodb/enterprise" +- _ "github.com/redpanda-data/connect/v4/public/components/mysql" +- _ "github.com/redpanda-data/connect/v4/public/components/postgresql" +- _ "github.com/redpanda-data/connect/v4/public/components/slack" - _ "github.com/redpanda-data/connect/v4/public/components/snowflake" - _ "github.com/redpanda-data/connect/v4/public/components/splunk" ) |