pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/rabbitmq Import rabbitmq-2.1.0 as net/rabbitmq.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b344efd461b5
branches: trunk
changeset: 580911:b344efd461b5
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Tue Sep 21 11:47:32 2010 +0000
description:
Import rabbitmq-2.1.0 as net/rabbitmq.
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.
(Based on wip/rabbitmq.)
diffstat:
net/rabbitmq/DESCR | 4 +
net/rabbitmq/Makefile | 85 ++++++++++++++++++++++++++++++
net/rabbitmq/PLIST | 108 +++++++++++++++++++++++++++++++++++++++
net/rabbitmq/buildlink3.mk | 16 +++++
net/rabbitmq/distinfo | 6 ++
net/rabbitmq/files/rabbitmq.conf | 11 +++
net/rabbitmq/patches/patch-aa | 12 ++++
net/rabbitmq/version.mk | 4 +
8 files changed, 246 insertions(+), 0 deletions(-)
diffs (278 lines):
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/DESCR Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,4 @@
+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.
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/Makefile Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,85 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+#
+
+PKGNAME= rabbitmq-${RMQ_VERSION}
+DISTNAME= rabbitmq-server-${RMQ_VERSION}
+CATEGORIES= net
+MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${RMQ_VERSION}/
+
+MAINTAINER= filip%joyent.com@localhost
+HOMEPAGE= http://www.rabbitmq.com/server.html
+COMMENT= Implementation of AMQP that provides robust messaging for applications
+LICENSE= mpl-1.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake
+
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+DEPENDS+= ${PYPKGPREFIX}-simplejson>=2:../../converters/py-simplejson
+
+.include "version.mk"
+.include "../../lang/python/pyversion.mk"
+
+BUILD_DEFS+= VARBASE
+
+.if !empty(TOOLS_PLATFORM.bash)
+RMQ_SHELL= ${TOOLS_PLATFORM.bash}
+.else
+RMQ_SHELL= /bin/sh
+.endif
+
+.include "../../mk/bsd.prefs.mk"
+
+RMQ_USER?= rabbitmq
+RMQ_GROUP?= ${RMQ_USER}
+RMQ_DIR?= ${VARBASE}/db/rabbitmq
+RMQ_LOG?= ${VARBASE}/log/rabbitmq
+
+OWN_DIRS+= ${RMQ_DIR} ${RMQ_LOG}
+OWN_DIRS_PERMS+= ${RMQ_DIR} ${RMQ_USER} ${RMQ_GROUP} 0770
+OWN_DIRS_PERMS+= ${RMQ_LOG} ${RMQ_USER} ${RMQ_GROUP} 0770
+
+PKG_GROUPS+= ${RMQ_GROUP}
+PKG_USERS+= ${RMQ_USER}:${RMQ_GROUP}
+PKG_GECOS.${RMQ_USER}= RabbitMQ Server User
+PKG_HOME.${RMQ_USER}= ${RMQ_DIR}
+PKG_SHELL.${RMQ_USER}= ${RMQ_SHELL}
+
+PKG_SYSCONFSUBDIR?= ${PKGBASE}
+CONF_FILES+= ${PREFIX}/share/examples/rabbitmq/rabbitmq.conf ${PKG_SYSCONFDIR}/rabbitmq.conf
+
+INSTALLATION_DIRS+= share/examples/rabbitmq
+
+SCRIPTS_DIR= ${WRKSRC}/scripts
+
+PLIST_SUBST+= RMQ_VERSION=${RMQ_VERSION}
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Setting standard paths
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= ${SCRIPTS_DIR}/rabbitmqctl ${SCRIPTS_DIR}/rabbitmq-env
+SUBST_FILES.paths+= ${SCRIPTS_DIR}/rabbitmq-multi ${SCRIPTS_DIR}/rabbitmq-server
+SUBST_SED.paths= -e 's|/etc/rabbitmq|${PKG_SYSCONFDIR}/rabbitmq|g'
+SUBST_SED.paths+= -e 's|/var/lib|${VARBASE}/db|g'
+SUBST_SED.paths+= -e 's|/var/log|${VARBASE}/log|g'
+SUBST_SED.paths+= -e 's|erl|${PREFIX}/bin/erl|g'
+SUBST_SED.paths+= -e 's|/bin/sh|/bin/ksh|g'
+
+SUBST_CLASSES+= shell
+SUBST_MESSAGE.shell= Setting Makefile shell
+SUBST_STAGE.shell= post-patch
+SUBST_FILES.shell= Makefile
+SUBST_SED.shell= -e 's|@SHELL@|${RMQ_SHELL}|g'
+
+MAKE_ENV+= TARGET_DIR="${DESTDIR}${PREFIX}/lib/erlang/lib/rabbitmq_server-${RMQ_VERSION}"
+MAKE_ENV+= SBIN_DIR="${DESTDIR}${PREFIX}/sbin/"
+MAKE_ENV+= MAN_DIR="${DESTDIR}${PREFIX}/man"
+MAKE_ENV+= RMQ_VERSION=${RMQ_VERSION}
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/rabbitmq.conf ${DESTDIR}${PREFIX}/share/examples/rabbitmq/rabbitmq.conf
+
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/PLIST Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,108 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/INSTALL
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/LICENSE-MPL-RabbitMQ
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/bpqueue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/delegate.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/delegate_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/file_handle_cache.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/gatherer.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/gen_server2.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/pg_local.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/priority_queue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit.app
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_access_control.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_alarm.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_amqqueue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_amqqueue_process.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_amqqueue_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_app.in
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_backing_queue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_basic.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_binary_generator.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_binary_parser.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_binding.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_channel.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_channel_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_channel_sup_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_connection_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_control.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_ctl_usage.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_dialyzer.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_error_logger.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_error_logger_file_h.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_event.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type_direct.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type_fanout.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type_headers.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type_registry.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_exchange_type_topic.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_framing_amqp_0_8.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_framing_amqp_0_9_1.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_framing_channel.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_guid.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_heartbeat.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_invariable_queue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_limiter.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_log.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_memory_monitor.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_misc.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_mnesia.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_msg_file.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_msg_store.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_msg_store_ets_index.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_msg_store_gc.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_msg_store_index.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_multi.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_multi_usage.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_net.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_networking.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_node_monitor.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_persister.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_plugin_activator.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_queue_collector.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_queue_index.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_reader.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_restartable_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_router.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_sasl_report_file_h.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_tests.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_tests_event_receiver.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_types.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_variable_queue.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/rabbit_writer.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/supervisor2.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/tcp_acceptor.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/tcp_acceptor_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/tcp_client_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/tcp_listener.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/tcp_listener_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/test_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/vm_memory_monitor.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/worker_pool.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/worker_pool_sup.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/ebin/worker_pool_worker.beam
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit_backing_queue_spec.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit_exchange_type_spec.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit_framing.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit_msg_store.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/include/rabbit_msg_store_index.hrl
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/plugins/README
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/sbin/rabbitmq-env
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/sbin/rabbitmq-multi
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/sbin/rabbitmq-server
+lib/erlang/lib/rabbitmq_server-${PKGVERSION}/sbin/rabbitmqctl
+man/man1/rabbitmq-multi.1
+man/man1/rabbitmq-server.1
+man/man1/rabbitmqctl.1
+man/man5/rabbitmq.conf.5
+sbin/rabbitmq-env
+sbin/rabbitmq-multi
+sbin/rabbitmq-server
+sbin/rabbitmqctl
+share/examples/rabbitmq/rabbitmq.conf
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/buildlink3.mk Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+
+BUILDLINK_TREE+= rabbitmq
+
+.if !defined(RABBITMQ_BUILDLINK3_MK)
+RABBITMQ_BUILDLINK3_MK:=
+
+.include "version.mk"
+
+BUILDLINK_API_DEPENDS.rabbitmq+= rabbitmq>=2.1.0
+BUILDLINK_PKGSRCDIR.rabbitmq?= ../../net/rabbitmq
+
+BUILDLINK_INCDIRS.rabbitmq?= lib/erlang/lib/rabbitmq_server-${RMQ_VERSION}/include
+.endif # RABBITMQ_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -rabbitmq
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/distinfo Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+
+SHA1 (rabbitmq-server-2.1.0.tar.gz) = 8cfff94a4685b645d0d14026b7df8e51ce414bd1
+RMD160 (rabbitmq-server-2.1.0.tar.gz) = 7c447b47774f27c86efb3f8958b12cc7cff20ead
+Size (rabbitmq-server-2.1.0.tar.gz) = 275559 bytes
+SHA1 (patch-aa) = fba22078d70168586321b36f7a7eefe6dfd5d134
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/files/rabbitmq.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/files/rabbitmq.conf Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,11 @@
+# Very simple sample RabbitMQ config file
+
+# RABBITMQ_NODENAME=rabbit
+# RABBITMQ_NODE_IP_ADDRESS=0.0.0.0
+# RABBITMQ_NODE_PORT=5672
+# RABBITMQ_LOG_BASE=/var/log/rabbitmq
+# RABBITMQ_MNESIA_BASE=/var/db/rabbitmq/mnesia
+
+# RABBITMQ_SERVER_ERL_ARGS="+K true +A30 \
+# -kernel inet_default_listen_options [{nodelay,true},{sndbuf,16384},{recbuf,4096}] \
+# -kernel inet_default_connect_options [{nodelay,true}]"
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/patches/patch-aa Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+
+Makefile really expects Bash to be used for shell calls
+
+--- Makefile.orig 2009-10-06 14:45:47.000000000 +0000
++++ Makefile
+@@ -1,4 +1,4 @@
+-
++SHELL=@SHELL@
+ TMPDIR ?= /tmp
+
+ RABBITMQ_NODENAME ?= rabbit
diff -r b15284c19b26 -r b344efd461b5 net/rabbitmq/version.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rabbitmq/version.mk Tue Sep 21 11:47:32 2010 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: version.mk,v 1.1.1.1 2010/09/21 11:47:32 fhajny Exp $
+#
+
+RMQ_VERSION= 2.1.0
Home |
Main Index |
Thread Index |
Old Index