pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/rabbitmq



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Fri Dec  2 11:00:39 UTC 2016

Modified Files:
        pkgsrc/net/rabbitmq: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/rabbitmq/patches: patch-deps_rabbit_scripts_rabbitmq-env
Removed Files:
        pkgsrc/net/rabbitmq/patches: patch-scripts_rabbitmq-env

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/rabbitmq/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/rabbitmq/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/net/rabbitmq/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/rabbitmq/patches/patch-deps_rabbit_scripts_rabbitmq-env
cvs rdiff -u -r1.2 -r0 pkgsrc/net/rabbitmq/patches/patch-scripts_rabbitmq-env

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/rabbitmq/Makefile
diff -u pkgsrc/net/rabbitmq/Makefile:1.26 pkgsrc/net/rabbitmq/Makefile:1.27
--- pkgsrc/net/rabbitmq/Makefile:1.26   Sun Aug 14 11:17:44 2016
+++ pkgsrc/net/rabbitmq/Makefile        Fri Dec  2 11:00:39 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2016/08/14 11:17:44 fhajny Exp $
+# $NetBSD: Makefile,v 1.27 2016/12/02 11:00:39 fhajny Exp $
 
-DISTNAME=              rabbitmq-server-3.6.5
+DISTNAME=              rabbitmq-server-3.6.6
 PKGNAME=               ${DISTNAME:S/-server//}
 CATEGORIES=            net
 MASTER_SITES=          http://www.rabbitmq.com/releases/rabbitmq-server/v${PKGVERSION_NOREV}/
@@ -52,7 +52,7 @@ RABBITMQ_HOME=                ${PREFIX}/lib/erlang/lib
 
 INSTALLATION_DIRS+=    share/examples/rabbitmq
 
-SCRIPTS_DIR=           ${WRKSRC}/scripts
+SCRIPTS_DIR=           ${WRKSRC}/deps/rabbit/scripts
 
 SUBST_CLASSES+=                paths
 SUBST_MESSAGE.paths=   Setting standard paths
@@ -76,11 +76,12 @@ MAKE_ENV+=          MANDIR="${PREFIX}/${PKGMANDI
 MAKE_ENV+=             RMQ_BINDIR="${PREFIX}/sbin"
 MAKE_ENV+=             RMQ_LIBDIR="${PREFIX}/lib/erlang/lib"
 MAKE_ENV+=             RSYNC="${PREFIX}/bin/rsync"
+MAKE_ENV+=             VERSION="${PKGVERSION_NOREV}"
 
 INSTALL_TARGET=                install-erlapp install-scripts install-bin install-man
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/docs/rabbitmq.config.example          \
+       ${INSTALL_DATA} ${WRKSRC}/deps/rabbit/docs/rabbitmq.config.example              \
                ${DESTDIR}${PREFIX}/share/examples/rabbitmq
        ${INSTALL_DATA} ${FILESDIR}/rabbitmq-env.conf                           \
                ${DESTDIR}${PREFIX}/share/examples/rabbitmq

Index: pkgsrc/net/rabbitmq/PLIST
diff -u pkgsrc/net/rabbitmq/PLIST:1.22 pkgsrc/net/rabbitmq/PLIST:1.23
--- pkgsrc/net/rabbitmq/PLIST:1.22      Sun Aug 14 11:17:44 2016
+++ pkgsrc/net/rabbitmq/PLIST   Fri Dec  2 11:00:39 2016
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2016/08/14 11:17:44 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.23 2016/12/02 11:00:39 fhajny Exp $
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/INSTALL
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-APACHE2-ExplorerCanvas
@@ -8,6 +8,7 @@ lib/erlang/lib/rabbitmq_server-${PKGVERS
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-BSD-glMatrix
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-EPL-OTP
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MIT-EJS10
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MIT-Erlware-Commons
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MIT-Flot
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MIT-Mochi
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MIT-Mochiweb
@@ -27,8 +28,6 @@ lib/erlang/lib/rabbitmq_server-${PKGVERS
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/lqueue.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/mirrored_supervisor_sups.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/mnesia_sync.beam
-lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/mochinum.beam
-lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/pg2_fixed.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/pg_local.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit.app
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit.beam
@@ -50,6 +49,7 @@ lib/erlang/lib/rabbitmq_server-${PKGVERS
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_connection_helper_sup.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_connection_sup.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_control_main.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_control_pbe.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_ctl_usage.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_dead_letter.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_diagnostics.beam
@@ -93,6 +93,7 @@ lib/erlang/lib/rabbitmq_server-${PKGVERS
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_password_hashing_md5.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_password_hashing_sha256.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_password_hashing_sha512.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_pbe.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_plugins.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_plugins_main.beam
 lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_plugins_usage.beam

Index: pkgsrc/net/rabbitmq/distinfo
diff -u pkgsrc/net/rabbitmq/distinfo:1.30 pkgsrc/net/rabbitmq/distinfo:1.31
--- pkgsrc/net/rabbitmq/distinfo:1.30   Sun Aug 14 11:17:44 2016
+++ pkgsrc/net/rabbitmq/distinfo        Fri Dec  2 11:00:39 2016
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.30 2016/08/14 11:17:44 fhajny Exp $
+$NetBSD: distinfo,v 1.31 2016/12/02 11:00:39 fhajny Exp $
 
-SHA1 (rabbitmq-server-3.6.5.tar.xz) = 92d49c752398f7de80c2374628b6680046931eb5
-RMD160 (rabbitmq-server-3.6.5.tar.xz) = d21c54d2dc41c97bc3946554f6286efe57f55320
-SHA512 (rabbitmq-server-3.6.5.tar.xz) = 50751a25b39a96a8b0665c9316d8a603050807597f932e0b3cc74f63fbd73a5668865ad7e7c58de5bef80295a5a3c472731446e4e07c530812a6275703ce2388
-Size (rabbitmq-server-3.6.5.tar.xz) = 2923164 bytes
+SHA1 (rabbitmq-server-3.6.6.tar.xz) = fc6dbb566981e7810c14fe04521bed2acc3f85ca
+RMD160 (rabbitmq-server-3.6.6.tar.xz) = 3f2fd7edf3bdc599ae9b054de47c5991da22bd5c
+SHA512 (rabbitmq-server-3.6.6.tar.xz) = 6a79226ffa61103d237a8978587df966141c17d6f6348cc6c0971ffbd7a1adc593b3eecfec327ffe589d5fd3029fe045fbd80ed0d5a0f24ffb478cc8de5c124b
+Size (rabbitmq-server-3.6.6.tar.xz) = 2471724 bytes
 SHA1 (patch-Makefile) = 088a3ed04dc72215f1ca3b34b49bb4047a531e89
-SHA1 (patch-scripts_rabbitmq-env) = 0b94c8b3987408b7a6291e3797f9d0e31fca64d6
+SHA1 (patch-deps_rabbit_scripts_rabbitmq-env) = e2b9846e9b161ea73d7338a162699efc06340215

Added files:

Index: pkgsrc/net/rabbitmq/patches/patch-deps_rabbit_scripts_rabbitmq-env
diff -u /dev/null pkgsrc/net/rabbitmq/patches/patch-deps_rabbit_scripts_rabbitmq-env:1.1
--- /dev/null   Fri Dec  2 11:00:39 2016
+++ pkgsrc/net/rabbitmq/patches/patch-deps_rabbit_scripts_rabbitmq-env  Fri Dec  2 11:00:39 2016
@@ -0,0 +1,37 @@
+$NetBSD: patch-deps_rabbit_scripts_rabbitmq-env,v 1.1 2016/12/02 11:00:39 fhajny Exp $
+
+Remove cumbersome symlink handling, we know where stuff is.
+
+--- deps/rabbit/scripts/rabbitmq-env.orig      2015-11-12 16:42:49.000000000 +0000
++++ deps/rabbit/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() {



Home | Main Index | Thread Index | Old Index