==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=7651
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #16 from Stephane de Labrusse <[email protected]> ---
(In reply to Unnilennium from comment #15)
> just inported in buildsys and nuilt
>
> however spec file is dirty and lot need to be moved fromt here to either
> createlinks either db migrate fragement:
>
> for instance :
>
> %build
> #perl createlinks
> mkdir -p root/etc/e-smith/db/accounts/defaults/roundcube
> echo "reserved" > root/etc/e-smith/db/accounts/defaults/roundcube/type
>
> mkdir -p
> root/etc/e-smith/db/configuration/defaults/roundcube
> echo "RoundCube IMAP Client" >
> root/etc/e-smith/db/configuration/defaults/roundcube/Name
> echo "global" >
> root/etc/e-smith/db/configuration/defaults/roundcube/PublicAccess
> echo "enabled" >
> root/etc/e-smith/db/configuration/defaults/roundcube/status
> echo "roundcube" >
> root/etc/e-smith/db/configuration/defaults/roundcube/DbName
> echo "roundcube" >
> root/etc/e-smith/db/configuration/defaults/roundcube/DbUser
Agree this could be removed and file could be with the right content
>
> anf this should be removed fromt here as some are already done by yum
> %post
> /etc/e-smith/events/actions/initialize-default-databases
> /sbin/e-smith/expand-template /etc/e-smith/sql/init/80roundcube
> /etc/rc.d/init.d/mysql.init start
> /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
> /sbin/e-smith/expand-template /opt/roundcube/config/db.inc.php
> /sbin/e-smith/expand-template /opt/roundcube/config/main.inc.php
> /usr/local/bin/svc -h /service/httpd-e-smith
> #load the mysql Table of plugins
> /usr/bin/mysql roundcube < /opt/roundcube/plugins/carddav/dbinit/mysql.sql
> /usr/bin/mysql roundcube <
> /opt/roundcube/plugins/calendar/drivers/database/sql/mysql.sql
> /usr/bin/mysql roundcube <
> /opt/roundcube/plugins/calendar/drivers/kolab/SQL/mysql.sql
not really sure JPP because if you want to load database before they are
created by the expand template processus, you could have some noise :p
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/