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)
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.
Created attachment 81487 [details, diff] fixes for viewcvs reconfig
Fixed in www-apps/viewvc