If you would like to set up ViewCVS in a usable manner, all you need to do is modify the configuration file, located at %%PREFIX%%/share/viewcvs/viewcvs.conf, to note where your CVSROOT is, and then copy the actual CGI (located at %%PREFIX%%/share/viewcvs/cgi/viewcvs.cgi) to your cgi-bin.