From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FF6A138306 for ; Wed, 13 Jul 2016 20:36:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C6B521C2D4; Wed, 13 Jul 2016 20:36:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E878221C2D4 for ; Wed, 13 Jul 2016 20:36:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99018340CC7 for ; Wed, 13 Jul 2016 20:36:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 194882440 for ; Wed, 13 Jul 2016 20:36:07 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1468442084.c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/ejabberd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/ejabberd/ejabberd-16.04.ebuild X-VCS-Directories: net-im/ejabberd/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1 X-VCS-Branch: master Date: Wed, 13 Jul 2016 20:36:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8bd4f76f-a30c-4588-b2ae-84f9d679aea1 X-Archives-Hash: d89d25320ae546acc44ea4fdef5cc63a commit: c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1 Author: Amadeusz Żołnowski gentoo org> AuthorDate: Wed Jul 13 20:34:06 2016 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Wed Jul 13 20:34:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76f9b9f 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(-) diff --git a/net-im/ejabberd/ejabberd-16.04.ebuild b/net-im/ejabberd/ejabberd-16.04.ebuild index 07014ea..fa48fa8 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:"