diff options
author | fhajny <fhajny> | 2015-12-31 22:16:33 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2015-12-31 22:16:33 +0000 |
commit | d88c1931bcde2fcd85fbc716a4971cc95d0ddc13 (patch) | |
tree | 6740673e9fae5c32118f6f3b4b0a1bb4dfba3091 /net/rabbitmq/patches | |
parent | 994d1ccdf9e8699e8a69b16cedcb57cb5b2a4d42 (diff) | |
download | pkgsrc-d88c1931bcde2fcd85fbc716a4971cc95d0ddc13.tar.gz |
Update net/rabbitmq to 3.6.0.
Clean up and simplify Makefile.
Breaking changes in 3.6.0:
- Minimum required Erlang version is R16B03 for plain ("just TCP")
connections for all protocols and 17.5 for TLS ones (18.x is
recommended for both).
- .NET client now requires .NET 4.5.
- "Immediate" flag is removed from the .NET client (it hasn't been
supported by the server since RabbitMQ 3.0).
- Default subscription TTL in MQTT is now 24 hours.
- Server artifacts are now distributed as xz archives and not gz.
- Build system has been completely reworked and now uses erlang.mk.
3rd party plugins must be adapted to the new build system.
Key improvements in this release are:
- Lazy queues
- Much better queue synchronisation throughput
- Lower RAM use, tunable flow control
- Stronger password encryption with pluggable algorithms
- Development moved to GitHub; build system now uses erlang.mk
- Significant improvements to Web STOMP
- Experimental WinRT-compatible .NET client, SQL CLR compatibility
in the "regular" one
- Pagination in management UI
- More popular plugins now ship with the broker: rabbitmq_sharding
and rabbitmq_event_exchange, for example.
Full release notes:
https://github.com/rabbitmq/rabbitmq-server/releases/tag/rabbitmq_v3_6_0
Diffstat (limited to 'net/rabbitmq/patches')
-rw-r--r-- | net/rabbitmq/patches/patch-Makefile | 15 | ||||
-rw-r--r-- | net/rabbitmq/patches/patch-aa | 10 | ||||
-rw-r--r-- | net/rabbitmq/patches/patch-plugins-src_do-package.mk | 14 | ||||
-rw-r--r-- | net/rabbitmq/patches/patch-scripts_rabbitmq-env | 60 |
4 files changed, 45 insertions, 54 deletions
diff --git a/net/rabbitmq/patches/patch-Makefile b/net/rabbitmq/patches/patch-Makefile new file mode 100644 index 00000000000..8bd5e4f021d --- /dev/null +++ b/net/rabbitmq/patches/patch-Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile,v 1.1 2015/12/31 22:16:33 fhajny Exp $ + +Use absolute paths for the sbin links. + +--- Makefile.orig 2015-12-21 16:52:25.000000000 +0000 ++++ Makefile +@@ -380,7 +380,7 @@ install-bin: install-scripts + $(verbose) mkdir -p $(DESTDIR)$(RMQ_BINDIR) + $(inst_verbose) for script in $(SCRIPTS); do \ + test -e $(DESTDIR)$(RMQ_BINDIR)/$$script || \ +- ln -sf ../lib/$(notdir $(RMQ_ERLAPP_DIR))/sbin/$$script \ ++ ln -sf $(RMQ_ERLAPP_DIR)/sbin/$$script \ + $(DESTDIR)$(RMQ_BINDIR)/$$script; \ + done + diff --git a/net/rabbitmq/patches/patch-aa b/net/rabbitmq/patches/patch-aa deleted file mode 100644 index dd789a3a976..00000000000 --- a/net/rabbitmq/patches/patch-aa +++ /dev/null @@ -1,10 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2015/08/26 01:17:11 fhajny Exp $ - -Support for Python 2.7, drop dependency on gsed. ---- Makefile.orig 2015-07-21 19:37:21.000000000 +0000 -+++ Makefile -@@ -1,3 +1,4 @@ -+SHELL=$(MAKE_SHELL) - TMPDIR ?= /tmp - - RABBITMQ_NODENAME ?= rabbit diff --git a/net/rabbitmq/patches/patch-plugins-src_do-package.mk b/net/rabbitmq/patches/patch-plugins-src_do-package.mk deleted file mode 100644 index 304a396add3..00000000000 --- a/net/rabbitmq/patches/patch-plugins-src_do-package.mk +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-plugins-src_do-package.mk,v 1.1 2014/01/13 12:10:23 fhajny Exp $ - -Fix module versioning with gmake<4. ---- plugins-src/do-package.mk.orig 2013-12-10 16:18:44.000000000 +0000 -+++ plugins-src/do-package.mk -@@ -545,7 +545,7 @@ $(PACKAGE_DIR)/dist/.done: $(PACKAGE_DIR - # makefile. - $(PACKAGE_DIR)/dist/.done.$(VERSION): $(PACKAGE_DIR)/Makefile $(wildcard $(PACKAGE_DIR)/*.mk) $(wildcard $(PACKAGE_DIR)/src/*.erl) $(wildcard $(PACKAGE_DIR)/include/*.hrl) $(wildcard $(PACKAGE_DIR)/*.py) $(foreach DEP,$(NON_INTEGRATED_DEPS_$(PACKAGE_DIR)),$(call package_to_path,$(DEP))/dist/.done) - rm -rf $$(@D) -- $$(MAKE) -C $(PACKAGE_DIR) -+ $$(MAKE) -C $(PACKAGE_DIR) VERSION=$(VERSION) - mkdir -p $$(@D) - touch $$@ - diff --git a/net/rabbitmq/patches/patch-scripts_rabbitmq-env b/net/rabbitmq/patches/patch-scripts_rabbitmq-env index d818498e11d..db93d46c11a 100644 --- a/net/rabbitmq/patches/patch-scripts_rabbitmq-env +++ b/net/rabbitmq/patches/patch-scripts_rabbitmq-env @@ -1,37 +1,37 @@ -$NetBSD: patch-scripts_rabbitmq-env,v 1.1 2015/11/20 12:26:21 fhajny Exp $ +$NetBSD: patch-scripts_rabbitmq-env,v 1.2 2015/12/31 22:16:33 fhajny Exp $ Remove cumbersome symlink handling, we know where stuff is. ---- scripts/rabbitmq-env.orig 2015-10-07 12:45:15.000000000 +0000 +--- scripts/rabbitmq-env.orig 2015-11-12 16:42:49.000000000 +0000 +++ scripts/rabbitmq-env -@@ -15,29 +15,7 @@ - ## Copyright (c) 2007-2015 Pivotal Software, Inc. All rights reserved. - ## +@@ -20,29 +20,7 @@ if [ "$RABBITMQ_ENV_LOADED" = 1 ]; then + fi --# We set +e here since since our test for "readlink -f" below needs to --# be able to fail. --set +e --# Determine where this script is really located (if this script is --# invoked from another script, this is the location of the caller) --SCRIPT_PATH="$0" --while [ -h "$SCRIPT_PATH" ] ; do -- # Determine if readlink -f is supported at all. TODO clean this up. -- FULL_PATH=`readlink -f $SCRIPT_PATH 2>/dev/null` -- if [ "$?" != "0" ]; then -- REL_PATH=`readlink $SCRIPT_PATH` -- if expr "$REL_PATH" : '/.*' > /dev/null; then -- SCRIPT_PATH="$REL_PATH" -- else -- SCRIPT_PATH="`dirname "$SCRIPT_PATH"`/$REL_PATH" -- fi -- else -- SCRIPT_PATH=$FULL_PATH -- fi --done --set -e + if [ -z "$RABBITMQ_SCRIPTS_DIR" ]; then +- # We set +e here since since our test for "readlink -f" below needs to +- # be able to fail. +- set +e +- # Determine where this script is really located (if this script is +- # invoked from another script, this is the location of the caller) +- SCRIPT_PATH="$0" +- while [ -h "$SCRIPT_PATH" ] ; do +- # Determine if readlink -f is supported at all. TODO clean this up. +- FULL_PATH=`readlink -f $SCRIPT_PATH 2>/dev/null` +- if [ "$?" != "0" ]; then +- REL_PATH=`readlink $SCRIPT_PATH` +- if expr "$REL_PATH" : '/.*' > /dev/null; then +- SCRIPT_PATH="$REL_PATH" +- else +- SCRIPT_PATH="`dirname "$SCRIPT_PATH"`/$REL_PATH" +- fi +- else +- SCRIPT_PATH=$FULL_PATH +- fi +- done +- set -e - --SCRIPT_DIR=`dirname $SCRIPT_PATH` -+SCRIPT_DIR="@RABBITMQ_HOME@/sbin" - RABBITMQ_HOME="${SCRIPT_DIR}/.." +- RABBITMQ_SCRIPTS_DIR=`dirname $SCRIPT_PATH` ++ RABBITMQ_SCRIPTS_DIR="@RABBITMQ_HOME@/sbin" + fi - ## Set defaults + rmq_realpath() { |