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: Mon, 11 May 2020 10:57:46
Message-Id: 1589194329.08d3ce13b04dd7fb41103d143630e2751f36faf8.whissi@gentoo
1 commit: 08d3ce13b04dd7fb41103d143630e2751f36faf8
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 10:50:56 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 10:52:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d3ce13
7
8 mail-client/roundcube: bump to v1.311
9
10 Bug: https://bugs.gentoo.org/720876
11 Closes: https://bugs.gentoo.org/720144
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 mail-client/roundcube/Manifest | 1 +
16 mail-client/roundcube/roundcube-1.3.11.ebuild | 97 +++++++++++++++++++++++++++
17 2 files changed, 98 insertions(+)
18
19 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
20 index fcf158db2a9..7731196a331 100644
21 --- a/mail-client/roundcube/Manifest
22 +++ b/mail-client/roundcube/Manifest
23 @@ -1,4 +1,5 @@
24 DIST roundcubemail-1.3.10-complete.tar.gz 5495189 BLAKE2B d2b6d7ac28fc609ab3d7275019796c73859a4ecdbbe17018c8ed9d1c702a1563e59429bfb47d9878869d7948ed1051c4a9caaac0d83b26b0a88e293e31bb27d6 SHA512 8fffa16abda87d29081d1afedbf1d9e4862b8b1864785101d422e62048ca7f365c3708e8a76b4a37f716109230943bb9f03a5faa0cf3c3963fa5454207e00c49
25 +DIST roundcubemail-1.3.11-complete.tar.gz 5492078 BLAKE2B 465d2ecf842c7393bc0bdf8b43d5e63b58e25ea360c1a8c93ccda8b350642dec34512090469720083d30212a31c3d9d7d56aa7df55cae167154bea96cdd19dc3 SHA512 5eb200b58bb289af7432c685eb1feaa2f8fbea56413efd05cf7cf9a4369551d889200b583f04c01c092d8d4c551151fe1051fbe901b02fa2fb26f7ade1c571a2
26 DIST roundcubemail-1.3.8-complete.tar.gz 5534385 BLAKE2B 2f0cb528d0901d267c74d57baa18d1f057fdd2eb0f872f3cef1053847861998f8c6551fc17506ae365086ed1f86c3ee9e73a96adb2e43c6c32025e7afaf63710 SHA512 34dc9205cd93be6d6551086f4d22654dad7213b4b09000dc4def08357acdc634744ce1f560144a3d3b46e936258e90482e77fc4c691a55c205bcfdfe3745441e
27 DIST roundcubemail-1.3.9-complete.tar.gz 5521697 BLAKE2B 4689bb43ff02b99a9b2b06d6370a5dce0ec4eca4e4da2a74e33e77ec74ec14bf22b6bab415c8b5fde9bd76bfaed87f183a8979edb353da3ed947f9bfdb0ecb15 SHA512 42ae9b772272b3e82476beeeb0fc5a909fb07ed0bfbdb655627b1e31da1c292f67f5a305452de31b2d60fe5905bcacabd6874dea394a9b0fd66b7921d73500ac
28 DIST roundcubemail-1.4.0-complete.tar.gz 6997256 BLAKE2B b19a2d049512ceb53b3844f4680ed061044d2d142bef322c067b381e3be57ecb3181cac4f2492a162da1417fefb4028c36d34dae4bf9064c97568f681bd0c78b SHA512 274372793f1f3af761702f8972f6360f8c8e64a705ff96f1432f6a520d24c9ca0e8ccc3933f26433f1c864bd6c381066fc9eb48bf97e9497b4cbff855412d811
29
30 diff --git a/mail-client/roundcube/roundcube-1.3.11.ebuild b/mail-client/roundcube/roundcube-1.3.11.ebuild
31 new file mode 100644
32 index 00000000000..af45b42575c
33 --- /dev/null
34 +++ b/mail-client/roundcube/roundcube-1.3.11.ebuild
35 @@ -0,0 +1,97 @@
36 +# Copyright 1999-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI="7"
40 +
41 +inherit webapp
42 +
43 +MY_PN=${PN}mail
44 +MY_P=${MY_PN}-${PV}
45 +
46 +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
47 +HOMEPAGE="https://roundcube.net"
48 +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV}/${MY_P}-complete.tar.gz"
49 +
50 +# roundcube is GPL-licensed, the rest of the licenses here are
51 +# for bundled PEAR components, googiespell and utf8.class.php
52 +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
53 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
54 +
55 +IUSE="change-password enigma ldap managesieve mysql postgres sqlite ssl spell"
56 +REQUIRED_USE="|| ( mysql postgres sqlite )"
57 +
58 +# this function only sets DEPEND so we need to include that in RDEPEND
59 +need_httpd_cgi
60 +
61 +# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed)
62 +RDEPEND="
63 + ${DEPEND}
64 + >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
65 + >=dev-php/PEAR-Auth_SASL-1.1.0
66 + >=dev-php/PEAR-Mail_Mime-1.10.0
67 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5
68 + >=dev-php/PEAR-Net_IDNA2-0.2.0
69 + >=dev-php/PEAR-Net_SMTP-1.7.1
70 + virtual/httpd-php
71 + change-password? (
72 + >=dev-php/PEAR-Net_Socket-1.2.1
73 + dev-lang/php[sockets]
74 + )
75 + enigma? (
76 + >=dev-php/PEAR-Crypt_GPG-1.6.0
77 + app-crypt/gnupg
78 + )
79 + ldap? (
80 + >=dev-php/PEAR-Net_LDAP2-2.2.0
81 + dev-php/PEAR-Net_LDAP3
82 + )
83 + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 )
84 + mysql? (
85 + || (
86 + dev-lang/php[mysql]
87 + dev-lang/php[mysqli]
88 + )
89 + )
90 + spell? ( dev-lang/php[curl,spell] )
91 +"
92 +
93 +S="${WORKDIR}/${MY_P}"
94 +
95 +src_prepare() {
96 + default
97 +
98 + # Redundant. (Bug #644896)
99 + rm -r vendor/pear || die
100 +
101 + # Remove references to PEAR. (Bug #650910)
102 + cp "${FILESDIR}"/roundcube-1.3.7-pear-removed-installed.json \
103 + vendor/composer/installed.json \
104 + || die
105 +}
106 +
107 +src_install() {
108 + webapp_src_preinst
109 +
110 + dodoc CHANGELOG INSTALL README.md UPGRADING
111 +
112 + insinto "${MY_HTDOCSDIR}"
113 + doins -r [[:lower:]]* SQL
114 + doins .htaccess
115 +
116 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
117 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
118 +
119 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
120 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
121 +
122 + webapp_src_install
123 +}
124 +
125 +pkg_postinst() {
126 + webapp_pkg_postinst
127 +
128 + if [[ -n ${REPLACING_VERSIONS} ]]; then
129 + elog "You can review the post-upgrade instructions at:"
130 + elog "${EROOT}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
131 + fi
132 +}