summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-07-06 13:52:39 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2021-07-06 14:46:45 +0200
commitc0f286ef50136dc08453a04c30fc9f0e13057412 (patch)
treeba83a1d524fb85778d2287a229fcd5bf21982795 /www-apps/nextcloud
parentwww-apps/nextcloud: drop 19.x versions, unsupported upstream (diff)
downloadgentoo-c0f286ef50136dc08453a04c30fc9f0e13057412.tar.gz
gentoo-c0f286ef50136dc08453a04c30fc9f0e13057412.tar.bz2
gentoo-c0f286ef50136dc08453a04c30fc9f0e13057412.zip
www-apps/nextcloud: 22.0.0 major version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'www-apps/nextcloud')
-rw-r--r--www-apps/nextcloud/Manifest1
-rw-r--r--www-apps/nextcloud/nextcloud-22.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index 22641eb4630e..98bbfc181e2b 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -2,3 +2,4 @@ DIST nextcloud-20.0.10.tar.bz2 123375030 BLAKE2B 881777f0ee0489e14ae67eef5d7eaa3
DIST nextcloud-20.0.11.tar.bz2 123339332 BLAKE2B f89dd1c81a9fcac46bb270a646df89d43064bac73e96209e379a5a60b204bdc44ade6b265c870138bc35a0a3aa2a52f4797166c03c1d156ac49336e48c1372d7 SHA512 4863a7819a564655db0a7b49a7ca9be642ab5383cdeada5c3ce6fc4529fda522a4427eb4b3ba5e00e4719232fed6c1f9e606e11f38c35f8838f82247359f335b
DIST nextcloud-21.0.2.tar.bz2 129247099 BLAKE2B 282f79e9f764f1444dfe339e73fb955a7c77ad9335304ce0d9f8f7353769f3d11ee455ab01aea03ea04f5f8a029b3e97e49845fe6490d5db4d07324460626917 SHA512 a222c55c7ff515b96b7c826da13ff1770f82bebda2e73df6bb31df635338155dff611a560b665b0e9b17f2d8f33132abf75ffa80e84f5a115ee5d8a4737b6795
DIST nextcloud-21.0.3.tar.bz2 129433656 BLAKE2B 75df0e3363e606fb4406aca7e37ab0a373d390f50966405c59e620b683979855c05f16548bb14e9ac7b4ffa756562679e5d6f1a8e4cd1d46aeda0756f235facd SHA512 e618dc400659a2aca37857c446d31296e64d7671a66bf077969b3194ae35242c6de11eabd1547791067c0edc43e93149fadf102bd4022cffb92802ad9d7e4ef7
+DIST nextcloud-22.0.0.tar.bz2 144386509 BLAKE2B 5d41337a7577d33f4be2ce5900b97df5582542bf4b51a4de4eff2f62726bcf014d99456ebc775feb16fd625582760e31ee434a23874451a1072822dcd21d5cd6 SHA512 ced81296d1080cb224ac96df501721c1a16a8a83f9784ab281d97202ec6611173d60a6a87279e7f36b735a92dd010ed81b0c7561fc7dadde00df10f9b7711cec
diff --git a/www-apps/nextcloud/nextcloud-22.0.0.ebuild b/www-apps/nextcloud/nextcloud-22.0.0.ebuild
new file mode 100644
index 000000000000..ab3ba8e01bc4
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-22.0.0.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
+}