diff options
author | Gabriel Linder <linder.gabriel@gmail.com> | 2020-05-26 20:37:25 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-26 22:44:49 +0200 |
commit | d6e34eae4a052fe2108cb2edfeda31a727a1cad0 (patch) | |
tree | eb30598a4d1877582f1275a7db184a578d09908a /net-misc/rabbitmq-server | |
parent | dev-python/spyder-unittest: clean up old (diff) | |
download | gentoo-d6e34eae4a052fe2108cb2edfeda31a727a1cad0.tar.gz gentoo-d6e34eae4a052fe2108cb2edfeda31a727a1cad0.tar.bz2 gentoo-d6e34eae4a052fe2108cb2edfeda31a727a1cad0.zip |
net-misc/rabbitmq-server: bump to 3.8.4.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15979
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 1 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.8.4.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index 35a88691b9f7..e9c493bb0fd7 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -4,3 +4,4 @@ DIST rabbitmq-server-3.7.13.tar.xz 2595904 BLAKE2B 3dce5af3b63d84e1ab8ee02ba3f55 DIST rabbitmq-server-3.7.24.tar.xz 2867964 BLAKE2B 30d49a72f92a9adc4fe7de071e9369cb4d574249b1d414b2e5d492585ae0bc0e5f85ca0c287d73dbf661df4cb249f29d1bfccc7516e6ec5d6ff70a437a01ce00 SHA512 5bf2b69b555ddc89415ce7918d0ab23221d383742fc20036f608b4cf99852fb58b61a5d7616b6357f151e1f16ed660b35d7b54a1c2ea46cf5b4ef67c2d38bd28 DIST rabbitmq-server-3.8.2.tar.xz 15178744 BLAKE2B 11da75e48415d53f291fffc8fafd89b506e727714e6f9dfce6a0b7c605a0d56bb3b879c779bebbc21f2bc5ada21378f9ed30e6f729c2c71b61ebe00db16eb225 SHA512 ac8cfc002ccbff8cf95c3e5508956cf5622c1c145b730589308ec4ca9173e5efca338829e13aa7dc37db035868dc964ab0e3e0edba15de49c64e18c50247b918 DIST rabbitmq-server-3.8.3.tar.xz 3304456 BLAKE2B 2ad04a1a8688cbbba71a82d44003f7ad632b26616dae977e8d326316baaaf7b475c4db37777b13aa8cb153373be0f9f85972aac7ad53c299e39615dd032e8ced SHA512 1547e7935ff34be278970c03b176d76e52a6968cc2955dc75fa00d184ed1ba567e095c5a56e0f2f7c868d41281897c53ec6f4baff019e144aa57afe99cd6adaa +DIST rabbitmq-server-3.8.4.tar.xz 3086216 BLAKE2B c1c22ebca1b66aa210b45b3fccfffd89f3bb9312d37c78362db6d728456c8b7f3a0d787bcd411909509130307faf8457e4a7becb40cbf76ebb1cd1f1b615cce6 SHA512 2dee202b0a39f3d3d4314c4a5ee812d1c2b85225c6cdfc9ddb887285176df8d7009ca4ac8c3ab61cc3a943d32fa7665124dbf51ed18a322a280a3590601f118d diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.8.4.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.8.4.ebuild new file mode 100644 index 000000000000..dacf415d4e71 --- /dev/null +++ b/net-misc/rabbitmq-server/rabbitmq-server-3.8.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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" + +# This is the first release to officially support Erlang 23. +# There is one remaining known Erlang 23 incompatibility: +# rabbitmq-diagnostics observer will fail on Erlang 23. +# This will be addressed in a future release. +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.8.0 + <dev-lang/elixir-1.11.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/include deps/rabbit/priv escript 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-r4 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} +} |