From 936d0ed3aaface3a953ea2fe9d228f00ca4e8dae Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Mon, 25 Jan 2021 21:06:07 +0100 Subject: [PATCH] www-apps/nextcloud: add post-install doc warning Closes: https://bugs.gentoo.org/762388 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli --- www-apps/nextcloud/files/php-argon2-en.txt | 11 +++++++++++ www-apps/nextcloud/nextcloud-18.0.12.ebuild | 4 +++- www-apps/nextcloud/nextcloud-18.0.13.ebuild | 2 ++ www-apps/nextcloud/nextcloud-19.0.6.ebuild | 4 +++- www-apps/nextcloud/nextcloud-19.0.7.ebuild | 2 ++ www-apps/nextcloud/nextcloud-20.0.4.ebuild | 4 +++- www-apps/nextcloud/nextcloud-20.0.5.ebuild | 2 ++ 7 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 www-apps/nextcloud/files/php-argon2-en.txt diff --git a/www-apps/nextcloud/files/php-argon2-en.txt b/www-apps/nextcloud/files/php-argon2-en.txt new file mode 100644 index 0000000000000..44d6487890daf --- /dev/null +++ b/www-apps/nextcloud/files/php-argon2-en.txt @@ -0,0 +1,11 @@ +Migrating from an existing Nextcloud deployment + +if you migrate data from a previously existing Nextcloud deployment, you may +need to enable USE=argon2 on dev-lang/php (if previous system ran on a php +version using this hashing algorithm) + +This is not listed in ebuild requirements as this will not be required for +most systems (new installs and some migrations) + +More details in bug: +https://bugs.gentoo.org/762388 diff --git a/www-apps/nextcloud/nextcloud-18.0.12.ebuild b/www-apps/nextcloud/nextcloud-18.0.12.ebuild index de1b7898efdff..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-18.0.12.ebuild +++ b/www-apps/nextcloud/nextcloud-18.0.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install } diff --git a/www-apps/nextcloud/nextcloud-18.0.13.ebuild b/www-apps/nextcloud/nextcloud-18.0.13.ebuild index f4ace9730f93e..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-18.0.13.ebuild +++ b/www-apps/nextcloud/nextcloud-18.0.13.ebuild @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install } diff --git a/www-apps/nextcloud/nextcloud-19.0.6.ebuild b/www-apps/nextcloud/nextcloud-19.0.6.ebuild index de1b7898efdff..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-19.0.6.ebuild +++ b/www-apps/nextcloud/nextcloud-19.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install } diff --git a/www-apps/nextcloud/nextcloud-19.0.7.ebuild b/www-apps/nextcloud/nextcloud-19.0.7.ebuild index f4ace9730f93e..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-19.0.7.ebuild +++ b/www-apps/nextcloud/nextcloud-19.0.7.ebuild @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install } diff --git a/www-apps/nextcloud/nextcloud-20.0.4.ebuild b/www-apps/nextcloud/nextcloud-20.0.4.ebuild index de1b7898efdff..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-20.0.4.ebuild +++ b/www-apps/nextcloud/nextcloud-20.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install } diff --git a/www-apps/nextcloud/nextcloud-20.0.5.ebuild b/www-apps/nextcloud/nextcloud-20.0.5.ebuild index f4ace9730f93e..0aa3ba1808c60 100644 --- a/www-apps/nextcloud/nextcloud-20.0.5.ebuild +++ b/www-apps/nextcloud/nextcloud-20.0.5.ebuild @@ -37,5 +37,7 @@ src_install() { webapp_serverowned -R "${MY_HTDOCSDIR}"/config webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt + webapp_src_install }