Gentoo Archives: gentoo-commits

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