After upgrading my squirrelmail, I can't loggin. /var/local/squirrelmail/data/ doesn't exist. I know I can create it and give it right permission, but I think this is an ebuild issue, no ?
when you ran etc-update you merged the default config. cd to where you installed squirrelmail with webapp-config (/var/www/localhost/squirrelmail if you have USE=-vhosts) and go into the config dir and run conf.pl.
Eh... If you really insist on doing this differently from upstream (yeah, /var/local is kinda stupid, would likely choose something else), then you should make the default config *usable* - as you did in 1.5.1-r4, i.e., stick something like this to the ebuild: <snip> sed -i "s:'/var/local/squirrelmail/data':SM_PATH . 'data/':" config/config.php </snip> Plus kindly note that moving the dir outside of documentroot was done on purpose for security reasons - http://www.squirrelmail.org/wiki/DataAndAttachmentsDirectories so if you move it back, you should use .htaccess or whatever to limit access there.
Uh... I have no control over where YOU install the web application. No matter what I set the default to, it doesn't matter. YOU choose where the web root is on YOUR system. This information is not available at the time the ebuild installs the files. If you want this kind of feature, make a feature request with the webapp-config maintainers.
Eh... the config file takes relative paths, for starters. The default config is broken for anyone, as said above, this already works correctly in 1.5.1. Also, sure you know where it gets installed - see http://www.gentoo.org/proj/en/webapps/webapp-eclass.xml
Ok, it defaults now to the relative path, but I still don't like that. I'd rather it be setup by a competent sysadmin than default like this...