diff --git a/en/cgi/cgi-style.pl b/en/cgi/cgi-style.pl
index 64cf80d2ec..df107e1176 100644
--- a/en/cgi/cgi-style.pl
+++ b/en/cgi/cgi-style.pl
@@ -1,81 +1,82 @@
-# $FreeBSD: www/en/cgi/cgi-style.pl,v 1.15 2000/01/05 15:47:42 phantom Exp $
+# $FreeBSD: www/en/cgi/cgi-style.pl,v 1.16 2000/12/18 04:44:38 knu Exp $
#
# Perl routines to encapsulate various elements of HTML page style.
# For future reference, when is now?
($se,$mn,$hr,$md,$mo,$yr,$wd,$yd,$dst) = localtime(time);
$yr += 1900;
$mo += 1;
$timestamp = "$mo-$md-$yr";
# Colors for the body
$t_body = "
";
if (!defined($hsty_base)) {
$hsty_base = "..";
}
if (!defined($hsty_email)) {
$hsty_email = "www\@FreeBSD.org";
}
if (!defined($hsty_author)) {
$hsty_author = "$hsty_email";
}
if (!defined($hsty_date)) {
$hsty_date = "";
}
$i_topbar = "
";
if (!defined($hsty_home)) {
$hsty_home = "";
}
sub html_header {
local ($title) = @_;
return "Content-type: text/html\n\n" .
"\n$title\n" .
"\n\n$t_body\n" .
"$i_topbar $title
\n";
}
sub short_html_header {
local ($title) = @_;
return "Content-type: text/html\n\n" .
"\n$title\n" .
"\n\n$t_body\n" .
"$i_topbar";
}
sub html_footer {
return "
$hsty_author
$hsty_date\n";
}
sub get_the_source {
return if $ENV{'PATH_INFO'} ne '/get_the_source';
open(R, $0) || do {
print "Oops! open $0: $!\n"; # should not reached
exit;
};
print "Content-type: text/plain\n\n";
while() { print }
close R;
exit;
-}
+}
+1;
diff --git a/en/cgi/cvsweb.conf-freebsd b/en/cgi/cvsweb.conf-freebsd
index bced2df22b..562aa91a46 100644
--- a/en/cgi/cvsweb.conf-freebsd
+++ b/en/cgi/cvsweb.conf-freebsd
@@ -1,34 +1,36 @@
# Set up for FreeBSD repo options.
#
-# $FreeBSD: www/en/cgi/cvsweb.conf-freebsd,v 1.1 2000/08/14 04:55:19 knu Exp $
+# $FreeBSD: www/en/cgi/cvsweb.conf-freebsd,v 1.2 2000/09/03 18:46:25 knu Exp $
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
$ENV{'RCSINCEXC'} = 'iFreeBSD';
$ENV{'CVSROOT'} = $cvsroot;
##############
# PR categoties
##############
@prcategories = qw(
advocacy
alpha
bin
conf
docs
gnu
i386
kern
misc
ports
sparc
);
##############
# query-pr.cgi
##############
$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
##############
# man.cgi
##############
$mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
+
+1;
diff --git a/en/cgi/cvsweb.conf-netbsd b/en/cgi/cvsweb.conf-netbsd
index 810fe281c8..cd3a21becf 100644
--- a/en/cgi/cvsweb.conf-netbsd
+++ b/en/cgi/cvsweb.conf-netbsd
@@ -1,65 +1,67 @@
# Set up for NetBSD repo options.
#
-# $FreeBSD: www/en/cgi/cvsweb.conf-netbsd,v 1.2 2000/09/03 18:46:25 knu Exp $
+# $FreeBSD: www/en/cgi/cvsweb.conf-netbsd,v 1.3 2000/09/03 19:44:19 knu Exp $
$ENV{'RCSLOCALID'} = 'NetBSD';
$ENV{'RCSINCEXC'} = 'iNetBSD';
##############
# PR categoties
##############
@prcategories = qw(
bin
install
kern
lib
misc
pkg
port-alpha
port-amiga
port-arc
port-arm26
port-arm32
port-atari
port-bebox
port-cobalt
port-hp300
port-hpcmips
port-i386
port-luna68k
port-m68k
port-mac68k
port-macppc
port-mips
port-mvme68k
port-newsmips
port-news68k
port-next68k
port-ofppc
port-pc532
port-pmax
port-powerpc
port-prep
port-sgimips
port-sh3
port-sparc
port-sparc64
port-sun3
port-vax
port-x68k
security
standards
xsrc
y2k
);
##############
# query-pr.cgi
##############
$prcgi = "http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=%s";
##############
# man.cgi
##############
# $mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=NetBSD+1.4&format=html";
$mancgi = "http://www.flame.org/cgi-bin/uncgi/hman?sect=%s&page=%s&arch=i386";
+
+1;
diff --git a/en/cgi/cvsweb.conf-openbsd b/en/cgi/cvsweb.conf-openbsd
index 3115306efb..02eff1b4f4 100644
--- a/en/cgi/cvsweb.conf-openbsd
+++ b/en/cgi/cvsweb.conf-openbsd
@@ -1,38 +1,40 @@
# Set up for OpenBSD repo options.
#
-# $FreeBSD: www/en/cgi/cvsweb.conf-openbsd,v 1.1 2000/08/14 04:55:19 knu Exp $
+# $FreeBSD: www/en/cgi/cvsweb.conf-openbsd,v 1.2 2000/09/03 18:46:25 knu Exp $
$ENV{'RCSLOCALID'} = 'OpenBSD';
$ENV{'RCSINCEXC'} = 'iOpenBSD';
##############
# PR categoties
##############
@prcategories = qw(
alpha
arm
documentation
i386
kernel
library
m68k
mips
ns32k
pending
ports
ppc
sparc
system
user
vax
);
##############
# query-pr.cgi
##############
$prcgi = "http://cvs.openbsd.org/cgi-bin/wwwgnats.pl/full?pr=%s";
##############
# man.cgi
##############
$mancgi = "http://www.OpenBSD.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html";
+
+1;