RabbitMQ 3.4.2

Closes Homebrew/homebrew#34895.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
dalguji 2014-12-12 03:16:31 +09:00 committed by Jack Nagel
parent 58d828ffa5
commit 821b8e243e

View file

@ -2,8 +2,8 @@ require 'formula'
class Rabbitmq < Formula
homepage 'http://www.rabbitmq.com'
url 'https://www.rabbitmq.com/releases/rabbitmq-server/v3.4.1/rabbitmq-server-mac-standalone-3.4.1.tar.gz'
sha1 'f1cf93cbfe7d5b12d426819c890f9b688868180a'
url 'https://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server-mac-standalone-3.4.2.tar.gz'
sha1 'ab12e703e7b78f8573d6fbb325dcb180fd63129f'
bottle do
sha1 "f60e1c485e5c415a1614631ca8ff9cd2024bcc33" => :yosemite
@ -11,10 +11,6 @@ class Rabbitmq < Formula
sha1 "c3fd2b3cc376bb4d7f63de5e4d96a1eebd15f6af" => :mountain_lion
end
# Upstream fix for rabbitmqctl:
# http://hg.rabbitmq.com/rabbitmq-server/raw-rev/3f7c77cdafd8
patch :DATA
depends_on 'simplejson' => :python if MacOS.version <= :leopard
def install
@ -94,18 +90,3 @@ class Rabbitmq < Formula
EOS
end
end
__END__
--- a/sbin/rabbitmqctl
+++ b/sbin/rabbitmqctl
@@ -21,7 +21,8 @@
# rabbitmqctl starts distribution itself, so we need to make sure epmd
# is running.
-${ERL_DIR}erl ${RABBITMQ_NAME_TYPE} rabbitmqctl-prelaunch-$$ -noinput -eval 'erlang:halt().'
+${ERL_DIR}erl ${RABBITMQ_NAME_TYPE} rabbitmqctl-prelaunch-$$ -noinput \
+-eval 'erlang:halt().' -boot "${CLEAN_BOOT_FILE}"
# We specify Mnesia dir and sasl error logger since some actions
# (e.g. forget_cluster_node --offline) require us to impersonate the