Gentoo Archives: gentoo-commits

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Sat, 27 Feb 2021 10:44:28
Message-Id: 1614422644.d5f856ca212bcdbe2096375e922030ab2e65965e.titanofold@gentoo
1 commit: d5f856ca212bcdbe2096375e922030ab2e65965e
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 10:40:27 2021 +0000
4 Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 10:44:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f856ca
7
8 mail-client/roundcube: Cleanup
9
10 Bug: https://bugs.gentoo.org/769623
11 Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
12
13 mail-client/roundcube/Manifest | 2 -
14 mail-client/roundcube/roundcube-1.4.10.ebuild | 96 ---------------------------
15 mail-client/roundcube/roundcube-1.4.8.ebuild | 73 --------------------
16 3 files changed, 171 deletions(-)
17
18 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
19 index 7c462b0e6f5..199866ecaf7 100644
20 --- a/mail-client/roundcube/Manifest
21 +++ b/mail-client/roundcube/Manifest
22 @@ -1,3 +1 @@
23 -DIST roundcubemail-1.4.10-complete.tar.gz 7043181 BLAKE2B aa442c9e4fb4d31bc9ddd77d888637d9d7afb8ac6c264ca5d378bd7bfc160f2f31379fae208638b2f79e6127add83f0254d1526e22c2ca24656b31ee75dc695e SHA512 e0a661ae5b928ce2c93129775d32a679ad2512ca4af21e8dd1711d38a62818ff9ee1e1fc922aae68e0a8bca034ca780fc3e3e988731a2ce9b2190b2c1d8e08a6
24 DIST roundcubemail-1.4.11-complete.tar.gz 7048262 BLAKE2B aaf5e6ce5b07577f687788730bc9181334402bb2ff5e78fb306425913b62b4a8f72505547bdcc8673806b48b9ba8252b8059b59399efc95a51877d5c672a4760 SHA512 2bfe0ff3716f76bf9eb5bf5f7b62c738b233c57e67d6ac767c044d1a3a694ae003642d9cc68a18d6f6ba94135aa7ee1692db920e9127128669faee9ddf78fe80
25 -DIST roundcubemail-1.4.8-complete.tar.gz 7032822 BLAKE2B 61c5329d9abe65baba3274d3cb9a6a435f886a0196c2881153da473eb415ad4c63dfdab49c67c75a2fd92ff55f9e6da7bdfcece7041ce408b2be628da47045d4 SHA512 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
26
27 diff --git a/mail-client/roundcube/roundcube-1.4.10.ebuild b/mail-client/roundcube/roundcube-1.4.10.ebuild
28 deleted file mode 100644
29 index cb9a6709c78..00000000000
30 --- a/mail-client/roundcube/roundcube-1.4.10.ebuild
31 +++ /dev/null
32 @@ -1,96 +0,0 @@
33 -# Copyright 1999-2021 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.8.ebuild b/mail-client/roundcube/roundcube-1.4.8.ebuild
131 deleted file mode 100644
132 index 2086798cf41..00000000000
133 --- a/mail-client/roundcube/roundcube-1.4.8.ebuild
134 +++ /dev/null
135 @@ -1,73 +0,0 @@
136 -# Copyright 1999-2021 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 -SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz"
150 -
151 -# roundcube is GPL-licensed, the rest of the licenses here are
152 -# for bundled PEAR components, googiespell and utf8.class.php
153 -LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
154 -KEYWORDS="amd64 arm ~hppa ppc ppc64 sparc x86"
155 -
156 -IUSE="change-password enigma ldap mysql postgres sqlite ssl spell"
157 -REQUIRED_USE="|| ( mysql postgres sqlite )"
158 -
159 -# this function only sets DEPEND so we need to include that in RDEPEND
160 -need_httpd_cgi
161 -
162 -RDEPEND="
163 - ${DEPEND}
164 - >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
165 - virtual/httpd-php
166 - change-password? (
167 - dev-lang/php[sockets]
168 - )
169 - enigma? (
170 - app-crypt/gnupg
171 - )
172 - mysql? (
173 - || (
174 - dev-lang/php[mysql]
175 - dev-lang/php[mysqli]
176 - )
177 - )
178 - spell? ( dev-lang/php[curl,spell] )
179 -"
180 -
181 -S="${WORKDIR}/${MY_P}"
182 -
183 -src_install() {
184 - webapp_src_preinst
185 -
186 - dodoc CHANGELOG INSTALL README.md UPGRADING
187 -
188 - insinto "${MY_HTDOCSDIR}"
189 - doins -r [[:lower:]]* SQL
190 - doins .htaccess
191 -
192 - webapp_serverowned "${MY_HTDOCSDIR}"/logs
193 - webapp_serverowned "${MY_HTDOCSDIR}"/temp
194 -
195 - webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
196 - webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
197 -
198 - webapp_src_install
199 -}
200 -
201 -pkg_postinst() {
202 - webapp_pkg_postinst
203 -
204 - if [[ -n ${REPLACING_VERSIONS} ]]; then
205 - elog "You can review the post-upgrade instructions at:"
206 - elog "${EROOT}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
207 - fi
208 -}