www-apps/owncloud: 10.4.1 bump
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 4 May 2020 10:10:18 +0000 (12:10 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 4 May 2020 10:19:24 +0000 (12:19 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
www-apps/owncloud/Manifest
www-apps/owncloud/owncloud-10.4.1.ebuild [new file with mode: 0644]

index 22b7e37b90a7dba2dffcf6f32235b57ef55ddb31..d51e3405f48d8ddb72fb41c04d381ad5e531b1a5 100644 (file)
@@ -1 +1,2 @@
 DIST owncloud-10.4.0.tar.bz2 20426453 BLAKE2B 7affb3b3ec0d4db810199ef40f96c897c3c0d5d4c1e6e66f6014294dff61226a0d062c1ac70c6d23f377179adebec9c8b9b8afaa5628c7776ea32826f25d373b SHA512 3d95cb0795a33238fc5e3a051699ae831b861a2a9d41111b10fa8347fd06f6f8a3f6b810a2896c81a4de7af4301c6cccda8cad41fcfedb9659ed1ae227e15b20
+DIST owncloud-10.4.1.tar.bz2 20439397 BLAKE2B 1a83d82a3657cb62a69d49293951f8355a156b08791c164c0971505e6be151cd415b0d88157171989162303bf942c6bfce3d22fab291ac18a635fee0e7057343 SHA512 381e31faba9a1853a4c087a218637a2a9c1596189f0867d86b1fa800d7d1488a65d27fdb058b792eed027d0c11a4d582b72044c0b5e751d8509cbd32233c2e85
diff --git a/www-apps/owncloud/owncloud-10.4.1.ebuild b/www-apps/owncloud/owncloud-10.4.1.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
+}