Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/
Date: Thu, 20 Aug 2020 19:20:45
Message-Id: 1597951199.19bf444bb00c60a3af82c5efcea93a0624b98887.whissi@gentoo
1 commit: 19bf444bb00c60a3af82c5efcea93a0624b98887
2 Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
3 AuthorDate: Tue Aug 11 13:54:30 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 19:19:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bf444b
7
8 mail-client/roundcube: Bump to 1.4.8
9
10 Just a copy of 1.4.7's ebuild.
11
12 Bug: https://bugs.gentoo.org/736742
13 Closes: https://github.com/gentoo/gentoo/pull/17078
14 Package-Manager: Portage-2.3.103, Repoman-2.3.23
15 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>
16 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
17
18 mail-client/roundcube/Manifest | 1 +
19 mail-client/roundcube/roundcube-1.4.8.ebuild | 73 ++++++++++++++++++++++++++++
20 2 files changed, 74 insertions(+)
21
22 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
23 index d7076af2247..1b65ea4d495 100644
24 --- a/mail-client/roundcube/Manifest
25 +++ b/mail-client/roundcube/Manifest
26 @@ -1,2 +1,3 @@
27 DIST roundcubemail-1.4.6-complete.tar.gz 7031573 BLAKE2B 541147faeb2fafbf15fd3a4f42a5ecbb642113f02ea9135c91d3b359ec4582e490b80b2e20efa1f6afe8c35e5afe2263682a717a5342198a9eabb7e555e302bb SHA512 e86763ced58cfa8174f71d33ae45cd62f26a58853b9361b800003fa5bf883a4106c957f66b6b17b03172a3ee595ca74d7c19ac38e449a23377defd77cf555742
28 DIST roundcubemail-1.4.7-complete.tar.gz 7031947 BLAKE2B eec5295c68b7b8f7a652bc6e4ddbb56fbf68e9d1fc01ed75ac8ec33434f299b02e46a8b7f21c56e87ebf9cb0ffa8d105e5e3d9fbcaaab26844c7ed439908bea4 SHA512 d668075c1fb1ac48931a82ca67b4ebeed6f1d1e82a336901f79967cb2eb91979fc7bb46d4895558f8e64f89f963002efc7c1ad23b93c52a252ce1a7aa04b678a
29 +DIST roundcubemail-1.4.8-complete.tar.gz 7032822 BLAKE2B 61c5329d9abe65baba3274d3cb9a6a435f886a0196c2881153da473eb415ad4c63dfdab49c67c75a2fd92ff55f9e6da7bdfcece7041ce408b2be628da47045d4 SHA512 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
30
31 diff --git a/mail-client/roundcube/roundcube-1.4.8.ebuild b/mail-client/roundcube/roundcube-1.4.8.ebuild
32 new file mode 100644
33 index 00000000000..6d3b3ede4e4
34 --- /dev/null
35 +++ b/mail-client/roundcube/roundcube-1.4.8.ebuild
36 @@ -0,0 +1,73 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +inherit webapp
43 +
44 +MY_PN=${PN}mail
45 +MY_PV=${PV/_/-}
46 +MY_P=${MY_PN}-${MY_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/${MY_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 ~hppa ~ppc ~ppc64 ~sparc ~x86"
56 +
57 +IUSE="change-password enigma ldap 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 +RDEPEND="
64 + ${DEPEND}
65 + >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml]
66 + virtual/httpd-php
67 + change-password? (
68 + dev-lang/php[sockets]
69 + )
70 + enigma? (
71 + app-crypt/gnupg
72 + )
73 + mysql? (
74 + || (
75 + dev-lang/php[mysql]
76 + dev-lang/php[mysqli]
77 + )
78 + )
79 + spell? ( dev-lang/php[curl,spell] )
80 +"
81 +
82 +S="${WORKDIR}/${MY_P}"
83 +
84 +src_install() {
85 + webapp_src_preinst
86 +
87 + dodoc CHANGELOG INSTALL README.md UPGRADING
88 +
89 + insinto "${MY_HTDOCSDIR}"
90 + doins -r [[:lower:]]* SQL
91 + doins .htaccess
92 +
93 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
94 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
95 +
96 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
97 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt"
98 +
99 + webapp_src_install
100 +}
101 +
102 +pkg_postinst() {
103 + webapp_pkg_postinst
104 +
105 + if [[ -n ${REPLACING_VERSIONS} ]]; then
106 + elog "You can review the post-upgrade instructions at:"
107 + elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt"
108 + fi
109 +}