Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142377

Summary: www-apps/viewcvs install rewrites inappropriate files
Product: Gentoo Linux Reporter: Chris Carlin <volkris>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: critical CC: ramereth
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Carlin 2006-07-31 23:10:35 UTC
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.
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2007-03-01 20:47:45 UTC
Fixed in www-apps/viewvc