Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142377 - www-apps/viewcvs install rewrites inappropriate files
Summary: www-apps/viewcvs install rewrites inappropriate files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 23:10 UTC by Chris Carlin
Modified: 2007-03-01 20:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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