13 |
|
|
14 |
Name: roundcubemail |
Name: roundcubemail |
15 |
Version: 1.0.4 |
Version: 1.0.4 |
16 |
Release: %mkrel 1 |
Release: %mkrel 2 |
17 |
Summary: Round Cube Webmail is a browser-based multilingual IMAP client |
Summary: Round Cube Webmail is a browser-based multilingual IMAP client |
18 |
Group: System/Servers |
Group: System/Servers |
19 |
License: GPLv3 |
License: GPLv3 |
25 |
Source1: roundcubemail.conf |
Source1: roundcubemail.conf |
26 |
Source2: roundcubemail.logrotate |
Source2: roundcubemail.logrotate |
27 |
Source3: roundcubemail-README.mageia |
Source3: roundcubemail-README.mageia |
28 |
|
# Elegantly handle removal of moxieplayer Flash binary in tinymce |
29 |
|
# media plugin (see "Drop precompiled flash" in %%prep) |
30 |
|
Patch0: roundcubemail-0.9.3-no_swf.patch |
31 |
Epoch: 1 |
Epoch: 1 |
32 |
Requires: apache-mod_php |
Requires: apache-mod_php |
33 |
Requires: php-gd |
Requires: php-gd |
72 |
|
|
73 |
%prep |
%prep |
74 |
%setup -q -n %{oname} |
%setup -q -n %{oname} |
75 |
|
%patch0 -p1 |
76 |
|
|
77 |
# remove any reference to sqlite in config file so people don't mistakely |
# remove any reference to sqlite in config file so people don't mistakely |
78 |
# assume it works |
# assume it works |
79 |
sed -i '/sqlite/d' config/defaults.inc.php |
sed -i '/sqlite/d' config/defaults.inc.php |
80 |
sed -i 's/\r//' SQL/mssql.initial.sql |
sed -i 's/\r//' SQL/mssql.initial.sql |
81 |
|
|
82 |
|
# Drop precompiled flash |
83 |
|
find . -type f -name '*.swf' | xargs rm -f |
84 |
|
|
85 |
|
# Wipe bbcode plugin from bundled TinyMCE to make doubleplus sure we cannot |
86 |
|
# be vulnerable to CVE-2012-4230, unaddressed upstream |
87 |
|
echo "CVE-2012-4230: removing tinymce bbcode plugin, check path if this fails." |
88 |
|
test -d program/js/*mce/plugins/bbcode && rm -rf program/js/*mce/plugins/bbcode || exit 1 |
89 |
|
|
90 |
|
|
91 |
%build |
%build |
92 |
|
|