Maxim Sobolev 2001-11-07 16:32:19 +00:00
parent 698bba17e1
commit 6327a9c186
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11156
30 changed files with 86 additions and 86 deletions

View file

@ -13,7 +13,7 @@
#
# Based on:
# * Bill Fenners cvsweb.cgi revision 1.28 available from:
# http://www.FreeBSD.org/cgi/cvsweb.cgi/www/en/cgi/cvsweb.cgi
# http://cvsweb.FreeBSD.org/www/en/cgi/cvsweb.cgi
#
# Copyright (c) 1996-1998 Bill Fenner
# (c) 1998-1999 Henner Zeller
@ -42,9 +42,9 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $Id: cvsweb.cgi,v 1.76 2001-09-19 15:18:41 fenner Exp $
# $Id: cvsweb.cgi,v 1.77 2001-11-07 16:32:11 sobomax Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.82 2001/08/01 09:54:52 knu Exp $
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.75 2001/08/01 10:41:47 knu Exp $
# $FreeBSD$
#
###
@ -234,7 +234,7 @@ $LOG_REVSEPARATOR = q/^-{28}$/;
##### End of configuration variables #####
$cgi_style::hsty_base = 'http://www.FreeBSD.org';
$_ = q$FreeBSD: www/en/cgi/cvsweb.cgi,v 1.75 2001/08/01 10:41:47 knu Exp $;
$_ = q$FreeBSD$;
@_ = split;
$cgi_style::hsty_date = "@_[3,4]";

View file

@ -6,9 +6,9 @@
# 1999 H. Nordstrom <hno@hem.passagen.se>
# 2000-2001 A. MUSHA <knu@FreeBSD.org>
# based on work by Bill Fenner <fenner@FreeBSD.org>
# $Id: cvsweb.conf,v 1.22 2001-08-01 10:41:47 knu Exp $
# $Id: cvsweb.conf,v 1.23 2001-11-07 16:32:11 sobomax Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $
# $FreeBSD: www/en/cgi/cvsweb.conf,v 1.21 2001/07/06 09:58:17 knu Exp $
# $FreeBSD$
#
###
@ -60,7 +60,7 @@ $cvstreedefault = $CVSrepositories[2 * 0]; # The first one
'Portugal' => 'http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi',
'Russia' => 'http://www.FreeBSD.org.ua/cgi/cvsweb.cgi?cvsroot=freebsd',
'Spain' => 'http://www.es.FreeBSD.org/cgi/cvsweb.cgi',
'USA, California' => 'http://www.FreeBSD.org/cgi/cvsweb.cgi',
'USA, California' => 'http://cvsweb.FreeBSD.org/',
'Japan' => 'http://www.jp.FreeBSD.org/cgi/cvsweb.cgi',
);

View file

@ -6,7 +6,7 @@
# by John Fieber
# February 26, 1998
#
# $FreeBSD: www/en/cgi/getmsg.cgi,v 1.29 2000/11/29 22:10:24 wosch Exp $
# $FreeBSD$
#
require "./cgi-lib.pl";
@ -208,7 +208,7 @@ sub MessageToHTML
sub AddAnchors
{
my ($text) = @_;
my $cvsweb = 'http://www.freebsd.org/cgi/cvsweb.cgi';
my $cvsweb = 'http://cvsweb.FreeBSD.org/';
$text =~ s/(http|https|ftp|gopher|mailto|news|file)(:[^\s]*?\/?)(\W?\s)/<a href="$1$2">$1$2<\/a>$3/goi;

View file

@ -24,7 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: www/en/cgi/ports.cgi,v 1.57 2001/08/26 18:27:45 wosch Exp $
# $FreeBSD$
#
# ports.cgi - search engine for FreeBSD ports
# o search for a port by name or description
@ -91,7 +91,7 @@ sub init_variables {
# CVS Web interface
$remotePrefixCvs =
'http://www.FreeBSD.org/cgi/cvsweb.cgi/ports';
'http://cvsweb.FreeBSD.org/ports';
# Ports documentation
$portsDesc = '../ports/';
@ -553,7 +553,7 @@ sub footer {
<img ALIGN="RIGHT" src="/gifs/powerlogo.gif">
&copy; 1996-2001 by Wolfram Schneider. All rights reserved.<br>
};
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.57 2001/08/26 18:27:45 wosch Exp $} . "<br>\n";
#print q{$FreeBSD$} . "<br>\n";
print qq{Please direct questions about this service to
<I><A HREF="$mailtoURL">$mailto</A></I><br>\n};
print qq{General questions about FreeBSD ports should be sent to } .

View file

@ -1,5 +1,5 @@
#!/usr/bin/perl -T
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.25 2000/12/29 12:43:12 wosch Exp $
# $FreeBSD$
$ENV{'PATH'} = "/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin";
@ -194,7 +194,7 @@ sub getline
sub cvsweb {
local($file) = shift;
$file =~ s/[,.;]$//;
return 'http://www.FreeBSD.org/cgi/cvsweb.cgi/' . $file;
return 'http://cvsweb.FreeBSD.org/' . $file;
}