diff -up smeserver-roundcube-0.9/createlinks.patch1 smeserver-roundcube-0.9/createlinks --- smeserver-roundcube-0.9/createlinks.patch1 2013-11-05 17:27:53.000000000 -0500 +++ smeserver-roundcube-0.9/createlinks 2013-11-05 17:47:58.000000000 -0500 @@ -0,0 +1,27 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +for my $event (qw( + bootstrap-console-save + conf-roundcube + post-upgrade + )) +{ + templates2events("/opt/roundcube/config/db.inc.php", $event); + templates2events("/opt/roundcube/config/main.inc.php", $event); + templates2events("/etc/e-smith/sql/init/80roundcube", $event); +} + +for my $event (qw( + conf-roundcube + )) +{ + templates2events("/etc/httpd/conf/httpd.conf", $event); + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");; + safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); +} + + + + 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 --- smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube.patch1 2007-06-20 11:32:32.000000000 -0400 +++ smeserver-roundcube-0.9/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2013-11-05 17:52:12.000000000 -0500 @@ -16,5 +16,9 @@ IDENTIFIED BY '$pass'; flush privileges; EOF + /usr/bin/mysql $db < /opt/roundcube/plugins/carddav/dbinit/mysql.sql + /usr/bin/mysql $db < /opt/roundcube/plugins/calendar/drivers/database/sql/mysql.sql + /usr/bin/mysql $db < /opt/roundcube/plugins/calendar/drivers/kolab/SQL/mysql.sql + END }