www-apps/nextcloud: 12.0.5 bump
authorBernard Cafarelli <voyageur@gentoo.org>
Thu, 1 Feb 2018 11:38:21 +0000 (12:38 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Thu, 1 Feb 2018 11:43:45 +0000 (12:43 +0100)
Package-Manager: Portage-2.3.22, Repoman-2.3.6

www-apps/nextcloud/Manifest
www-apps/nextcloud/nextcloud-12.0.5.ebuild [new file with mode: 0644]

index 5584638e744783f9e045fa5b335bb93eb7968b23..90e96b6e30260a8c1c0957b44ec73ed3c06f9bcb 100644 (file)
@@ -1,2 +1,3 @@
 DIST nextcloud-11.0.6.tar.bz2 43226496 BLAKE2B 08b1f088cb05d1b2916d84d29c4a9b99ff88c8e1852f7337701030a8e56bb4fc484aa4b945dc634b095ff3046479a3e004c6483b039036b4ab9597e5a6c5b20f SHA512 66ff8e69cbf895c751665f590ff3dfab1629d79424c008455ef0145fd7a637f1f545d2ea106109624c0bdd33e505732a04ab98bcde1da2b4df1c0ac84d301e0f
 DIST nextcloud-12.0.4.tar.bz2 43583313 BLAKE2B a1f495d9afca67c55f4c9b5721baa9b6be79d4d21f23daea786382b7f21f9e9cae6c8166a18bc8d40dc84a153faf759bb57739cbb8716550f68888483bcf3902 SHA512 30426e6998ccc38026ab584fbec2e8e64419dc500a62066fefa8efd29eae94c7d11104e1ecfa6307ac754dbb82d4eaa499c2b38459af6353845ea741b304a4bf
+DIST nextcloud-12.0.5.tar.bz2 43704324 BLAKE2B 92b4569b3fc29f33a9c8163f34b7119081a48c657bd9383d0d656f9c66a240339889288c8c4e9936dd884b7436574ab501b1022251f743ecf5f00bf1e9ec7c20 SHA512 6a07384fef1ca57e82c5867c7f4898b9dcc94bd99d25ea49cf44606833e0045f9503f2c9256b71845603bd7b911fdabea39e1bebe8cddb69d9d752c69101bc27
diff --git a/www-apps/nextcloud/nextcloud-12.0.5.ebuild b/www-apps/nextcloud/nextcloud-12.0.5.ebuild
new file mode 100644 (file)
index 0000000..b5b260e
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils webapp
+
+DESCRIPTION="Personal cloud that runs on your own server"
+HOMEPAGE="http://nextcloud.com"
+SRC_URI="http://download.nextcloud.com/server/releases/${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.2[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlreader,xmlwriter,zip]
+       <virtual/httpd-php-7.2"
+
+PATCHES=( "${FILESDIR}"/${PN}-12.0.4-destroy_modal_when_closed.patch )
+
+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
+}