www-apps/owncloud: version bump
authorBernard Cafarelli <voyageur@gentoo.org>
Fri, 14 Aug 2015 21:31:58 +0000 (23:31 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Fri, 14 Aug 2015 21:40:53 +0000 (23:40 +0200)
Package-Manager: portage-2.2.20.1

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

index 150eef6441d4369c1ce4284ef21ee64715123f85..0d151e5ed672bdd8c7df2cfaee7ceaf28dc61ca0 100644 (file)
@@ -3,3 +3,4 @@ DIST owncloud-6.0.8.tar.bz2 30853189 SHA256 055719b0f020f7c27ac636e15cfdc53b0965
 DIST owncloud-7.0.6.tar.bz2 28624928 SHA256 0c7afc0cb334ef4b57b11bc1e3afcca5495425cd5902089b2cf5c6934d290117 SHA512 2cb872b07d01106204b32dbbea5f46041e4de57b7063c454d974088f1c348591473f5858e5175a9c60ee101805ff09a3fa2679c1e273750b1a6e8d38279c127b WHIRLPOOL 4bdf5c40ea8c4e35cb51d6b54151deac5573bd018ba3d30925b6ef3900296fee7f333059350bf2d855201a8e0620a257b4571c8e27030e8e10163f096154e645
 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
diff --git a/www-apps/owncloud/owncloud-8.1.1.ebuild b/www-apps/owncloud/owncloud-8.1.1.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
+}