www-apps/owncloud: version bump, bug #560934
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 21 Sep 2015 14:15:10 +0000 (16:15 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 21 Sep 2015 14:15:31 +0000 (16:15 +0200)
Package-Manager: portage-2.2.20.1

www-apps/owncloud/Manifest
www-apps/owncloud/owncloud-8.1.3.ebuild [new file with mode: 0644]

index 0d151e5ed672bdd8c7df2cfaee7ceaf28dc61ca0..96aea41d178094aec123bd2955ec8081976672d0 100644 (file)
@@ -4,3 +4,4 @@ DIST owncloud-7.0.6.tar.bz2 28624928 SHA256 0c7afc0cb334ef4b57b11bc1e3afcca54954
 DIST owncloud-8.0.4.tar.bz2 24518670 SHA256 0a99df7d6c6cdf3d5654b306d337c5d5980fa3b490e7791d357ffd82f2249179 SHA512 6ce8c86fe7a145ac8ca1e2316f50e8f719f154554a161942b999674f111dd5afb54f1a7065ce8f53e1d31a8d17cd571d285fbfd6e6eb939fde2f637328f420fa WHIRLPOOL 8a9fdbb686b3dc357a7eecfdcb77e5b07779422e2cd6588c8b6fe87d00da57355435f854653f2c5dc299a895c4143059a4bd3e297ab24abf9e72e94045c66947
 DIST owncloud-8.1.0.tar.bz2 26247599 SHA256 3d308d3b3d7083ca9fbfdde461ccd4bb66b7fb36f922ade5e6baf1b03bf174ee SHA512 5c27018c24cd489df9eb2384f2abcb98b569b816a14471bb857bea537a4f362dc209c10a6bed3e385e6dab03b406529dc80f01e002e9a1f1ebd0d7028d21d90d WHIRLPOOL c95ab38030a331d50e66b94353f260c31e93cf6940c3d6bed3ef65f054d9c4da9a2a30c81635e6816d7844996d05a78da7207881f618388e3d404d3005cde8e3
 DIST owncloud-8.1.1.tar.bz2 27042475 SHA256 91f39cbb2f542c9f5f949d02f31e6379ce9e3b7b6b4ae7b093c19e81d069c7d1 SHA512 7d975e3352529a50c362b31445f36cc75ad7999618011320518b04e3a3853fcefac39dd53a6c9880bf6e073c46f06203d12f1ca9c0cb4c816fa784c11620c0a7 WHIRLPOOL 26d3d73c0438b5c6618d01b62ba9f8729d40a8756bb84a28498da966a0dffb629381723dabe9adf6382db2354dce11ca453535f025e9ac8a573e15c8d5709d37
+DIST owncloud-8.1.3.tar.bz2 27099465 SHA256 1c878f8c749c20b9c6b78f33b7b3e75953950b1a9cfac995656a1f608e615773 SHA512 3d1b33f9bea6a9acd2d9d35598294d42e3513f8d16e8a60901408ecb798f081a74dda4f4a7c606ff9d0d7acb9e0b31e18792077e387991c1a2fddc3d3fbb0485 WHIRLPOOL 4701e4b7f3da70ac29d5d23643c5189a78dcaa22f942e712bf35e83030bda32f5707d213d222c1c195472ea7d8e99315161b68851c6c45b0204e6bf4404059f1
diff --git a/www-apps/owncloud/owncloud-8.1.3.ebuild b/www-apps/owncloud/owncloud-8.1.3.ebuild
new file mode 100644 (file)
index 0000000..1de78dc
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils webapp
+
+DESCRIPTION="Web-based storage application where all your data is under your own control"
+HOMEPAGE="http://owncloud.org"
+SRC_URI="http://download.owncloud.org/community/${P}.tar.bz2 -> ${PF}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+curl mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlwriter,zip]
+       virtual/httpd-php"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+       webapp_pkg_setup
+}
+
+src_prepare() {
+       epatch_user
+}
+
+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
+}