openbsd-ports/devel/cvsweb/patches/patch-cvsweb_cgi
naddy 5f95e7c147 Update to knu-cvsweb 1.112.1.82:
* Chdir to TMPDIR so it works even when the cgi-bin directory is unreadable.
* Let the module/path box appear and work properly when there is
only one repository.
* perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce
* MFZ 1.111, but introduce @ForbiddenFiles instead of @DissallowRead
to forbid user to cvs checkout/diff/annotate specified files.
* MFZ 1.112: A couple of trivial fixes.
2001-08-01 19:59:25 +00:00

13 lines
458 B
Plaintext

$OpenBSD: patch-cvsweb_cgi,v 1.9 2001/08/01 19:59:25 naddy Exp $
--- cvsweb.cgi.orig Wed Aug 1 21:34:42 2001
+++ cvsweb.cgi Wed Aug 1 21:35:16 2001
@@ -153,7 +153,7 @@ use File::Basename;
# == EDIT this ==
# Locations to search for user configuration, in order:
-for ("$mydir/cvsweb.conf", '/usr/local/etc/cvsweb/cvsweb.conf') {
+for ("$mydir/cvsweb.conf", '%%SYSCONFDIR%%/cvsweb/cvsweb.conf') {
if (defined($_) && -r $_) {
$config = $_;
last;