1 |
commit: 2c769016cc36b9803c40f093f3ab9831529ded12 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 27 19:41:26 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 27 19:41:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c769016 |
7 |
|
8 |
mail-client/roundcube: Bump to 1.3.6 |
9 |
|
10 |
Fixes a security issue related to IMAP command injection. |
11 |
|
12 |
Fixes a XSS concern. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/651124 |
15 |
Bug: https://bugs.gentoo.org/653044 |
16 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
17 |
|
18 |
mail-client/roundcube/Manifest | 1 + |
19 |
mail-client/roundcube/roundcube-1.3.6.ebuild | 99 ++++++++++++++++++++++++++++ |
20 |
2 files changed, 100 insertions(+) |
21 |
|
22 |
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest |
23 |
index 24fe10c5ba8..587c57dce07 100644 |
24 |
--- a/mail-client/roundcube/Manifest |
25 |
+++ b/mail-client/roundcube/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST roundcubemail-1.2.7-complete.tar.gz 3904612 BLAKE2B b001a9c57f2358b00e0290493f0bfb82001c769987ef98e2d34d6e6d9432a5c612fab6ba10306279a8bb73d1015332f29f1233a10ee32fd7f713cbf44d9cf7b5 SHA512 545b3fe05ecfaede3d887ae71e41fc91aaaae280c71b67db9a5dcb516b5b238371327c2b1fabe87cf073cce38bc5a57b3db2592eb96d436bae280896c1f7017c |
28 |
DIST roundcubemail-1.3.3-complete.tar.gz 5339032 BLAKE2B bb0b595ba13947db3b0644ad5bc76fa8280ac74733e3bf02a758ffaa49fb0c2ef80005081fb1f24500fa767b57d0df59751abb098a807bc6e04b5a63de3fc1ed SHA512 1f634fbc5d0967f28a7aa990a9b23f105b93030d43927237fc9b5decabe1b959de75c7c21bdb27389ec53730378565e7f309d7c009be427c7615372634273931 |
29 |
DIST roundcubemail-1.3.4-complete.tar.gz 5506887 BLAKE2B de353400706d893b8e95b23e20ebcab7478273bd6dbd009c766537826e260cd98f065f9d7d38740c60254ccbecd376ec6aafe82791be177bbee6ffc8d61a733b SHA512 e3442651bf762ceda3cb9ff78cb512703a7f82466d7de860848d1c9471f10b2561c2dd7a570218048fbc0df0fa573c6e2381ba8c0063e718c531c8ce1138a5e4 |
30 |
+DIST roundcubemail-1.3.6-complete.tar.gz 5529370 BLAKE2B 49fd04d81b7047c61d33007b49aff2fe8d68fb0572d305b51aa0ae997c06e4924a3ff32861c19741f0c4d82adb9abb317781de8c1b324120e57d77f413cfa480 SHA512 fc1627d4b539742524c43b3faaa8cb5d64f934ad03f7cf8a461580a3a38dccb11140d08499b988742a0892534b1eda52f37a50f0911015983b6e27703294c70e |
31 |
|
32 |
diff --git a/mail-client/roundcube/roundcube-1.3.6.ebuild b/mail-client/roundcube/roundcube-1.3.6.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..fdb72d1c079 |
35 |
--- /dev/null |
36 |
+++ b/mail-client/roundcube/roundcube-1.3.6.ebuild |
37 |
@@ -0,0 +1,99 @@ |
38 |
+# Copyright 1999-2018 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
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="https://roundcube.net" |
50 |
+SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV}/${MY_P}-complete.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 ~ppc ~ppc64 ~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 |
+# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed) |
64 |
+RDEPEND=" |
65 |
+ ${DEPEND} |
66 |
+ >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml] |
67 |
+ >=dev-php/PEAR-Auth_SASL-1.1.0 |
68 |
+ >=dev-php/PEAR-Mail_Mime-1.10.0 |
69 |
+ >=dev-php/PEAR-Mail_mimeDecode-1.5.5 |
70 |
+ >=dev-php/PEAR-Net_IDNA2-0.2.0 |
71 |
+ >=dev-php/PEAR-Net_SMTP-1.7.1 |
72 |
+ >=dev-php/PEAR-Net_Socket-1.2.1 |
73 |
+ dev-php/PEAR-Console_CommandLine |
74 |
+ dev-php/PEAR-Console_Getopt |
75 |
+ dev-php/PEAR-Exception |
76 |
+ virtual/httpd-php |
77 |
+ enigma? ( |
78 |
+ >=dev-php/PEAR-Crypt_GPG-1.6.0 |
79 |
+ app-crypt/gnupg |
80 |
+ ) |
81 |
+ ldap? ( |
82 |
+ >=dev-php/PEAR-Net_LDAP2-2.2.0 |
83 |
+ dev-php/PEAR-Net_LDAP3 |
84 |
+ ) |
85 |
+ managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 ) |
86 |
+ mysql? ( |
87 |
+ || ( |
88 |
+ dev-lang/php[mysql] |
89 |
+ dev-lang/php[mysqli] |
90 |
+ ) |
91 |
+ ) |
92 |
+ spell? ( dev-lang/php[curl,spell] ) |
93 |
+" |
94 |
+ |
95 |
+S=${WORKDIR}/${MY_P} |
96 |
+ |
97 |
+src_prepare() { |
98 |
+ default |
99 |
+ |
100 |
+ # Redundant. (Bug #644896) |
101 |
+ rm -r vendor/pear || die |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ webapp_src_preinst |
106 |
+ |
107 |
+ dodoc CHANGELOG INSTALL README.md UPGRADING |
108 |
+ |
109 |
+ insinto "${MY_HTDOCSDIR}" |
110 |
+ doins -r [[:lower:]]* SQL |
111 |
+ doins .htaccess |
112 |
+ |
113 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/logs |
114 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/temp |
115 |
+ |
116 |
+ webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php |
117 |
+ webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt" |
118 |
+ |
119 |
+ webapp_src_install |
120 |
+} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ webapp_pkg_postinst |
124 |
+ |
125 |
+ ewarn |
126 |
+ ewarn "When upgrading from <= 0.9, note that the old configuration files" |
127 |
+ ewarn "named main.inc.php and db.inc.php are deprecated and should be" |
128 |
+ ewarn "replaced with one single config.inc.php file." |
129 |
+ ewarn |
130 |
+ ewarn "Run the ./bin/update.sh script to convert those" |
131 |
+ ewarn "or manually merge the files." |
132 |
+ ewarn |
133 |
+ ewarn "The new config.inc.php should only contain options that" |
134 |
+ ewarn "differ from the ones listed in defaults.inc.php." |
135 |
+ ewarn |
136 |
+} |