head 1.3; access; symbols pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.2 pkgsrc-2015Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2016.12.02.11.00.39; author fhajny; state dead; branches; next 1.2; commitid qHA1pmeSlw77Oowz; 1.2 date 2015.12.31.22.16.33; author fhajny; state Exp; branches; next 1.1; commitid 5JDjY5HGs5oCn9Py; 1.1 date 2015.11.20.12.26.21; author fhajny; state Exp; branches; next ; commitid ON4fLkfdZkwNqPJy; desc @@ 1.3 log @Update net/rabbitmq to 3.6.6. - Security vulnerability fix - Bug fixes See full release notes: https://github.com/rabbitmq/rabbitmq-server/releases/tag/rabbitmq_v3_6_6 @ text @$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-11-12 16:42:49.000000000 +0000 +++ scripts/rabbitmq-env @@@@ -20,29 +20,7 @@@@ if [ "$RABBITMQ_ENV_LOADED" = 1 ]; then fi 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 - - RABBITMQ_SCRIPTS_DIR=`dirname $SCRIPT_PATH` + RABBITMQ_SCRIPTS_DIR="@@RABBITMQ_HOME@@/sbin" fi rmq_realpath() { @ 1.2 log @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 @ text @d1 1 a1 1 $NetBSD: patch-scripts_rabbitmq-env,v 1.1 2015/11/20 12:26:21 fhajny Exp $ @ 1.1 log @Make sure scripts use Bash, fixes the plugins script. Clean up and work around the silly coreutils (readlink) dependency. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- scripts/rabbitmq-env.orig 2015-10-07 12:45:15.000000000 +0000 d7 2 a8 3 @@@@ -15,29 +15,7 @@@@ ## Copyright (c) 2007-2015 Pivotal Software, Inc. All rights reserved. ## d10 22 a31 21 -# 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 d33 3 a35 3 -SCRIPT_DIR=`dirname $SCRIPT_PATH` +SCRIPT_DIR="@@RABBITMQ_HOME@@/sbin" RABBITMQ_HOME="${SCRIPT_DIR}/.." d37 1 a37 1 ## Set defaults @