summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-05-24 17:04:29 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2012-05-24 17:04:29 +0000
commit48cbdfa804dcacb807a782d8c64f3831c87fec38 (patch)
treee2618784115a40aeb5766e56265452c9e8ef1f78 /www-apps
parent[www-apps/rutorrent] Version bump per bug #411273 (diff)
downloadgentoo-2-48cbdfa804dcacb807a782d8c64f3831c87fec38.tar.gz
gentoo-2-48cbdfa804dcacb807a782d8c64f3831c87fec38.tar.bz2
gentoo-2-48cbdfa804dcacb807a782d8c64f3831c87fec38.zip
[www-apps/owncloud] Version bump per bug #417379
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/owncloud/ChangeLog7
-rw-r--r--www-apps/owncloud/owncloud-4.0.0.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/www-apps/owncloud/ChangeLog b/www-apps/owncloud/ChangeLog
index fa91eb3deed7..f8c69d582758 100644
--- a/www-apps/owncloud/ChangeLog
+++ b/www-apps/owncloud/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/owncloud
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/ChangeLog,v 1.7 2012/05/11 09:18:10 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/ChangeLog,v 1.8 2012/05/24 17:04:29 alexxy Exp $
+
+*owncloud-4.0.0 (24 May 2012)
+
+ 24 May 2012; Alexey Shvetsov <alexxy@gentoo.org> +owncloud-4.0.0.ebuild:
+ [www-apps/owncloud] Version bump per bug #417379
*owncloud-3.0.3 (11 May 2012)
diff --git a/www-apps/owncloud/owncloud-4.0.0.ebuild b/www-apps/owncloud/owncloud-4.0.0.ebuild
new file mode 100644
index 000000000000..a4ba89347a85
--- /dev/null
+++ b/www-apps/owncloud/owncloud-4.0.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-4.0.0.ebuild,v 1.1 2012/05/24 17:04:29 alexxy Exp $
+
+EAPI=4
+
+inherit webapp depend.php
+
+DESCRIPTION="Web-based storage application where all your data is under your own control"
+HOMEPAGE="http://owncloud.org"
+SRC_URI="http://owncloud.org/releases/${P}.tar.bz2"
+LICENSE="AGPL-3"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl mysql postgres sqlite3"
+REQUIRED_USE="|| ( mysql postgres sqlite3 )"
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl?,gd,json,mysql?,postgres?,sqlite3?,xmlwriter,zip]"
+
+need_httpd_cgi
+need_php_httpd
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="README"
+ dodoc ${docs}
+ rm -f ${docs}
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/apps
+ webapp_serverowned "${MY_HTDOCSDIR}"/data
+ webapp_serverowned "${MY_HTDOCSDIR}"/config
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_src_install
+}