mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
51fcfef1ce
This patch solves two problems of the actual ViewCVs port: 1. it is forbidden as it is CSS-vulnerable, ViewCVS's CVS contains a patch but a new release was still not created by the authors 2. it overwrites the configuration files on installation To solve problem 1 I "back-ported" the patch 1.117 to lib/viewcvs.py http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/viewcvs/viewcvs/lib/viewcvs.py#rev1.117 as the author itself says, it solves the problem: http://mailman.lyra.org/pipermail/viewcvs-dev/2002-July/000776.html To solve problem 2 I changed the install script to install viewcvs.conf.dist directly instead of renaming it to viewcvs.conf, leaving it up to the user and specifying it in the pkg-message. PR: ports/51464 Submitted by: Lapo Luchini <lapo@m4d.sm>
13 lines
544 B
Plaintext
13 lines
544 B
Plaintext
If you would like to set up ViewCVS in a usable manner, all
|
|
you need to do is modify the configuration file, located at
|
|
%%INSTDIR%%/viewcvs.conf, to note where your
|
|
CVSROOT is, and then copy the actual CGI (located at
|
|
%%INSTDIR%%/cgi/viewcvs.cgi) to your cgi-bin.
|
|
Please notice that configuration files are installed as
|
|
".dist" and must be copied to their actual names prior to
|
|
be edited, e.g.:
|
|
$ cd %%INSTDIR%%
|
|
$ cp viewcvs.conf.dist viewcvs.conf
|
|
$ cp cvsgraph.conf.dist cvsgraph.conf
|
|
It's up to yo to check the ".dist" files after upgrades.
|