diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-04-07 08:10:18 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-04-07 08:10:18 +0000 |
commit | a433633adbf077fe1440768c7bc4d46976f9b28c (patch) | |
tree | f8109dc525efb2773232851d5f6f3cdec11aae3e /net-misc | |
parent | Version bump. (diff) | |
download | historical-a433633adbf077fe1440768c7bc4d46976f9b28c.tar.gz historical-a433633adbf077fe1440768c7bc4d46976f9b28c.tar.bz2 historical-a433633adbf077fe1440768c7bc4d46976f9b28c.zip |
Bump
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rabbitmq-server/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 4 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-2.8.1.ebuild | 88 |
3 files changed, 97 insertions, 2 deletions
diff --git a/net-misc/rabbitmq-server/ChangeLog b/net-misc/rabbitmq-server/ChangeLog index 7edf4e1d0deb..1e6119863e99 100644 --- a/net-misc/rabbitmq-server/ChangeLog +++ b/net-misc/rabbitmq-server/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/rabbitmq-server # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/ChangeLog,v 1.15 2012/03/19 09:17:57 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/ChangeLog,v 1.16 2012/04/07 08:10:18 patrick Exp $ + +*rabbitmq-server-2.8.1 (07 Apr 2012) + + 07 Apr 2012; Patrick Lauer <patrick@gentoo.org> +rabbitmq-server-2.8.1.ebuild: + Bump 19 Mar 2012; Benedikt Böhm <hollow@gentoo.org> rabbitmq-server-2.7.9.ebuild: fix #399831 diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index bb6878c65c71..f6e5bbf146a7 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -4,8 +4,10 @@ AUX rabbitmq-server.init-r3 744 RMD160 eb810f5428ad16a3e2c143a84b9666abf49a535b DIST rabbitmq-server-2.5.1.tar.gz 332560 RMD160 d2e2e5e2f0c88afceb5c56cda088340b6e624ad3 SHA1 25a14f4bb931b0772f0001b4b6e0c3e12d936593 SHA256 f5afeb8429508644738b68a158ed1f4a4dfc4bcbe1ebdab5ba818a75545e942f DIST rabbitmq-server-2.6.1.tar.gz 367491 RMD160 818cd8bfbf5593b0cdb4bd4a71d4b7124472f35c SHA1 628ec7453c0ee8ec3bad0780504e335b48f9b533 SHA256 0ab7b43a6b4cc5848242cdd4830b3c09018cfd920a2bfb00ebb89291c9cdd385 DIST rabbitmq-server-2.7.9.tar.gz 2642742 RMD160 ae80ca62a171474b92bbbda7ce4b0fab83abc38d SHA1 fbd4dd68eba499725336cbbec1694e398f0cb763 SHA256 65cd16e9f14839a0b3f0eaba1aafe58e7ae425cf5d6fa479e1f5d16d305414b6 +DIST rabbitmq-server-2.8.1.tar.gz 2644402 RMD160 519fe864a36d27cf38a97479e621b15d9a8a6e5b SHA1 24f13c7a9b5d8daf57cb6844e06b605d934f7088 SHA256 b59f46d2cc4ce3427ba16e00cb9def7c51ca9f6b92473c6ae8fc43f6e4d60835 EBUILD rabbitmq-server-2.5.1.ebuild 2254 RMD160 60884c8f8c7134447c06094472e44edd66e525ca SHA1 1711bad666fee11ebc9b213dc8730e6266b0d98a SHA256 5413c3e4f310830373ced5bb0e6bac18e951114433180a5ad36f21f9fbe68b99 EBUILD rabbitmq-server-2.6.1.ebuild 2254 RMD160 d681a841a7466e6bde00230ad05f8b32a2a1be32 SHA1 86c65d1af14709b90ca302c24d04c60ffcb89529 SHA256 83f2bd1a5c13232c0016652fd06efcc36ff7f749dc1d6910cefc11023538cbf2 EBUILD rabbitmq-server-2.7.9.ebuild 2413 RMD160 7b4bc90b13bf0d192b1ef21e18bb7a0cd2f266e5 SHA1 45680361c1983d54bd8da197b2d0652ad489b84d SHA256 0c2686eb3850bc6458e4b0afafe3b8c9c8fe6db96ecfd5e28b38c4be781d5c80 -MISC ChangeLog 3033 RMD160 998ed5d6f2bc75487dff166a3ac107ba9c5a09d7 SHA1 f6fefde5f58352378d293d1dc2c5ee01a03d19ae SHA256 2cd52c1e27d0578eb605112a0850ef6cf5fdbe7b2463caf05bd2100c5baa7e5b +EBUILD rabbitmq-server-2.8.1.ebuild 2414 RMD160 9c738d1731960688f9b3e2141aa0ce8101d351a6 SHA1 2f52c458e9259de74b96f274ecf8cf10c28ab9c6 SHA256 2a798b29f58b143f885ab5adf9f8be502f92e12b086737debc2470c62ebe5ba5 +MISC ChangeLog 3161 RMD160 a71bfe4a6893b21dd40a1f8fae26389d255fac7e SHA1 2968c4545c5ea1440fdfd1bcc3cf936bdb48352a SHA256 8d5d51939351aca1f6653f270ae342a7fc63df811e9f49dd92f81d08fe4cf57a MISC metadata.xml 234 RMD160 cb149fcd7945b8906164cad81daf559757035cde SHA1 9bf4056cf71e3eb7153bb319e8bd24ede9a205b6 SHA256 9f3ea84c59dfbd2d2dd7f1e6f0b959540e27cc9caad4f77e6e76774ce98505a6 diff --git a/net-misc/rabbitmq-server/rabbitmq-server-2.8.1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-2.8.1.ebuild new file mode 100644 index 000000000000..9d04171a2cc1 --- /dev/null +++ b/net-misc/rabbitmq-server/rabbitmq-server-2.8.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/rabbitmq-server-2.8.1.ebuild,v 1.1 2012/04/07 08:10:18 patrick Exp $ + +EAPI="4" +PYTHON_DEPEND="2" + +inherit eutils python + +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="" + +RDEPEND="dev-lang/erlang" +DEPEND="${RDEPEND} + app-arch/zip + app-arch/unzip + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + dev-libs/libxslt + dev-python/simplejson +" + +pkg_setup() { + enewgroup rabbitmq + enewuser rabbitmq -1 -1 /var/lib/rabbitmq rabbitmq + python_set_active_version 2 + python_pkg_setup +} + +src_compile() { + emake all docs_all || die "emake all failed" + gunzip docs/*.gz +} + +src_install() { + # erlang module + local targetdir="/usr/$(get_libdir)/erlang/lib/rabbitmq_server-${PV}" + + einfo "Setting correct RABBITMQ_HOME in scripts" + sed -e "s:^RABBITMQ_HOME=.*:RABBITMQ_HOME=\"${targetdir}\":g" \ + -i scripts/rabbitmq-env + + einfo "Installing Erlang modules to ${targetdir}" + insinto "${targetdir}" + doins -r ebin include plugins + + einfo "Installing server scripts to /usr/sbin" + for script in rabbitmq-env rabbitmq-server rabbitmqctl rabbitmq-defaults rabbitmq-plugins; do + exeinto /usr/libexec/rabbitmq + doexe scripts/${script} + newsbin "${FILESDIR}"/rabbitmq-script-wrapper ${script} + done + + # create the directory where our log file will go. + diropts -m 0770 -o rabbitmq -g rabbitmq + keepdir /var/log/rabbitmq /etc/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-r3 rabbitmq + + # install documentation + doman docs/*.[15] + dodoc README +} + +pkg_preinst() { + if has_version "<=net-misc/rabbitmq-server-1.8.0"; then + elog "IMPORTANT UPGRADE NOTICE:" + elog + elog "RabbitMQ is now running as an unprivileged user instead of root." + elog "Therefore you need to fix the permissions for RabbitMQs Mnesia database." + elog "Please run the following commands as root:" + elog + elog " usermod -d /var/lib/rabbitmq rabbitmq" + elog " chown rabbitmq:rabbitmq -R /var/lib/rabbitmq" + elog + fi +} |