Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Wed, 18 Oct 2017 07:54:33
Message-Id: 1508313199.c24d60648cc27a25676b2de23c8cdfa28d5e7497.radhermit@gentoo
1 commit: c24d60648cc27a25676b2de23c8cdfa28d5e7497
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 18 07:51:45 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 18 07:53:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24d6064
7
8 mail-client/roundcube: version bumps to 1.2.6 and 1.3.1
9
10 Closes: https://bugs.gentoo.org/630144
11 Closes: https://bugs.gentoo.org/630504
12
13 mail-client/roundcube/Manifest | 2 +
14 mail-client/roundcube/roundcube-1.2.6.ebuild | 74 +++++++++++++++++++++++++++
15 mail-client/roundcube/roundcube-1.3.1.ebuild | 76 ++++++++++++++++++++++++++++
16 3 files changed, 152 insertions(+)
17
18 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
19 index 17e061d5253..f68af0cb00d 100644
20 --- a/mail-client/roundcube/Manifest
21 +++ b/mail-client/roundcube/Manifest
22 @@ -1,2 +1,4 @@
23 DIST roundcubemail-1.2.5.tar.gz 3602701 SHA256 9c4d65951cc636d0e2e2296bfdf55fb53e23a4611fa96f17fb5d354db91bec38 SHA512 8f17c8222a59123e438a3683e5f2fbfef28c966899a271a2a11c25535e7188ff57846847108190a4d20ff53eccd10a2a7e88e8a5f958e9bc38c69e53824e7928 WHIRLPOOL 48bfc729da9e9ceb88a5125e7d713016b48986eb8debb21a2d92404011361ceddc536871b21acbe1094d4be365727a6f15a0c66433736fb34879a55aba009528
24 +DIST roundcubemail-1.2.6-complete.tar.gz 3893031 SHA256 2f5c674f41fb2c842b3e4d5d7feab00c674b0c834f5cd944a4d778c23c921ec1 SHA512 4b33ddc322446cf4d7915d9f57fa11946fb6056f91034ff9643363a87ad293d444bacf2a6e6502bbb8b57623f39548b7a6fff02f4bb70622843ecbc489949024 WHIRLPOOL a52c45d4995002f4096237e846841115c57ba4a4eb01d6f3c78ab3b821ccc2ad59d4cbc6b8e547b2a9ed1416fbb0084004ecd4342666e689136f7f4c3f343d17
25 DIST roundcubemail-1.3.0.tar.gz 3104348 SHA256 a37e55a3b5f83420930ae20ef3ac6dbedb499c920bbcf3fc93a8f784f7773d21 SHA512 f3ab39cc3eec9bbcaf3d8f5d9004b0da92fe5d35b71687acc234fab5772abb92d970855716288cba10c8609532d42ddc6e791a1f7bca13de555174a37deca9c4 WHIRLPOOL a2fb856fa060a3e904cc528b73474fa64ebe4af1de6f1b2bb1c82f426143bf762d380f121902cea60ff7d00d73058786b7bb4f27ddd6f00cf798b15a0e8e8d38
26 +DIST roundcubemail-1.3.1-complete.tar.gz 5296647 SHA256 f071bbe84f90ba55582289dcef7b70198b81e0aedd4de8422945658bbee3da0b SHA512 79722d1213b6855af37dea4c2522eba12ded4ed430b5d96f5ba9eb851bbfbe68c406b0c5410e21e2721dfe2cf42fdc2fa825161a229f785921ebdc89221ab232 WHIRLPOOL 7df4ff8ba3e39ce217e4fea8c932707bb98dea68c7aa0a504efe56345d32afa369fcbb57fe053520cfad62a8090309113e8e4e8c2f49ff883a66cf31e0bdfd41
27
28 diff --git a/mail-client/roundcube/roundcube-1.2.6.ebuild b/mail-client/roundcube/roundcube-1.2.6.ebuild
29 new file mode 100644
30 index 00000000000..1df11749a00
31 --- /dev/null
32 +++ b/mail-client/roundcube/roundcube-1.2.6.ebuild
33 @@ -0,0 +1,74 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="6"
38 +
39 +inherit webapp
40 +
41 +MY_PN=${PN}mail
42 +MY_P=${MY_PN}-${PV}
43 +
44 +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
45 +HOMEPAGE="https://roundcube.net"
46 +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV}/${MY_P}-complete.tar.gz"
47 +
48 +# roundcube is GPL-licensed, the rest of the licenses here are
49 +# for bundled PEAR components, googiespell and utf8.class.php
50 +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
51 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
52 +
53 +IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
54 +REQUIRED_USE="|| ( mysql postgres sqlite )"
55 +
56 +# this function only sets DEPEND so we need to include that in RDEPEND
57 +need_httpd_cgi
58 +
59 +RDEPEND="
60 + ${DEPEND}
61 + >=dev-lang/php-5.3.7[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
62 + >=dev-php/PEAR-Auth_SASL-1.0.6
63 + >=dev-php/PEAR-Mail_Mime-1.8.9
64 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5
65 + >=dev-php/PEAR-Net_IDNA2-0.1.1
66 + >=dev-php/PEAR-Net_SMTP-1.6.2
67 + virtual/httpd-php
68 + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.4.0 app-crypt/gnupg )
69 + ldap? ( >=dev-php/PEAR-Net_LDAP2-2.0.12 dev-php/PEAR-Net_LDAP3 )
70 + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.3.2 )
71 + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
72 + spell? ( dev-lang/php[curl,spell] )
73 +"
74 +
75 +S=${WORKDIR}/${MY_P}
76 +
77 +src_install() {
78 + webapp_src_preinst
79 + dodoc CHANGELOG INSTALL README.md UPGRADING
80 +
81 + insinto "${MY_HTDOCSDIR}"
82 + doins -r [[:lower:]]* SQL
83 + doins .htaccess
84 +
85 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
86 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
87 +
88 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
89 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
90 + webapp_src_install
91 +}
92 +
93 +pkg_postinst() {
94 + webapp_pkg_postinst
95 +
96 + ewarn
97 + ewarn "When upgrading from <= 0.9, note that the old configuration files"
98 + ewarn "named main.inc.php and db.inc.php are deprecated and should be"
99 + ewarn "replaced with one single config.inc.php file."
100 + ewarn
101 + ewarn "Run the ./bin/update.sh script to convert those"
102 + ewarn "or manually merge the files."
103 + ewarn
104 + ewarn "The new config.inc.php should only contain options that"
105 + ewarn "differ from the ones listed in defaults.inc.php."
106 + ewarn
107 +}
108
109 diff --git a/mail-client/roundcube/roundcube-1.3.1.ebuild b/mail-client/roundcube/roundcube-1.3.1.ebuild
110 new file mode 100644
111 index 00000000000..37e237f4515
112 --- /dev/null
113 +++ b/mail-client/roundcube/roundcube-1.3.1.ebuild
114 @@ -0,0 +1,76 @@
115 +# Copyright 1999-2017 Gentoo Foundation
116 +# Distributed under the terms of the GNU General Public License v2
117 +
118 +EAPI="6"
119 +
120 +inherit webapp
121 +
122 +MY_PN=${PN}mail
123 +MY_P=${MY_PN}-${PV}
124 +
125 +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
126 +HOMEPAGE="https://roundcube.net"
127 +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV}/${MY_P}-complete.tar.gz"
128 +
129 +# roundcube is GPL-licensed, the rest of the licenses here are
130 +# for bundled PEAR components, googiespell and utf8.class.php
131 +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
132 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
133 +
134 +IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
135 +REQUIRED_USE="|| ( mysql postgres sqlite )"
136 +
137 +# this function only sets DEPEND so we need to include that in RDEPEND
138 +need_httpd_cgi
139 +
140 +# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed)
141 +RDEPEND="
142 + ${DEPEND}
143 + >=dev-lang/php-5.4.0[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
144 + >=dev-php/PEAR-Auth_SASL-1.1.0
145 + >=dev-php/PEAR-Mail_Mime-1.10.0
146 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5
147 + >=dev-php/PEAR-Net_IDNA2-0.2.0
148 + >=dev-php/PEAR-Net_SMTP-1.7.1
149 + >=dev-php/PEAR-Net_Socket-1.2.1
150 + virtual/httpd-php
151 + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.6.0 app-crypt/gnupg )
152 + ldap? ( >=dev-php/PEAR-Net_LDAP2-2.2.0 dev-php/PEAR-Net_LDAP3 )
153 + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 )
154 + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
155 + spell? ( dev-lang/php[curl,spell] )
156 +"
157 +
158 +S=${WORKDIR}/${MY_P}
159 +
160 +src_install() {
161 + webapp_src_preinst
162 + dodoc CHANGELOG INSTALL README.md UPGRADING
163 +
164 + insinto "${MY_HTDOCSDIR}"
165 + doins -r [[:lower:]]* SQL
166 + doins .htaccess
167 +
168 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
169 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
170 +
171 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
172 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
173 + webapp_src_install
174 +}
175 +
176 +pkg_postinst() {
177 + webapp_pkg_postinst
178 +
179 + ewarn
180 + ewarn "When upgrading from <= 0.9, note that the old configuration files"
181 + ewarn "named main.inc.php and db.inc.php are deprecated and should be"
182 + ewarn "replaced with one single config.inc.php file."
183 + ewarn
184 + ewarn "Run the ./bin/update.sh script to convert those"
185 + ewarn "or manually merge the files."
186 + ewarn
187 + ewarn "The new config.inc.php should only contain options that"
188 + ewarn "differ from the ones listed in defaults.inc.php."
189 + ewarn
190 +}