If I emerge www-apps/cgit-0.8.3.1-r1 with cgi use flag disabled nothing executable gets installed, so what's exactly the point of this use flag? Also another problem: /var/cache/cgit/ dir is created during install, but default permissions don't allow anybody but root to write there, so caching doesn't work even if enabled in config file. Probably some notice about changing ownership of this dir should be added somewhere. Speaking of config file, default css and logo settings rarely will work, so IMHO there should be some warning about that too.
Just quick note: I plan on using cgit with nginx and fastcgi and therefore do not want use cgi enabled. I still need to check details about it, please excuse my hurry.
I agree with sping in comment #1 where the cgi, and the use flag is enabled by default for the reason you stated. As for the einfo additions, I think adding the cache dir permission is a good idea. We probably should install a better default config file if it doesn't work well out of the box. Do you have any good recommendations on what changes should be made?
cgit supports _only_ cgi, fork with fastcgi support exist http://github.com/Dundee/Fast-CGIT p.s. CGIT 0.8.3.2 released http://hjemli.net/git/cgit/tag/?id=v0.8.3.2
bug #325411 has new ebuild
New ebuild hasn't fixed cache permissions problem - see comment #3 to bug #325411. But it got rid of cgi use flag, that's good. About cgitrc, I propose these defaults: css=/cgit/cgit.css logo=/cgit/cgit.png (They will work if you run webapp-config with "-d cgit" option)
Fixed in cgit-0.8.3.5.ebuild and above. Thank you for report parafin!