From c1fcc1534fbdffcc8340c148af68b9db2ea2ddf5 Mon Sep 17 00:00:00 2001 From: Stuart Shelton Date: Sun, 9 Jul 2017 16:46:57 +0100 Subject: Add mail-client/roundcube-1.3.0 --- mail-client/roundcube/Manifest | 4 +- mail-client/roundcube/files/POST-UPGRADE.txt | 2 + mail-client/roundcube/roundcube-1.3.0.ebuild | 115 +++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 mail-client/roundcube/roundcube-1.3.0.ebuild (limited to 'mail-client') diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest index c2380d86..b7d3164a 100644 --- a/mail-client/roundcube/Manifest +++ b/mail-client/roundcube/Manifest @@ -1,4 +1,4 @@ -AUX POST-UPGRADE.txt 1020 SHA256 99d5667cd58261507ec91a737705b03757eb9307105b519a0efd7628037d140a SHA512 45b3fd6d2323ac8b43117908385c9ebb681b59b3f77aa516074d13196a259d9614369eeb1a8969fa514555e7240846c2d85502b8a9fed9a31a0379b1086861c1 WHIRLPOOL fb15610e59855d2f7475ff2f14c626be8f836e7584a16b2f691c8c7a707405e701f74f1af185db5e5ad789c3b7ea8d086153449f1e6f2ab2ee8a2f8948eed2a3 +AUX POST-UPGRADE.txt 1101 SHA256 d0bb6c23cdd86aa2451abe5296ca1a42cb86689ce27fce41822287cb606f8ce8 SHA512 715c6c377b9816f0f836acace019c39cf22d536d1a0ae5538cbf3dcf3fec12ae584450881264dab792c941627f1af649f776bca6d5015b13c08648fde726b948 WHIRLPOOL cf4e05936f9e95a2b0208d7ba743a7a36d384c6b61e3718f31086225707829f0918ee9178b3b14ea0ccb25507668d82bdf50582b1d765c286eabab3dc44bddcb AUX postinstall-en-0.6.txt 2218 SHA256 f40b5134e13206e0abc325ec28bc0d42d8f233efc0a86304d985845e06377067 SHA512 d13c7abf8eb4b35b882bb873768ae6b307f23b8bada9bbeb2efe511edb5999c7f44bfb69248132d84aff15bc1994078bd43f9319524be5fac926336be3ab257c WHIRLPOOL d824191a8a5fe4852768eb10e5c8b2d06d3664ba93698c9836a4b338b20c0adac69f0f960fb3ac27b8b5dd1a468cb9da2815ad3f1fa684f6c6cddeb7a9137837 AUX postupgrade-en-0.6.txt 1271 SHA256 110724101fb7f712fec3e44023d1562de235dee4578acd5be5846bdf2e510c18 SHA512 424b4df770080cc2e245804f59320c1df1802d1daf6e21c778d8f78e16a19233a01e8ea81f69accf97b56134dc0ada3d128daa931fb83e11886b081794908223 WHIRLPOOL e2f31106ce49daa4bb2f90c7a4d7867447ec279160d99177de58a3e2f7362821a049c1ee8202188f231544654e7c28fd5bdb7a5bf9d7597700e9fc4a78248a9a AUX roundcube-1.0.0-draft-autosave.patch 1352 SHA256 a53951a62dce9e1ad61290a2b63be5dde4b42d45bc35880edf700d8b1f84a6c0 SHA512 441f616d620d7ebbc5abf20766509e05a40a38ae7bf4a60feecc7be47fc19448019f894fc2d6c776762f12424766cc9b3d3c2acc90d98ef8426d2225898589a4 WHIRLPOOL 37ec61efc6e76508a6d6421c57353fa5ee41f56d41de411cca10b86149e8b39200ff6ebf5a1d0447867b45d9a3af94af8e6385b15bef18211f4bddc2b8090b2c @@ -26,6 +26,7 @@ DIST roundcubemail-1.2.2.tar.gz 3562148 SHA256 6c647ed28ea0ae1b730a1784018b63884 DIST roundcubemail-1.2.3.tar.gz 3599096 SHA256 2df820d2ccc7bb320f854a821a1dc9983792f42a3353a1d38fe0822d94980d4d SHA512 af64b5ccb95b30ee483c573098741098427dd9755526253490f657a10fed3764f5ed8f336d0a8cb82bcce65d8840b0892d6e4746ce93bc595cfd29f66ea45795 WHIRLPOOL 08551297ca37d8f26ab9fa13c60db7f5b477251a639519285003cedc6971dbf2b6f6c43d1adc6334bfc67adfb85271b8bfe52d50a7416ba31d3ea38284ac28b7 DIST roundcubemail-1.2.4.tar.gz 3602288 SHA256 76b52a6405e0fc36b6829bf21200badbc681b18c95c7b3d9098e90f9de7ed9cc SHA512 299ab90d6dba9325efdea2e0498e4345e13c78fd8b85e0848827e5127e4cf210e66327ad264f5609373d9de2237cf396907dcb9cc2901c13e18899e4233a3c77 WHIRLPOOL 99788f7a1852e94a304a62dcd3ad400bff4b20bc68285d09cdce480ecd39ff4306f04b1d9795f8983577c63ebf83ac887fba1e695870a2218379bcf71ec0fef7 DIST roundcubemail-1.2.5.tar.gz 3602701 SHA256 9c4d65951cc636d0e2e2296bfdf55fb53e23a4611fa96f17fb5d354db91bec38 SHA512 8f17c8222a59123e438a3683e5f2fbfef28c966899a271a2a11c25535e7188ff57846847108190a4d20ff53eccd10a2a7e88e8a5f958e9bc38c69e53824e7928 WHIRLPOOL 48bfc729da9e9ceb88a5125e7d713016b48986eb8debb21a2d92404011361ceddc536871b21acbe1094d4be365727a6f15a0c66433736fb34879a55aba009528 +DIST roundcubemail-1.3.0.tar.gz 3104348 SHA256 a37e55a3b5f83420930ae20ef3ac6dbedb499c920bbcf3fc93a8f784f7773d21 SHA512 f3ab39cc3eec9bbcaf3d8f5d9004b0da92fe5d35b71687acc234fab5772abb92d970855716288cba10c8609532d42ddc6e791a1f7bca13de555174a37deca9c4 WHIRLPOOL a2fb856fa060a3e904cc528b73474fa64ebe4af1de6f1b2bb1c82f426143bf762d380f121902cea60ff7d00d73058786b7bb4f27ddd6f00cf798b15a0e8e8d38 EBUILD roundcube-1.0.0.ebuild 2993 SHA256 a19215eb162ddef0cdf7ab9f5eab463ea4a920fe09c2f16c38ef16fd38536dc6 SHA512 f5a6f81a9d160e022f6ab3ec55296f078fbb67c2938363a1ea3a3f6b2221e2d45eded238ac8fcd8e8b0bda03c565cc133669f16fdc5ed41855e927787c41974f WHIRLPOOL 58e2c662c424c8433e78dfc3508bfe1a34cabf228466b0b0bc07b7d8a8c3f4d9ed634a60da655cd8a874ca510efdcd8b1b8348d5e0eb292f91b8717ba07bca04 EBUILD roundcube-1.0.1.ebuild 3101 SHA256 5c7dc9eac4c42fef150193ddd8387a93abc42ba477c57bba20fd972b8e2ea166 SHA512 ea082b75fba96878b686553b096885c9546e622ec63e361033c1c8b68d37ceebf92477d2b4481d57143591737fde5200df5eb66dd19485869678d6ecb8a0d78f WHIRLPOOL 69a5d7ba44d77e7b7c35c2e31802154b6406c7bbf919bc51004a38eae54ece37cf2559eab620d6bb9ebe1467daee75537dc697a9780b6ca7fee2b561bf6c4ff2 EBUILD roundcube-1.0.2.ebuild 3177 SHA256 f079064c5409bfd8bb2870558fa38e409e8fe47c14a5a212361d02c275ae0255 SHA512 1e2675023d1f566b52cd9c72545479e45f560f7e78fd042639d6cb1f83fa9bd0b089c7c8ada3686fd631657262d76c3cc2530532085df76f699c77aa836fdbbd WHIRLPOOL bef6753d7d95e360c25c0bccef2501548fbdaff76638218538f1c663697bd12cf737e802e46cb0dd7ec5c165467d40c016241d2babb65ba3f683bc99ce82388c @@ -42,3 +43,4 @@ EBUILD roundcube-1.2.3.ebuild 3582 SHA256 36b35f2c5db0e455945890c8f5d8473c3e0b55 EBUILD roundcube-1.2.4.ebuild 3546 SHA256 3ec3ac9bb30d19362c1ca319199351a55ebfc0122619ac40b343de05c8b23d9c SHA512 f10214f95cffdc75ca0d6e14f9f339f032ac038495d5d5759fc09e7bf91a23a3523dac129bb1c6ca0f8c02b2aa07129d9d1925462c3ef209db0b2b2fe34ca68f WHIRLPOOL 829c801a66bb318def9aed2aa4ec2488515f4ace59340b3de33af921c6bf54d47e366894fa80bfcd6019ebfcf200fff4de08358315d359cfdf54940465eb5f64 EBUILD roundcube-1.2.5.ebuild 3537 SHA256 10ecbaee20bf74911036a1b2f143b6c40a4fcb0266117554d362a38d5706b1ea SHA512 45adfb86926861e5d252828ea67765e54412c40359d8a8e105184de45e5324e721c446f7300a14a4309a02db8fac32a103022bb28d6fa4c64f3a257e3850c966 WHIRLPOOL 1ec23b4836371a8efc8baa0311d314f2109ae17297a9232e80523694d32ceb75796cc62342b7dddc22119ee8c702826f1155287f2de833f230accb63375144ee EBUILD roundcube-1.2_beta.ebuild 3445 SHA256 16eeeccc4138a8712200318a2544430a3d3e00d4d97d832f4948185238681c4d SHA512 000ec58b5d3af22c2f3bc4a99b3552e1bf5ab257c93748214aabb21a73d4992370c7975de48e7a4d43d38f5bdcf1bcecfba3dc06985b1e405f050816e9feeefa WHIRLPOOL 0db8ffd1209c562cb7f3c9c2925f858e3d369957da35d3553196033dda24c69481ce9acaa29c4b40dcbadd2abfebf015f8ebfe9063658df062015aade22bec2d +EBUILD roundcube-1.3.0.ebuild 3879 SHA256 63698f8d2938042c4701efe58be1900c885a708c5e2052caf9ef32dca0df1f91 SHA512 9a8849ff91648b18c8bb652805ac898034a475e2303b6f8f9c9d9cd1c176ee080095a0c30b9b5d71a298f065786e5ad21f46b98b495eaf7b8abbad3749a83c1a WHIRLPOOL 88a70a01cacb499926e5a6a6273fb6de9e9b01cb5ccf04a0337fda6228d2853ebe4dba4fa7d52f8d843cbe6c4c4c146e901995addbccf74eb25d80a0dac415d4 diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt b/mail-client/roundcube/files/POST-UPGRADE.txt index 82b48d70..785b8319 100644 --- a/mail-client/roundcube/files/POST-UPGRADE.txt +++ b/mail-client/roundcube/files/POST-UPGRADE.txt @@ -13,6 +13,8 @@ Post-Upgrade Activities php composer.phar update --no-dev 6. Update your database and configurations by running: ./bin/update.sh +7. Update the cached javascript libraries by running: + ./bin/install-jsdeps.sh SQLite database upgrade ----------------------- diff --git a/mail-client/roundcube/roundcube-1.3.0.ebuild b/mail-client/roundcube/roundcube-1.3.0.ebuild new file mode 100644 index 00000000..81bbf674 --- /dev/null +++ b/mail-client/roundcube/roundcube-1.3.0.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit webapp + +MY_PN=${PN}mail +MY_P=${MY_PN}-${PV/_/-} + +PHAR="1.4.2" + +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface" +HOMEPAGE="https://roundcube.net" +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV/_/-}/${MY_P}.tar.gz + plugins? ( https://getcomposer.org/download/${PHAR}/composer.phar -> composer.phar_${PHAR} )" +RESTRICT="mirror" + +# roundcube is GPL-licensed, the rest of the licenses here are +# for bundled PEAR components, googiespell and utf8.class.php +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" + +IUSE="enigma exif ldap managesieve +mysql php_targets_php7-0 plugins postgres sqlite ssl spell" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +# The function below sets only DEPEND, so we need to include the latter in RDEPEND ... +need_httpd_cgi + +# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed) +RDEPEND=" + ${DEPEND} + >=dev-lang/php-5.4.0[crypt,exif?,fileinfo,filter,gd,iconv,intl,json,ldap?,mysql?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml,zip] + >=dev-php/PEAR-Auth_SASL-1.1.0 + >=dev-php/PEAR-Mail_Mime-1.10.0 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5 + >=dev-php/PEAR-Net_IDNA2-0.2.0 + >=dev-php/PEAR-Net_SMTP-1.7.1 + >=dev-php/PEAR-Net_Socket-1.2.1 + virtual/httpd-php + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.6.0 app-crypt/gnupg ) + ldap? ( || ( >=dev-php/PEAR-Net_LDAP2-2.2.0 dev-php/PEAR-Net_LDAP3 ) ) + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 ) + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) ) + php_targets_php7-0? ( >=dev-php/PEAR-PEAR-1.10.1 ) + plugins? ( dev-lang/php[ctype,filter,hash,json,phar,ssl] ) + spell? ( dev-lang/php[curl,spell] ) +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + cp config/config.inc.php{.sample,} || die + cp composer.json{-dist,} || die + + rm robots.txt + + default +} + +src_install() { + webapp_src_preinst + + dodoc CHANGELOG INSTALL README.md UPGRADING + + insinto "${MY_HTDOCSDIR}" + doins -r [[:lower:]]* SQL + doins .htaccess + use plugins && newins "${DISTDIR}"/composer.phar_${PHAR} composer.phar + + webapp_serverowned "${MY_HTDOCSDIR}"/logs + webapp_serverowned "${MY_HTDOCSDIR}"/temp + + webapp_configfile "${MY_HTDOCSDIR}"/config/config.inc.php + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php + webapp_configfile "${MY_HTDOCSDIR}"/composer.json + + #webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt" + webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en-0.6.txt + + webapp_src_install + + # fperms must occur after webapp_src_install is called... + #fperms 0755 "${MY_HTDOCSDIR}"/bin/*.sh || die "Cannot set file permissions in '${ED}/${MY_HTDOCSDIR}'" + local FILE filename + find "${ED}"/"${MY_HTDOCSDIR}"/bin/ -type f -name \*.sh | while read -r FILE; do + filename="$( basename "${FILE}" )" + fperms 0755 "${MY_HTDOCSDIR}"/bin/"${filename}" || die "Cannot set file permissions in '${ED}/${MY_HTDOCSDIR}/bin/'" + done +} + +pkg_postinst() { + webapp_pkg_postinst + + if has_version "