diff options
-rw-r--r-- | www-apps/pydio/Manifest | 23 | ||||
-rw-r--r-- | www-apps/pydio/pydio-7.0.4.ebuild | 64 |
2 files changed, 81 insertions, 6 deletions
diff --git a/www-apps/pydio/Manifest b/www-apps/pydio/Manifest index 9cd24e1..4811e16 100644 --- a/www-apps/pydio/Manifest +++ b/www-apps/pydio/Manifest @@ -1,15 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 DIST pydio-6.2.2.tar.gz 15735734 SHA256 f30a60926ce73737668d9bb64b54564f1dd2de34529466fd4770614928a33c99 SHA512 bb6ae645cb81dcce3c2d747b5fe38f4757cd3ce805662799f3dcb82940ef96ff069fc524a121667c72a1349fce6e0ea950d618d87e3e5638a6d98773764acea7 WHIRLPOOL e100bbb6d5e9af4fd7b11b2aa860dd410b7128213cacacbef515308e3e1550a2ceee163f0acf6f08d8acd6f53d4b91f123826b5eecb9eb72691f6f7a23936988 DIST pydio-6.4.2.tar.gz 16870682 SHA256 4900fd012dfc681de526bc1198602953d1813d407af62c0260b9f016652c8da3 SHA512 2434fa314cb7ea7f32c48675e2ade3e43bf53e67a775b6f90dbef555d67a7e650f605266680a2b90d235f739bdf66abab9fa7c61ef9c1ce5d6a5ca35d6977fa7 WHIRLPOOL c8cf472199639daef5c06647c704598ac28b8bbccfc0bc18a7d31dfc741928446645da838fbc3a85b674c04187b74abec3fbfe5c9fbd3dd4b0bbd0893bee7267 DIST pydio-7.0.3.tar.gz 43551245 SHA256 ebc278c0c6dea2551f5a5ba5ef6558f6e67e1955c83a94d5771258b5ea2fc6f4 SHA512 f8b9c3b7e21e30e86c20b3c5d060d09e1e3f259a7390be7f1de88efef2c44e9b19929d66da96ecff816e78330d19c0280e33834cc0c23c6e845f2329fcf875fd WHIRLPOOL 458a0924400eb21fd7a553bb032e83974f406636b93a97dcdd7fa744435b225b4652b13bc51f3d24c9483080a02ba65422676bce54a91528d0e6cfafb4c394b0 +DIST pydio-7.0.4.tar.gz 43741497 SHA256 8ff8f9ba9978924eb81f902d11bc7cf2be45bb592b3a9b6de51558da539a527f SHA512 712d9bf48587aec5813dd74a535201a40b00b78e3e6005c18eb9ce8e69fd1344f31fa27570eadd9ebb6f6de99498a91bc4737027757f7c409d8cf87a39ea20b2 WHIRLPOOL 99c6943ddc5f81eeed9049ee957e12740514bd4b7ebb306bdb0033ed10ff4603fbda0a94ddbca0edf8416d58bbd88f1967ac177b9b528d0b132ea56f9db8cf9b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iL0EAREIAH0WIQRcpBfyexMbpZPAvpDV+ZXBxghYBgUCWHLJsF8UgAAAAAAuAChp -c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0NUNB -NDE3RjI3QjEzMUJBNTkzQzBCRTkwRDVGOTk1QzFDNjA4NTgwNgAKCRDV+ZXBxghY -Bh0nAJ48IYXcu19DmL3wPUJ1/2Xrf8PLdgCeMDuWoNDcmbCjZSSTDbMh1HiMtR0= -=4st1 +iQKTBAEBCgB9FiEEX+aBqe7MmoWBwzA1lSmjXZiBxnkFAlpSUwJfFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVG +RTY4MUE5RUVDQzlBODU4MUMzMzAzNTk1MjlBMzVEOTg4MUM2NzkACgkQlSmjXZiB +xnmSHA//ZMAUV+9uGKwqpuu5RrBWYCGlKVn4NLZYfleHDMtPzIklVPjZc7QOZ9Ns +kzWMZs0M9vNYDHPo8PiE8yqvWc/fOqM1otuA3LBZhRMJEn156WC/4TBFaoRU9qkC +Xj0bPZEpkowJzWgAziCIq22vYMPtJALaB2HVVZdaEowWirWMM1W/KTC2B2lZ2KRg +X7FeeYSQziTrk0tTNSy2MFju/dm9tBu/n7ZiXcxomrDKri7GJ+mEC6LbIHC47b77 +EamaxxTsTnSVB0TiDtM7GdfHqErBmm2Wk8YbY8TafEB1ON4UoIbFpo8EY6ip8IxC +oQJZVRMgY6pUNkFeQ7rTQvbekjT9fOd7G4t9zp1T8Zk7c80STlH45I/53+Ohyxeq +vfwTuw9JJz9I7yZONwEfc9C8wPMjN0sqircAcTpsmnRhngvstXkA6WaL4VwJ1R/M +lpPxgxZrbM0wNXl6Sl8SFrmhfhImlQNhEYZ6NHTLDfcjOiuI9KCAKqiEZogZRouV +rQ9zf/WsqhKz9L85L5OA0scZVmNdU2Zudus3rfXV9lIGdkEptHO2vA2kJJELiSG5 +pItAajocNWBcvGk1Qv0GIyCRoYsbsCjcilk76L0o4s6jMGx4O4C1JcFSjf9y0I/n +dkd76hzk6jAopyA+I3mLTFsMLypUU3o7lWdhFqgh9uLfhWIGz+4= +=A8QL -----END PGP SIGNATURE----- diff --git a/www-apps/pydio/pydio-7.0.4.ebuild b/www-apps/pydio/pydio-7.0.4.ebuild new file mode 100644 index 0000000..780b20f --- /dev/null +++ b/www-apps/pydio/pydio-7.0.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +DESCRIPTION="File sharing platform similar to dropbox" +HOMEPAGE="https://pydio.com/" +SRC_URI="https://download.pydio.com/pub/core/archives/${PN}-core-${PV}.tar.gz -> ${P}.tar.gz" +RESTRICTION="mirror" + +LICENSE="AGPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="+webdav" + +DEPEND="webdav? ( dev-php/PEAR-HTTP_WebDAV_Client )" +RDEPEND="${DEPEND} + virtual/httpd-php +" + +S="${WORKDIR}/${PN}-core-${PV}" + +src_prepare() { + default + + # Fix compatibility with Apache 2.4 + while read htaccess ; do + LC_ALL=C sed -i \ + -e 's/^[Dd]eny from all/Require all denied/' \ + -e 's/^[Aa]llow from all/Require all granted/' \ + -e '/^Order /d' \ + "${htaccess}" + done < <(find "${S}" -name ".htaccess") +} + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + insinto "${MY_HTDOCSDIR}"/upgrade-scripts + doins "${FILESDIR}"/*.php + + webapp_serverowned -R "${MY_HTDOCSDIR}"/data + + webapp_configfile "${MY_HTDOCSDIR}/base.conf.php" + webapp_configfile "${MY_HTDOCSDIR}/conf/bootstrap_"{conf,context,repositories}".php" + webapp_configfile "${MY_HTDOCSDIR}/conf/mime.types" + webapp_configfile "${MY_HTDOCSDIR}/conf/extensions.conf.php" + + # FIXME: does not fit eclass design + #webapp_sqlscript mysql "${MY_HTDOCSDIR}"/plugins/*/create.mysql + #webapp_sqlscript postgres "${MY_HTDOCSDIR}"/plugins/*/create.pgsql + + webapp_sqlscript mysql "${FILESDIR}"/7.0.1.mysql 6.4 + webapp_sqlscript mysql "${FILESDIR}"/7.0.2.mysql 7.0.1 + webapp_sqlscript postgres "${FILESDIR}"/7.0.1.pgsql 6.4 + + webapp_postinst_txt en "${FILESDIR}"/postinst.en.txt + + webapp_src_install +} |