summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-04-28 19:12:01 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-04-28 19:16:23 +0100
commit81832ddee3416ed698561e7299a973b27ca8335e (patch)
treeb01c7146309fe346ae31d46cefdb812313d0bf21 /net-misc/rabbitmq-server
parentmedia-libs/libsidplayfp: bump to 2.1.2 (diff)
downloadgentoo-81832ddee3416ed698561e7299a973b27ca8335e.tar.gz
gentoo-81832ddee3416ed698561e7299a973b27ca8335e.tar.bz2
gentoo-81832ddee3416ed698561e7299a973b27ca8335e.zip
net-misc/rabbitmq-server: drop old to unblock erlang cleanup
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-misc/rabbitmq-server')
-rw-r--r--net-misc/rabbitmq-server/Manifest1
-rw-r--r--net-misc/rabbitmq-server/rabbitmq-server-3.8.7.ebuild80
2 files changed, 0 insertions, 81 deletions
diff --git a/net-misc/rabbitmq-server/Manifest b/net-misc/rabbitmq-server/Manifest
index a5ed4af7dee9..75dc77cd7e26 100644
--- a/net-misc/rabbitmq-server/Manifest
+++ b/net-misc/rabbitmq-server/Manifest
@@ -1,2 +1 @@
DIST rabbitmq-server-3.8.14.tar.xz 3187648 BLAKE2B 53dc32a4b798e79d4c523f13e3d6edeaeabae251221875c464d4ae53fb5d80883807d615591cf8b7a9aae862b182637a2a0bbe1966025791560b3e8f6dab73f5 SHA512 19326fb7ce42241c22541dadd73a147d0b1e6c01d3c7748486fb1d666d76e2ba7835d2a39c200294808ef1a7af5f885fbbe8c7c2a81e561922bd6f8574e5fb91
-DIST rabbitmq-server-3.8.7.tar.xz 3074228 BLAKE2B 131e79cc97c64fb5ba8d0c4906501da34e8569cb498ec61fe16be05923e2e2787a3d4ae5291f27efa619a0988b3c98ab8109ec2c0bc2c74da48c4ddc2f5e2cd7 SHA512 0d9771576f5b0b3ee68386ad02c7b01aa9939c38ab1aa8a8e2fe5f5b494b5cd855d2a5029a74364c6bf5097e8a70ef95e325ef9a9945576344c1a33ace0998ac
diff --git a/net-misc/rabbitmq-server/rabbitmq-server-3.8.7.ebuild b/net-misc/rabbitmq-server/rabbitmq-server-3.8.7.ebuild
deleted file mode 100644
index 2f06c6eafea2..000000000000
--- a/net-misc/rabbitmq-server/rabbitmq-server-3.8.7.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{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-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE=""
-RESTRICT="test"
-
-RDEPEND=">=dev-lang/erlang-21.3[ssl]
- <dev-lang/erlang-23.1[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}
-}