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

Bug 114487

Summary: viewcvs-1.0_pre20050929 doesn't work with webapp-config-1.50.2
Product: Gentoo Linux Reporter: Renat Lumpau (RETIRED) <rl03>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal CC: fthain, ramereth
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixes for viewcvs reconfig

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