diff options
-rw-r--r-- | net-misc/rabbitmq-server/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 20 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-2.8.4.ebuild | 89 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-2.8.5.ebuild | 96 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-2.8.6.ebuild | 96 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.1.0.ebuild (renamed from net-misc/rabbitmq-server/rabbitmq-server-3.0.1.ebuild) | 7 |
6 files changed, 19 insertions, 298 deletions
diff --git a/net-misc/rabbitmq-server/ChangeLog b/net-misc/rabbitmq-server/ChangeLog index 8af34929a392..93a9572cf78e 100644 --- a/net-misc/rabbitmq-server/ChangeLog +++ b/net-misc/rabbitmq-server/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/rabbitmq-server # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/ChangeLog,v 1.26 2013/03/15 16:42:39 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/ChangeLog,v 1.27 2013/05/21 07:31:10 ultrabug Exp $ + +*rabbitmq-server-3.1.0 (21 May 2013) + + 21 May 2013; Ultrabug <ultrabug@gentoo.org> -rabbitmq-server-2.8.4.ebuild, + -rabbitmq-server-2.8.5.ebuild, -rabbitmq-server-2.8.6.ebuild, + -rabbitmq-server-3.0.1.ebuild, +rabbitmq-server-3.1.0.ebuild: + Version bump, drop old *rabbitmq-server-3.0.4 (15 Mar 2013) diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index 6715c7c731a2..07e3695c6225 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -4,26 +4,20 @@ Hash: SHA256 AUX rabbitmq-script-wrapper 1855 SHA256 993ac37f3ec0fe75c20ddbfedfc2e282ec7fbbcfe8a58df8a95852de1cd80720 SHA512 bd124a7291b146623b3491c9be2ba4f82420a54ef668fb26128dc153daf1ed2ba7555a1afc9181c68a30543aa397a0c042efd027c8836a5bbf76d1e8e1b036ab WHIRLPOOL dc0d0a7aabac4cb50cc44c4dae697fc58477fbd42307339394d0befd2b8d8c206bd21d3c047d6ca526464708f28cc6d50b8110da8757d0f036c98e00348aea34 AUX rabbitmq-server.init-r3 744 SHA256 76aa4fe4578c31fe076d7c48770b63ad8836996352a981c6bba415e67e071b5c SHA512 010576db46b05ceff9661a9841a6c21570667ffd0828bad8e02d547a31aa36c4c4cf0dad7d52721837bc2ebd5c19d83ef51a0618aea8ce9b476e08f103b2143d WHIRLPOOL b0779dcf66f0a06b6d465c0806a1bc9f58e64a47dc9ff9d3989dc7b4a6781ba0cf6a5d6344580fc066bb4f46a5ecbc33efbeaa003b3d401b4216e26bd5e24f0b AUX rabbitmq.service 314 SHA256 a1444878e941541cc413b9a7c50057e1374bddf858eccf64c2abbbcf0f04e882 SHA512 8bf25da162ef336f9eb3f69f871b0945f7b02243da8a4d800e759266236ef84740988e2e33f88f4906f08a63cab49dbae87c868f69ee89df995170d7d2ae9457 WHIRLPOOL 96061d6907e6b888eea9a05b9b4a4bafc641708e754eef61f57b6cb2490c4d50f5580fe52c0fe55d71819ef3cda9492d623c6e82ec33e1c577c52c7d9b0c16f3 -DIST rabbitmq-server-2.8.4.tar.gz 2646689 SHA256 41b8d3d162a3a3ad3fd7de06c5b8d5efefc2623abff4ce2b6603222512cb05df SHA512 054343642e744a0a5fc22c0401e49e402935fecd8c09b7fdefd0dae99eb1ef4d4a506b1d7381ec245831d2d97976862ba8619580c2485953134e9b8f734a88bb WHIRLPOOL 31db69c1b3d883787385a71526e40a802e3b63bc8cf4d82396953f09451cc4be1c10a363388d8d8f9e1d44f26f9f9d7ac46fcdb9eb032da08b7cae56e37a7925 -DIST rabbitmq-server-2.8.5.tar.gz 3118328 SHA256 960a451b7229ce342ccf410783b0f701ba22eaa134a1e822ae00e6d495f2b958 SHA512 47bbc4e4efa51ab05e19d8f1be7860f94f01645bf27ecaa26cfe1404050e032767e6c7ecb0f7123081ab302913eafc25dd67d492b1847ececf32ef50aafdb6fa WHIRLPOOL 764d9be250c2f0729a7673ff546ed60ee0d4fa9138b7d8d14f834acab2b26b14b22a50ffaa64056f30d195acfff9cf64608c8272bdfc62e91a866b1070b191e6 -DIST rabbitmq-server-2.8.6.tar.gz 2788855 SHA256 146a24f2c336d304c465ac4243539b2e45838fb4b9900e8d84aca1ea800d593f SHA512 281ca90768c8483e7dea832b9699bc7470cdc9d70f942323cd556224b3bba60b72e1bc1376a0eed1e1005236c0c71e8fb04a961010759da981be1dd4ee163006 WHIRLPOOL af48428e075c52357dbfc024bc9e268386760eb5bb5c37161cc0f7cae33452063b209cfb15fb599d535adea94e8a1668456f3609ad68280dc5a59ff1d6f6e6b5 DIST rabbitmq-server-2.8.7.tar.gz 2792978 SHA256 0726e126896abbe30d9fd491d13eb16afa15327a548a3de9c3a31d41adcaccfc SHA512 89c39e8b7062adf716eec5195db5eb359418e50b9294d525dd0a6c045987799ef6493560bfafbccb3e25321808385b07988bc7723c462d3b4ee2a59b421f5a3d WHIRLPOOL 3e89e1345aea46de4540b26d45b8c4734f17a9822eea4794b04d8b7cd145c33c4f0768f11941b2ccae1e1abdf3d6a60bc80f770767bfbd1194f7dccbd11f315a -DIST rabbitmq-server-3.0.1.tar.gz 3298255 SHA256 6cd27c374e216e2a789dcc6ed6d1414217a554df2f1023cf636785e7346a3b88 SHA512 57d6b3e83a34722f705636af7155e02e1bc8559e1bff374806abc5ac130d3fac7c3bd7a71bf7b237f6befd5143112ef1b51d0cff2d849f390e945606f84c22c6 WHIRLPOOL bdf9aefd5433430206d962086a550767c9ee7aba4f057e449cafa9fa068d1b6c5984757ceab453c170c1cc2d8fc0590c60e91288b2fcde285c5bdda37af1f081 DIST rabbitmq-server-3.0.2.tar.gz 3314346 SHA256 3d654b0d6fd8c95b37bcc32578b4af9198aa6fd53305316846e6c85b25da98f5 SHA512 8a4012e1f21fa8961e306e5daec9e85caa47ee6142475b34968ee90f33152ae6077919feea68e5031edc9e6ef8a41f2c80f0a819fc2eee4a3a26da11565d8da5 WHIRLPOOL 6be132db4f38e8f1e305a3e83d72c1042d45a3bc441e2945d05d671baf1714dc3289ac51088dd0ddf77ece0fbc8bbfa8ec686c6ea3a2ffb214208f6b3e620732 DIST rabbitmq-server-3.0.4.tar.gz 3314866 SHA256 e49dbcfd8b2085133847de33081e2defb1f4879d21a9776d54ab1f1988e0e163 SHA512 7a44ea24f64c9adf0d19f787f071c9fc9be6cb0a47f7487e26eb6c526e0c35529d0a0a4d8c7ddcd11de4141808e60aa8cc89b4ad4f7b1c2dd5601f78fa49692f WHIRLPOOL af79667c48cb411b66e404ad21942f3ec4098f0f0e42b7360d830ec9ea88d5a1359d4a2ce74af2e45fbbbad5507b827170d17928b40c24a3e346e734f6337228 -EBUILD rabbitmq-server-2.8.4.ebuild 2452 SHA256 07a5097756d63be3d55fd101a98dac8455bd562ea8cdabd660b204ea33333b65 SHA512 760844716fb21452258a79b5720f39e68b83efaba2eef0a6c84415341ae8e704db19faf7bf0cb14b9a14688bf5ae3b793bcdee29c49ab103c2350ea046fa6ba3 WHIRLPOOL 0a55264aea26b1ce2594cd152b0497dcffb72536a0e6e71c6de680c1bff62862544d9c23f318033133f05dd827cc5445021213dde843dc47960b5fc71ac8a62a -EBUILD rabbitmq-server-2.8.5.ebuild 2585 SHA256 1678685caa3bc48994715ff1eeda5500f628a002f76919ae1e17321efcf8136a SHA512 ba415a7283ada03fae721872608e4164f4d3d98a2cef71345a65f94fe0522ace69df4821da052f2b9956c733589314b09c85a6c8af9a464722c9421f15f64972 WHIRLPOOL 4fcff28e6d1af666b663273edb4928e2a07c84f83cc75ff7386e2ad7b3b9c021ef31093d3923dc9340f0288c708b8fe4f48d1e1bf1d9443c0fdee708c7e2494f -EBUILD rabbitmq-server-2.8.6.ebuild 2585 SHA256 ac2c895a886fc05ad2e1c29af04190ccb0b94e30e3e900fac1f365074eb4ae61 SHA512 fce7b3b3f53c2fee481a02f4bfd97383217dfa4fce7d542c6f1a8272fe4cb2a028ebbd0261a4247639f59a2451ec50d9b03511531cb777f5a03a9de2a7803446 WHIRLPOOL 4665da1ff0f80384f4b385f86c150a4fc504dc299f2720a02dc03d04d524678bdade5f5fe28b36f97f1feb875903c5acbeb1c6c27f5b9091ab416f580428211b +DIST rabbitmq-server-3.1.0.tar.gz 3526907 SHA256 8c37b7b35af28b251c6f58d2ec4a99f3cd624b1786fdb58350d7d9c5ea68bc1b SHA512 94205649c5e2eef6ba062da223a94c2dd9b15d517268efe0f15212c2285784ea1ff22ae02711da7066300165049a4d003d2c8bdad3442e9aba69333653df2346 WHIRLPOOL 4aa911a523c68a2c9c9482bb96b1e2a17d7fe4ea311734deb14df18bd1c6275c83a456e431bd3c0e3ed906ecad15744781235c5198e626416d39976b0149ac88 EBUILD rabbitmq-server-2.8.7.ebuild 2432 SHA256 bc2e8dea466042fe2887fd15d1f107a97077c992bab14c3a754b0e7ca97176f5 SHA512 2a8c48724f34fb0917a71ee681b2a344731d6e971efc31d348f7fff53b518dfef8ab286e0400b71ec5f1f61e58831990f471959f66edd6da07383065b2ac14b4 WHIRLPOOL 4aa17dd304bfb314f5e830a74495558b1418533b7ecfeb99962d4eaf036c926f8f816a93bbf7e3da0a9237af39d30d17ef74f571638fb71628eebfb7971ed1da -EBUILD rabbitmq-server-3.0.1.ebuild 2656 SHA256 479cbe982ade9291e1dec0f3a4a17b35713057db082afc7c4825ad3bccf91e4b SHA512 ecafe6e52e87522c48bc2d829aed2037cb560ceef7f9c97cf902b36157539013d3769dbf30588f7d3fd155043b0535fa2648aed0959f0e7ad102093d77f83313 WHIRLPOOL 2c3f91045c0aefa152e4d6a2b7b06fe2c63b76b35fc213d73ab92a78fb7d87d448fd48fefcb3206c5f883892bbcaab06a3f096df63b12a9aa16c1aba3322467b EBUILD rabbitmq-server-3.0.2.ebuild 2656 SHA256 2907847ff3c4eb55b640579e3a728c981dd6b9af22af78e06f95358ea7b98f9c SHA512 0679d37d1d2e72391f8d31ffc630dd27f049929fef5730f962db0ea82d967c21efaaa155e94b1dc50353e615059fc8645bf9059428b0a33933dbbae19cce3fc3 WHIRLPOOL fa6787e6ff300f9ff5508e458a98ffc84e318d3c99ccd882388c3eabcccfcce5f8dd2f962d97983111b3621044940cc103c4e898471c5562e8e600c9a3385c0b EBUILD rabbitmq-server-3.0.4.ebuild 2656 SHA256 c72a1b61d5c7581d908f1dc53f0fdde09d1251cd3ef3365da1ba32b58ced2814 SHA512 7cd6b673dffa451c6ce1939e7044d122d2d2f5195bc0e3bdfecc73eba7e6e5445cd0912f382b6d46efa75bcb6bcec0281afc799430aaee65c24f5a58dc92f5a4 WHIRLPOOL e3e9b130d77de2a63a0526ca89bac7dc781cc158c28e776e0e9842a62db62944896a582078337f1776e47a7f638191c7de9edb2a889c73d7474577f803e4e3a1 -MISC ChangeLog 1184 SHA256 ed43f03781be3ba5addbbab6a3d04f966704303b910c21324135fe15f0f53ca5 SHA512 a9692365c85391bd69d14f0d77e6cb4f3c2bbe2498a61ce33c0c1a43e8af98b085d499f89f8932c65ec46e79ff8eb3cf1440d199bf591aac0297df7cde461cb2 WHIRLPOOL dff0aaf7774aaf826b2eb43c113013d735f6fcadec00523b152cd6b563723a40130eaa536044acd9a7b0dbb05d82334de5001d1705ea41e7fc4003bf7645a85d +EBUILD rabbitmq-server-3.1.0.ebuild 2669 SHA256 d34f2150b85aa71f0f4b198bf2d1fc8f33b0273df71ee7156b4aa5935992cbc0 SHA512 b1aa974c3c5934f48509f605ba4a86e8bbee812c97eb742f5681ac24725cde4c0daf522fb12a4cb986d5fc296cfacc90355a9650eaa81ed578b5e1c564ed85f8 WHIRLPOOL d6b0a9d63d1e23104434521caeabaab23cffed347d09896b242edfaaa0fa81e136d5e403fe40476508183d736222a89ea2133162064e068cf054fdae58ea8c28 +MISC ChangeLog 1453 SHA256 23bfbfe928c57e3a729eb13f12ef0a85bf9a55bf6e5ab63c4c7ea0235abd32db SHA512 fcd582de8992855cb1ff81491863064f964d7e2e42466c56b9ad857e3c3a51d11a6269f7d4ac0ee8cbc8b2c96fd702d52e6b9021b5a84ce8fbca9be981900d94 WHIRLPOOL f1d7c2a271c65c8b0901a16ea2549d8bca4e2047b1a75261a95145b37e66315f5606923e6c93526067bd06b3478849e335083fa47a6dc67707f53ad9b07b2615 MISC metadata.xml 230 SHA256 bd8560ab21232bace10a233ea24414dacb36c87e37a3a10cdeeded266cbb5c8d SHA512 3c7c9badebcc814572f1be89f2cdffaa81f795e3a44ae4f67bc7332927d332844a8a076b0f34d0e84b31db5abef654001cf1e6efff9628fa56a06786c082e6c0 WHIRLPOOL 57f9c4a65d7791075c8859af3cbbff141cc74e426102fefd15029bf1c63d3cf8a2c496eb4fc4f59570d0b84151a0d7a0feba0599827e932702ecfd5b8598563d -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlFDT4UACgkQKiQSS7ZY+hMZcgD9FyWQc9rxRBlGisG/kyPHSmM6 -ujuufuKiPodIpFXabesBAKAHjafmesF2jv9wIO0lCairPkI6rbuw2wYatxiPbBOl -=11Cv +iF4EAREIAAYFAlGbIsQACgkQKiQSS7ZY+hNQegD+P7e2HDuITOdr56d1/hpfLiZ+ +q5QXiaQhdlV8WaoSHv4BAMfRq0Dgqd+Jbw7+ldunB1va4eNk7Es0jrDV5H//+Ibj +=7z5A -----END PGP SIGNATURE----- diff --git a/net-misc/rabbitmq-server/rabbitmq-server-2.8.4.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-2.8.4.ebuild deleted file mode 100644 index a0c8377bf5c5..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-2.8.4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# 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.4.ebuild,v 1.2 2012/09/03 16:00:40 ultrabug Exp $ - -EAPI="4" -PYTHON_DEPEND="2" - -inherit eutils python systemd - -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="GPL-2 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)/rabbitmq" - - 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 - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # 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 -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-2.8.5.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-2.8.5.ebuild deleted file mode 100644 index 47c6132370ff..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-2.8.5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# 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.5.ebuild,v 1.2 2012/09/03 16:00:40 ultrabug Exp $ - -EAPI="4" -PYTHON_DEPEND="2" - -inherit eutils python systemd - -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="GPL-2 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_prepare() { - # do not refetch plugins from their vcs - for f in $(find plugins-src/*-wrapper ${plugin} -type d -maxdepth 1); do - touch ${f}/.done - done -} - -src_compile() { - emake all docs_all - gunzip docs/*.gz -} - -src_install() { - # erlang module - local targetdir="/usr/$(get_libdir)/rabbitmq" - - 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 - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # 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 -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-2.8.6.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-2.8.6.ebuild deleted file mode 100644 index e1a724555301..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-2.8.6.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# 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.6.ebuild,v 1.1 2012/09/03 16:00:40 ultrabug Exp $ - -EAPI="4" -PYTHON_DEPEND="2" - -inherit eutils python systemd - -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="GPL-2 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_prepare() { - # do not refetch plugins from their vcs - for f in $(find plugins-src/*-wrapper ${plugin} -type d -maxdepth 1); do - touch ${f}/.done - done -} - -src_compile() { - emake all docs_all - gunzip docs/*.gz -} - -src_install() { - # erlang module - local targetdir="/usr/$(get_libdir)/rabbitmq" - - 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 - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # 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 -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.0.1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.1.0.ebuild index c6831a1aeb19..fc475e1be2eb 100644 --- a/net-misc/rabbitmq-server/rabbitmq-server-3.0.1.ebuild +++ b/net-misc/rabbitmq-server/rabbitmq-server-3.1.0.ebuild @@ -1,11 +1,13 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/rabbitmq-server-3.0.1.ebuild,v 1.1 2013/01/11 15:05:23 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rabbitmq-server/rabbitmq-server-3.1.0.ebuild,v 1.1 2013/05/21 07:31:10 ultrabug Exp $ EAPI="5" PYTHON_DEPEND="2" -inherit eutils python systemd +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) + +inherit eutils python-r1 systemd DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang." HOMEPAGE="http://www.rabbitmq.com/" @@ -29,7 +31,6 @@ DEPEND="${RDEPEND} pkg_setup() { enewgroup rabbitmq enewuser rabbitmq -1 -1 /var/lib/rabbitmq rabbitmq - python_set_active_version 2 } src_compile() { |