Gentoo Archives: gentoo-commits

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