summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2009-04-19 12:42:55 +0000
committerCaleb Tennis <caleb@gentoo.org>2009-04-19 12:42:55 +0000
commit144a81850a3bdad93dade65aed30819aded627ed (patch)
tree67e872e4fc05b592204ba1c045d28a50453599bb /net-misc/rabbitmq-server
parentMarking hal-info-20090309 ppc64 and ppc for bug 266661 (diff)
downloadhistorical-144a81850a3bdad93dade65aed30819aded627ed.tar.gz
historical-144a81850a3bdad93dade65aed30819aded627ed.tar.bz2
historical-144a81850a3bdad93dade65aed30819aded627ed.zip
Initial import
Package-Manager: portage-2.1.6.11/cvs/Linux i686
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r--net-misc/rabbitmq-server/ChangeLog10
-rw-r--r--net-misc/rabbitmq-server/Manifest5
-rw-r--r--net-misc/rabbitmq-server/files/rabbitmq-server.init22
-rw-r--r--net-misc/rabbitmq-server/metadata.xml8
-rw-r--r--net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild42
5 files changed, 87 insertions, 0 deletions
diff --git a/net-misc/rabbitmq-server/ChangeLog b/net-misc/rabbitmq-server/ChangeLog
new file mode 100644
index 000000000000..01921e62799d
--- /dev/null
+++ b/net-misc/rabbitmq-server/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/rabbitmq-server
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/ChangeLog,v 1.1 2009/04/19 12:42:54 caleb Exp $
+
+*rabbitmq-server-1.5.4 (19 Apr 2009)
+
+ 19 Apr 2009; Caleb Tennis <caleb@gentoo.org +files/rabbitmq-server.init,
+ +metadata.xml, +rabbitmq-server-1.5.4.ebuild:
+ Initial import
+
diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest
new file mode 100644
index 000000000000..889ecbf4318a
--- /dev/null
+++ b/net-misc/rabbitmq-server/Manifest
@@ -0,0 +1,5 @@
+AUX rabbitmq-server.init 434 RMD160 11a7851c395e488bb03a7a002d62dae405d4f67f SHA1 c1030740427f95eedba3fafbb8a038ea69842607 SHA256 d3f8fb55bbab4506567a9dbc995194720ed63072c82af27bbb6831541a0fb89c
+DIST rabbitmq-server-generic-unix-1.5.4.tar.gz 358688 RMD160 1c3de8125a7135b07c6cba01c8b3395a9aa79982 SHA1 3adcbc9aae336db45ecc0537dee614071315e439 SHA256 07efb49be2e61f9834d262ab93f364a14cb09061a86f8a6a478295858d367ba4
+EBUILD rabbitmq-server-1.5.4.ebuild 1195 RMD160 4b9248c7367a8f0bbd291b752dfebc9577fe9ebd SHA1 3a7d696a287f59718c42496d619b49eb4623edf9 SHA256 b999eba9956c0bbbb3221ce526a6af5eddcab10b33a24f990e4dea42a2c9f8b0
+MISC ChangeLog 399 RMD160 c6a1581fe255104c85b3c1def21630cf017c2c2d SHA1 111c6ccccd7a34345b06683851eb13bdedaef2f3 SHA256 56408c3f8ee541cb46c6c4ba3ca4e4ad64f660e2031177bca35f53f120adca66
+MISC metadata.xml 224 RMD160 bb2009757c340fc870e2e7fe5eee501303c70a62 SHA1 e89e8d75b54d9f07a8e7efc9b468a9b74b2d5eec SHA256 79754f25228240ec611264268d0e8dd94cdd8f6cd0473c430343741a2d293824
diff --git a/net-misc/rabbitmq-server/files/rabbitmq-server.init b/net-misc/rabbitmq-server/files/rabbitmq-server.init
new file mode 100644
index 000000000000..109191c38756
--- /dev/null
+++ b/net-misc/rabbitmq-server/files/rabbitmq-server.init
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/files/rabbitmq-server.init,v 1.1 2009/04/19 12:42:55 caleb Exp $
+
+depend() {
+ need net
+ use dns
+}
+
+start() {
+ ebegin "Starting RabbitMQ..."
+ rabbitmq-server -detached
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping RabbitMQ..."
+ rabbitmqctl stop
+ eend $?
+}
+
diff --git a/net-misc/rabbitmq-server/metadata.xml b/net-misc/rabbitmq-server/metadata.xml
new file mode 100644
index 000000000000..9167772c5c2f
--- /dev/null
+++ b/net-misc/rabbitmq-server/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>caleb@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild
new file mode 100644
index 000000000000..89ee232112cb
--- /dev/null
+++ b/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/rabbitmq-server-1.5.4.ebuild,v 1.1 2009/04/19 12:42:54 caleb Exp $
+
+inherit eutils
+
+DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang."
+HOMEPAGE="http://www.rabbitmq.com/"
+SRC_URI="http://www.rabbitmq.com/releases/rabbitmq-server/v${PV}/rabbitmq-server-generic-unix-${PV}.tar.gz"
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Q: is RDEPEND-only sufficient for a binary package, since we don't compile?
+DEPEND="dev-lang/erlang"
+RDEPEND="${DEPEND}"
+
+# grr: the packaged directory contains an underscore
+MODNAME="rabbitmq_server-${PV}"
+S="${WORKDIR}/${MODNAME}"
+
+src_install() {
+ # erlang module
+ local targetdir="/usr/$(get_libdir)/erlang/lib/${MODNAME}"
+ dodir "${targetdir}"
+ cp -dpR ebin include "${D}/${targetdir}"
+
+ # scripts
+ dosbin sbin/*
+
+ # docs
+ dodoc INSTALL LICENSE-MPL-RabbitMQ
+
+ newinitd "${FILESDIR}/rabbitmq-server.init" rabbitmq-server
+
+ # TODO:
+ # config to set env vars as per INSTALL?
+ # set LOGDIR to /var/log/rabbitmq.log
+ # run as different user?
+}
+