Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Thu, 31 Dec 2020 14:21:17
Message-Id: 1609424467.3fea988bf446d7ada87631a5840f3295c3093de3.candrews@gentoo
1 commit: 3fea988bf446d7ada87631a5840f3295c3093de3
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 14:02:49 2020 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 14:21:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fea988b
7
8 mail-client/roundcube: Cleanup old versions
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 mail-client/roundcube/Manifest | 1 -
14 mail-client/roundcube/roundcube-1.4.9-r1.ebuild | 96 -------------------------
15 mail-client/roundcube/roundcube-1.4.9.ebuild | 94 ------------------------
16 3 files changed, 191 deletions(-)
17
18 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
19 index c6c1bc555a4..1bbe911c4ab 100644
20 --- a/mail-client/roundcube/Manifest
21 +++ b/mail-client/roundcube/Manifest
22 @@ -1,3 +1,2 @@
23 DIST roundcubemail-1.4.10-complete.tar.gz 7043181 BLAKE2B aa442c9e4fb4d31bc9ddd77d888637d9d7afb8ac6c264ca5d378bd7bfc160f2f31379fae208638b2f79e6127add83f0254d1526e22c2ca24656b31ee75dc695e SHA512 e0a661ae5b928ce2c93129775d32a679ad2512ca4af21e8dd1711d38a62818ff9ee1e1fc922aae68e0a8bca034ca780fc3e3e988731a2ce9b2190b2c1d8e08a6
24 DIST roundcubemail-1.4.8-complete.tar.gz 7032822 BLAKE2B 61c5329d9abe65baba3274d3cb9a6a435f886a0196c2881153da473eb415ad4c63dfdab49c67c75a2fd92ff55f9e6da7bdfcece7041ce408b2be628da47045d4 SHA512 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
25 -DIST roundcubemail-1.4.9-complete.tar.gz 7043437 BLAKE2B a1b7c6e160d29f61e2ca9c25f725b55411cb52c0f0d00fc4b3dc2ab1eb0edf190176ec932a297d6052b34047673e5dfb8cb13ad3a7b8b755e9d8e9265fb85aa9 SHA512 c6395757544b85693e808234f3dc6baac618ba115fb2c9eefc309ee18e74b2fdfbc0af00ac2b3b980fdd2abc56eefde47b535cdf688cfd2a5ce975786aca6572
26
27 diff --git a/mail-client/roundcube/roundcube-1.4.9-r1.ebuild b/mail-client/roundcube/roundcube-1.4.9-r1.ebuild
28 deleted file mode 100644
29 index 54ae74d1e86..00000000000
30 --- a/mail-client/roundcube/roundcube-1.4.9-r1.ebuild
31 +++ /dev/null
32 @@ -1,96 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit webapp
39 -
40 -MY_PN=${PN}mail
41 -MY_PV=${PV/_/-}
42 -MY_P=${MY_PN}-${MY_PV}
43 -
44 -DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
45 -HOMEPAGE="https://roundcube.net"
46 -
47 -# roundcube is GPL-licensed, the rest of the licenses here are
48 -# for bundled PEAR components, googiespell and utf8.class.php
49 -LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
50 -
51 -IUSE="change-password enigma ldap mysql postgres sqlite ssl spell"
52 -REQUIRED_USE="|| ( mysql postgres sqlite )"
53 -
54 -# this function only sets DEPEND so we need to include that in RDEPEND
55 -need_httpd_cgi
56 -
57 -RDEPEND="
58 - ${DEPEND}
59 - >=dev-lang/php-5.4.0[filter,gd,iconv,json(+),ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
60 - virtual/httpd-php
61 - change-password? (
62 - dev-lang/php[sockets]
63 - )
64 - enigma? (
65 - app-crypt/gnupg
66 - )
67 - mysql? (
68 - || (
69 - dev-lang/php[mysql]
70 - dev-lang/php[mysqli]
71 - )
72 - )
73 - spell? ( dev-lang/php[curl,spell] )
74 -"
75 -
76 -if [[ ${PV} == *9999 ]] ; then
77 - inherit git-r3
78 - EGIT_REPO_URI="https://github.com/roundcube/roundcubemail"
79 - EGIT_BRANCH="master"
80 - BDEPEND="${BDEPEND}
81 - app-arch/unzip
82 - dev-php/composer
83 - net-misc/curl"
84 -else
85 - SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz"
86 - S="${WORKDIR}/${MY_P}"
87 - KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
88 -fi
89 -
90 -src_unpack() {
91 - if [[ "${PV}" == *9999* ]]; then
92 - git-r3_src_unpack
93 - pushd "${S}" > /dev/null || die
94 - mv composer.json-dist composer.json || die
95 - composer install --no-dev || die
96 - ./bin/install-jsdeps.sh || die
97 - popd > /dev/null || die
98 - else
99 - default
100 - fi
101 -}
102 -
103 -src_install() {
104 - webapp_src_preinst
105 -
106 - dodoc CHANGELOG INSTALL README.md UPGRADING
107 -
108 - insinto "${MY_HTDOCSDIR}"
109 - doins -r [[:lower:]]* SQL
110 - doins .htaccess
111 -
112 - webapp_serverowned "${MY_HTDOCSDIR}"/logs
113 - webapp_serverowned "${MY_HTDOCSDIR}"/temp
114 -
115 - webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
116 - webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
117 -
118 - webapp_src_install
119 -}
120 -
121 -pkg_postinst() {
122 - webapp_pkg_postinst
123 -
124 - if [[ -n ${REPLACING_VERSIONS} ]]; then
125 - elog "You can review the post-upgrade instructions at:"
126 - elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
127 - fi
128 -}
129
130 diff --git a/mail-client/roundcube/roundcube-1.4.9.ebuild b/mail-client/roundcube/roundcube-1.4.9.ebuild
131 deleted file mode 100644
132 index 0b5033a74a7..00000000000
133 --- a/mail-client/roundcube/roundcube-1.4.9.ebuild
134 +++ /dev/null
135 @@ -1,94 +0,0 @@
136 -# Copyright 1999-2020 Gentoo Authors
137 -# Distributed under the terms of the GNU General Public License v2
138 -
139 -EAPI=6
140 -
141 -inherit webapp
142 -
143 -MY_PN=${PN}mail
144 -MY_PV=${PV/_/-}
145 -MY_P=${MY_PN}-${MY_PV}
146 -
147 -DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
148 -HOMEPAGE="https://roundcube.net"
149 -
150 -# roundcube is GPL-licensed, the rest of the licenses here are
151 -# for bundled PEAR components, googiespell and utf8.class.php
152 -LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
153 -
154 -IUSE="change-password enigma ldap mysql postgres sqlite ssl spell"
155 -REQUIRED_USE="|| ( mysql postgres sqlite )"
156 -
157 -# this function only sets DEPEND so we need to include that in RDEPEND
158 -need_httpd_cgi
159 -
160 -RDEPEND="
161 - ${DEPEND}
162 - >=dev-lang/php-5.4.0[filter,gd,iconv,json(+),ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
163 - virtual/httpd-php
164 - change-password? (
165 - dev-lang/php[sockets]
166 - )
167 - enigma? (
168 - app-crypt/gnupg
169 - )
170 - mysql? (
171 - || (
172 - dev-lang/php[mysql]
173 - dev-lang/php[mysqli]
174 - )
175 - )
176 - spell? ( dev-lang/php[curl,spell] )
177 -"
178 -
179 -if [[ ${PV} == *9999 ]] ; then
180 - inherit git-r3
181 - EGIT_REPO_URI="https://github.com/roundcube/roundcubemail"
182 - EGIT_BRANCH="master"
183 - DEPEND="${DEPEND}
184 - dev-php/composer"
185 -else
186 - SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz"
187 - S="${WORKDIR}/${MY_P}"
188 - KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
189 -fi
190 -
191 -src_unpack() {
192 - if [[ "${PV}" == *9999* ]]; then
193 - git-r3_src_unpack
194 - pushd "${S}" > /dev/null || die
195 - mv composer.json-dist composer.json || die
196 - composer install --no-dev || die
197 - ./bin/install-jsdeps.sh || die
198 - popd > /dev/null || die
199 - else
200 - default
201 - fi
202 -}
203 -
204 -src_install() {
205 - webapp_src_preinst
206 -
207 - dodoc CHANGELOG INSTALL README.md UPGRADING
208 -
209 - insinto "${MY_HTDOCSDIR}"
210 - doins -r [[:lower:]]* SQL
211 - doins .htaccess
212 -
213 - webapp_serverowned "${MY_HTDOCSDIR}"/logs
214 - webapp_serverowned "${MY_HTDOCSDIR}"/temp
215 -
216 - webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
217 - webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
218 -
219 - webapp_src_install
220 -}
221 -
222 -pkg_postinst() {
223 - webapp_pkg_postinst
224 -
225 - if [[ -n ${REPLACING_VERSIONS} ]]; then
226 - elog "You can review the post-upgrade instructions at:"
227 - elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
228 - fi
229 -}