Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rabbitmq 4.0.1 #191165

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions Formula/r/rabbitmq.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Rabbitmq < Formula
desc "Messaging and streaming broker"
homepage "https://www.rabbitmq.com"
url "https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.13.7/rabbitmq-server-generic-unix-3.13.7.tar.xz"
sha256 "45e5423c43f15c9d2b6ee5947f8e4f256fcfa0c1e7743e60c473cd006954e1fa"
url "https://github.com/rabbitmq/rabbitmq-server/releases/download/v4.0.1/rabbitmq-server-generic-unix-4.0.1.tar.xz"
sha256 "5614c6f47d62dbe920843e915dc1d66cdd0097ec27617bbe05c1c3b588098485"
license "MPL-2.0"

livecheck do
Expand All @@ -11,7 +11,7 @@ class Rabbitmq < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, all: "f550fb2da56eda0b1fbfff1db7ce3e6c969615f8643686a2b9786b2f3dba1e09"
sha256 cellar: :any_skip_relocation, all: "c657af918dc902e611020f7f16eb7b2a036f2457979582e1f4422de54712287f"
end

depends_on "erlang"
Expand Down Expand Up @@ -50,7 +50,12 @@ def install
"rabbitmq_mqtt,rabbitmq_stream]."
end

sbin.install prefix/"plugins/rabbitmq_management-#{version}/priv/www/cli/rabbitmqadmin"
rabbitmqadmin = prefix.glob("plugins/rabbitmq_management-*/priv/www/cli/rabbitmqadmin")
if (rabbitmqadmin_count = rabbitmqadmin.count) > 1
odie "Expected only one `rabbitmqadmin`, got #{rabbitmqadmin_count}"
end

sbin.install rabbitmqadmin
(sbin/"rabbitmqadmin").chmod 0755
generate_completions_from_executable(sbin/"rabbitmqadmin", "--bash-completion", shells: [:bash],
base_name: "rabbitmqadmin", shell_parameter_format: :none)
Expand Down
Loading