summaryrefslogtreecommitdiff
path: root/www-apps/nextcloud
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-29 18:03:51 +0000
commitd7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch)
tree1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /www-apps/nextcloud
parentabaa75b10f899ada8dd05b23cc03205064394bc6 (diff)
gentoo resync : 29.01.2021
Diffstat (limited to 'www-apps/nextcloud')
-rw-r--r--www-apps/nextcloud/Manifest19
-rw-r--r--www-apps/nextcloud/files/php-argon2-en.txt11
-rw-r--r--www-apps/nextcloud/nextcloud-18.0.12.ebuild4
-rw-r--r--www-apps/nextcloud/nextcloud-18.0.13.ebuild2
-rw-r--r--www-apps/nextcloud/nextcloud-18.0.14.ebuild43
-rw-r--r--www-apps/nextcloud/nextcloud-19.0.6.ebuild4
-rw-r--r--www-apps/nextcloud/nextcloud-19.0.7.ebuild2
-rw-r--r--www-apps/nextcloud/nextcloud-19.0.8.ebuild43
-rw-r--r--www-apps/nextcloud/nextcloud-20.0.4.ebuild4
-rw-r--r--www-apps/nextcloud/nextcloud-20.0.5.ebuild2
-rw-r--r--www-apps/nextcloud/nextcloud-20.0.6.ebuild43
11 files changed, 168 insertions, 9 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 4bf3fcecc432..90ad6b2876f3 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -1,13 +1,20 @@
+AUX php-argon2-en.txt 416 BLAKE2B 9940a3e218d1db382790f4754352594c9098eccce7426729e75471f017e15bb45b50cc885609e54817077e36d9feb4484bcff5b40c4f669ad80d4d5a643da8bc SHA512 076bbbfb9305a2608b60fb7f9802a5a455c5d049d39c8f209eadac1a306ba2015d11a30b4544d8cdf43025077a3c3087f3e9922cd9b530a08c089a7818590115
DIST nextcloud-18.0.12.tar.bz2 95691445 BLAKE2B 3c10ca58de3a65f30f9dd28752844e7bdc9ad940ced89c4067940859a694f697091076e390fe11cdeea76bf8a0f5bf467cc3864698756bf3f137c8930cce21da SHA512 cd9679a730768d143f9cabda8c5b29782369bed7310d31a408358a8b5f0e9794a7ce802e1fdfbb78fbc936160fa681be874d252c4d5e3f985951ad8c2fd48f81
DIST nextcloud-18.0.13.tar.bz2 79529563 BLAKE2B 44bb25fd3bc1bb7a8f275b13c1bd5a2913a746858a903f4a2ec803bce3372af8342daf0cdcb7a3da48d6878e452a36d2b1ea88b587ed2b6eaf3db496eff74b2f SHA512 8040dece29a2de2ac0e5c02aa26f899c05c936312c7e8a5f1b0d2f97fa12150f0c66ec9f08764ce81e92fc90ecc9bde45fa43da3293437d40ec4a3b16b6a744e
+DIST nextcloud-18.0.14.tar.bz2 79583000 BLAKE2B 10af5da16e3581ac01cecb38365598742599390f0424dfd3dc0c68c63c267cd466a31f38653645232c4cdcd7ec9a7ff92b95a3a8d8e1bd55afbe74d4b753c1e1 SHA512 979b44fa8f44ac43c3a7d90fc43524f794f88e2c66b206234e29ee4f8881114b73d74c00da8f946b7b74c8e340c47a7d0d91eb5958ac05b479897f5705bf1ff7
DIST nextcloud-19.0.6.tar.bz2 98375846 BLAKE2B d93eeac7ccadbea53663c5f215a5b745e34251655691bc39f00466781b5b6cfaea1ae2d8cd65ff61c7fcd6e754757d74f758a2d0b198c1c3cc9183ddc5d5ec21 SHA512 a8b33fb106809fc071399229e8af201d31be85cf28f0ab447a23b77067afe85b093031c15b01d14e811bf82fcfc28c30727ae773f7be9047d10a224b122d2590
DIST nextcloud-19.0.7.tar.bz2 82202484 BLAKE2B ceae5ef0ddec99be9e8a27c17e83ee7ed138e93ca816f37d2c0d87e480732dcc361823ddd03e8091d43a2c628f204fac719db06d6837eabe6c618e4b275f317f SHA512 0a68a4985786a146ea1cc9e8e53319f8dcdf99dfe86b6d80bebb431edbb6c7a629d4bc6ab2c6ca23e7e5a434bb74824bf1b103c801e6ec37ab89b085372ce8e0
+DIST nextcloud-19.0.8.tar.bz2 82313065 BLAKE2B ebea55cdbf935a9df8ea7e8f1f8dfbaefb92d01a7e0fe50bdc2dde4a4fa0e3a9c19e41d95e0cdffb6ceed61060ec7cabfdf3ca1b6728c37f7690cefe39da45f2 SHA512 3ba6c639e5e1c833d0a4d7e46d23424c66af22211b39ff78928987c04d8cffb3d3b5fa6d51e8a043ee919dc8ae2eec7dec221512596e2b34703082ab02da0020
DIST nextcloud-20.0.4.tar.bz2 119997124 BLAKE2B e4ffac2f47e8aee89580b47e92326625c034bbf9a042b7d488da8ca3e43fc789bca0eb5efbc97e60ce74275a01d4535bfd8d509385ebcba48710b6f0cf9fad85 SHA512 15646175a6139ea22219df10805946f643397faf708e6808838227412e6d06b5224d18675d21d3c057d543ae179fb8626e68f412d6fe9bd758362d7a1023daff
DIST nextcloud-20.0.5.tar.bz2 105422202 BLAKE2B 5fdfcd75bdb257d803caec9d563b34527cfc54d55ba93b9912ee4dd9ee41624fcd38fa2fe243313ebd057487d1b53e99e0bc33f57dbab1c860a2ae952d8bedf0 SHA512 8839795e0c31c0bb264888f55c189214b802bc50e096af90530b4ef395e54a29bd3b9a7de5bfabc314ded61fd8ddf79c7d445b4277a46bb342f4273c64bd0219
-EBUILD nextcloud-18.0.12.ebuild 1023 BLAKE2B a3ec5ad68dbd2dfa107ee4ef3ab0a4afcb2b6b271b7498f0fee12fc0c585f729bc3df9ac89119c631ec3bc8c1273c6fdb1782f38a502670303f31d2b6ca2ceb3 SHA512 3eeb817d295fd6128b400aab95a56e05a5d20f611c9cac1685863c82534cd302bf0d011752896d9a61f2777722f44ca46eb02ab1bfa3c26e3a9db91d3b9a6357
-EBUILD nextcloud-18.0.13.ebuild 1023 BLAKE2B 6ac987082d66896bc37c3072804d5921fd11fe3e6b8255c1e223483637baa8a5f41193cb357314d9b9a778e41ee7c56b5b6b15d4fc5eeaf200eb6fe58302f63b SHA512 f902d734ef85ff94e4c0143eaf7abf22a7e81f3237d00103625bf0609963d6245e5cfe24df0422a661ecfd1808b6a38e8e5dbbf9a58f666f485c569deba7ca02
-EBUILD nextcloud-19.0.6.ebuild 1023 BLAKE2B a3ec5ad68dbd2dfa107ee4ef3ab0a4afcb2b6b271b7498f0fee12fc0c585f729bc3df9ac89119c631ec3bc8c1273c6fdb1782f38a502670303f31d2b6ca2ceb3 SHA512 3eeb817d295fd6128b400aab95a56e05a5d20f611c9cac1685863c82534cd302bf0d011752896d9a61f2777722f44ca46eb02ab1bfa3c26e3a9db91d3b9a6357
-EBUILD nextcloud-19.0.7.ebuild 1023 BLAKE2B 6ac987082d66896bc37c3072804d5921fd11fe3e6b8255c1e223483637baa8a5f41193cb357314d9b9a778e41ee7c56b5b6b15d4fc5eeaf200eb6fe58302f63b SHA512 f902d734ef85ff94e4c0143eaf7abf22a7e81f3237d00103625bf0609963d6245e5cfe24df0422a661ecfd1808b6a38e8e5dbbf9a58f666f485c569deba7ca02
-EBUILD nextcloud-20.0.4.ebuild 1023 BLAKE2B a3ec5ad68dbd2dfa107ee4ef3ab0a4afcb2b6b271b7498f0fee12fc0c585f729bc3df9ac89119c631ec3bc8c1273c6fdb1782f38a502670303f31d2b6ca2ceb3 SHA512 3eeb817d295fd6128b400aab95a56e05a5d20f611c9cac1685863c82534cd302bf0d011752896d9a61f2777722f44ca46eb02ab1bfa3c26e3a9db91d3b9a6357
-EBUILD nextcloud-20.0.5.ebuild 1023 BLAKE2B 6ac987082d66896bc37c3072804d5921fd11fe3e6b8255c1e223483637baa8a5f41193cb357314d9b9a778e41ee7c56b5b6b15d4fc5eeaf200eb6fe58302f63b SHA512 f902d734ef85ff94e4c0143eaf7abf22a7e81f3237d00103625bf0609963d6245e5cfe24df0422a661ecfd1808b6a38e8e5dbbf9a58f666f485c569deba7ca02
+DIST nextcloud-20.0.6.tar.bz2 105381388 BLAKE2B b09da12c95c7fa1ac44d9409fe940c12498701c9aa8d220b3be47d430239c02378dfcac653eba460d60ff563f64d5a2584fa089cf41dcf7e6abe69f030a0ae02 SHA512 5a705852821f1fe846880c3d6fc710c47af46dda19a3676afeb98fa37241389cfccb0da378afd250de525484941f51e834744dbc3ce62d8972e29978e026075f
+EBUILD nextcloud-18.0.12.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-18.0.13.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-18.0.14.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-19.0.6.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-19.0.7.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-19.0.8.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-20.0.4.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-20.0.5.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
+EBUILD nextcloud-20.0.6.ebuild 1080 BLAKE2B 452ea4bead6e463a6e5999ba2646c155dc2af4f258b11de4a8e22aa8ea6b94584ab734651ec7f7a26e3c9bac43ca2c02b84136d2a269213d3fb577fda5dc081f SHA512 86f65b9384517a04a35dc380a009d0d044aeec73d8a16cb8b54fb97ee13f6940e2166b4b45fc090502d0e18da8ab2463adf22b38ded5008b9060409ee891911b
MISC metadata.xml 475 BLAKE2B 74871cad366634084aef18e597f13073b53e1716ab6d1f8c5fb9e63a3150670167982c60bcae5d8dbada774ba374c686f33dd5eafbd7b0571449ea9a13e0cab0 SHA512 5196408ac6cd288b3989e64ad0a1b3dea869c46377c13ded4b4f0b6e0527825e4036dffdf54230482218b0fa3e1a623463888986d64fad1b997fe35dfde7c302
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 000000000000..44d6487890da
--- /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 de1b7898efdf..0aa3ba1808c6 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 f4ace9730f93..0aa3ba1808c6 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-18.0.14.ebuild b/www-apps/nextcloud/nextcloud-18.0.14.ebuild
new file mode 100644
index 000000000000..0aa3ba1808c6
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-18.0.14.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="https://nextcloud.com/"
+SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,filter,gd,hash(+),intl,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
+ imagemagick? ( dev-php/pecl-imagick )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/data
+ 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 de1b7898efdf..0aa3ba1808c6 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 f4ace9730f93..0aa3ba1808c6 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-19.0.8.ebuild b/www-apps/nextcloud/nextcloud-19.0.8.ebuild
new file mode 100644
index 000000000000..0aa3ba1808c6
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-19.0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="https://nextcloud.com/"
+SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,filter,gd,hash(+),intl,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
+ imagemagick? ( dev-php/pecl-imagick )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/data
+ 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 de1b7898efdf..0aa3ba1808c6 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 f4ace9730f93..0aa3ba1808c6 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
}
diff --git a/www-apps/nextcloud/nextcloud-20.0.6.ebuild b/www-apps/nextcloud/nextcloud-20.0.6.ebuild
new file mode 100644
index 000000000000..0aa3ba1808c6
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-20.0.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="https://nextcloud.com/"
+SRC_URI="https://download.nextcloud.com/server/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+curl +imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,filter,gd,hash(+),intl,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
+ imagemagick? ( dev-php/pecl-imagick )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/data
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/config
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/php-argon2-en.txt
+
+ webapp_src_install
+}