1 |
unnilennium |
1.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 |
|
|
} |