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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3796D15808B for ; Wed, 23 Mar 2022 08:34:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD275E086C; Wed, 23 Mar 2022 08:33:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77811E0864 for ; Wed, 23 Mar 2022 08:33:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F22B342D32 for ; Wed, 23 Mar 2022 08:33:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C72D8339 for ; Wed, 23 Mar 2022 08:33:55 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1648024430.824625c1fe3ca5b76a5bb1c56c447a3558d7d811.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/ejabberd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/ejabberd/ejabberd-21.12.ebuild X-VCS-Directories: net-im/ejabberd/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 824625c1fe3ca5b76a5bb1c56c447a3558d7d811 X-VCS-Branch: master Date: Wed, 23 Mar 2022 08:33:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08c685a1-7605-44f7-a102-e139eb40a286 X-Archives-Hash: c72fb9fe818aece0b19d1c65e84648e7 commit: 824625c1fe3ca5b76a5bb1c56c447a3558d7d811 Author: Florian Schmaus gentoo org> AuthorDate: Wed Mar 23 08:24:40 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Mar 23 08:33:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824625c1 net-im/ejabberd: improve migration instructions Signed-off-by: Florian Schmaus gentoo.org> net-im/ejabberd/ejabberd-21.12.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net-im/ejabberd/ejabberd-21.12.ebuild b/net-im/ejabberd/ejabberd-21.12.ebuild index c99d52ec5c5f..09f794d0d456 100644 --- a/net-im/ejabberd/ejabberd-21.12.ebuild +++ b/net-im/ejabberd/ejabberd-21.12.ebuild @@ -206,6 +206,13 @@ pkg_postinst() { # its own user. This increase isolation and hence robustness and # security. if $migrate_to_ejabberd_user; then + ewarn "Newer versions of the ejabberd Gentoo package use /etc/ejabberd" + ewarn "(just as upstream) and *not* /etc/jabber." + ewarn "The files from /etc/jabber will now be copied to /etc/ejabberd." + ewarn "Also ejabberd's spool directory became /var/lib/ejabberd (was /var/spool/jabber)." + ewarn "Please check your configuration, and finish the migration by stopping ejabberd" + ewarn "followed by rsync'ing /var/spool/jabber to /var/lib/ejabberd." + local -A dirs_to_migrate=( [/etc/jabber]=/etc/ejabberd [/var/spool/jabber]=/var/lib/ejabberd @@ -224,11 +231,5 @@ pkg_postinst() { chown --recursive ejabberd:ejabberd "${eroot_dst_dir}" || die fi done - - ewarn "Newer versions of the ejabberd Gentoo package use /etc/ejabberd" - ewarn "(just as upstream) and *not* /etc/jabber." - ewarn "The files from /etc/jabber where copied to /etc/ejabberd." - ewarn "Also ejabberd's spool directory became /var/lib/ejabberd (was /var/spool/jabber)." - ewarn "Please check your configuration." fi }