Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/roundcube/, mail-client/roundcube/files/
Date: Fri, 07 Jul 2017 14:51:28
Message-Id: 1499439074.5599dd22b8e0f2ee1108744194c4cd8859473f06.titanofold@gentoo
1 commit: 5599dd22b8e0f2ee1108744194c4cd8859473f06
2 Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
3 AuthorDate: Sun Jul 2 18:33:17 2017 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 7 14:51:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5599dd22
7
8 mail-client/roundcube: New 1.3.0 ebuild
9
10 - Increase deps versions
11 - Add warnings about needing to run ./bin/install-jsdeps.sh post
12 install or upgrade to pkg_postinstall and POST-UPGRADE.txt
13 - Mask all arches
14 - Add :TODO: note about missing qrcode ebuild dep
15
16 Package-Manager: Portage-2.3.6, Repoman-2.3.1
17 Closes: https://github.com/gentoo/gentoo/pull/5031
18
19 Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
20
21 mail-client/roundcube/Manifest | 1 +
22 mail-client/roundcube/files/POST-UPGRADE.txt | 2 +
23 mail-client/roundcube/roundcube-1.3.0.ebuild | 81 ++++++++++++++++++++++++++++
24 3 files changed, 84 insertions(+)
25
26 diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest
27 index 1d0c536a930..17e061d5253 100644
28 --- a/mail-client/roundcube/Manifest
29 +++ b/mail-client/roundcube/Manifest
30 @@ -1 +1,2 @@
31 DIST roundcubemail-1.2.5.tar.gz 3602701 SHA256 9c4d65951cc636d0e2e2296bfdf55fb53e23a4611fa96f17fb5d354db91bec38 SHA512 8f17c8222a59123e438a3683e5f2fbfef28c966899a271a2a11c25535e7188ff57846847108190a4d20ff53eccd10a2a7e88e8a5f958e9bc38c69e53824e7928 WHIRLPOOL 48bfc729da9e9ceb88a5125e7d713016b48986eb8debb21a2d92404011361ceddc536871b21acbe1094d4be365727a6f15a0c66433736fb34879a55aba009528
32 +DIST roundcubemail-1.3.0.tar.gz 3104348 SHA256 a37e55a3b5f83420930ae20ef3ac6dbedb499c920bbcf3fc93a8f784f7773d21 SHA512 f3ab39cc3eec9bbcaf3d8f5d9004b0da92fe5d35b71687acc234fab5772abb92d970855716288cba10c8609532d42ddc6e791a1f7bca13de555174a37deca9c4 WHIRLPOOL a2fb856fa060a3e904cc528b73474fa64ebe4af1de6f1b2bb1c82f426143bf762d380f121902cea60ff7d00d73058786b7bb4f27ddd6f00cf798b15a0e8e8d38
33
34 diff --git a/mail-client/roundcube/files/POST-UPGRADE.txt b/mail-client/roundcube/files/POST-UPGRADE.txt
35 index 82b48d70f26..785b8319a6c 100644
36 --- a/mail-client/roundcube/files/POST-UPGRADE.txt
37 +++ b/mail-client/roundcube/files/POST-UPGRADE.txt
38 @@ -13,6 +13,8 @@ Post-Upgrade Activities
39 php composer.phar update --no-dev
40 6. Update your database and configurations by running:
41 ./bin/update.sh
42 +7. Update the cached javascript libraries by running:
43 + ./bin/install-jsdeps.sh
44
45 SQLite database upgrade
46 -----------------------
47
48 diff --git a/mail-client/roundcube/roundcube-1.3.0.ebuild b/mail-client/roundcube/roundcube-1.3.0.ebuild
49 new file mode 100644
50 index 00000000000..63c9997645d
51 --- /dev/null
52 +++ b/mail-client/roundcube/roundcube-1.3.0.ebuild
53 @@ -0,0 +1,81 @@
54 +# Copyright 1999-2017 Gentoo Foundation
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI="6"
58 +
59 +inherit webapp
60 +
61 +MY_PN=${PN}mail
62 +MY_P=${MY_PN}-${PV/_/-}
63 +
64 +DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface"
65 +HOMEPAGE="https://roundcube.net"
66 +SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${PV/_/-}/${MY_P}.tar.gz"
67 +
68 +# roundcube is GPL-licensed, the rest of the licenses here are
69 +# for bundled PEAR components, googiespell and utf8.class.php
70 +LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain"
71 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
72 +
73 +IUSE="enigma ldap managesieve mysql postgres sqlite ssl spell"
74 +REQUIRED_USE="|| ( mysql postgres sqlite )"
75 +
76 +# this function only sets DEPEND so we need to include that in RDEPEND
77 +need_httpd_cgi
78 +
79 +# :TODO: Support "endriod/qrcode: ~1.6.5" dep (ebuild needed)
80 +RDEPEND="
81 + ${DEPEND}
82 + >=dev-lang/php-5.4.0[crypt,filter,gd,iconv,json,ldap?,pdo,postgres?,session,sockets,sqlite?,ssl?,unicode,xml]
83 + >=dev-php/PEAR-Auth_SASL-1.1.0
84 + >=dev-php/PEAR-Mail_Mime-1.10.0
85 + >=dev-php/PEAR-Mail_mimeDecode-1.5.5
86 + >=dev-php/PEAR-Net_IDNA2-0.2.0
87 + >=dev-php/PEAR-Net_SMTP-1.7.1
88 + >=dev-php/PEAR-Net_Socket-1.2.1
89 + virtual/httpd-php
90 + enigma? ( >=dev-php/PEAR-Crypt_GPG-1.6.0 app-crypt/gnupg )
91 + ldap? ( >=dev-php/PEAR-Net_LDAP2-2.2.0 dev-php/PEAR-Net_LDAP3 )
92 + managesieve? ( >=dev-php/PEAR-Net_Sieve-1.4.0 )
93 + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
94 + spell? ( dev-lang/php[curl,spell] )
95 +"
96 +
97 +S=${WORKDIR}/${MY_P}
98 +
99 +src_install() {
100 + webapp_src_preinst
101 + dodoc CHANGELOG INSTALL README.md UPGRADING
102 +
103 + insinto "${MY_HTDOCSDIR}"
104 + doins -r [[:lower:]]* SQL
105 + doins .htaccess
106 +
107 + webapp_serverowned "${MY_HTDOCSDIR}"/logs
108 + webapp_serverowned "${MY_HTDOCSDIR}"/temp
109 +
110 + webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php
111 + webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE.txt"
112 + webapp_src_install
113 +}
114 +
115 +pkg_postinst() {
116 + webapp_pkg_postinst
117 +
118 + ewarn
119 + ewarn "When upgrading from <= 0.9, note that the old configuration files"
120 + ewarn "named main.inc.php and db.inc.php are deprecated and should be"
121 + ewarn "replaced with one single config.inc.php file."
122 + ewarn
123 + ewarn "Run the ./bin/update.sh script to convert those"
124 + ewarn "or manually merge the files."
125 + ewarn
126 + ewarn "The new config.inc.php should only contain options that"
127 + ewarn "differ from the ones listed in defaults.inc.php."
128 + ewarn
129 + ewarn
130 + ewarn "When installing for the first time or upgrading from <= 1.2.5,"
131 + ewarn "run the ./bin/install-jsdeps.sh script to download required"
132 + ewarn "javascript files into the ./temp/js_cache/ folder."
133 + ewarn
134 +}