summaryrefslogtreecommitdiff
path: root/devel/cvsweb3/files/patch-cvsweb.cgi
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-02 12:39:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-02 12:39:00 +0000
commitf46dcf77e6c698533727df1686780b3247fa32f4 (patch)
tree7c696430c55b68ab88ae4b08b25fd8acdd42e149 /devel/cvsweb3/files/patch-cvsweb.cgi
parentActivate isync (diff)
Update to knu-cvsweb 1.104.1.55.
2001-01-02 21:23 knu * cvsweb.cgi, cvsweb.conf: Get cvsweb.cgi to run under perl -T. Change perl command line: Change perl5 to perl and just declare `require 5.000'. Remove -s option that was intended for debug use. Add -T option to perform security checks. Change search paths for cvsweb.conf: Don't adopt the value of $ENV{CVSWEB_CONFIG} that was intended for debug use. Search the same directory that cvsweb.cgi is in instead of the current directory. Invoking `last' in `do { ... } while (0);' is wrong. Change the loop to `while (1) { ... last; }'. Don't do chdir. Instead, use tar(1)'s -C option and cvs(1) export's -d option. Explicitly define $ENV{PATH}. Turn $allow_compress off by default so user can debug cvsweb.cgi easily.
Notes
Notes: svn path=/head/; revision=36598
Diffstat (limited to 'devel/cvsweb3/files/patch-cvsweb.cgi')
-rw-r--r--devel/cvsweb3/files/patch-cvsweb.cgi14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/cvsweb3/files/patch-cvsweb.cgi b/devel/cvsweb3/files/patch-cvsweb.cgi
index d498c7b4e126..9735a321977d 100644
--- a/devel/cvsweb3/files/patch-cvsweb.cgi
+++ b/devel/cvsweb3/files/patch-cvsweb.cgi
@@ -1,8 +1,8 @@
---- cvsweb.cgi.orig Tue Jan 2 08:15:02 2001
-+++ cvsweb.cgi Tue Jan 2 08:33:52 2001
+--- cvsweb.cgi.orig Tue Jan 2 21:23:20 2001
++++ cvsweb.cgi Tue Jan 2 21:29:32 2001
@@ -1 +1 @@
--#!/usr/bin/perl5 -ws
-+#!!!PERL!! -ws
-@@ -139 +139 @@
-- '/usr/local/etc/cvsweb.conf',
-+ '!!PREFIX!!/etc/cvsweb/cvsweb.conf',
+-#!/usr/bin/perl -wT
++#!!!PERL!! -wT
+@@ -141 +141 @@
+- '/usr/local/etc/cvsweb.conf'
++ '!!PREFIX!!/etc/cvsweb/cvsweb.conf'