On non-vhosts installs (USE="-vhost"), net-www/awstats fails to install to /var/www/localhost. This is because pkg_postinst does not call webapp_pkg_postinst.
Diff (not that it's needed): http://catmur.co.uk/cgi-bin/viewcvs/viewcvs.cgi/svn/gentoo/tree/net-www/awstats/awstats-6.5-r1.ebuild?r1=480&r2=481&diff_format=h
This thing is not intended to be installed to /var/www/localhost, it sets up slot manually.
So how are we supposed to install it? The ebuild says: * Copy the /etc/awstats/awstats.model.conf to * /etc/awstats/awstats.<yourdomain>.conf and edit. * use the command * webapp-config * to install awstats for each virtual host. See proper man page. It does not give instructions for single-host installations. Are we supposed to use the postinst-en.txt file as an Apache config file? If so, should not this be mentioned?
This app cannot be installed per-vhost; removed the erroneous ewarn.