ports/net/rabbitmq/files/patch-sbin_rabbitmq-defaults.in
Dave Cottlehuber ddf5b19f67 net/rabbitmq: update to v3.12.13 and new tarball
Summary:
RabbitMQ has long provided a generic unix tarball which is better
suited for a FreeBSD port. There should be no functional changes
for this approach, and it simplifies build and release by aligning
better with upstream deployment, removing dependency on lang/elixir
releases.

Once the 2024Q2 branch is created, the next RabbitMQ release will
be updated, as users need to migrate from 3.11 -> 3.12 -> 3.13
without skipping in between versions.

https://rabbitmq.com/install-generic-unix.html

Differential Revision: https://reviews.freebsd.org/D43954
PR:		275838
2024-03-16 11:09:17 +00:00

17 lines
559 B
Text

--- sbin/rabbitmq-defaults.orig 2024-02-17 11:42:49 UTC
+++ sbin/rabbitmq-defaults
@@ -7,7 +7,13 @@
##
### next line potentially updated in package install steps
-SYS_PREFIX=${RABBITMQ_HOME}
+SYS_PREFIX=LOCALBASE
+# https://www.rabbitmq.com/relocate.html#unix
+export PATH=LOCALBASE/lib/_ERLANG_LIB/bin:$PATH
+export RABBITMQ_MNESIA_BASE=/var/db/rabbitmq/mnesia
+export RABBITMQ_LOG_BASE=/var/log/rabbitmq
+# ensure VM and Elixir scripts are running under the same locale
+export LANG=en_US.UTF-8
CLEAN_BOOT_FILE=start_clean
SASL_BOOT_FILE=start_sasl