commit:     936d0ed3aaface3a953ea2fe9d228f00ca4e8dae
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 20:06:07 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 20:06:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936d0ed3

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 <voyageur <AT> gentoo.org>

 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(-)

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 00000000000..44d6487890d
--- /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 de1b7898efd..0aa3ba1808c 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 f4ace9730f9..0aa3ba1808c 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 de1b7898efd..0aa3ba1808c 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 f4ace9730f9..0aa3ba1808c 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 de1b7898efd..0aa3ba1808c 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 f4ace9730f9..0aa3ba1808c 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
 }

Reply via email to