summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-02-25 21:21:35 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2021-02-26 02:55:05 +0100
commit0e08e1b63dd2fb93b488316375968dfd8a875d2f (patch)
tree1c3d2bf33a0e38a78def798755dadeb50b3ffd5a /www-apps
parentwww-apps/nextcloud: 20.0.8, 19.0.9 bumps (diff)
downloadgentoo-0e08e1b63dd2fb93b488316375968dfd8a875d2f.tar.gz
gentoo-0e08e1b63dd2fb93b488316375968dfd8a875d2f.tar.bz2
gentoo-0e08e1b63dd2fb93b488316375968dfd8a875d2f.zip
www-apps/nextcloud: 21.0.0 major version bump
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/nextcloud/Manifest1
-rw-r--r--www-apps/nextcloud/nextcloud-21.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/nextcloud/Manifest b/www-apps/nextcloud/Manifest
index c07baa6b3759..36379112b7d2 100644
--- a/www-apps/nextcloud/Manifest
+++ b/www-apps/nextcloud/Manifest
@@ -3,3 +3,4 @@ DIST nextcloud-19.0.9.tar.bz2 82504506 BLAKE2B bcd456b96e778675509f0c3bb900c7489
DIST nextcloud-20.0.5.tar.bz2 105422202 BLAKE2B 5fdfcd75bdb257d803caec9d563b34527cfc54d55ba93b9912ee4dd9ee41624fcd38fa2fe243313ebd057487d1b53e99e0bc33f57dbab1c860a2ae952d8bedf0 SHA512 8839795e0c31c0bb264888f55c189214b802bc50e096af90530b4ef395e54a29bd3b9a7de5bfabc314ded61fd8ddf79c7d445b4277a46bb342f4273c64bd0219
DIST nextcloud-20.0.7.tar.bz2 105883310 BLAKE2B 05bf673e9f7d24248c5993db5d28e5a0acb56407c743d77449777b44a2e09ae0006ecab49cc824b3c75700532ab5a77ce492f1cfbf89547aa47eacbb08ba2465 SHA512 24cda9579d24422ea1c72c256ad208e936372077f62a91b3ca4e99ac511127dee5cc128c163174373394883114107cdda52bcb012faa282767710e1365ced3b3
DIST nextcloud-20.0.8.tar.bz2 104577806 BLAKE2B 97647905fb18e99d1b99f41119fd83f0461f0e5c06dfc29cb91a8178884d9bcdb60a4d02de25b61cd4c64bf2fbb3c0c065358b98a4f88488bb8d458c72672902 SHA512 dd512c3a6f624a20b49743d2ecdfc31c740452bf50fb87f3ab0d6b365ebbfc9004bdc4495e5f378c26085312e138939a6c707f045421e0be6ef2ab881b6c2e66
+DIST nextcloud-21.0.0.tar.bz2 110504725 BLAKE2B 7c583c150f6b315830191329310993582439e7aef57f306b93681d654b8fa7d4d5dafee082befd493aafd2bf6efd940d52ca0ca05b8e42b79a1599ff3e809550 SHA512 a1ae3400f0fb5997e54b0cee821c50d13e4ba0e27c9d11731c8b5233cba564666121a58aed848ccd2593a9783e27db1ed98ff559588a76a1acaeaf083ef4404a
diff --git a/www-apps/nextcloud/nextcloud-21.0.0.ebuild b/www-apps/nextcloud/nextcloud-21.0.0.ebuild
new file mode 100644
index 000000000000..0aa3ba1808c6
--- /dev/null
+++ b/www-apps/nextcloud/nextcloud-21.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
+}