commit:     f6774c3bdb264e2f03800f79832ef62fc5edec02
Author:     Gabriel Linder <linder.gabriel <AT> gmail <DOT> com>
AuthorDate: Sun Mar 22 16:46:11 2020 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Mon Mar 23 08:51:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6774c3b

net-misc/rabbitmq-server: bump to version 3.8.3.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Gabriel Linder <linder.gabriel <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15057
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>

 net-misc/rabbitmq-server/Manifest                  |  1 +
 .../rabbitmq-server/rabbitmq-server-3.8.3.ebuild   | 80 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/net-misc/rabbitmq-server/Manifest 
b/net-misc/rabbitmq-server/Manifest
index 609b216c155..35a88691b9f 100644
--- a/net-misc/rabbitmq-server/Manifest
+++ b/net-misc/rabbitmq-server/Manifest
@@ -3,3 +3,4 @@ DIST rabbitmq-server-3.6.9.tar.xz 1422316 BLAKE2B 
08f88cf3b592c2fecf3e2a9c7f9a4a
 DIST rabbitmq-server-3.7.13.tar.xz 2595904 BLAKE2B 
3dce5af3b63d84e1ab8ee02ba3f55560087e5f72532e693b483e8083e25d540406d696873b291dd715c45aae1e15945e76fcc33bdd77503c6517860b45f7e7b9
 SHA512 
33cc3682214782152e4e1270d1011e94df79b454abf6fcf9d56b73be1f8cf42ce0a4a559f243b4721ae25b10897c756960c655909bee2b427395d0f0b63a2fb9
 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

diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.8.3.ebuild 
b/net-misc/rabbitmq-server/rabbitmq-server-3.8.3.ebuild
new file mode 100644
index 00000000000..2f702fd994a
--- /dev/null
+++ b/net-misc/rabbitmq-server/rabbitmq-server-3.8.3.ebuild
@@ -0,0 +1,80 @@
+# 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"
+
+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.7.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/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-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}
+}

Reply via email to