diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-16 12:04:26 +0100 |
commit | b92911550490e2da121ec4b02d3cf60a2d31a17d (patch) | |
tree | dc29e698da3b00d42ead3796b35416159e83d57a /net-misc/rabbitmq-server | |
parent | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (diff) |
gentoo auto-resync : 16:04:2024 - 12:04:26
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r-- | net-misc/rabbitmq-server/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild | 93 |
2 files changed, 95 insertions, 0 deletions
diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest index c6cfb251cfc5..32123f76e53e 100644 --- a/net-misc/rabbitmq-server/Manifest +++ b/net-misc/rabbitmq-server/Manifest @@ -3,6 +3,8 @@ AUX rabbitmq-server.init-r4 652 BLAKE2B 4366ea0da306ac5a23bdf6803d81216fd39b1446 AUX rabbitmq.service 314 BLAKE2B 5489ba8c773f7eccf335d34e3ead22f240fc12e1d089f33218027f9895e91ebca76ad8ba450ca6ca01568c4c67f035b14a912a2352922f7ed7287e27627f9569 SHA512 8bf25da162ef336f9eb3f69f871b0945f7b02243da8a4d800e759266236ef84740988e2e33f88f4906f08a63cab49dbae87c868f69ee89df995170d7d2ae9457 DIST rabbitmq-server-3.11.2.tar.xz 3752644 BLAKE2B bc98808579cbaa12371fc95d137fd18a0d784a859471d4dac6c328e819bb7ba5cb0256509a678788452f6dbeaa6fc48b4dbe39b24bd7cf0b1698fb6e4f67cb03 SHA512 ceec07fb9dfe8ba76850aa94543396a4e878aca13b9e3e303e86bb44bbbb1cea863148a1480b83517bfd2bdc66b814c3177ad2ed595604f5710f8f98e8dcc439 DIST rabbitmq-server-3.12.9.tar.xz 4437392 BLAKE2B 19c1e88e79c29af0c06d732d25098ee7b5575e8f269ba08e3247a65ba206c8cdc819767572071063dcbd8816756366d0a3f059d8e060ffe47fb221e1546b4c23 SHA512 c6015ee9593336104fc043ed20d99a476e7b36802ae36798f23c2caf91a01a71913963fdbe6de249f234cb3ba82379e5c5b2976e07d098c287ee72e3f238f2eb +DIST rabbitmq-server-3.13.1.tar.xz 5083312 BLAKE2B 1821d05c1be2da491019605de7877f26cb8d47bf67f901d5bb2ede961558a44900a3b8697e254167eb5622d37b20b668dc919fadbe5c5c98f5cc644b948986b3 SHA512 022c6e213cf7cea865a6931a3481897efea65dffa649dd77df9d88bb5f9b7abaaa83b525f983de4cb336b1e0469073cadc2ce48d4f47f93005c87b9fdadb3857 EBUILD rabbitmq-server-3.11.2-r1.ebuild 2377 BLAKE2B 5ef270056b188fcfa9d216d0755f2617185c8cf42e9298eb8b2463174aa5e07859f426247b3f0a15ee99c5fbcf96c00ab86be92e5239dd89ebe59688e58e2d9f SHA512 0f616f65974a56569211255ad6b5aedb21dea12129cc5862eafc811416b65cbda0df4a79338647e48ba09ea97e613ec2015ac6ea020f7d3c038291034318c465 EBUILD rabbitmq-server-3.12.9.ebuild 2524 BLAKE2B 15b4d1a2c697ef13ee9aaddcb8109c3c4b344d6815d6f0e7fea77799d7a78d1d48c36c81f51628bd1d1514af42ad6f92db785f228fe078e94139d104a6f61cad SHA512 2195fd5400446d23807e7d83ddcd9dd6e1d254f7882f8f63289e9a1ac2741035d2a459ee067a77996ddb939a800c55cb746f76a6a134a8d18144c9537e8b4ef7 +EBUILD rabbitmq-server-3.13.1.ebuild 2594 BLAKE2B f955d49108279ba56d07a80ab7d6ddaa12cadc89406dcbf69c20a8ddedf1b85992e16e67d011cc245529da9ad487256b9a07e0fe0e4d937f0cddbc3f56d97a59 SHA512 605a9a264efc2d2b1f74a7043e9175eb791b84400d619c5af587f85727dca114ae988317b938fbd13f25e63c9c3cd3b9caf46abf40e80ea9f8b4847c26883e89 MISC metadata.xml 333 BLAKE2B 32574e66e290f23db4e2f991b817eb61ca3d2f63f467f93c1ef129c9e2534e3bd75a1f473d45cd4a4c53fe4ba30b53c6ca2ceec4c7fce6abce298f74b45c6f6a SHA512 abb06f8d7b8cbea106288347519a303bcb284acc4882b5810b0d5fa30a182f6f34c33f784cfe3a15a95147b5074efc73cbcecb4b4d6312ece36ecc74df849c1a diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild new file mode 100644 index 000000000000..3307447c0c23 --- /dev/null +++ b/net-misc/rabbitmq-server/rabbitmq-server-3.13.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit python-any-r1 systemd + +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}/${P}.tar.xz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="test" + +# See https://www.rabbitmq.com/which-erlang.html for Erlang version +# See https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/rabbitmq_cli/mix.exs for Elixir version +RDEPEND=" + acct-group/rabbitmq + acct-user/rabbitmq + >=dev-lang/erlang-26.0[ssl] <dev-lang/erlang-26.3 +" +DEPEND=" + ${RDEPEND} + app-arch/zip + app-arch/unzip + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + >=dev-lang/elixir-1.13.4 <dev-lang/elixir-1.17.0 + dev-libs/libxslt + ${PYTHON_DEPS} +" + +pkg_setup() { + 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}" + chmod +x escript/* || die + insopts -m0755 + doins -r deps/rabbit/ebin deps/rabbit/include deps/rabbit/priv escript plugins + + einfo "Installing server scripts to /usr/sbin" + 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 +} + +pkg_preinst() { + # https://www.rabbitmq.com/docs/upgrade#rabbitmq-version-upgradability + if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 3.12; then + elog "Upgrading to RabbitMQ 3.12 requires all feature flags" + elog "from 3.11 to be enabled. If any feature flags are not" + elog "enabled, the node will refuse to start." + fi +} |