sane-backends ebuild installs /etc/env.d/30sane from pkg_postins(). As a result, this file is not accounted for, and will not be removed when uninstalling the package. IMO we should move its installation into src_install().
Actually, no files in /etc are ever uninstalled because of the CONFIG_PROTECT_MASK thingy. That means, even installing them from src_install won't remove them when uninstalled..
But isn't there a way to override the protection thingy? Besides, even if the files are never uninstalled, then at least they are accounted for. E.g.: tea:/etc/sane.d$ qpkg -f /etc/sane.d/net.conf media-gfx/sane-backends-1.0.8 * but tea:/etc/sane.d$ qpkg -f /etc/env.d/30sane comes up with no accounting info. I think that, unless there was a good reason not to do it this way, the file in env.d should be installed normally from src_install().
touche :)
done