added latest version of owncloud, which contains several fixes. it's not in the official tree yet.

This commit is contained in:
Manuel Friedli 2013-04-02 12:01:08 +00:00
parent e5b0082e63
commit a588126a95
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST owncloud-5.0.2.tar.bz2 13880252 SHA256 fa4db21df8b7c5fbbfc7f97422d4a28ce79eb0c35f015e96bafcc656c33019e4 SHA512 1ae170b770dfe9465b5c69dfd0133d09a180e474de5f06a927aecde3e9a978e86618f1bd36cd92bc9e763eb4a4d9a95c3cf70f35327e991393adc12917919496 WHIRLPOOL 403d29aa29180b267299ae35f16a07015b12fed2c85559f5fa31a033cd4fcc9a45f499554dad24915db12d60a94f94ff0534465288dba7a23aef09498846f1fd
EBUILD owncloud-5.0.2.ebuild 1353 SHA256 5eb7137542f9c0058e690f4aa62729c4d527aa2dd10d727796a87b9b82dcf189 SHA512 8814e2f4baf53c492ce6550130febc8e670cee721140a90421d97d704f3b5ce9c22dff65e9d73df7d4cba5ddc742a4c083f86013e0d899246c858c513202ecaf WHIRLPOOL c993ef8ee56fabde11239c28565295a2b963a02ea3b5334082978d36e32e954507a9a59d7d032378e866223c021abfb7a1e4084649aaae2166768f9499267b73

View file

@ -0,0 +1,49 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-5.0.0.ebuild,v 1.1 2013/03/14 08:57:57 voyageur Exp $
EAPI=5
inherit eutils webapp depend.php
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"
LICENSE="AGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="+curl mysql postgres +sqlite"
REQUIRED_USE="|| ( mysql postgres sqlite )"
DEPEND=""
RDEPEND="|| ( >=dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite?,xmlwriter,zip]
sqlite? ( <dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite3,xmlwriter,zip] )
!sqlite? (
<dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,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 -R "${MY_HTDOCSDIR}"/apps
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
webapp_serverowned -R "${MY_HTDOCSDIR}"/config
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
webapp_src_install
}