summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-07-13 21:34:06 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-07-13 21:34:44 +0100
commitc76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1 (patch)
tree38eabd2dab0bed119395f37d6a99d2bcd33a4b71 /net-im/ejabberd
parentsci-geosciences/mapserver: Revision bump for php 5.6 and library fixes (diff)
downloadgentoo-c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1.tar.gz
gentoo-c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1.tar.bz2
gentoo-c76f9b9f9eca17f8bc4ea6edd6bcd9a626589ae1.zip
net-im/ejabberd: Add warning about pubsub data migration
Gentoo-Bug: 588244 Package-Manager: portage-2.3.0
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r--net-im/ejabberd/ejabberd-16.04.ebuild20
1 files changed, 18 insertions, 2 deletions
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:"