Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Sun, 30 Oct 2016 18:08:01
Message-Id: 1477850853.0c2c01336c3216405377f628e88aa8f995f69c55.titanofold@gentoo
1 commit: 0c2c01336c3216405377f628e88aa8f995f69c55
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 18:07:33 2016 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 18:07:33 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2c0133
7
8 mail-client/roundcube: Version Bump to 1.2.2
9
10 Version bump fixes bug 596100.
11
12 Thanks Philippe Chaintreuil and Mattias Merilai.
13
14 Bug: 596100
15
16 Package-Manager: portage-2.2.28
17
18 mail-client/roundcube/Manifest | 1 +
19 mail-client/roundcube/roundcube-1.2.2.ebuild | 75 ++++++++++++++++++++++++++++
20 2 files changed, 76 insertions(+)
21
22 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
23 index f99a4d0..d3dd92e 100644
24 --- a/mail-client/roundcube/Manifest
25 +++ b/mail-client/roundcube/Manifest
26 @@ -1,2 +1,3 @@
27 DIST roundcubemail-1.2.0.tar.gz 3453543 SHA256 e3b89c2772c2c5990da9bca640bc342f486edf356016cf717e6a1083c822b523 SHA512 3d97e816560830437902ede352e8be81cd93050975934b9dfc86ccf745234119bdf63d5f882fa0d1cc445575c1ea05906a87ae81befdb0bbb38002433e4de199 WHIRLPOOL f9b14ffb2520cd7eda798eb96ec8547af9f5b8d288605d5d777d126cddb3f531f53887ae9bd9b16be7bf194e87165ff48722885328c6dab0d1c1a0ee589817c4
28 DIST roundcubemail-1.2.1.tar.gz 3559023 SHA256 05c0b17c8951db1d220f2f2186e6981545789da0d084a543e28a7d2511db8302 SHA512 7044e4308fff85a23826e4f4652df7e825d713b977696c0d29d563f419cc4e060ef202f824463823c3f348c7e9f4ce8c58d073c960b371c0b9ca3bd77c5453ca WHIRLPOOL 79a47d9bd65578c0177ffa9438d8a9b305e2d725536209955b04fbfc42a31ef3060d351b638dba72ede3fd8b1ef42a9af34493f80ff393a91b8ab31634bf318a
29 +DIST roundcubemail-1.2.2.tar.gz 3562148 SHA256 6c647ed28ea0ae1b730a1784018b63884e65ed6036208e9c3a6ee62123fe856d SHA512 f5482ad424ecdfa275015c51162c465eadb3888f929a86fcd4ca52a6f880ea48c748cc3ecbbe9dd4f5a4fdc823599a93e965855e362958ff46e829e145c7d04b WHIRLPOOL 74c760bcd8f6dc9b1d60ffea84ad66c74a66ef7a5c3164b51ae329ab3d502731799a6dedd069ea3a76a26492213829fd58d43c4f7e38cd843d4ecb35c04c7cfd
30
31 diff --git a/mail-client/roundcube/roundcube-1.2.2.ebuild b/mail-client/roundcube/roundcube-1.2.2.ebuild
32 new file mode 100644
33 index 00000000..2976d26
34 --- /dev/null
35 +++ b/mail-client/roundcube/roundcube-1.2.2.ebuild
36 @@ -0,0 +1,75 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +
43 +inherit webapp
44 +
45 +MY_PN=${PN}mail
46 +MY_P=${MY_PN}-${PV/_/-}
47 +
48 +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
49 +HOMEPAGE="http://roundcube.net"
50 +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV/_/-}/${MY_P}.tar.gz"
51 +
52 +# roundcube is GPL-licensed, the rest of the licenses here are
53 +# for bundled PEAR components, googiespell and utf8.class.php
54 +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
55 +KEYWORDS="~amd64 ~arm ~x86"
56 +
57 +IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
58 +REQUIRED_USE="|| ( mysql postgres sqlite )"
59 +
60 +# this function only sets DEPEND so we need to include that in RDEPEND
61 +need_httpd_cgi
62 +
63 +RDEPEND="
64 + ${DEPEND}
65 + >=dev-lang/php-5.3.7[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
66 + >=dev-php/PEAR-Auth_SASL-1.0.6
67 + >=dev-php/PEAR-Mail_Mime-1.8.9
68 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5
69 + >=dev-php/PEAR-Net_IDNA2-0.1.1
70 + >=dev-php/PEAR-Net_SMTP-1.6.2
71 + virtual/httpd-php
72 + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.4.0 app-crypt/gnupg )
73 + ldap? ( >=dev-php/PEAR-Net_LDAP2-2.0.12 dev-php/PEAR-Net_LDAP3 )
74 + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.3.2 )
75 + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
76 + spell? ( dev-lang/php[curl,spell] )
77 +"
78 +
79 +S=${WORKDIR}/${MY_P}
80 +
81 +src_install() {
82 + webapp_src_preinst
83 + dodoc CHANGELOG INSTALL README.md UPGRADING
84 +
85 + insinto "${MY_HTDOCSDIR}"
86 + doins -r [[:lower:]]* SQL
87 + doins .htaccess
88 +
89 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
90 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
91 +
92 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
93 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
94 + webapp_src_install
95 +}
96 +
97 +pkg_postinst() {
98 + webapp_pkg_postinst
99 +
100 + ewarn
101 + ewarn "When upgrading from <= 0.9, note that the old configuration files"
102 + ewarn "named main.inc.php and db.inc.php are deprecated and should be"
103 + ewarn "replaced with one single config.inc.php file."
104 + ewarn
105 + ewarn "Run the ./bin/update.sh script to convert those"
106 + ewarn "or manually merge the files."
107 + ewarn
108 + ewarn "The new config.inc.php should only contain options that"
109 + ewarn "differ from the ones listed in defaults.inc.php."
110 + ewarn
111 +}