Skip to content

Commit

Permalink
www-apps/nextcloud: add post-install doc warning
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/762388
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
voyageur committed Jan 25, 2021
1 parent 7d8073b commit 936d0ed
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 3 deletions.
11 changes: 11 additions & 0 deletions www-apps/nextcloud/files/php-argon2-en.txt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion www-apps/nextcloud/nextcloud-18.0.12.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}
2 changes: 2 additions & 0 deletions www-apps/nextcloud/nextcloud-18.0.13.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
4 changes: 3 additions & 1 deletion www-apps/nextcloud/nextcloud-19.0.6.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}
2 changes: 2 additions & 0 deletions www-apps/nextcloud/nextcloud-19.0.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
4 changes: 3 additions & 1 deletion www-apps/nextcloud/nextcloud-20.0.4.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}
2 changes: 2 additions & 0 deletions www-apps/nextcloud/nextcloud-20.0.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 936d0ed

Please sign in to comment.