diff options
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 11 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/files/rabbitmq-server.init-r4 | 26 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.7.10.ebuild | 105 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.7.11.ebuild | 105 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.7.3-r1.ebuild | 104 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.8.0.ebuild (renamed from net-misc/rabbitmq-server/rabbitmq-server-3.7.9.ebuild) | 6 |
6 files changed, 32 insertions, 325 deletions
diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index 8cf4444eadf4..6759d16b97d0 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -1,20 +1,15 @@ AUX rabbitmq-script-wrapper 1855 BLAKE2B ee6fe4ab1688edfdf4933754d192a851c2e585628a82954c9cabe2548a33dc5742e111a92335443332b705214bc908d7d1b15d89408f0ef585be92c6c522c736 SHA512 bd124a7291b146623b3491c9be2ba4f82420a54ef668fb26128dc153daf1ed2ba7555a1afc9181c68a30543aa397a0c042efd027c8836a5bbf76d1e8e1b036ab AUX rabbitmq-server.init-r3 638 BLAKE2B 56c9116898f480b08fcd8fbfa37af5d1e9d4f9d482aa91e63f2bb5eaeb2e0700566dfddd27e0463fb2162292a09ceb1c96fa16b9fda5389e39491214d2952d25 SHA512 fa6c7293c11190b1f59eef23c4a3de00666e32451f695f1a7f686f01bb92055a0c2afae565d9106e852e6b77a71661c364eacb36e2d39dfb8d175d8f0eab98b9 +AUX rabbitmq-server.init-r4 656 BLAKE2B 0ec16b0b5f7c17d4e12e08382ac12f1ec0f8c94b63b05bc2066b66ee46afc1e246f76833f75b6a9c56572ccd348a50bbab0416bac07f29784ceb84c7333fc907 SHA512 1d16de0cb21527b8ac4db54a2d4f4f9ef07d8fbd744370f0ee311a2cd77da63e17dc160796bfb99a4d95f4743fcd1ff9819a5a3d14e18cfe38b337fdd4b7b04e AUX rabbitmq.service 314 BLAKE2B 5489ba8c773f7eccf335d34e3ead22f240fc12e1d089f33218027f9895e91ebca76ad8ba450ca6ca01568c4c67f035b14a912a2352922f7ed7287e27627f9569 SHA512 8bf25da162ef336f9eb3f69f871b0945f7b02243da8a4d800e759266236ef84740988e2e33f88f4906f08a63cab49dbae87c868f69ee89df995170d7d2ae9457 DIST rabbitmq-server-3.6.14.tar.xz 1508216 BLAKE2B 1ca3f933e91ce204cc90df7df619742e6d42e211b6350c629015a15a0ea6cdad05ad1e0139db5b2f1f353f314d1709ba468112a4059c6894ef9fb454fd616cf2 SHA512 22874b81fcebfd954e5ee8f4701bd8743bbc9559c1a1c09f8de03e16039153aa6e6b0bea71067770913493299e57da6b3928ff0ade4ee9ffb5ea48a30a154d9f DIST rabbitmq-server-3.6.9.tar.xz 1422316 BLAKE2B 08f88cf3b592c2fecf3e2a9c7f9a4a2997f7bea6f14a2d72cb42ad8d3254b2bcd32b0605c7687eeae8e1c39a6d3ad1776f89e84292d508903b956ec05f6cd858 SHA512 a003d2343c97e546ac01a5aadc46e94e2dbcc78349072b362950e5c5e11229e2a6fc4020d281f9fbb5cc0f577d2a166ef09671e931ec1470ab2edcdd98443662 -DIST rabbitmq-server-3.7.10.tar.xz 2569968 BLAKE2B 90a0162c9e573f1b99526c7a6cdec38061c3e6f355377b51b920a62b0d61c5f13a21b69d627b49c4c6702e517dfba4c856664e9741d9ad2d21171a3b46770799 SHA512 092df82ac00397fc90ecd69c712985f055ec25fd0ba427fce9330df75f5fe6d788aabc9e25ccbf63c8c3cbe111816a226fb63479a16d8530a53b23ab23b2598e -DIST rabbitmq-server-3.7.11.tar.xz 2593632 BLAKE2B 4455b47a36ed4b642f0c30a34d018f76ade7153ec8eb872728f0b6baf6d431dbac71b3e27e2661924155950836be80faee23d4fd663d0f852740c143ac24658c SHA512 a54034ebc919be0c6f58832ea5d47f8e3964e30ca9185c59bf882c3dc17d1df5b6e1ab0460f75e8cf0cc325504cc3a674f7cb44a5d7613e16a5ad8b721a286a4 DIST rabbitmq-server-3.7.13.tar.xz 2595904 BLAKE2B 3dce5af3b63d84e1ab8ee02ba3f55560087e5f72532e693b483e8083e25d540406d696873b291dd715c45aae1e15945e76fcc33bdd77503c6517860b45f7e7b9 SHA512 33cc3682214782152e4e1270d1011e94df79b454abf6fcf9d56b73be1f8cf42ce0a4a559f243b4721ae25b10897c756960c655909bee2b427395d0f0b63a2fb9 DIST rabbitmq-server-3.7.17.tar.xz 2808260 BLAKE2B 45a77ebb81d1199219b3638f03698d147b5dd43160647f829163ee35607a3d7ada281b7156f555614b1eec7295e32d241410b8a691bccab2f40f1c548d2e0b51 SHA512 33af52a3f95854e7b3e067308181e37c7b9715b24e0ceb690d606f3e69a8be9cab258a18b68681350c31a01e4fa530825473bf652c7ac10894d36af4fa573a38 -DIST rabbitmq-server-3.7.3.tar.xz 7382708 BLAKE2B 66d4c2fcb80ba5a851fb5d2bee91d41b04a05e70e74ac2b3adae8aebcaaa01de7ca47772c38deb4e9c25c19f67c2bbd6c4fb3b71480d73986540c60ab6dac02c SHA512 337edddceb66c44b5cc3cec710918385306d9db97ae340752bc39a1be39229a58b3bb1c96763a2ce441a6d46135f2aac8cec09fc33591d0e14e7571c9507d79b -DIST rabbitmq-server-3.7.9.tar.xz 2551456 BLAKE2B b64037481254f39300fecf53c1f8eda69df3fdc92bbacc6f6edc9d89e167e4cdd0708482b0daf680366986a28f4a3562d4af7dcf427604acc79145d24ca41bd2 SHA512 4a9fd452ad878f20c3a269d2dc0fa63ef7dcf99d2ee1ca46ff693df8d92ae0ef5a05453a6aaaeb00db643b2209770b15216fdff109f27d1e531e363a99bd4a2a +DIST rabbitmq-server-3.8.0.tar.xz 3262332 BLAKE2B f72fc1e2b186ebd3e17fc17ab3d2ebe5186d59de3e6cf269b51977a2cec78b33ec9b95cf44b111b20f3f4d5227dc3829aebdac3044ad3a9e3f3e8e4a9cb7b740 SHA512 9d73cb81190ed3e473f18c21513a3e57fa53a0d3a38fa96f09c3282558421997b8d177195163053e845980f52297bf4e2716017de15abc2660daefdacea584e8 EBUILD rabbitmq-server-3.6.14.ebuild 2866 BLAKE2B 0750fb1c6968b6c97471a940ab2010c44cf4cb831ae06effdec756df77e72fd1a9a0557de56e89daa0ae65097ee6a39ca3f779f9ad3c7b94175a6800ec6cdc06 SHA512 c5804a6938ae7d9f429e9bcfc0325ae276e3deecf9329a850111f099c1206587954a47daee906848dfa0569caa220fe9afd3e43b7823b4db65d353ffd7cd427a EBUILD rabbitmq-server-3.6.9.ebuild 2861 BLAKE2B efc0b3acca1f57d4116a18475c923502febd6ecb4a95030be05bdf94bd726c2cb90a8a95a7a47cc390da3c6c66f84af1eec14279f235b6547d247d2a8437e4c0 SHA512 ebabcbe717134e17d16a1623ff05a7700d7825de626c25c4b2ad8510f0ac42ede1a37ddbfd367c198d6cb4b550f30294c64fd7cbebe64bf6ac0244c9de4dee50 -EBUILD rabbitmq-server-3.7.10.ebuild 3005 BLAKE2B c6a3f5d0161ff227f8b76e130b690010df3710b2952795b55a19e3081a0e293113fd534f10bf598c93ae517631e9c5971fdfc79586d0536f0d6e5656f1a2c241 SHA512 f61267f217f0271f05519aefff7f04992f93532818282cb65c1d2e0a7132cd51a44ae56aa085931ddd620304268cd5cf99381cfb4e0279dad13b521bcbb1c583 -EBUILD rabbitmq-server-3.7.11.ebuild 3005 BLAKE2B 7a297aaac0f5a47a8f6dc18b07751d04c83155409dd89e8a749c5b07b4df8d45c30e13a598fb5ec9fd106577b976bf4b6619e05e4b8eddb32a11e6ed81c2c0b4 SHA512 c1c67b2d603d69735d0ac8cac4431f909dc014642875c498a4aa9cd833ba1e0b840aa9c9cad58a31ca7c7179c2f89f21d705e0d08eff4f787db74393fa30d05f EBUILD rabbitmq-server-3.7.13.ebuild 3105 BLAKE2B 61175864b1b7eab693fdfcf16ff1178c87d37e966a44ed29e08d01242d16af099ef492eeb527e8181b06ceb2222736c354df34cb510dbcce6a929eba63696b05 SHA512 5896fa3e7a2865e42a3f5c485c55504ead488115334e220b489db9dec55d2537d2e12266d8507f6b73ef76b1dadab6ba56a86a092c590e0627478207cbc7f6bf EBUILD rabbitmq-server-3.7.17.ebuild 3107 BLAKE2B 9addb1aa27f75285878de8689555b079fc9a603c93b22226aa06cb84d9b9185ef5ed26fe8740a5cd776526c68b96792bf338494b5dabd5f80d1b749359bc58e8 SHA512 5f1da605aca09ab102cf3343b96c6db5a2b9cbc2b54f5ffedd547db1ee581b297b3955e668d497e7dc6842e56753be6e96af6b09c368e4d8df8e0d6e852ea64c -EBUILD rabbitmq-server-3.7.3-r1.ebuild 2978 BLAKE2B 6f240a3325c446277a3779721dde982daa2528697118290c48d2ab108369fb781c538b19029662e6de632ace9d00d9c2f0df4e9686064af4174617efe71c27e9 SHA512 63f9528982875d523b2ef4f9c5a064b647c0edba6385ffe27372989cc962bae4167c60ab647eea338bebc7e4fc52b9063d477c5db5c83ad757e8432dc883aee2 -EBUILD rabbitmq-server-3.7.9.ebuild 2998 BLAKE2B 7c77aa3c5bde60e8ba67529591a9883337b30691a08d8256e168b2dc3bb95eb7d87645db57f065f47ffbc34036c519250a5261cf5f7db1fd9b8667f0fd8bd640 SHA512 9d3b4f8c4256433dc69ea6f3ff0968640a810cad780cb8bb971f76615248374f20b5eac129e0ddafde845a97430f7a7676243d5f6fb43879560e56edfe14a53a +EBUILD rabbitmq-server-3.8.0.ebuild 3002 BLAKE2B 88d17f6b0dc0ce19bdfa10ce5e8ad835e305a7432e369382b11bcbba51f6d598321ce5e3097899d26f237f6460855e5574a5c21d1d87328d4ff464d7fb6869f2 SHA512 99e9c605b42906748bc667989b0960397fc9a2910cd549f167912cc9b3721ceeab65ec4e9857e5505c0f660385f4370c7bbcaf81f244492bb7d162d96dc8c8e7 MISC metadata.xml 243 BLAKE2B 521acfb5d3a435d6280a45018d424779bc562b0de43396d1fbc0bb5950c2e672a0090552e29cafa59a61c07baf9073d466316eb1b43cdafdded443f9e57c3bf7 SHA512 d44d6b045d6b171e487d632935b2ffd1d5c567b28e273aadde4799d45d94f1dfd75873d296d4e9de1e431d5a8de4a0337e9e3fa648545c182f225e4f45652701 diff --git a/net-misc/rabbitmq-server/files/rabbitmq-server.init-r4 b/net-misc/rabbitmq-server/files/rabbitmq-server.init-r4 new file mode 100644 index 000000000000..9e7dd9d5d6fd --- /dev/null +++ b/net-misc/rabbitmq-server/files/rabbitmq-server.init-r4 @@ -0,0 +1,26 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net epmd + use dns +} + +start() { + ebegin "Starting RabbitMQ" + /sbin/start-stop-daemon \ + --start --background \ + --pidfile /var/run/rabbitmq.pid --make-pidfile \ + --stdout /var/log/rabbitmq/startup.log \ + --stderr /var/log/rabbitmq/startup.err \ + --exec /usr/sbin/rabbitmq-server + /usr/sbin/rabbitmqctl -q wait /var/run/rabbitmq.pid + eend $? +} + +stop() { + ebegin "Stopping RabbitMQ" + /usr/sbin/rabbitmqctl stop /var/run/rabbitmq.pid >> /var/log/rabbitmq/shutdown.log 2>> /var/log/rabbitmq/shutdown.err + eend $? +} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.7.10.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.7.10.ebuild deleted file mode 100644 index a6aca3854916..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-3.7.10.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit python-any-r1 systemd user - -DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang" -HOMEPAGE="https://www.rabbitmq.com/" -SRC_URI="https://github.com/rabbitmq/rabbitmq-server/releases/download/v${PV}/rabbitmq-server-${PV}.tar.xz" - -LICENSE="GPL-2 MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="test" - -RDEPEND=">=dev-lang/erlang-19.3[ssl,smp(+)]" -DEPEND="${RDEPEND} - app-arch/zip - app-arch/unzip - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - >=dev-lang/elixir-1.6.6 - <dev-lang/elixir-1.7.0 - dev-libs/libxslt - $(python_gen_any_dep 'dev-python/simplejson[${PYTHON_USEDEP}]') -" - -pkg_setup() { - enewgroup rabbitmq - enewuser rabbitmq -1 -1 /var/lib/rabbitmq rabbitmq - python-any-r1_pkg_setup -} - -src_compile() { - emake all docs dist -} - -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 deps/rabbit/scripts/rabbitmq-env || die - - einfo "Installing Erlang modules to ${targetdir}" - insinto "${targetdir}" - doins -r deps/rabbit/ebin deps/rabbit/escript deps/rabbit/include deps/rabbit/priv plugins - - einfo "Installing server scripts to /usr/sbin" - rm -v deps/rabbit/scripts/*.bat - exeinto /usr/libexec/rabbitmq - for script in deps/rabbit/scripts/*; do - doexe ${script} - newsbin "${FILESDIR}"/rabbitmq-script-wrapper $(basename $script) - done - - # install the init script - newinitd "${FILESDIR}"/rabbitmq-server.init-r3 rabbitmq - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # install documentation - dodoc deps/rabbit/docs/*.example - dodoc deps/rabbit/README.md - doman deps/rabbit/docs/*.5 - doman deps/rabbit/docs/*.8 - - # 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 - keepdir /var/lib/rabbitmq{,/mnesia} -} - -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 - elif has_version "<net-misc/rabbitmq-server-2.1.1"; then - elog "IMPORTANT UPGRADE NOTICE:" - elog - elog "Please read release notes before upgrading:" - elog - elog "https://www.rabbitmq.com/release-notes/README-3.0.0.txt" - fi - if has_version "<net-misc/rabbitmq-server-3.3.0"; then - elog - elog "This release changes the behaviour of the default guest user:" - elog - elog "https://www.rabbitmq.com/access-control.html" - fi -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.7.11.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.7.11.ebuild deleted file mode 100644 index edaf30210192..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-3.7.11.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit python-any-r1 systemd user - -DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang" -HOMEPAGE="https://www.rabbitmq.com/" -SRC_URI="https://github.com/rabbitmq/rabbitmq-server/releases/download/v${PV}/rabbitmq-server-${PV}.tar.xz" - -LICENSE="GPL-2 MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="test" - -RDEPEND=">=dev-lang/erlang-20.3[ssl,smp(+)]" -DEPEND="${RDEPEND} - app-arch/zip - app-arch/unzip - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - >=dev-lang/elixir-1.6.6 - <dev-lang/elixir-1.7.0 - dev-libs/libxslt - $(python_gen_any_dep 'dev-python/simplejson[${PYTHON_USEDEP}]') -" - -pkg_setup() { - enewgroup rabbitmq - enewuser rabbitmq -1 -1 /var/lib/rabbitmq rabbitmq - python-any-r1_pkg_setup -} - -src_compile() { - emake all docs dist -} - -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 deps/rabbit/scripts/rabbitmq-env || die - - einfo "Installing Erlang modules to ${targetdir}" - insinto "${targetdir}" - doins -r deps/rabbit/ebin deps/rabbit/escript deps/rabbit/include deps/rabbit/priv plugins - - einfo "Installing server scripts to /usr/sbin" - rm -v deps/rabbit/scripts/*.bat - exeinto /usr/libexec/rabbitmq - for script in deps/rabbit/scripts/*; do - doexe ${script} - newsbin "${FILESDIR}"/rabbitmq-script-wrapper $(basename $script) - done - - # install the init script - newinitd "${FILESDIR}"/rabbitmq-server.init-r3 rabbitmq - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # install documentation - dodoc deps/rabbit/docs/*.example - dodoc deps/rabbit/README.md - doman deps/rabbit/docs/*.5 - doman deps/rabbit/docs/*.8 - - # 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 - keepdir /var/lib/rabbitmq{,/mnesia} -} - -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 - elif has_version "<net-misc/rabbitmq-server-2.1.1"; then - elog "IMPORTANT UPGRADE NOTICE:" - elog - elog "Please read release notes before upgrading:" - elog - elog "https://www.rabbitmq.com/release-notes/README-3.0.0.txt" - fi - if has_version "<net-misc/rabbitmq-server-3.3.0"; then - elog - elog "This release changes the behaviour of the default guest user:" - elog - elog "https://www.rabbitmq.com/access-control.html" - fi -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.7.3-r1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.7.3-r1.ebuild deleted file mode 100644 index 7ea2f7df0ef7..000000000000 --- a/net-misc/rabbitmq-server/rabbitmq-server-3.7.3-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-any-r1 systemd user - -DESCRIPTION="RabbitMQ is a high-performance AMQP-compliant message broker written in Erlang" -HOMEPAGE="https://www.rabbitmq.com/" -SRC_URI="https://github.com/rabbitmq/rabbitmq-server/releases/download/v${PV}/rabbitmq-server-${PV}.tar.xz" - -LICENSE="GPL-2 MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="test" - -RDEPEND=">=dev-lang/erlang-19.3[ssl]" -DEPEND="${RDEPEND} - app-arch/zip - app-arch/unzip - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - <dev-lang/elixir-1.6.0 - dev-libs/libxslt - $(python_gen_any_dep 'dev-python/simplejson[${PYTHON_USEDEP}]') -" - -pkg_setup() { - enewgroup rabbitmq - enewuser rabbitmq -1 -1 /var/lib/rabbitmq rabbitmq - python-any-r1_pkg_setup -} - -src_compile() { - emake all docs dist -} - -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 deps/rabbit/scripts/rabbitmq-env || die - - einfo "Installing Erlang modules to ${targetdir}" - insinto "${targetdir}" - doins -r deps/rabbit/ebin deps/rabbit/escript deps/rabbit/include deps/rabbit/priv plugins - - einfo "Installing server scripts to /usr/sbin" - rm -v deps/rabbit/scripts/*.bat - exeinto /usr/libexec/rabbitmq - for script in deps/rabbit/scripts/*; do - doexe ${script} - newsbin "${FILESDIR}"/rabbitmq-script-wrapper $(basename $script) - done - - # install the init script - newinitd "${FILESDIR}"/rabbitmq-server.init-r3 rabbitmq - systemd_dounit "${FILESDIR}/rabbitmq.service" - - # install documentation - dodoc deps/rabbit/docs/*.example - dodoc deps/rabbit/README.md - doman deps/rabbit/docs/*.5 - doman deps/rabbit/docs/*.8 - - # 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} -} - -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 - elif has_version "<net-misc/rabbitmq-server-2.1.1"; then - elog "IMPORTANT UPGRADE NOTICE:" - elog - elog "Please read release notes before upgrading:" - elog - elog "https://www.rabbitmq.com/release-notes/README-3.0.0.txt" - fi - if has_version "<net-misc/rabbitmq-server-3.3.0"; then - elog - elog "This release changes the behaviour of the default guest user:" - elog - elog "https://www.rabbitmq.com/access-control.html" - fi -} diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.7.9.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.8.0.ebuild index 29de58a41aa1..89c3839ec0da 100644 --- a/net-misc/rabbitmq-server/rabbitmq-server-3.7.9.ebuild +++ b/net-misc/rabbitmq-server/rabbitmq-server-3.8.0.ebuild @@ -17,14 +17,14 @@ KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="test" -RDEPEND=">=dev-lang/erlang-19.3[ssl]" +RDEPEND=">=dev-lang/erlang-21.3[ssl] + <dev-lang/erlang-23.0[ssl]" DEPEND="${RDEPEND} app-arch/zip app-arch/unzip app-text/docbook-xml-dtd:4.5 app-text/xmlto >=dev-lang/elixir-1.6.6 - <dev-lang/elixir-1.7.0 dev-libs/libxslt $(python_gen_any_dep 'dev-python/simplejson[${PYTHON_USEDEP}]') " @@ -60,7 +60,7 @@ src_install() { done # install the init script - newinitd "${FILESDIR}"/rabbitmq-server.init-r3 rabbitmq + newinitd "${FILESDIR}"/rabbitmq-server.init-r4 rabbitmq systemd_dounit "${FILESDIR}/rabbitmq.service" # install documentation |