/[smecontribs]/rpms/smeserver-roundcube/contribs9/smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch
ViewVC logotype

Contents of /rpms/smeserver-roundcube/contribs9/smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Sep 30 20:23:19 2015 UTC (9 years, 1 month ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-roundcube-1_2-8_el6_sme, smeserver-roundcube-1_2-9_el6_sme, HEAD
Changes since 1.1: +12 -6 lines
* Mon Sep 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-8.sme
- libcalendaring calendar and tasklist are no more in the contribs

1 diff -Nur smeserver-roundcube-1.2/root/etc/e-smith/db/configuration/defaults/roundcube/PluginsList smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/defaults/roundcube/PluginsList
2 --- smeserver-roundcube-1.2/root/etc/e-smith/db/configuration/defaults/roundcube/PluginsList 2015-04-02 02:05:54.000000000 +0200
3 +++ smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/defaults/roundcube/PluginsList 2015-09-30 22:19:10.852862128 +0200
4 @@ -1 +1 @@
5 -globaladdressbook,calendar,libcalendaring,contextmenu,markasjunk2,vcard_attachments,newmail_notifier,emoticons,tasklist,sieverules
6 +globaladdressbook,contextmenu,markasjunk2,vcard_attachments,newmail_notifier,emoticons,sieverules
7 diff -Nur smeserver-roundcube-1.2/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration
8 --- smeserver-roundcube-1.2/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration 2015-04-02 02:05:54.000000000 +0200
9 +++ smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration 2015-09-30 22:18:05.801160923 +0200
10 @@ -20,4 +20,25 @@
11 $plugins =~ s/,carddav//g;
12 $cdb->set_prop('roundcube','PluginsList',"$plugins");
13 }
14 +
15 +#remove calendar
16 + if ($plugins =~ 'calendar')
17 + {
18 + $plugins =~ s/,calendar//g;
19 + $cdb->set_prop('roundcube','PluginsList',"$plugins");
20 + }
21 +
22 +#remove libcalendaring
23 + if ($plugins =~ 'libcalendaring')
24 + {
25 + $plugins =~ s/,libcalendaring//g;
26 + $cdb->set_prop('roundcube','PluginsList',"$plugins");
27 + }
28 +
29 +#remove tasklist
30 + if ($plugins =~ 'tasklist')
31 + {
32 + $plugins =~ s/,tasklist//g;
33 + $cdb->set_prop('roundcube','PluginsList',"$plugins");
34 + }
35 }
36 diff -Nur smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube smeserver-roundcube-1.2.new/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube
37 --- smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2015-04-02 02:05:54.000000000 +0200
38 +++ smeserver-roundcube-1.2.new/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2015-09-30 22:18:05.803161069 +0200
39 @@ -5,9 +5,10 @@
40 $OUT .= <<END
41 #! /bin/sh
42 if [ -d /var/lib/mysql/$db ]; then
43 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql
44 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
45 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql
46 +#these plugins are no more in the core
47 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql
48 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
49 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql
50 exit
51 fi
52 /usr/bin/mysql <<EOF
53 @@ -19,8 +20,10 @@
54 IDENTIFIED BY '$pass';
55 flush privileges;
56 EOF
57 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql
58 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
59 - /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql
60 +
61 +#these plugins are no more in the core
62 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql
63 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
64 +# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql
65 END
66 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed