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 }