Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Sun, 30 Aug 2020 03:17:16
Message-Id: 1598757418.a4a4b6f347e99cdc11c7123fb6ad82da3f0e1cb5.sam@gentoo
1 commit: a4a4b6f347e99cdc11c7123fb6ad82da3f0e1cb5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 03:16:51 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 03:16:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a4b6f3
7
8 mail-client/roundcube: security cleanup
9
10 Bug: https://bugs.gentoo.org/736742
11 Bug: https://bugs.gentoo.org/731080
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 mail-client/roundcube/Manifest | 2 -
16 mail-client/roundcube/roundcube-1.4.6.ebuild | 73 ----------------------------
17 mail-client/roundcube/roundcube-1.4.7.ebuild | 73 ----------------------------
18 3 files changed, 148 deletions(-)
19
20 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
21 index 1b65ea4d495..b37364cb5f5 100644
22 --- a/mail-client/roundcube/Manifest
23 +++ b/mail-client/roundcube/Manifest
24 @@ -1,3 +1 @@
25 -DIST roundcubemail-1.4.6-complete.tar.gz 7031573 BLAKE2B 541147faeb2fafbf15fd3a4f42a5ecbb642113f02ea9135c91d3b359ec4582e490b80b2e20efa1f6afe8c35e5afe2263682a717a5342198a9eabb7e555e302bb SHA512 e86763ced58cfa8174f71d33ae45cd62f26a58853b9361b800003fa5bf883a4106c957f66b6b17b03172a3ee595ca74d7c19ac38e449a23377defd77cf555742
26 -DIST roundcubemail-1.4.7-complete.tar.gz 7031947 BLAKE2B eec5295c68b7b8f7a652bc6e4ddbb56fbf68e9d1fc01ed75ac8ec33434f299b02e46a8b7f21c56e87ebf9cb0ffa8d105e5e3d9fbcaaab26844c7ed439908bea4 SHA512 d668075c1fb1ac48931a82ca67b4ebeed6f1d1e82a336901f79967cb2eb91979fc7bb46d4895558f8e64f89f963002efc7c1ad23b93c52a252ce1a7aa04b678a
27 DIST roundcubemail-1.4.8-complete.tar.gz 7032822 BLAKE2B 61c5329d9abe65baba3274d3cb9a6a435f886a0196c2881153da473eb415ad4c63dfdab49c67c75a2fd92ff55f9e6da7bdfcece7041ce408b2be628da47045d4 SHA512 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
28
29 diff --git a/mail-client/roundcube/roundcube-1.4.6.ebuild b/mail-client/roundcube/roundcube-1.4.6.ebuild
30 deleted file mode 100644
31 index f39bfa3d979..00000000000
32 --- a/mail-client/roundcube/roundcube-1.4.6.ebuild
33 +++ /dev/null
34 @@ -1,73 +0,0 @@
35 -# Copyright 1999-2020 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_PV=${PV/_/-}
44 -MY_P=${MY_PN}-${MY_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/${MY_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 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 -RDEPEND="
62 - ${DEPEND}
63 - >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
64 - virtual/httpd-php
65 - change-password? (
66 - dev-lang/php[sockets]
67 - )
68 - enigma? (
69 - app-crypt/gnupg
70 - )
71 - mysql? (
72 - || (
73 - dev-lang/php[mysql]
74 - dev-lang/php[mysqli]
75 - )
76 - )
77 - spell? ( dev-lang/php[curl,spell] )
78 -"
79 -
80 -S="${WORKDIR}/${MY_P}"
81 -
82 -src_install() {
83 - webapp_src_preinst
84 -
85 - dodoc CHANGELOG INSTALL README.md UPGRADING
86 -
87 - insinto "${MY_HTDOCSDIR}"
88 - doins -r [[:lower:]]* SQL
89 - doins .htaccess
90 -
91 - webapp_serverowned "${MY_HTDOCSDIR}"/logs
92 - webapp_serverowned "${MY_HTDOCSDIR}"/temp
93 -
94 - webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
95 - webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
96 -
97 - webapp_src_install
98 -}
99 -
100 -pkg_postinst() {
101 - webapp_pkg_postinst
102 -
103 - if [[ -n ${REPLACING_VERSIONS} ]]; then
104 - elog "You can review the post-upgrade instructions at:"
105 - elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
106 - fi
107 -}
108
109 diff --git a/mail-client/roundcube/roundcube-1.4.7.ebuild b/mail-client/roundcube/roundcube-1.4.7.ebuild
110 deleted file mode 100644
111 index 6d3b3ede4e4..00000000000
112 --- a/mail-client/roundcube/roundcube-1.4.7.ebuild
113 +++ /dev/null
114 @@ -1,73 +0,0 @@
115 -# Copyright 1999-2020 Gentoo Authors
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_PV=${PV/_/-}
124 -MY_P=${MY_PN}-${MY_PV}
125 -
126 -DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
127 -HOMEPAGE="https://roundcube.net"
128 -SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz"
129 -
130 -# roundcube is GPL-licensed, the rest of the licenses here are
131 -# for bundled PEAR components, googiespell and utf8.class.php
132 -LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
133 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
134 -
135 -IUSE="change-password enigma ldap mysql postgres sqlite ssl spell"
136 -REQUIRED_USE="|| ( mysql postgres sqlite )"
137 -
138 -# this function only sets DEPEND so we need to include that in RDEPEND
139 -need_httpd_cgi
140 -
141 -RDEPEND="
142 - ${DEPEND}
143 - >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
144 - virtual/httpd-php
145 - change-password? (
146 - dev-lang/php[sockets]
147 - )
148 - enigma? (
149 - app-crypt/gnupg
150 - )
151 - mysql? (
152 - || (
153 - dev-lang/php[mysql]
154 - dev-lang/php[mysqli]
155 - )
156 - )
157 - spell? ( dev-lang/php[curl,spell] )
158 -"
159 -
160 -S="${WORKDIR}/${MY_P}"
161 -
162 -src_install() {
163 - webapp_src_preinst
164 -
165 - dodoc CHANGELOG INSTALL README.md UPGRADING
166 -
167 - insinto "${MY_HTDOCSDIR}"
168 - doins -r [[:lower:]]* SQL
169 - doins .htaccess
170 -
171 - webapp_serverowned "${MY_HTDOCSDIR}"/logs
172 - webapp_serverowned "${MY_HTDOCSDIR}"/temp
173 -
174 - webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
175 - webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
176 -
177 - webapp_src_install
178 -}
179 -
180 -pkg_postinst() {
181 - webapp_pkg_postinst
182 -
183 - if [[ -n ${REPLACING_VERSIONS} ]]; then
184 - elog "You can review the post-upgrade instructions at:"
185 - elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
186 - fi
187 -}