1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net/rabbitmq/files/patch-deps_rabbit_scripts_rabbitmq-defaults.in
Dave Cottlehuber 7082af47ea net/rabbitmq: update to 3.9.1
Security:	CVE-2021-22116
Sponsored by:	SkunkWerks, GmbH
MFH:	        2021Q3
2021-08-02 09:52:36 +00:00

18 lines
650 B
Plaintext

--- deps/rabbit/scripts/rabbitmq-defaults.orig 2021-06-24 16:41:31 UTC
+++ deps/rabbit/scripts/rabbitmq-defaults
@@ -6,7 +6,13 @@
## Copyright (c) 2007-2021 VMware, Inc. or its affiliates. All rights reserved.
### next line potentially updated in package install steps
-SYS_PREFIX=
+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