Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114487 - viewcvs-1.0_pre20050929 doesn't work with webapp-config-1.50.2
Summary: viewcvs-1.0_pre20050929 doesn't work with webapp-config-1.50.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 17:17 UTC by Renat Lumpau (RETIRED)
Modified: 2007-03-01 20:47 UTC (History)
2 users (show)

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


Attachments
fixes for viewcvs reconfig (viewcvs-reconfig.diff,1.58 KB, patch)
2006-03-05 21:23 UTC, Finn Thain
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renat Lumpau (RETIRED) gentoo-dev 2005-12-04 17:17:22 UTC
The reconfig hook doesn't seem to work with webapp-config-1.50.2. Here's what I get:

* sed: can't read /var/www/localhost/htdocs/./ids/image-cache/Sample: No such
file or directory
* sed: can't read Album/Orange: No such file or directory
* sed: can't read Flower_disp100.jpg: No such file or directory
* sed: can't read /var/www/localhost/htdocs/./ids/image-cache/Sample: No such
file or directory
* sed: can't read Album/Orange: No such file or directory
* sed: can't read Flower_disp100.info: No such file or directory
* 
* sed: unrecognized option `------1'
* Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
(rest of sed --help output here)
Comment 1 Finn Thain 2006-03-05 21:21:33 UTC
The problems here are filenames starting with hyphen being treated as options, and filenames with whitespace being split into many arguments. There is another problem with the reconfig script that I ran into as well, which is that the find|sed -i touches (changes the mtime of) every single file under htdocs. This is definitely not my idea of playing nicely, particularly when the webapp doesn't appear to install anything there. $MY_INSTALLDIR would be the place to do that anyway. I'll attach a patch.
Comment 2 Finn Thain 2006-03-05 21:23:46 UTC
Created attachment 81487 [details, diff]
fixes for viewcvs reconfig
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2007-03-01 20:47:16 UTC
Fixed in www-apps/viewvc