net-misc/rabbitmq-server: Remove notes for very old versions.
authorGabriel Linder <linder.gabriel@gmail.com>
Thu, 20 Feb 2020 22:53:13 +0000 (23:53 +0100)
committerAlexys Jacob <ultrabug@gentoo.org>
Sat, 22 Feb 2020 11:34:09 +0000 (12:34 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Gabriel Linder <linder.gabriel@gmail.com>
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
net-misc/rabbitmq-server/rabbitmq-server-3.7.24.ebuild
net-misc/rabbitmq-server/rabbitmq-server-3.8.2.ebuild

index 0ec0c8f0ddfd124fbf0ab98ce81f20ba31a9cda3..b3cb02eb69454567602b98a4d4c4a7088134f0b8 100644 (file)
@@ -78,29 +78,3 @@ src_install() {
        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
-}
index 0ec0c8f0ddfd124fbf0ab98ce81f20ba31a9cda3..b3cb02eb69454567602b98a4d4c4a7088134f0b8 100644 (file)
@@ -78,29 +78,3 @@ src_install() {
        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
-}