Mercurial > hg > portage
changeset 309:6725174909bd
bump to 2.7.1
author | holger |
---|---|
date | Tue, 20 Dec 2011 13:41:41 +0100 |
parents | f803cf3ec737 |
children | 1062fc902f74 |
files | net-misc/rabbitmq-server/Manifest net-misc/rabbitmq-server/rabbitmq-server-2.7.0.ebuild net-misc/rabbitmq-server/rabbitmq-server-2.7.1.ebuild |
diffstat | 3 files changed, 85 insertions(+), 85 deletions(-) [+] |
line wrap: on
line diff
--- a/net-misc/rabbitmq-server/Manifest Tue Nov 29 17:40:06 2011 +0100 +++ b/net-misc/rabbitmq-server/Manifest Tue Dec 20 13:41:41 2011 +0100 @@ -1,5 +1,5 @@ AUX rabbitmq-script-wrapper 1844 RMD160 255586b0339a8200c63309eaefb952f67712eb0d SHA1 3b4f880d484541e749e3dd0d913adc6a21e4df23 SHA256 46783bc7466f48d8ddc785c5aac2b94d723c811106b6d8251adee170558f316e AUX rabbitmq-server.init-r3 744 RMD160 eb810f5428ad16a3e2c143a84b9666abf49a535b SHA1 b2e6586dd21e8debbb8ff5e7cb8e59f1abf16626 SHA256 76aa4fe4578c31fe076d7c48770b63ad8836996352a981c6bba415e67e071b5c -DIST rabbitmq-server-2.7.0.tar.gz 2620191 RMD160 1cebc445e15f5667566e0fa7012c35f07922321f SHA1 f80d58f6b8635e09c1fbd81650a25182eb6cb4b3 SHA256 10c34703bac24988491ab5eb895b6ea89ab4a5c1f624a9bd3ba2c39db411e41e -EBUILD rabbitmq-server-2.7.0.ebuild 2254 RMD160 d681a841a7466e6bde00230ad05f8b32a2a1be32 SHA1 86c65d1af14709b90ca302c24d04c60ffcb89529 SHA256 83f2bd1a5c13232c0016652fd06efcc36ff7f749dc1d6910cefc11023538cbf2 +DIST rabbitmq-server-2.7.1.tar.gz 2616386 RMD160 903ba8cc47455174ffd7e2df8937c93bf9807706 SHA1 769515be389f413857a932a944611c957c83da2e SHA256 b0c6e7d235e6ae919e6cd708d0580a52b67d08615f5e171708c2f27742fc49ed +EBUILD rabbitmq-server-2.7.1.ebuild 2254 RMD160 d681a841a7466e6bde00230ad05f8b32a2a1be32 SHA1 86c65d1af14709b90ca302c24d04c60ffcb89529 SHA256 83f2bd1a5c13232c0016652fd06efcc36ff7f749dc1d6910cefc11023538cbf2 MISC metadata.xml 256 RMD160 d9b3d76f0f3b12500bf0a1e012563f2f32f4992f SHA1 2520f467b4a64d131a92dd8101e03ad334d6d7a6 SHA256 74f2c9d6b7ef600697deed6d19bc64604a39ba7a2e8c24fae47ca2544def84c0
--- a/net-misc/rabbitmq-server/rabbitmq-server-2.7.0.ebuild Tue Nov 29 17:40:06 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ -# Copyright 1999-2011 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.6.1.ebuild,v 1.1 2011/09/30 07:45:54 hollow Exp $ - -EAPI="4" - -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="" - -RDEPEND="dev-lang/erlang" -DEPEND="${RDEPEND} - 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 -} - -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 - - einfo "Installing server scripts to /usr/sbin" - for script in rabbitmq-env rabbitmq-server rabbitmqctl; 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 - - # 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 -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/rabbitmq-server/rabbitmq-server-2.7.1.ebuild Tue Dec 20 13:41:41 2011 +0100 @@ -0,0 +1,83 @@ +# Copyright 1999-2011 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.6.1.ebuild,v 1.1 2011/09/30 07:45:54 hollow Exp $ + +EAPI="4" + +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="" + +RDEPEND="dev-lang/erlang" +DEPEND="${RDEPEND} + 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 +} + +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 + + einfo "Installing server scripts to /usr/sbin" + for script in rabbitmq-env rabbitmq-server rabbitmqctl; 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 + + # 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 +}