/[smecontribs]/rpms/smeserver-roundcube/contribs8/smeserver-roundcube-0.9-patch1.patch
ViewVC logotype

Contents of /rpms/smeserver-roundcube/contribs8/smeserver-roundcube-0.9-patch1.patch

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


Revision 1.1 - (show annotations) (download)
Tue Nov 5 22:59:42 2013 UTC (10 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-roundcube-0_9-16_el5_sme
* Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme
- corrected bug [SME: 7981]
- moved out spec file sql init and other event and actions

1 diff -up smeserver-roundcube-0.9/createlinks.patch1 smeserver-roundcube-0.9/createlinks
2 --- smeserver-roundcube-0.9/createlinks.patch1 2013-11-05 17:27:53.000000000 -0500
3 +++ smeserver-roundcube-0.9/createlinks 2013-11-05 17:47:58.000000000 -0500
4 @@ -0,0 +1,27 @@
5 +#!/usr/bin/perl -w
6 +
7 +use esmith::Build::CreateLinks qw(:all);
8 +
9 +for my $event (qw(
10 + bootstrap-console-save
11 + conf-roundcube
12 + post-update
13 + ))
14 +{
15 + templates2events("/opt/roundcube/config/db.inc.php", $event);
16 + templates2events("/opt/roundcube/config/main.inc.php", $event);
17 + templates2events("/etc/e-smith/sql/init/80roundcube", $event);
18 +}
19 +
20 +for my $event (qw(
21 + conf-roundcube
22 + ))
23 +{
24 + templates2events("/etc/httpd/conf/httpd.conf", $event);
25 + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");;
26 + safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
27 +}
28 +
29 +
30 +
31 +
32 diff -up smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube.patch1 smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube
33 --- smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube.patch1 2007-06-20 11:32:32.000000000 -0400
34 +++ smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2013-11-05 17:52:12.000000000 -0500
35 @@ -16,5 +16,9 @@
36 IDENTIFIED BY '$pass';
37 flush privileges;
38 EOF
39 + /usr/bin/mysql $db < /opt/roundcube/plugins/carddav/dbinit/mysql.sql
40 + /usr/bin/mysql $db < /opt/roundcube/plugins/calendar/drivers/database/sql/mysql.sql
41 + /usr/bin/mysql $db < /opt/roundcube/plugins/calendar/drivers/kolab/SQL/mysql.sql
42 +
43 END
44 }

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