diff options
-rw-r--r-- | mail-client/roundcube/Manifest | 3 | ||||
-rw-r--r-- | mail-client/roundcube/files/POST-UPGRADE.txt | 17 | ||||
-rw-r--r-- | mail-client/roundcube/roundcube-1.1.4.ebuild | 103 |
3 files changed, 123 insertions, 0 deletions
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest index a3f4f5c8..8f18ed53 100644 --- a/mail-client/roundcube/Manifest +++ b/mail-client/roundcube/Manifest @@ -1,3 +1,4 @@ +AUX POST-UPGRADE.txt 757 SHA256 a7217753d4012fcb2909dd7dda34a6f2bd7012b9a01bb81fb4106b04dff1b3c8 SHA512 5bd8c732432ea9a285eaaad824ee1e2b4ac7162d46017f1022ae375638c37673acc050a2298af282887e70ac734dff92c8dace4fe5ee90afb55ade6bb8ffbf82 WHIRLPOOL ca608af3ebfec28a84e50d1999220310bb06f77437f6b6f4d81f6af4e7154096032d90b2f3447ca42d54315abf9af30224049d21e541033d54a419eb7ff7f579 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 @@ -13,6 +14,7 @@ DIST roundcubemail-1.0.4.tar.gz 4055848 SHA256 ef890de63cadaad2a75435c22345c5893 DIST roundcubemail-1.0.5.tar.gz 4056852 SHA256 22af84480f2c543884b17c9b0196ed105d2ea7f429bfcc34a6fb7c96dd712792 SHA512 28016a8b05bdf4777486c63d95a91a22022006252e61e4e93320d81448cbc630ed5a04a1388d8576a40617d8e0630b90290341fcd3fed4f5080ab250fb568c6c WHIRLPOOL f0e48173e0fe07a8f3a00a49ad1091c33f76dbeb153941e32c35684f4eb41e04f805f63ec9623e3664c165c6e88407db3665f1e60a01c2076a3c60bc96c4a122 DIST roundcubemail-1.1.2.tar.gz 3203919 SHA256 70d07106468d0e82142df44bd4504183ae30487fa2d71100fb7fd58b773c0c98 SHA512 da6545201b9160f1ef829a6367642ac9c14f356b1c320095b6245bc5fab681c987923e62115ac1e4fc44a2849205915658e8f70e097fcd18ca9c77e7f919fc73 WHIRLPOOL d16b46429a00cec5a313d071cb7c656b7a4d08d268e77b0e6f5283c72ac602b9f71fc5fa4f3e170b9785abe2f0d086455af36445efb33c1395b5d29d65ec5d2e DIST roundcubemail-1.1.3.tar.gz 3208502 SHA256 343d3981067da44e9f3eaee94c2c86247a4341ebe7268bba8bff67d9906aaf34 SHA512 be5d64a8d52aa623de614bc1b137ae2f74250de050de086a510114121bcb760b973f8319884395827f324371542b741b80054b90031d8814752bb018dcda2096 WHIRLPOOL 9bdf316b27153c0ad5eacbeb4d4ecf4dd958b430d2ea3115ba04b67db9d1004482cb57046faa031b93fc0d7b18c93c081e7501cbb7d485383c7d611a1af1fcae +DIST roundcubemail-1.1.4.tar.gz 3209549 SHA256 539a11ed38838b221f8139b193d9762638f155c7b0ea9391315865896be16852 SHA512 18c2422d65292cd13bc4ce592e8490cc0a9d3e9551ac4d188db93eb989525af7ccf519642dd2e68a7380ab0d0d4ad4f999af2b7e99da75d88274743949b42f8a WHIRLPOOL c3e310ddb4dc50b46ff28566d030865029364f69db5a3f39be0d37f165c83486a979b4d3ab7d42835baa7ea9506df8947381612403355a628864ecbde1238d02 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 @@ -21,3 +23,4 @@ EBUILD roundcube-1.0.4.ebuild 3187 SHA256 9663c662bfb5b46c5d4e3c96caf4a0073aa4a4 EBUILD roundcube-1.0.5.ebuild 3111 SHA256 0340557a2eade4e37d9736e68e628549b550106f913f111675a9ed67952cf13d SHA512 590a5ed56d3af3de531675b8e8f459085f92063ba2643196a3c5df8645598e6f14c0f7e235ba55ac4d47da1be1a542e884b2af79b72d135e324098d1bb7a9a58 WHIRLPOOL 76b94468bf8747d7d794eb2d43f508bfb8261f6d919b7776ac98cab84a51c33691ce411819bb052e070d6451eef3158760b18e2fe62c1bbccadf965b855bc7d9 EBUILD roundcube-1.1.2.ebuild 3233 SHA256 940eb6a8f94b38f5e9290e516f964cfc5822adc4d7c94cd47e30786b58e9f779 SHA512 c0da0bfbeb440c419259095234fa7efcc400662cf264a80fb7885f3f6b062ffa79dc660c9ae6ee648188c74d8be7173357643ff7da1554580a27fe9d7b6dc190 WHIRLPOOL d2230eca29ed8eb0b366fd3ceea125af0fdeac1b162d6c1aacdec150666ccd871008c80f2d9dafe9e33f28c1d21df418e3a1043ddda104436412e0ef3a199b10 EBUILD roundcube-1.1.3.ebuild 3400 SHA256 c4a468e2193f8bf5cc7f0dc8ded7ac1c46566aedd82a5a3e1aa19637f8bebaa5 SHA512 2469bad94ee60684d94c5387464a552cd44fe98c5d297a298da2cbb096914481c6795b1e0101bfdb73919e90e5e41eee79da984f4cb4a6e79298aa4cf503743b WHIRLPOOL 7633d063abb6122cec8cc4060c0b6c7e735602b58e75139b050f2251e794c35571fbadbb4c77fceccd10c328946f291261e2ec974ec301ddb74496a04eb7f040 +EBUILD roundcube-1.1.4.ebuild 3339 SHA256 7ff8f34a76318975e2884f4fb895ba9f049259f25cac57859dcf709b772b4569 SHA512 83180499eed8e782fc368f1540a37caa51a5770acb150d63c6c5e7f8d6db15045a1cdde4ecd11a381a5252b3b395a6455278ff310814d52262570e5a3ad9d149 WHIRLPOOL cf229fb301bb1262537452f173786e3666a5e054f97faf9b6a352e41de522e7f8a3741e28c6f516e5a10f0f54754bad1e0dc1164421fccb48062e6bee620fcac diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt b/mail-client/roundcube/files/POST-UPGRADE.txt new file mode 100644 index 00000000..8c2296bc --- /dev/null +++ b/mail-client/roundcube/files/POST-UPGRADE.txt @@ -0,0 +1,17 @@ +Post-Upgrade Activities +----------------------- +1. Check .htaccess settings (some php settings could become required) +2. If you're using build-in addressbook, run indexing script + /bin/indexcontacts.sh. +3. When upgrading from version older than 0.6-beta you should make sure + your folder settings contain namespace prefix. For example Courier users + should add INBOX. prefix to folder names in main configuration file. +4. Check system requirements in INSTALL file. + +SQLite database upgrade +----------------------- +Versions older than 0.9 were supporting SQLite v2 only. Newer versions require +database in v3 format. The best what you can do is to convert database file +to the new format using command line tools: + +sqlite OLD.DB .dump | sqlite3 NEW.DB diff --git a/mail-client/roundcube/roundcube-1.1.4.ebuild b/mail-client/roundcube/roundcube-1.1.4.ebuild new file mode 100644 index 00000000..9f4dd72c --- /dev/null +++ b/mail-client/roundcube/roundcube-1.1.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: f5a9e432d864960db6ffb5118f348f078f4f9a7f $ + +EAPI=5 + +inherit webapp + +MY_PN=${PN}mail +MY_P=${MY_PN}-${PV/_/-} + +PHAR="1.0.0-alpha11" + +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface" +HOMEPAGE="http://roundcube.net" +SRC_URI="mirror://sourceforge/${MY_PN}/${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 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +IUSE="enigma ldap managesieve +mysql 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 + +RDEPEND=" + ${DEPEND} + >=dev-lang/php-5.3.7[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml] + >=dev-php/PEAR-Auth_SASL-1.0.6 + >=dev-php/PEAR-Mail_Mime-1.8.9 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5 + >=dev-php/PEAR-Net_IDNA2-0.1.1 + >=dev-php/PEAR-Net_SMTP-1.6.2 + >=dev-php/PEAR-Net_Socket-1.0.14 + virtual/httpd-php + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.3.2 app-crypt/gnupg ) + ldap? ( >=dev-php/PEAR-Net_LDAP2-2.0.12 ) + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.3.2 ) + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) ) + 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 +} + +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 + + ewarn + ewarn "When upgrading from <= 0.9, note that the old configuration files" + ewarn "named main.inc.php and db.inc.php are deprecated and should be" + ewarn "replaced with one single config.inc.php file." + ewarn + ewarn "Run the ./bin/update.sh script to convert those" + ewarn "or manually merge the files." + ewarn + ewarn "The new config.inc.php should only contain options that" + ewarn "differ from the ones listed in defaults.inc.php." + ewarn +} |