aboutsummaryrefslogtreecommitdiffstats
path: root/net/rabbitmq
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2008-07-14 09:51:37 +0800
committervanilla <vanilla@FreeBSD.org>2008-07-14 09:51:37 +0800
commita00f980efa427b72315a9457cddcd718c1bfb4b5 (patch)
treeecd3bf1a3182e7fd7bc5cce1d66d08d06eac8700 /net/rabbitmq
parentff0883258010960c634ecc96409507e0f8986298 (diff)
downloadfreebsd-ports-gnome-a00f980efa427b72315a9457cddcd718c1bfb4b5.tar.gz
freebsd-ports-gnome-a00f980efa427b72315a9457cddcd718c1bfb4b5.tar.zst
freebsd-ports-gnome-a00f980efa427b72315a9457cddcd718c1bfb4b5.zip
Add rabbitmq 1.3.0, rabbitMQ is an implementation of AMQP.
PR: ports/125553 Submitted by: Phillip Neumann <pneumann at gmail.com>
Diffstat (limited to 'net/rabbitmq')
-rw-r--r--net/rabbitmq/Makefile38
-rw-r--r--net/rabbitmq/distinfo3
-rw-r--r--net/rabbitmq/files/rabbitmq.in40
-rw-r--r--net/rabbitmq/pkg-descr6
-rw-r--r--net/rabbitmq/pkg-plist98
5 files changed, 185 insertions, 0 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile
new file mode 100644
index 000000000000..270690e518e1
--- /dev/null
+++ b/net/rabbitmq/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: rabbitmq
+# Date Created: 2008-07-11
+# Whom: Phillip Neumann <pneumann@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rabbitmq
+PORTVERSION= 1.3.0
+CATEGORIES= net
+MASTER_SITES= http://www.rabbitmq.com/releases/source/
+
+MAINTAINER= pneumann@gmail.com
+COMMENT= RabbitMQ is an implementation of AMQP
+
+BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang-lite
+RUN_DEPENDS= erlc:${PORTSDIR}/lang/erlang-lite
+
+USE_GMAKE= yes
+USE_PYTHON= yes
+ALL_TARGET= server
+SCRIPTS_DIR= ${WRKSRC}/erlang/rabbit/scripts/
+USE_RC_SUBR= rabbitmq
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/default|${PREFIX}/etc/rabbitmq|g ; s|/var/lib|/var/db|g' \
+ ${SCRIPTS_DIR}/rabbitmq-multi ${SCRIPTS_DIR}/rabbitmq-server ${SCRIPTS_DIR}/rabbitmqctl
+
+do-install:
+ @${MKDIR} /var/log/rabbitmq /var/db/rabbitmq/mnesia ${PREFIX}/etc/rabbitmq
+ @${FIND} ${WRKSRC} -name "*.bak" | ${XARGS} ${RM}
+ @cd ${WRKSRC}/erlang/rabbit/dist && ${FIND} . \
+ | ${CPIO} -pdmu ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+ @${INSTALL_SCRIPT} ${SCRIPTS_DIR}/rabbitmq-multi ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${SCRIPTS_DIR}/rabbitmq-server ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${SCRIPTS_DIR}/rabbitmqctl ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net/rabbitmq/distinfo b/net/rabbitmq/distinfo
new file mode 100644
index 000000000000..cf60d289937f
--- /dev/null
+++ b/net/rabbitmq/distinfo
@@ -0,0 +1,3 @@
+MD5 (rabbitmq-1.3.0.tar.gz) = 3206716f78a22e5c1d82529c660410d5
+SHA256 (rabbitmq-1.3.0.tar.gz) = 0de5000c937a6fc78f0f247b8d04a480dada20213602e4d333b3da427b59d758
+SIZE (rabbitmq-1.3.0.tar.gz) = 2085989
diff --git a/net/rabbitmq/files/rabbitmq.in b/net/rabbitmq/files/rabbitmq.in
new file mode 100644
index 000000000000..4d68bb03a3e4
--- /dev/null
+++ b/net/rabbitmq/files/rabbitmq.in
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# rabbitmq for rc.d usage
+# $Id$
+
+# PROVIDE: rabbitmq
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf to enable RabitMQ
+#
+# rabbitmq_enable="YES"
+
+. "%%RC_SUBR%%"
+
+# Set some defaults
+rabbitmq_enable=${rabbitmq_enable:-"NO"}
+
+name=rabbitmq
+start_cmd="${name}_start"
+stop_cmd="${name}_stop"
+
+rabbitmq_start()
+{
+ rabbitmq-server -detached
+ echo "RabbitMQ started"
+}
+
+rabbitmq_stop()
+{
+ rabbitmqctl stop
+}
+
+rcvar=`set_rcvar`
+load_rc_config $name
+
+
+
+run_rc_command "$1"
diff --git a/net/rabbitmq/pkg-descr b/net/rabbitmq/pkg-descr
new file mode 100644
index 000000000000..3c9b887d45a6
--- /dev/null
+++ b/net/rabbitmq/pkg-descr
@@ -0,0 +1,6 @@
+RabbitMQ is a complete and highly reliable Enterprise Messaging
+system. The RabbitMQ client libraries and broker daemon can be used
+together to create an AMQP network, or used individually to bring
+the benefits of RabbitMQ to established networks.
+
+WWW: http://www.rabbitmq.com/
diff --git a/net/rabbitmq/pkg-plist b/net/rabbitmq/pkg-plist
new file mode 100644
index 000000000000..e804f630f657
--- /dev/null
+++ b/net/rabbitmq/pkg-plist
@@ -0,0 +1,98 @@
+bin/rabbitmq-multi
+bin/rabbitmq-server
+bin/rabbitmqctl
+lib/erlang/lib/rabbitmq-1.3.0/src/tcp_listener_sup.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/tcp_listener.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/tcp_client_sup.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/tcp_acceptor_sup.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/tcp_acceptor.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_writer.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_tracer.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_ticket.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_tests.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_sup.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_router.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_realm.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_reader.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_persister.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_node_monitor.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_networking.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_multi.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_mnesia.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_misc.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_log.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_load.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_heartbeat.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_gensym.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_framing_channel.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_framing.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_exchange.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_error_logger.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_control.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_channel0.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_channel.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_binary_parser.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_binary_generator.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_amqqueue_process.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_amqqueue.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit_access_control.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/rabbit.erl
+lib/erlang/lib/rabbitmq-1.3.0/src/buffering_proxy.erl
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmqctl.bat
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmqctl
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmq-server.bat
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmq-server
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmq-multi.bat
+lib/erlang/lib/rabbitmq-1.3.0/scripts/rabbitmq-multi
+lib/erlang/lib/rabbitmq-1.3.0/include/rabbit_framing.hrl
+lib/erlang/lib/rabbitmq-1.3.0/include/rabbit.hrl
+lib/erlang/lib/rabbitmq-1.3.0/ebin/tcp_listener_sup.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/tcp_listener.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/tcp_client_sup.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/tcp_acceptor_sup.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/tcp_acceptor.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_writer.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_tracer.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_ticket.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_tests.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_sup.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_router.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_realm.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_reader.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_persister.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_node_monitor.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_networking.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_multi.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_mnesia.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_misc.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_log.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_load.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_heartbeat.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_gensym.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_framing_channel.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_framing.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_exchange.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_error_logger.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_control.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_channel0.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_channel.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_binary_parser.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_binary_generator.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_amqqueue_process.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_amqqueue.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit_access_control.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit.rel
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit.beam
+lib/erlang/lib/rabbitmq-1.3.0/ebin/rabbit.app
+lib/erlang/lib/rabbitmq-1.3.0/ebin/buffering_proxy.beam
+lib/erlang/lib/rabbitmq-1.3.0/LICENSE-MPL-RabbitMQ
+lib/erlang/lib/rabbitmq-1.3.0/LICENSE
+lib/erlang/lib/rabbitmq-1.3.0/INSTALL
+@dirrm lib/erlang/lib/rabbitmq-1.3.0/src
+@dirrm lib/erlang/lib/rabbitmq-1.3.0/scripts
+@dirrm lib/erlang/lib/rabbitmq-1.3.0/include
+@dirrm lib/erlang/lib/rabbitmq-1.3.0/ebin
+@dirrm lib/erlang/lib/rabbitmq-1.3.0/
+@dirrmtry /var/log/rabbitmq
+@dirrmtry /var/db/rabbitmq/mnesia
+@dirrmtry etc/rabbitmq