1 |
commit: 61645355beb2e5a8b070ce14c84c25b882145290 |
2 |
Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com> |
3 |
AuthorDate: Fri Feb 8 00:57:19 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 17 22:26:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61645355 |
7 |
|
8 |
mail-client/roundcube: 1.4.0 version bump |
9 |
|
10 |
- Embrace upstream's complete-dist, which includes PEAR, etc |
11 |
dependancies as compsoser would have installed them. We just seem |
12 |
like we cannot keep up with the needed dependency ebuilds. |
13 |
- Removes use flags which aren't needed due to complete-dist. |
14 |
- Adds ${MY_PV} which adjusts for gentoo vs upstream formatting of |
15 |
_rc1/_beta/etc. |
16 |
|
17 |
Closes: https://bugs.gentoo.org/666718 |
18 |
Closes: https://github.com/gentoo/gentoo/pull/13662 |
19 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
20 |
Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com> |
21 |
Closes: https://github.com/gentoo/gentoo/pull/13662 |
22 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
23 |
|
24 |
mail-client/roundcube/Manifest | 1 + |
25 |
.../roundcube/files/POST-UPGRADE_complete.txt | 19 ++++++ |
26 |
mail-client/roundcube/roundcube-1.4.0.ebuild | 73 ++++++++++++++++++++++ |
27 |
3 files changed, 93 insertions(+) |
28 |
|
29 |
diff --git a/mail-client/roundcube/Manifest b/mail-client/roundcube/Manifest |
30 |
index caa51bca2d7..3321c524c97 100644 |
31 |
--- a/mail-client/roundcube/Manifest |
32 |
+++ b/mail-client/roundcube/Manifest |
33 |
@@ -1,3 +1,4 @@ |
34 |
DIST roundcubemail-1.3.10-complete.tar.gz 5495189 BLAKE2B d2b6d7ac28fc609ab3d7275019796c73859a4ecdbbe17018c8ed9d1c702a1563e59429bfb47d9878869d7948ed1051c4a9caaac0d83b26b0a88e293e31bb27d6 SHA512 8fffa16abda87d29081d1afedbf1d9e4862b8b1864785101d422e62048ca7f365c3708e8a76b4a37f716109230943bb9f03a5faa0cf3c3963fa5454207e00c49 |
35 |
DIST roundcubemail-1.3.8-complete.tar.gz 5534385 BLAKE2B 2f0cb528d0901d267c74d57baa18d1f057fdd2eb0f872f3cef1053847861998f8c6551fc17506ae365086ed1f86c3ee9e73a96adb2e43c6c32025e7afaf63710 SHA512 34dc9205cd93be6d6551086f4d22654dad7213b4b09000dc4def08357acdc634744ce1f560144a3d3b46e936258e90482e77fc4c691a55c205bcfdfe3745441e |
36 |
DIST roundcubemail-1.3.9-complete.tar.gz 5521697 BLAKE2B 4689bb43ff02b99a9b2b06d6370a5dce0ec4eca4e4da2a74e33e77ec74ec14bf22b6bab415c8b5fde9bd76bfaed87f183a8979edb353da3ed947f9bfdb0ecb15 SHA512 42ae9b772272b3e82476beeeb0fc5a909fb07ed0bfbdb655627b1e31da1c292f67f5a305452de31b2d60fe5905bcacabd6874dea394a9b0fd66b7921d73500ac |
37 |
+DIST roundcubemail-1.4.0-complete.tar.gz 6997256 BLAKE2B b19a2d049512ceb53b3844f4680ed061044d2d142bef322c067b381e3be57ecb3181cac4f2492a162da1417fefb4028c36d34dae4bf9064c97568f681bd0c78b SHA512 274372793f1f3af761702f8972f6360f8c8e64a705ff96f1432f6a520d24c9ca0e8ccc3933f26433f1c864bd6c381066fc9eb48bf97e9497b4cbff855412d811 |
38 |
|
39 |
diff --git a/mail-client/roundcube/files/POST-UPGRADE_complete.txt b/mail-client/roundcube/files/POST-UPGRADE_complete.txt |
40 |
new file mode 100644 |
41 |
index 00000000000..36124f31b61 |
42 |
--- /dev/null |
43 |
+++ b/mail-client/roundcube/files/POST-UPGRADE_complete.txt |
44 |
@@ -0,0 +1,19 @@ |
45 |
+Post-Upgrade Activities |
46 |
+----------------------- |
47 |
+1. Check .htaccess settings (some php settings could become required) |
48 |
+2. If you're using the built-in addressbook, run indexing script: |
49 |
+ ./bin/indexcontacts.sh. |
50 |
+3. When upgrading from version older than 0.6-beta you should make sure your |
51 |
+ folder settings contain a namespace prefix if necessary. For example Courier |
52 |
+ users should add “INBOX.” prefix to folder names in main configuration file. |
53 |
+4. Check system requirements in INSTALL file. |
54 |
+5. Update your database and configurations by running: |
55 |
+ ./bin/update.sh |
56 |
+ |
57 |
+SQLite database upgrade |
58 |
+----------------------- |
59 |
+Versions older than 0.9 were supporting SQLite v2 only. Newer versions require |
60 |
+database in v3 format. The best what you can do is to convert database file |
61 |
+to the new format using command line tools: |
62 |
+ |
63 |
+sqlite OLD.DB .dump | sqlite3 NEW.DB |
64 |
|
65 |
diff --git a/mail-client/roundcube/roundcube-1.4.0.ebuild b/mail-client/roundcube/roundcube-1.4.0.ebuild |
66 |
new file mode 100644 |
67 |
index 00000000000..e503aac3082 |
68 |
--- /dev/null |
69 |
+++ b/mail-client/roundcube/roundcube-1.4.0.ebuild |
70 |
@@ -0,0 +1,73 @@ |
71 |
+# Copyright 1999-2019 Gentoo Authors |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+ |
74 |
+EAPI=6 |
75 |
+ |
76 |
+inherit webapp |
77 |
+ |
78 |
+MY_PN=${PN}mail |
79 |
+MY_PV=${PV/_/-} |
80 |
+MY_P=${MY_PN}-${MY_PV} |
81 |
+ |
82 |
+DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface" |
83 |
+HOMEPAGE="https://roundcube.net" |
84 |
+SRC_URI="https://github.com/${PN}/${MY_PN}/releases/download/${MY_PV}/${MY_P}-complete.tar.gz" |
85 |
+ |
86 |
+# roundcube is GPL-licensed, the rest of the licenses here are |
87 |
+# for bundled PEAR components, googiespell and utf8.class.php |
88 |
+LICENSE="GPL-3 BSD PHP-2.02 PHP-3 MIT public-domain" |
89 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
90 |
+ |
91 |
+IUSE="change-password enigma ldap mysql postgres sqlite ssl spell" |
92 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
93 |
+ |
94 |
+# this function only sets DEPEND so we need to include that in RDEPEND |
95 |
+need_httpd_cgi |
96 |
+ |
97 |
+RDEPEND=" |
98 |
+ ${DEPEND} |
99 |
+ >=dev-lang/php-5.4.0[filter,gd,iconv,json,ldap?,pdo,postgres?,session,sqlite?,ssl?,unicode,xml] |
100 |
+ virtual/httpd-php |
101 |
+ change-password? ( |
102 |
+ dev-lang/php[sockets] |
103 |
+ ) |
104 |
+ enigma? ( |
105 |
+ app-crypt/gnupg |
106 |
+ ) |
107 |
+ mysql? ( |
108 |
+ || ( |
109 |
+ dev-lang/php[mysql] |
110 |
+ dev-lang/php[mysqli] |
111 |
+ ) |
112 |
+ ) |
113 |
+ spell? ( dev-lang/php[curl,spell] ) |
114 |
+" |
115 |
+ |
116 |
+S="${WORKDIR}/${MY_P}" |
117 |
+ |
118 |
+src_install() { |
119 |
+ webapp_src_preinst |
120 |
+ |
121 |
+ dodoc CHANGELOG INSTALL README.md UPGRADING |
122 |
+ |
123 |
+ insinto "${MY_HTDOCSDIR}" |
124 |
+ doins -r [[:lower:]]* SQL |
125 |
+ doins .htaccess |
126 |
+ |
127 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/logs |
128 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/temp |
129 |
+ |
130 |
+ webapp_configfile "${MY_HTDOCSDIR}"/config/defaults.inc.php |
131 |
+ webapp_postupgrade_txt en "${FILESDIR}/POST-UPGRADE_complete.txt" |
132 |
+ |
133 |
+ webapp_src_install |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ webapp_pkg_postinst |
138 |
+ |
139 |
+ if [[ -n ${REPLACING_VERSIONS} ]]; then |
140 |
+ elog "You can review the post-upgrade instructions at:" |
141 |
+ elog "${EROOT%/}/usr/share/webapps/${PN}/${PV}/postupgrade-en.txt" |
142 |
+ fi |
143 |
+} |