2001-08-01 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce * cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd, cvsweb.conf-ruby: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce * cvsweb.cgi, cvsweb.conf: MFZ 1.111, but introduce @ForbiddenFiles instead of @DissallowRead to forbid user to cvs checkout/diff/annotate specified files. * cvsweb.cgi: MFZ 1.112: A couple of trivial fixes. 2001-07-26 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: Chdir to TMPDIR so it works even when the cgi-bin directory is unreadable. [Submitted by: Dmitry Morozovsky <marck@rinet.ru>] * cvsweb.cgi: Let the module/path box appear and work properly when there is only one repository. [Submitted by: Dmitry Morozovsky <marck@rinet.ru>]
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			802 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			802 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| # -*-perl-*-
 | |
| #
 | |
| # Set up for FreeBSD repo options.
 | |
| #
 | |
| # $Idaemons: /home/cvs/cvsweb/cvsweb.conf-freebsd,v 1.5 2001/08/01 09:32:22 knu Exp $
 | |
| # $FreeBSD: www/en/cgi/cvsweb.conf-freebsd,v 1.7 2001/01/14 08:59:59 knu Exp $
 | |
| 
 | |
| if ($uname eq 'FreeBSD') {
 | |
| 	$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
 | |
| 	$ENV{'RCSINCEXC'}  = 'iFreeBSD';
 | |
| } else {
 | |
| 	$ENV{'RCSLOCALID'} = 'FreeBSD';
 | |
| }
 | |
| 
 | |
| @prcategories = qw(
 | |
|     advocacy
 | |
|     alpha
 | |
|     bin
 | |
|     conf
 | |
|     docs
 | |
|     gnu
 | |
|     i386
 | |
|     kern
 | |
|     misc
 | |
|     pending
 | |
|     ports
 | |
|     sparc
 | |
| );
 | |
| 
 | |
| $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
 | |
| 
 | |
| $prkeyword = "PR";
 | |
| 
 | |
| $mancgi =
 | |
|     "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
 | |
| 
 | |
| # Allow downloading a tarball of a port
 | |
| $allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,);
 | |
| 
 | |
| 1;
 |