From c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1 Mon Sep 17 00:00:00 2001 From: Amadeusz Żołnowski Date: Wed, 13 Jul 2016 21:34:06 +0100 Subject: net-im/ejabberd: Add warning about pubsub data migration Gentoo-Bug: 588244 Package-Manager: portage-2.3.0 --- net-im/ejabberd/ejabberd-16.04.ebuild | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'net-im/ejabberd/ejabberd-16.04.ebuild') diff --git a/net-im/ejabberd/ejabberd-16.04.ebuild b/net-im/ejabberd/ejabberd-16.04.ebuild index 07014ea4bb84..fa48fa83341b 100644 --- a/net-im/ejabberd/ejabberd-16.04.ebuild +++ b/net-im/ejabberd/ejabberd-16.04.ebuild @@ -235,10 +235,26 @@ src_install() { pkg_postinst() { if [[ ! ${REPLACING_VERSIONS} ]]; then + echo elog "For configuration instructions, please see" - elog " /usr/share/doc/${PF}/html/guide.html" - elog "or the online version at" elog " http://www.process-one.net/en/ejabberd/docs/" + echo + if [[ " ${REPLACING_VERSIONS} " =~ \ 2\. ]]; then + ewarn "If you have used pubsub in ejabberd-2.* you may encounter issues after" + ewarn "migration to ${PV}. pubsub data may not be migrated automatically and" + ewarn "you may need to run migration script manually, see:" + ewarn + ewarn " https://github.com/processone/ejabberd/issues/479#issuecomment-124497456" + ewarn + ewarn "In case you don't care about all stored moods, activities, geoinfo and you" + ewarn "know you don't store in pubsub anything important, you can just remove" + ewarn "pubsub tables:" + ewarn + ewarn " rm ${EROOT%/}${JABBER_SPOOL}/pubsub_*" + ewarn + ewarn "See also: https://bugs.gentoo.org/show_bug.cgi?id=588244" + echo + fi elif [[ -f ${EROOT}etc/jabber/ejabberd.cfg ]]; then elog "Ejabberd now defaults to using a YAML format for its config file." elog "The old ejabberd.cfg file can be converted using the following instructions:" -- cgit v1.2.3-65-gdbad