Add rabbitmq 1.3.0, rabbitMQ is an implementation of AMQP.

PR:		ports/125553
Submitted by:	Phillip Neumann <pneumann at gmail.com>
This commit is contained in:
Vanilla I. Shu 2008-07-14 01:51:37 +00:00
parent 36e7f12030
commit 29a7f9f706
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216808
6 changed files with 186 additions and 0 deletions

View file

@ -766,6 +766,7 @@
SUBDIR += quagga
SUBDIR += queso
SUBDIR += quoted
SUBDIR += rabbitmq
SUBDIR += raddump
SUBDIR += radiator
SUBDIR += radiusclient

38
net/rabbitmq/Makefile Normal file
View file

@ -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>

3
net/rabbitmq/distinfo Normal file
View file

@ -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

View file

@ -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"

6
net/rabbitmq/pkg-descr Normal file
View file

@ -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/

98
net/rabbitmq/pkg-plist Normal file
View file

@ -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