summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-09-23 21:12:50 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2022-09-23 21:23:36 +0200
commitff3e4459a2c34fe01dea56bc779f4f9de98e149d (patch)
tree6e14abd000e9b2f3f50377961eddea459eb3ff17 /www-apps
parentnet-misc/owncloud-client: add 2.11.1.8438 (diff)
downloadgentoo-ff3e4459a2c34fe01dea56bc779f4f9de98e149d.tar.gz
gentoo-ff3e4459a2c34fe01dea56bc779f4f9de98e149d.tar.bz2
gentoo-ff3e4459a2c34fe01dea56bc779f4f9de98e149d.zip
www-apps/owncloud: add 10.11.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/owncloud/Manifest1
-rw-r--r--www-apps/owncloud/owncloud-10.11.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/www-apps/owncloud/Manifest b/www-apps/owncloud/Manifest
index 49aebaf9bed4..4932fa421938 100644
--- a/www-apps/owncloud/Manifest
+++ b/www-apps/owncloud/Manifest
@@ -1 +1,2 @@
DIST owncloud-10.10.0.tar.bz2 65066915 BLAKE2B 014320d33d18d07390ceeb773e8513d1135038974cdfab6cf688771237cbc924f00a25d47fe1e77b39d84718f21fb5e5d5cb202e44b8e7ce77a5dc4393db5023 SHA512 aedd71696ad85b03ecbc26dd064d07b7e3f1ddbeddcec4090674cebf4debc40c555f2b232615e3c089f5525c04e0dd8cf113c7284c99ef7da2cef7193f20fee7
+DIST owncloud-10.11.0.tar.bz2 62653820 BLAKE2B 8185be40bab9aaff5307b6cb68b716c26a97da578ba9c038fce1b387ae00e4109343ac93d2aab33ef40c8d1cd161b7583551f8d85cd93cd96277695b646653a2 SHA512 f707e5cbbf19c43fc225987763be29b1d967a76ae14bf997d69549a1ceff31fe1ed9d9d48f93be0b8a9fbbd23d16208b260d57bfcfaac79b106837923d29f835
diff --git a/www-apps/owncloud/owncloud-10.11.0.ebuild b/www-apps/owncloud/owncloud-10.11.0.ebuild
new file mode 100644
index 000000000000..71d8e6808dff
--- /dev/null
+++ b/www-apps/owncloud/owncloud-10.11.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit webapp
+
+DESCRIPTION="Web-based storage application where all your data is under your own control"
+HOMEPAGE="https://owncloud.org"
+SRC_URI="https://download.owncloud.com/server/stable/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+curl mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND=">=dev-lang/php-7.0[curl?,filter,gd,hash(+),intl,json(+),mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlreader,xmlwriter,zip]
+ 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_src_install
+}
+
+pkg_postinst() {
+ elog "Additional applications (calendar, ...) are no longer provided by default."
+ elog "You can install them after login via the applications management page"
+ elog "(check the recommended tab). No application data is lost."
+ webapp_pkg_postinst
+}