1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/cvsweb/files/patch-cvsweb.cgi
Akinori MUSHA 22c13d6e03 Turn off perl's -T flag for the moment, for CVSweb 2.0.6's code does
not pass Perl 5.8's stricter taint checks.  The flag will be turned on
again when the port is updated to the next release.

PR:		ports/62650, ports/62743
Submitted by:	naddy, Palle Girgensohn <girgen@pingpong.net>
2004-02-24 14:18:50 +00:00

18 lines
473 B
Perl

--- cvsweb.cgi.orig Fri Sep 27 05:56:05 2002
+++ cvsweb.cgi Tue Feb 24 23:12:51 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -wT
+#!!!PERL!! -w
#
# cvsweb - a CGI interface to CVS trees.
#
@@ -157,7 +157,7 @@
# == EDIT this ==
# Locations to search for user configuration, in order:
-for ("$mydir/cvsweb.conf", '/usr/local/etc/cvsweb/cvsweb.conf') {
+for ("$mydir/cvsweb.conf", '!!PREFIX!!/etc/cvsweb/cvsweb.conf') {
if (defined($_) && -r $_) {
$config = $_;
last;