HomeFreeBSD

Merge from knu-cvsweb 1.104.1.55.

Description

Merge from 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. (Still enabled on freefall)

Details

Provenance
knuAuthored on Jan 2 2001, 12:45 PM
Parents
R9:ce1a91e27c5f: Merge following changes in the English version.
Branches
Unknown
Tags
Unknown