This may be a false alarm as I couldn't test it directly on my system. Forgive me if it is. My installation of viewcvs was broken. During installation I had an error from xattr, which I traced to the files/reconfig script. It looks to me as if this script goes through my entire webserver replacing variables and is not confined only to the viewcvs data. The problem is that the variable replacement sed command is run on files determined by the following: find ${VHOST_CGIBINDIR}/viewcvs ${VHOST_ROOT}/viewcvs ${VHOST_ROOT}/htdocs/. -type f Note the ${VHOST_ROOT}/htdocs/. part. This command would always fail on my system, and my viewcvs installation would not work. Once I removed the htdocs part the viewcvs installation seemed to work. At the least this should be considered separately. Since reconfig applies to all versions of viewcvs in portage I believe this bug does as well. I tested specifically with the unstable 1.0_pre20050929, though.
Fixed in www-apps/viewvc