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

Annotation 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.1 - (hide annotations) (download)
Mon Sep 21 21:54:38 2015 UTC (9 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-roundcube-1_2-7_el6_sme
* Mon Sep 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-7.sme
- libcalendaring calendar and tasklist are no more in the contribs

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

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