1 |
commit: 8b0fdb77b957b2fe934df334470dd5f8826fec73 |
2 |
Author: Gilles Dartiguelongue <g.dartiguelongue <AT> lexfo <DOT> fr> |
3 |
AuthorDate: Fri Jan 1 21:04:38 2016 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 21:04:38 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/eva.git/commit/?id=8b0fdb77 |
7 |
|
8 |
www-apps/pydio: initial ebuild |
9 |
|
10 |
www-apps/pydio/Manifest | 1 + |
11 |
www-apps/pydio/metadata.xml | 14 +++++++++++++ |
12 |
www-apps/pydio/pydio-6.0.7.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ |
13 |
3 files changed, 56 insertions(+) |
14 |
|
15 |
diff --git a/www-apps/pydio/Manifest b/www-apps/pydio/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..f53b4e7 |
18 |
--- /dev/null |
19 |
+++ b/www-apps/pydio/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST pydio-6.0.7.tar.gz 14704755 SHA256 ebbe8bfad7188bdbc29bdf2dbbf131d025387217abafe60d44bd0ed38a745350 SHA512 2af9404c3780dc697cf128916bcb74b833f2c29700634a7454b56ec40ded8b92400ee5876e631bd45821e976d5c4f3cd76b887cd85acaf1b581a99d02025ff91 WHIRLPOOL 8fb858f646f17c98c0177c2abf6774521b8f3c0052c35f5139cd9cff5e38d34d2ed136f10575037b601a0bf50c963ae9138c0a2f0ec9f9da0b2c5ee1e31fe4a2 |
22 |
|
23 |
diff --git a/www-apps/pydio/metadata.xml b/www-apps/pydio/metadata.xml |
24 |
new file mode 100644 |
25 |
index 0000000..4e8937c |
26 |
--- /dev/null |
27 |
+++ b/www-apps/pydio/metadata.xml |
28 |
@@ -0,0 +1,14 @@ |
29 |
+<?xml version="1.0" encoding="UTF-8"?> |
30 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
+<pkgmetadata> |
32 |
+<maintainer> |
33 |
+ <email>eva@g.o</email> |
34 |
+ <name>Gilles Dartiguelongue</name> |
35 |
+</maintainer> |
36 |
+<use> |
37 |
+ <flag name="webdav">Enable WebDAV sharing</flag> |
38 |
+</use> |
39 |
+<upstream> |
40 |
+ <remote-id type="github">pydio/pydio-core</remote-id> |
41 |
+</upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/www-apps/pydio/pydio-6.0.7.ebuild b/www-apps/pydio/pydio-6.0.7.ebuild |
45 |
new file mode 100644 |
46 |
index 0000000..fce7f23 |
47 |
--- /dev/null |
48 |
+++ b/www-apps/pydio/pydio-6.0.7.ebuild |
49 |
@@ -0,0 +1,41 @@ |
50 |
+# Copyright 1999-2015 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+# $Id$ |
53 |
+ |
54 |
+EAPI=5 |
55 |
+ |
56 |
+inherit webapp depend.php |
57 |
+ |
58 |
+DESCRIPTION="File sharing platform similar to dropbox" |
59 |
+HOMEPAGE="https://pyd.io/" |
60 |
+SRC_URI="http://sourceforge.net/projects/ajaxplorer/files/${PN}/stable-channel/${PV}/${PN}-core-${PV}.tar.gz/download -> ${P}.tar.gz" |
61 |
+RESTRICTION="mirror" |
62 |
+ |
63 |
+LICENSE="AGPL-3" |
64 |
+KEYWORDS="~amd64 ~x86" |
65 |
+IUSE="+webdav" |
66 |
+ |
67 |
+DEPEND="webdav? ( dev-php/PEAR-HTTP_WebDAV_Client )" |
68 |
+RDEPEND="${DEPEND}" |
69 |
+ |
70 |
+need_php_httpd |
71 |
+ |
72 |
+S="${WORKDIR}/${PN}-core-${PV}" |
73 |
+ |
74 |
+src_install() { |
75 |
+ webapp_src_preinst |
76 |
+ |
77 |
+ insinto "${MY_HTDOCSDIR}" |
78 |
+ doins -r "${S}"/* |
79 |
+ |
80 |
+ find "data" -type d | while read dir ; do |
81 |
+ webapp_serverowned "${MY_HTDOCSDIR}/${dir}" |
82 |
+ done |
83 |
+ |
84 |
+ webapp_configfile "${MY_HTDOCSDIR}/base.conf.php" |
85 |
+ webapp_configfile "${MY_HTDOCSDIR}/conf/bootstrap_"{conf,context,repositories}".php" |
86 |
+ webapp_configfile "${MY_HTDOCSDIR}/conf/mime.types" |
87 |
+ webapp_configfile "${MY_HTDOCSDIR}/conf/extensions.conf.php" |
88 |
+ |
89 |
+ webapp_src_install |
90 |
+} |