summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2012-06-07 22:36:24 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2012-06-07 22:36:24 +0000
commitc9d185cecbdac062407e6d576366bbc687fd33b7 (patch)
treef31678bf1c5a36435abe91fa935c7833ff09b43f /www-apps/owncloud
parentinherit flag-o-matic for append-cppflags (diff)
downloadgentoo-2-c9d185cecbdac062407e6d576366bbc687fd33b7.tar.gz
gentoo-2-c9d185cecbdac062407e6d576366bbc687fd33b7.tar.bz2
gentoo-2-c9d185cecbdac062407e6d576366bbc687fd33b7.zip
Version bump, and depend on php with USE=pdo, bug #417599
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/owncloud')
-rw-r--r--www-apps/owncloud/ChangeLog8
-rw-r--r--www-apps/owncloud/owncloud-4.0.0.ebuild4
-rw-r--r--www-apps/owncloud/owncloud-4.0.1.ebuild47
3 files changed, 56 insertions, 3 deletions
diff --git a/www-apps/owncloud/ChangeLog b/www-apps/owncloud/ChangeLog
index f8c69d582758..f3915bac332a 100644
--- a/www-apps/owncloud/ChangeLog
+++ b/www-apps/owncloud/ChangeLog
@@ -1,6 +1,12 @@
# 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.8 2012/05/24 17:04:29 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/ChangeLog,v 1.9 2012/06/07 22:36:24 voyageur Exp $
+
+*owncloud-4.0.1 (07 Jun 2012)
+
+ 07 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org> owncloud-4.0.0.ebuild,
+ +owncloud-4.0.1.ebuild:
+ Version bump, and depend on php with USE=pdo, bug #417599
*owncloud-4.0.0 (24 May 2012)
diff --git a/www-apps/owncloud/owncloud-4.0.0.ebuild b/www-apps/owncloud/owncloud-4.0.0.ebuild
index a4ba89347a85..fa2241f8afca 100644
--- a/www-apps/owncloud/owncloud-4.0.0.ebuild
+++ b/www-apps/owncloud/owncloud-4.0.0.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-4.0.0.ebuild,v 1.2 2012/06/07 22:36:24 voyageur Exp $
EAPI=4
@@ -16,7 +16,7 @@ IUSE="+curl mysql postgres sqlite3"
REQUIRED_USE="|| ( mysql postgres sqlite3 )"
DEPEND=""
-RDEPEND="dev-lang/php[curl?,gd,json,mysql?,postgres?,sqlite3?,xmlwriter,zip]"
+RDEPEND="dev-lang/php[curl?,gd,json,mysql?,pdo,postgres?,sqlite3?,xmlwriter,zip]"
need_httpd_cgi
need_php_httpd
diff --git a/www-apps/owncloud/owncloud-4.0.1.ebuild b/www-apps/owncloud/owncloud-4.0.1.ebuild
new file mode 100644
index 000000000000..ccbecb0c0475
--- /dev/null
+++ b/www-apps/owncloud/owncloud-4.0.1.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.1.ebuild,v 1.1 2012/06/07 22:36:24 voyageur 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?,pdo,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
+}