| Summary: | Update of www-apps/horde-webmail with webapp-config breaks config files | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Arnaud Lech <arnaud> |
| Component: | Current packages | Assignee: | Anthony Basile <blueness> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | major | CC: | glua, twitch153, web-apps |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Arnaud Lech
2008-06-24 21:32:41 UTC
I guess 'src_install()' need some 'webapp_configfile'
I will try something like this on next version to protect all config files:
# Config files
for x in $(find . -path './*config/*' -not -name '*.dist' -not -name '.htaccess' -not -name 'README'); do
webapp_configfile "${MY_HTDOCSDIR}"/${x}
done
I will provide an ebuild when I have time to test it.
Thanks for the report! I fixed this in the eclass now. It doesn't work well. Some files are protected (*/conf.php) but some aren't: config/mime_drivers.php imp/config/servers.php imp/config/mime_drivers.php imp/config/trailer.txt for those I have modified. This is very important because servers.php contains IMAP server settings. webapp-config log: * Upgrading horde-webmail-1.1.2 to horde-webmail-1.1.3 * Installed by root on 2008-08-19 23:27:09 * Config files owned by 0:0 !time config/mime_drivers.php !time turba/config/conf.php !time ingo/config/conf.php !empty turba/config !empty ingo/config !empty config !empty turba !empty ingo !empty /var/www/mail.bdefracte.org/cgi-bin --- /var/www/mail.bdefracte.org/htdocs/horde * Creating required directories * Linking in required files * This can take several minutes for larger apps ^o^ hiding /ingo/config/conf.php ^o^ hiding /turba/config/conf.php * Files and directories installed * One or more files have been config protected * To complete your install, you need to run the following command(s): * * CONFIG_PROTECT="/var/www/mail.bdefracte.org/htdocs/horde//ingo/config" etc-update * CONFIG_PROTECT="/var/www/mail.bdefracte.org/htdocs/horde//turba/config" etc-update * * Install completed - success (In reply to comment #0) > Files imp/config/mime_drivers.php, kronolith/config/conf.php, > imp/config/servers.php, imp/config/trailer.txt, dimp/config/conf.php, > imp/config/conf.php are overriden, so all configuration is lost. > I wonder if this is a duplicate of bug #243260. If the reporter is able, can you try to reproduce this error against HEAD @ http://git.overlays.gentoo.org/gitweb/?p=proj/webapp-config.git;a=summary I can't test this since horde-webmail isn't listed in my portage tree. Was it removed? |