diff options
Diffstat (limited to 'net/benthos')
-rw-r--r-- | net/benthos/Makefile | 34 | ||||
-rw-r--r-- | net/benthos/distinfo | 5 | ||||
-rw-r--r-- | net/benthos/files/benthos.in | 60 | ||||
-rw-r--r-- | net/benthos/files/config.yaml | 27 | ||||
-rw-r--r-- | net/benthos/files/patch-redis-port | 387 | ||||
-rw-r--r-- | net/benthos/pkg-descr | 15 |
6 files changed, 0 insertions, 528 deletions
diff --git a/net/benthos/Makefile b/net/benthos/Makefile deleted file mode 100644 index 94f689b7a936..000000000000 --- a/net/benthos/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -PORTNAME= benthos -DISTVERSIONPREFIX= v -DISTVERSION= 4.27.0 -PORTREVISION= 11 -CATEGORIES= net - -MAINTAINER= olgeni@FreeBSD.org -COMMENT= Stream processor for a wide array of data sources and sinks -WWW= https://www.benthos.dev/ - -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Superseded by net/redpanda-connect -EXPIRATION_DATE= 2025-09-11 - -USES= go:modules -USE_RC_SUBR= benthos - -GO_MODULE= github.com/benthosdev/benthos/v4 -GO_TARGET= ./cmd/benthos - -USERS= benthos -GROUPS= benthos - -PLIST_FILES= bin/benthos \ - "@dir(,,755) %%ETCDIR%%" \ - "@sample %%ETCDIR%%/config.yaml.sample" - -post-install: - @${MKDIR} ${STAGEDIR}${ETCDIR} - ${INSTALL_DATA} ${FILESDIR}/config.yaml ${STAGEDIR}${ETCDIR}/config.yaml.sample - -.include <bsd.port.mk> diff --git a/net/benthos/distinfo b/net/benthos/distinfo deleted file mode 100644 index f011bc43a9b7..000000000000 --- a/net/benthos/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1714921213 -SHA256 (go/net_benthos/benthos-v4.27.0/v4.27.0.mod) = 8fbe69c73f2e5da6b0169269b175adfe0edb34b33b401162960d04ef455933eb -SIZE (go/net_benthos/benthos-v4.27.0/v4.27.0.mod) = 17442 -SHA256 (go/net_benthos/benthos-v4.27.0/v4.27.0.zip) = 94b8ad0e6f6feb7138391c96580e9a3482f1a5e0f8631d4839ebd182b935e21e -SIZE (go/net_benthos/benthos-v4.27.0/v4.27.0.zip) = 3980482 diff --git a/net/benthos/files/benthos.in b/net/benthos/files/benthos.in deleted file mode 100644 index e042c13e5896..000000000000 --- a/net/benthos/files/benthos.in +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# PROVIDE: benthos -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to run NATS: -# -# benthos_enable (bool): Set it to "YES" to enable benthos. -# Default is "NO". -# benthos_user: User name to run as. default "benthos" -# benthos_group: Group name to run as. default "benthos" -# benthos_resources: Path to benthos resources files (glob). -# benthos_config: Path to benthos configuration file. -# benthos_watcher (bool): Set it to "YES" to enable benthos watcher mode. -# Default is "NO". -# benthos_options: Options to pass benthos -# (e.g. 'streams' for streams mode). -# - -. /etc/rc.subr - -name=benthos -rcvar=`set_rcvar` - -load_rc_config ${name} - -: ${benthos_enable:=NO} -: ${benthos_user:=benthos} -: ${benthos_group:=benthos} -: ${benthos_resources:=""} -: ${benthos_config:="%%PREFIX%%/etc/benthos/config.yaml"} -: ${benthos_watcher:=NO} -: ${benthos_options=""} - -if [ -n "${benthos_resources}" ]; then - benthos_options="--resources '${benthos_resources}' ${benthos_options}" -fi - -if [ -n "${benthos_config}" ]; then - benthos_options="--config ${benthos_config} ${benthos_options}" -fi - -if checkyesno benthos_watcher; then - benthos_options="--watcher ${benthos_options}" -fi - -start_precmd=benthos_start_precmd - -pidfile="/var/run/${name}.pid" -procname=%%PREFIX%%/bin/benthos -command=/usr/sbin/daemon -command_args="-p ${pidfile} ${procname} ${benthos_options}" - -benthos_start_precmd() -{ - install -o ${benthos_user} -g ${benthos_group} /dev/null ${pidfile} -} - -run_rc_command "$1" diff --git a/net/benthos/files/config.yaml b/net/benthos/files/config.yaml deleted file mode 100644 index 9cd7eb3128b1..000000000000 --- a/net/benthos/files/config.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# Sample configuration file for Benthos. It saves all messages to a file (/tmp/benthos.txt). -http: - enabled: true - address: 127.0.0.1:4195 - root_path: / - debug_endpoints: false -input: - http_server: - path: /post - ws_path: /post/ws - ws_welcome_message: "Welcome to the Benthos Websocket API." - allowed_verbs: - - POST - timeout: 5s - cors: - enabled: false - allowed_origins: [] - sync_response: - status: "200" - headers: - Content-Type: application/octet-stream -output: - file: - path: /tmp/benthos.txt - codec: lines -shutdown_delay: 0s -shutdown_timeout: 20s diff --git a/net/benthos/files/patch-redis-port b/net/benthos/files/patch-redis-port deleted file mode 100644 index f5459772e9ba..000000000000 --- a/net/benthos/files/patch-redis-port +++ /dev/null @@ -1,387 +0,0 @@ -diff --git internal/impl/redis/client.go internal/impl/redis/client.go -index eeadf575b..a078c3a81 100644 ---- internal/impl/redis/client.go -+++ internal/impl/redis/client.go -@@ -21,7 +21,7 @@ Some cloud hosted instances of Redis (such as Azure Cache) might need some hand - 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 website/docs/components/caches/redis.md website/docs/components/caches/redis.md -index 4ee3d8b74..eefed0bde 100644 ---- website/docs/components/caches/redis.md -+++ website/docs/components/caches/redis.md -@@ -28,7 +28,7 @@ Use a Redis instance as a cache. The expiration can be set to zero or an empty s - # Common config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - prefix: "" # No default (optional) - ``` - -@@ -39,7 +39,7 @@ redis: - # All config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -72,7 +72,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/inputs/redis_list.md website/docs/components/inputs/redis_list.md -index 8dd9aacff..456ecdf57 100644 ---- website/docs/components/inputs/redis_list.md -+++ website/docs/components/inputs/redis_list.md -@@ -30,7 +30,7 @@ Pops messages from the beginning of a Redis list using the BLPop command. - input: - label: "" - redis_list: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - key: "" # No default (required) - auto_replay_nacks: true - ``` -@@ -43,7 +43,7 @@ input: - input: - label: "" - redis_list: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -75,7 +75,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/inputs/redis_pubsub.md website/docs/components/inputs/redis_pubsub.md -index 2efe5dda5..87e490aa3 100644 ---- website/docs/components/inputs/redis_pubsub.md -+++ website/docs/components/inputs/redis_pubsub.md -@@ -30,7 +30,7 @@ Consume from a Redis publish/subscribe channel using either the SUBSCRIBE or PSU - input: - label: "" - redis_pubsub: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - channels: [] # No default (required) - use_patterns: false - auto_replay_nacks: true -@@ -44,7 +44,7 @@ input: - input: - label: "" - redis_pubsub: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -82,7 +82,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/inputs/redis_scan.md website/docs/components/inputs/redis_scan.md -index 5384f7893..43ecc08ee 100644 ---- website/docs/components/inputs/redis_scan.md -+++ website/docs/components/inputs/redis_scan.md -@@ -35,7 +35,7 @@ Introduced in version 4.27.0. - input: - label: "" - redis_scan: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - auto_replay_nacks: true - match: "" - ``` -@@ -48,7 +48,7 @@ input: - input: - label: "" - redis_scan: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -88,7 +88,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/inputs/redis_streams.md website/docs/components/inputs/redis_streams.md -index 9d72ea90d..d25b6223b 100644 ---- website/docs/components/inputs/redis_streams.md -+++ website/docs/components/inputs/redis_streams.md -@@ -30,7 +30,7 @@ Pulls messages from Redis (v5.0+) streams with the XREADGROUP command. The `clie - input: - label: "" - redis_streams: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - body_key: body - streams: [] # No default (required) - auto_replay_nacks: true -@@ -47,7 +47,7 @@ input: - input: - label: "" - redis_streams: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -86,7 +86,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/outputs/redis_hash.md website/docs/components/outputs/redis_hash.md -index 808dd5c60..3bf96bbea 100644 ---- website/docs/components/outputs/redis_hash.md -+++ website/docs/components/outputs/redis_hash.md -@@ -30,7 +30,7 @@ Sets Redis hash objects using the HMSET command. - output: - label: "" - redis_hash: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - key: ${! @.kafka_key )} # No default (required) - walk_metadata: false - walk_json_object: false -@@ -46,7 +46,7 @@ output: - output: - label: "" - redis_hash: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -111,7 +111,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/outputs/redis_list.md website/docs/components/outputs/redis_list.md -index c22103ca1..8663d4009 100644 ---- website/docs/components/outputs/redis_list.md -+++ website/docs/components/outputs/redis_list.md -@@ -30,7 +30,7 @@ Pushes messages onto the end of a Redis list (which is created if it doesn't alr - output: - label: "" - redis_list: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - key: some_list # No default (required) - max_in_flight: 64 - batching: -@@ -48,7 +48,7 @@ output: - output: - label: "" - redis_list: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -96,7 +96,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/outputs/redis_pubsub.md website/docs/components/outputs/redis_pubsub.md -index a3c671522..c8cbbc6ae 100644 ---- website/docs/components/outputs/redis_pubsub.md -+++ website/docs/components/outputs/redis_pubsub.md -@@ -30,7 +30,7 @@ Publishes messages through the Redis PubSub model. It is not possible to guarant - output: - label: "" - redis_pubsub: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - channel: "" # No default (required) - max_in_flight: 64 - batching: -@@ -48,7 +48,7 @@ output: - output: - label: "" - redis_pubsub: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -95,7 +95,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/outputs/redis_streams.md website/docs/components/outputs/redis_streams.md -index 282336be1..aa9b9688c 100644 ---- website/docs/components/outputs/redis_streams.md -+++ website/docs/components/outputs/redis_streams.md -@@ -30,7 +30,7 @@ Pushes messages to a Redis (v5.0+) Stream (which is created if it doesn't alread - output: - label: "" - redis_streams: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - stream: "" # No default (required) - body_key: body - max_length: 0 -@@ -52,7 +52,7 @@ output: - output: - label: "" - redis_streams: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -105,7 +105,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/processors/redis.md website/docs/components/processors/redis.md -index 814426078..e30b95b8e 100644 ---- website/docs/components/processors/redis.md -+++ website/docs/components/processors/redis.md -@@ -30,7 +30,7 @@ performed for each message and the message contents are replaced with the result - # Common config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - command: scard # No default (optional) - args_mapping: root = [ this.key ] # No default (optional) - ``` -@@ -42,7 +42,7 @@ redis: - # All config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -134,7 +134,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/processors/redis_script.md website/docs/components/processors/redis_script.md -index 3bb5665f5..10b1a05c7 100644 ---- website/docs/components/processors/redis_script.md -+++ website/docs/components/processors/redis_script.md -@@ -34,7 +34,7 @@ Introduced in version 4.11.0. - # Common config fields, showing default values - label: "" - redis_script: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - script: return redis.call('set', KEYS[1], ARGV[1]) # No default (required) - args_mapping: root = [ this.key ] # No default (required) - keys_mapping: root = [ this.key ] # No default (required) -@@ -47,7 +47,7 @@ redis_script: - # All config fields, showing default values - label: "" - redis_script: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -115,7 +115,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - -diff --git website/docs/components/rate_limits/redis.md website/docs/components/rate_limits/redis.md -index 36c611b5e..4ef3fa968 100644 ---- website/docs/components/rate_limits/redis.md -+++ website/docs/components/rate_limits/redis.md -@@ -33,7 +33,7 @@ Introduced in version 4.12.0. - # Common config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - count: 1000 - interval: 1s - key: "" # No default (required) -@@ -46,7 +46,7 @@ redis: - # All config fields, showing default values - label: "" - redis: -- url: redis://:6397 # No default (required) -+ url: redis://:6379 # No default (required) - kind: simple - master: "" - tls: -@@ -76,7 +76,7 @@ Type: `string` - ```yml - # Examples - --url: redis://:6397 -+url: redis://:6379 - - url: redis://localhost:6379 - --- -2.45.1 diff --git a/net/benthos/pkg-descr b/net/benthos/pkg-descr deleted file mode 100644 index 85ca5f5a8c02..000000000000 --- a/net/benthos/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -Benthos solves common data engineering tasks such as transformations, -integrations, and multiplexing with declarative and unit testable -configuration. This allows you to easily and incrementally adapt your data -pipelines as requirements change, letting you focus on the more exciting stuff. - -It comes armed with a wide range of processors, a lit mapping language, -stateless windowed processing capabilities and an industry leading mascot. - -Benthos is able to glue a wide range of sources and sinks together and hook -into a variety of databases, caches, HTTP APIs, lambdas and more, enabling you -to seamlessly drop it into your existing infrastructure. - -Working with disparate APIs and services can be a daunting task, doubly so in a -streaming data context. With Benthos it's possible to break these tasks down -and automatically parallelize them as a streaming workflow. |