Mercurial > hg > portage
changeset 167:d191e60e8358
update rabbitmq-server to 1.7.0
author | holger |
---|---|
date | Wed, 07 Oct 2009 18:28:57 +0200 |
parents | aec49d51a27b |
children | 46e9ed96ea3e |
files | net-misc/rabbitmq-server/Manifest net-misc/rabbitmq-server/rabbitmq-server-1.6.0.ebuild net-misc/rabbitmq-server/rabbitmq-server-1.7.0.ebuild |
diffstat | 3 files changed, 59 insertions(+), 58 deletions(-) [+] |
line wrap: on
line diff
--- a/net-misc/rabbitmq-server/Manifest Mon Oct 05 18:59:50 2009 +0200 +++ b/net-misc/rabbitmq-server/Manifest Wed Oct 07 18:28:57 2009 +0200 @@ -1,3 +1,3 @@ AUX rabbitmq-server.init 434 RMD160 11a7851c395e488bb03a7a002d62dae405d4f67f SHA1 c1030740427f95eedba3fafbb8a038ea69842607 SHA256 d3f8fb55bbab4506567a9dbc995194720ed63072c82af27bbb6831541a0fb89c -DIST rabbitmq-server-1.6.0.tar.gz 130616 RMD160 d6c9de4e1fb48c6ceb1cb5d717ca2afb5e3266fe SHA1 1834c670d076fa9878223aacaa35a5a6528f1d86 SHA256 0a6e0f6b41548906b07f51be1651e8c05b3621f1c238e7969ef1dc40c47a7a0a -EBUILD rabbitmq-server-1.6.0.ebuild 1664 RMD160 c5d95edef457441d79702f3a29e4c6493a77078b SHA1 17188dc82f1b23645f5092960519dbc86848589c SHA256 ffcba324a2f47c2847f5e11bd12cd536b52782f9ac7e9238e07a3944cb53c43b +DIST rabbitmq-server-1.7.0.tar.gz 143252 RMD160 092f90946825cc3eb277019805e24db637a559f4 SHA1 84fb86d403057bb808c1b51deee0c1fca3bf7bef SHA256 a73c25ff0e725a2b9afb37e3796ad46c32f5f6c097091f6c0e40ccc878db9e4a +EBUILD rabbitmq-server-1.7.0.ebuild 1784 RMD160 73de844bdf5ff66979948465d3711fda489748bd SHA1 689d6820986e084e7b89cc0af9d4ae4c043e24f8 SHA256 43e872faf1313ac049e4496829e6f4d16117417e57f5dee9ed753d687f9d3e49
--- a/net-misc/rabbitmq-server/rabbitmq-server-1.6.0.ebuild Mon Oct 05 18:59:50 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -# 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-r1.ebuild,v 1.2 2009/04/23 03:37:16 mr_bones_ 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-${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}" - -src_install() { - # erlang module - local targetdir="/usr/$(get_libdir)/erlang/lib/${P}" - - einfo "Correcting additional Erlang code path in scripts" - sed -i -e "s:\`dirname \$0\`\/..\/ebin:${targetdir}:g" scripts/* || die "sed failed" - - einfo "Installing Erlang module to ${targetdir}" - dodir "${targetdir}" - cp -dpR ebin include "${D}/${targetdir}" - - einfo "Installing server scripts to /usr/sbin" - # Install server scripts to sbin - dosbin scripts/rabbitmq-multi scripts/rabbitmq-server - - einfo "Installing rabbitmqctl to /usr/bin" - # Install control script to bin - dobin scripts/rabbitmqctl - - # Docs - dodoc README - - # create the directory where our log file will go. - diropts -m 0770 -o rabbitmq -g rabbitmq - keepdir /var/log/rabbitmq - - # create the mnesia directory - diropts -m 0770 -o rabbitmq -g rabbitmq - dodir /var/lib/rabbitmq/mnesia - - # Install the init script - newinitd "${FILESDIR}"/rabbitmq-server.init rabbitmq -} - -pkg_setup() { - enewgroup rabbitmq - enewuser rabbitmq -1 -1 -1 rabbitmq -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/rabbitmq-server/rabbitmq-server-1.7.0.ebuild Wed Oct 07 18:28:57 2009 +0200 @@ -0,0 +1,57 @@ +# 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-r1.ebuild,v 1.2 2009/04/23 03:37:16 mr_bones_ 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-${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}" + +src_install() { + # erlang module + local targetdir="/usr/$(get_libdir)/erlang/lib/${P}" + + einfo "Correcting additional Erlang code path in scripts" + sed -i -e "s:\`dirname \$0\`\/..\/ebin:${targetdir}:g" scripts/* || die "sed failed" + + einfo "Installing Erlang module to ${targetdir}" + dodir "${targetdir}" + cp -dpR ebin include "${D}/${targetdir}" + + einfo "Installing server scripts to /usr/sbin" + # Install server scripts to sbin + dosbin scripts/rabbitmq-env scripts/rabbitmq-multi scripts/rabbitmq-server + dosbin scripts/rabbitmq-activate-plugins scripts/rabbitmq-deactivate-plugins + + einfo "Installing rabbitmqctl to /usr/bin" + # Install control script to bin + dobin scripts/rabbitmq-env scripts/rabbitmqctl + + # Docs + dodoc README + + # create the directory where our log file will go. + diropts -m 0770 -o rabbitmq -g rabbitmq + keepdir /var/log/rabbitmq + + # create the mnesia directory + diropts -m 0770 -o rabbitmq -g rabbitmq + dodir /var/lib/rabbitmq/mnesia + + # Install the init script + newinitd "${FILESDIR}"/rabbitmq-server.init rabbitmq +} + +pkg_setup() { + enewgroup rabbitmq + enewuser rabbitmq -1 -1 -1 rabbitmq +}