www-apps/owncloud: 10.4.0 bump
authorBernard Cafarelli <voyageur@gentoo.org>
Thu, 26 Mar 2020 01:04:55 +0000 (02:04 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Thu, 26 Mar 2020 01:04:55 +0000 (02:04 +0100)
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
www-apps/owncloud/Manifest
www-apps/owncloud/owncloud-10.4.0.ebuild [new file with mode: 0644]

index 020bcff870cb1ebceee5c3f58049b65bccf679fe..1fea930429d606560a22bcec643187f4c26cfeb2 100644 (file)
@@ -1,2 +1,3 @@
 DIST owncloud-10.3.1.tar.bz2 19715056 BLAKE2B 5e6026dc1ca9d7e1469e4a592b05807e4cc6ed83293eb3ad94b13d8aefd8eaf2b79e3aa9fca2e28dbc5b6c8d93a19c50d358a4fa7e393e0aaa00307c1652545d SHA512 4f3e60409c199f8075987aa5716a8f2736e875c045349562b79d2c785b9e99bc7d01d17e110b9c768b410f261e7a81904feb1dccffd6da11d4daca82b7201e14
 DIST owncloud-10.3.2.tar.bz2 19828724 BLAKE2B 6619c83fd247889a83e6c7d574b9d0e4fc8e3e5782671e280a4f1b2500ac1b82c8514fb587114e08c4ed8fae47d70769fc0813593a5cf6bd6c6e4d1ec5ce7710 SHA512 d2a1903c52e26f4518e91035e940999ff7955f9f955c71c4e6457a267137df5f61ed02227e5dcc97c3d21d46a017206fb60e9b430a73006fd8fc503e2d20d2d7
+DIST owncloud-10.4.0.tar.bz2 20426453 BLAKE2B 7affb3b3ec0d4db810199ef40f96c897c3c0d5d4c1e6e66f6014294dff61226a0d062c1ac70c6d23f377179adebec9c8b9b8afaa5628c7776ea32826f25d373b SHA512 3d95cb0795a33238fc5e3a051699ae831b861a2a9d41111b10fa8347fd06f6f8a3f6b810a2896c81a4de7af4301c6cccda8cad41fcfedb9659ed1ae227e15b20
diff --git a/www-apps/owncloud/owncloud-10.4.0.ebuild b/www-apps/owncloud/owncloud-10.4.0.ebuild
new file mode 100644 (file)
index 0000000..97ad644
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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.org/community/${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
+}