From 6c289c370db6865995585f823d1daa2b61b3c63d Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 6 Jan 2024 18:33:23 +0000 Subject: [PATCH] rabbitmq: updated to 3.12.12 RabbitMQ 3.12.12 Core Broker Bug Fixes Environments with a lot of quorum queues could experience a large Erlang process build-up. The build-up was temporary but with a sufficiently large number of quorum queues it could last until the next round of periodic operations, making it permanent and depriving the node of CPU resources. RabbitMQ core failed to propagate more authentication and authorization context, for example, MQTT client ID in case of MQTT connections, to authN and authZ backends. This was not intentional. Nodes now takes more precaution about persisting feature flag state (specifically the effects of in-flight changes) during node shutdown. Enhancements Simplified some type specs. Contributed by @ariel-anieli. Stream Plugin One returned error value did not match the RabbitMQ Stream Protocol specification. MQTT Plugin Bug Fixes Recovering connections from QoS 0 consumers (subscribers) could fail if they were previously connected to a failed node. --- net/rabbitmq/Makefile | 4 +- net/rabbitmq/PLIST | 104 +++++++++--------- net/rabbitmq/distinfo | 9 +- .../patches/patch-deps_rabbitmq__cli_mix.exs | 15 +++ 4 files changed, 74 insertions(+), 58 deletions(-) create mode 100644 net/rabbitmq/patches/patch-deps_rabbitmq__cli_mix.exs diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile index d3decdeecdf5..3c3fbe59f54d 100644 --- a/net/rabbitmq/Makefile +++ b/net/rabbitmq/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.91 2023/11/20 09:15:53 adam Exp $ +# $NetBSD: Makefile,v 1.92 2024/01/06 18:33:23 adam Exp $ -DISTNAME= rabbitmq-server-3.12.9 +DISTNAME= rabbitmq-server-3.12.12 PKGNAME= ${DISTNAME:S/-server//} CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=rabbitmq/} diff --git a/net/rabbitmq/PLIST b/net/rabbitmq/PLIST index c5e1c2ddcef7..bde7fbb1f02c 100644 --- a/net/rabbitmq/PLIST +++ b/net/rabbitmq/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.68 2023/10/23 14:47:10 adam Exp $ +@comment $NetBSD: PLIST,v 1.69 2024/01/06 18:33:23 adam Exp $ lib/erlang/autocomplete/bash_autocomplete.sh lib/erlang/autocomplete/zsh_autocomplete.sh lib/erlang/lib/rabbitmq_server-${PKGVERSION}/INSTALL @@ -368,57 +368,57 @@ lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/observer_cli-1.7.3/ebin/obs lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/observer_cli-1.7.3/ebin/observer_cli_store.beam lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/observer_cli-1.7.3/ebin/observer_cli_system.beam lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/observer_cli-1.7.3/include/observer_cli.hrl -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris.app -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_app.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_bench.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_bloom.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_counters.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_ets.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_log.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_log_shared.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_replica.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_replica_reader.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_replica_reader_sup.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_retention.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_server_sup.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_sup.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_tracking.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_util.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.6.9/ebin/osiris_writer.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus.app -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_boolean.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_buckets.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_counter.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_format.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_gauge.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_histogram.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_http.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_instrumenter.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_metric.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_metric_spec.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_misc.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_mnesia.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_mnesia_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_model.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_model_helpers.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_protobuf_format.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_quantile_summary.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_registry.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_summary.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_sup.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_test_instrumenter.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_text_format.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_time.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_vm_dist_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_vm_memory_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_vm_msacc_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_vm_statistics_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/ebin/prometheus_vm_system_info_collector.beam -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/include/prometheus.hrl -lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.10.0/include/prometheus_model.hrl +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris.app +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_app.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_bench.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_bloom.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_counters.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_ets.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_log.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_log_shared.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_replica.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_replica_reader.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_replica_reader_sup.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_retention.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_server_sup.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_sup.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_tracking.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_util.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/osiris-1.7.2/ebin/osiris_writer.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus.app +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_boolean.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_buckets.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_counter.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_format.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_gauge.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_histogram.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_http.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_instrumenter.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_metric.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_metric_spec.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_misc.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_mnesia.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_mnesia_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_model.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_model_helpers.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_protobuf_format.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_quantile_summary.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_registry.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_summary.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_sup.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_test_instrumenter.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_text_format.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_time.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_vm_dist_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_vm_memory_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_vm_msacc_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_vm_statistics_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/ebin/prometheus_vm_system_info_collector.beam +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/include/prometheus.hrl +lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/prometheus-4.11.0/include/prometheus_model.hrl lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/quantile_estimator-0.2.1/ebin/quantile.beam lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/quantile_estimator-0.2.1/ebin/quantile_estimator.app lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/quantile_estimator-0.2.1/ebin/quantile_estimator.beam diff --git a/net/rabbitmq/distinfo b/net/rabbitmq/distinfo index efd4c782737f..43a5a5a8041d 100644 --- a/net/rabbitmq/distinfo +++ b/net/rabbitmq/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.83 2023/11/20 09:15:53 adam Exp $ +$NetBSD: distinfo,v 1.84 2024/01/06 18:33:23 adam Exp $ -BLAKE2s (rabbitmq-server-3.12.9.tar.xz) = beb1c6fe11dec116df46bab0bd78f3c92256595e84d29122f88271b68e064e66 -SHA512 (rabbitmq-server-3.12.9.tar.xz) = c6015ee9593336104fc043ed20d99a476e7b36802ae36798f23c2caf91a01a71913963fdbe6de249f234cb3ba82379e5c5b2976e07d098c287ee72e3f238f2eb -Size (rabbitmq-server-3.12.9.tar.xz) = 4437392 bytes +BLAKE2s (rabbitmq-server-3.12.12.tar.xz) = 913dcca638969099d1a28d20cc7bfd97bcb3793950fb290904a74c17a3b06464 +SHA512 (rabbitmq-server-3.12.12.tar.xz) = 92e1f35af8b043df2f06ac25d6bd037244ca12df76c20e65660830bb0f31370b0eb960d5001bb99992434ebe7fea53bf41b3381c8e62b0f8d1eb7a98c463da91 +Size (rabbitmq-server-3.12.12.tar.xz) = 4450344 bytes SHA1 (patch-Makefile) = 588638e2aa993fa59ab316a598840384d74a0a32 SHA1 (patch-deps_rabbit__common_src_rabbit__env.erl) = a717f620387e3c954e2f751c9b8921c93a1826f4 SHA1 (patch-deps_rabbit_scripts_rabbitmq-env) = 10f56071b2af001ef2fad6bc916f03bd4f299e8b +SHA1 (patch-deps_rabbitmq__cli_mix.exs) = bf029d0abec6bbdc24d11291fbca62079565d0c3 diff --git a/net/rabbitmq/patches/patch-deps_rabbitmq__cli_mix.exs b/net/rabbitmq/patches/patch-deps_rabbitmq__cli_mix.exs new file mode 100644 index 000000000000..ff121de81a7b --- /dev/null +++ b/net/rabbitmq/patches/patch-deps_rabbitmq__cli_mix.exs @@ -0,0 +1,15 @@ +$NetBSD: patch-deps_rabbitmq__cli_mix.exs,v 1.6 2024/01/06 18:33:23 adam Exp $ + +Allow Elixir 1.16. + +--- deps/rabbitmq_cli/mix.exs.orig 2024-01-06 18:18:30.421394433 +0000 ++++ deps/rabbitmq_cli/mix.exs +@@ -11,7 +11,7 @@ defmodule RabbitMQCtl.MixfileBase do + [ + app: :rabbitmqctl, + version: "3.12.1", +- elixir: ">= 1.13.4 and < 1.16.0", ++ elixir: ">= 1.13.4 and < 1.17.0", + build_embedded: Mix.env() == :prod, + start_permanent: Mix.env() == :prod, + escript: [