Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 10:21:45 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505561 - head/net/rabbitmq/files
Message-ID:  <201907011021.x61ALjJk062772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Mon Jul  1 10:21:45 2019
New Revision: 505561
URL: https://svnweb.freebsd.org/changeset/ports/505561

Log:
  net/rabbitmq: Import patch to make it compatible with Elixir 1.9.0
  
  To be exact, they are two patches:
  - one to mark rabbitmq_cli compatible with Elixir 1.9.x
  - one to make mix(1) work offline (without accessto Hex.pm) again
  
  Reported by:	olgeni@
  Reviewed by:	olgeni@, dch@
  Differential Revision:	https://reviews.freebsd.org/D20781

Added:
  head/net/rabbitmq/files/patch-deps_jsx_rabbitmq-mix.mk   (contents, props changed)
  head/net/rabbitmq/files/patch-deps_observer__cli_rabbitmq-mix.mk   (contents, props changed)
  head/net/rabbitmq/files/patch-deps_rabbit__common_mk_rabbitmq-mix.mk   (contents, props changed)
  head/net/rabbitmq/files/patch-deps_rabbitmq__cli_mix.exs   (contents, props changed)
  head/net/rabbitmq/files/patch-deps_rabbitmq__cli_rabbitmq-mix.mk   (contents, props changed)
  head/net/rabbitmq/files/patch-deps_recon_rabbitmq-mix.mk   (contents, props changed)

Added: head/net/rabbitmq/files/patch-deps_jsx_rabbitmq-mix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_jsx_rabbitmq-mix.mk	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,12 @@
+--- deps/jsx/rabbitmq-mix.mk.orig	2019-05-18 19:51:21 UTC
++++ deps/jsx/rabbitmq-mix.mk
+@@ -5,6 +5,7 @@
+ 
+ HEX_OFFLINE=1
+ 
+-HOME=$(DEPS_DIR)
++override MIX_HOME=$(DEPS_DIR)/.mix
++override HOME=$(DEPS_DIR)
+ 
+-export HEX_OFFLINE HOME
++export HEX_OFFLINE MIX_HOME HOME

Added: head/net/rabbitmq/files/patch-deps_observer__cli_rabbitmq-mix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_observer__cli_rabbitmq-mix.mk	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,12 @@
+--- deps/observer_cli/rabbitmq-mix.mk.orig	2019-05-18 19:51:23 UTC
++++ deps/observer_cli/rabbitmq-mix.mk
+@@ -5,6 +5,7 @@
+ 
+ HEX_OFFLINE=1
+ 
+-HOME=$(DEPS_DIR)
++override MIX_HOME=$(DEPS_DIR)/.mix
++override HOME=$(DEPS_DIR)
+ 
+-export HEX_OFFLINE HOME
++export HEX_OFFLINE MIX_HOME HOME

Added: head/net/rabbitmq/files/patch-deps_rabbit__common_mk_rabbitmq-mix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_rabbit__common_mk_rabbitmq-mix.mk	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,12 @@
+--- deps/rabbit_common/mk/rabbitmq-mix.mk.orig	2019-05-17 11:55:28 UTC
++++ deps/rabbit_common/mk/rabbitmq-mix.mk
+@@ -5,6 +5,7 @@
+ 
+ HEX_OFFLINE=1
+ 
+-HOME=$(DEPS_DIR)
++override MIX_HOME=$(DEPS_DIR)/.mix
++override HOME=$(DEPS_DIR)
+ 
+-export HEX_OFFLINE HOME
++export HEX_OFFLINE MIX_HOME HOME

Added: head/net/rabbitmq/files/patch-deps_rabbitmq__cli_mix.exs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_rabbitmq__cli_mix.exs	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,11 @@
+--- deps/rabbitmq_cli/mix.exs.orig	2019-05-17 13:13:20 UTC
++++ deps/rabbitmq_cli/mix.exs
+@@ -20,7 +20,7 @@ defmodule RabbitMQCtl.MixfileBase do
+     [
+       app: :rabbitmqctl,
+       version: "3.7.0-dev",
+-      elixir: ">= 1.6.6 and < 1.9.0",
++      elixir: ">= 1.6.6 and < 1.10.0",
+       build_embedded: Mix.env == :prod,
+       start_permanent: Mix.env == :prod,
+       escript: [main_module: RabbitMQCtl,

Added: head/net/rabbitmq/files/patch-deps_rabbitmq__cli_rabbitmq-mix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_rabbitmq__cli_rabbitmq-mix.mk	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,12 @@
+--- deps/rabbitmq_cli/rabbitmq-mix.mk.orig	2019-05-18 19:51:26 UTC
++++ deps/rabbitmq_cli/rabbitmq-mix.mk
+@@ -5,6 +5,7 @@
+ 
+ HEX_OFFLINE=1
+ 
+-HOME=$(DEPS_DIR)
++override MIX_HOME=$(DEPS_DIR)/.mix
++override HOME=$(DEPS_DIR)
+ 
+-export HEX_OFFLINE HOME
++export HEX_OFFLINE MIX_HOME HOME

Added: head/net/rabbitmq/files/patch-deps_recon_rabbitmq-mix.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rabbitmq/files/patch-deps_recon_rabbitmq-mix.mk	Mon Jul  1 10:21:45 2019	(r505561)
@@ -0,0 +1,12 @@
+--- deps/recon/rabbitmq-mix.mk.orig	2019-05-18 19:51:28 UTC
++++ deps/recon/rabbitmq-mix.mk
+@@ -5,6 +5,7 @@
+ 
+ HEX_OFFLINE=1
+ 
+-HOME=$(DEPS_DIR)
++override MIX_HOME=$(DEPS_DIR)/.mix
++override HOME=$(DEPS_DIR)
+ 
+-export HEX_OFFLINE HOME
++export HEX_OFFLINE MIX_HOME HOME



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907011021.x61ALjJk062772>