From 76138415b89255fe2dd6b7d008f70b195b44e14c Mon Sep 17 00:00:00 2001 From: Antoine Galataud Date: Thu, 7 Jul 2016 09:53:20 +0200 Subject: [PATCH 1/2] Update git clone URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2387fd6..4a61a5d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Install and setup the RabbitMQ Public Umbrella as explained here: Then `cd` into the umbrella folder and type: - $ git clone git://github.com/rabbitmq/rabbitmq-topic-authorization.git + $ git clone git://github.com/airboxlab/rabbitmq-topic-authorization.git $ cd rabbitmq-topic-authorization $ make From 629d0b931c907eb8e9d2fb457ad1f9a6af325470 Mon Sep 17 00:00:00 2001 From: Antoine Galataud Date: Thu, 7 Jul 2016 10:08:29 +0200 Subject: [PATCH 2/2] Update build/install instructions --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a61a5d..d7b0cf7 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,30 @@ To use this plugin you will have to build RabbitMQ from master and then build the plugin against it, since it depends on a new _interceptors_ API that's not yet available on the 3.5.x series. -Install and setup the RabbitMQ Public Umbrella as explained here: -[http://www.rabbitmq.com/plugin-development.html#getting-started](http://www.rabbitmq.com/plugin-development.html#getting-started). +Follow plugin development instructions: +[http://www.rabbitmq.com/plugin-development.html](http://www.rabbitmq.com/plugin-development.html). -Then `cd` into the umbrella folder and type: +TL;DR: + $ git clone https://github.com/rabbitmq/rabbitmq-server.git + $ cd rabbitmq-server + $ make + $ cd ../ $ git clone git://github.com/airboxlab/rabbitmq-topic-authorization.git $ cd rabbitmq-topic-authorization - $ make + $ make dist + +Note: if you get a + +```bash +error: rabbitmq-components.mk must be updated! +``` + +Execute + + $ make rabbitmq-components-mk -Finally copy all the `*.ez` files inside the `dist` folder to the +Finally copy the `rabbitmq_topic_authorization.ez` file inside the `plugins` folder to the `$RABBITMQ_HOME/plugins` folder. Don't copy the file `rabbit_common-x.y.z` since it's not needed inside the broker installation.