Adjust cvsroot.

This commit is contained in:
Wolfram Schneider 2002-05-02 14:21:40 +00:00
parent 69e3c627ee
commit 5d19b3c712
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=12936
3 changed files with 7 additions and 7 deletions

View file

@ -26,7 +26,7 @@
# pds.cgi - FreeBSD Ports download sources cgi script
# print a list of source files for a port
#
# $FreeBSD: www/en/cgi/pds.cgi,v 1.8 2002/04/17 05:03:38 kuriyama Exp $
# $FreeBSD: www/en/cgi/pds.cgi,v 1.9 2002/04/17 08:15:39 kuriyama Exp $
sub escape($) { $_ = $_[0]; s/&/&amp;/g; s/</&lt;/g; s/>/&gt;/g; $_; }
@ -39,7 +39,7 @@ require "./cgi-style.pl";
$file = escape($ENV{'QUERY_STRING'});
$file_rcs = "$file/Makefile,v";
$cvsroot = "/home/ncvs";
$cvsroot = "/usr/local/www/cvsroot/FreeBSD";
$co = '/usr/bin/co';
$make = '/usr/bin/make';
$pds = '/usr/local/www/bin/pds';

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.60 2002/02/12 10:48:04 wosch Exp $
# $FreeBSD: www/en/cgi/ports.cgi,v 1.61 2002/04/18 18:04:27 phantom Exp $
#
# ports.cgi - search engine for FreeBSD ports
# o search for a port by name or description
@ -36,7 +36,7 @@
sub init_variables {
$cvsroot = '/home/ncvs'; # $CVSROOT
$cvsroot = '/usr/local/www/cvsroot/FreeBSD'; # $CVSROOT
$localPrefix = '/usr/ports'; # ports prefix
$ports_database = 'ports/INDEX';
# unset $ENV{'CVSROOT'};
@ -557,7 +557,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.60 2002/02/12 10:48:04 wosch Exp $} . "<br>\n";
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.61 2002/04/18 18:04:27 phantom Exp $} . "<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

@ -26,7 +26,7 @@
#
# url.cgi - make plain text URLs clickable
#
# $FreeBSD: www/en/cgi/url.cgi,v 1.29 2001/03/11 20:45:45 wosch Exp $
# $FreeBSD: www/en/cgi/url.cgi,v 1.30 2001/12/11 21:37:30 wosch Exp $
use strict;
@ -70,7 +70,7 @@ if ($file =~ m%^ports/([\w-]+)/(\w[\w-+.]+)/pkg-descr%) {
}
# do cvs checkout
my($cvsroot) = '/home/ncvs';
my($cvsroot) = '/usr/local/www/cvsroot/FreeBSD';
if ($file =~ m%^ports/[\w-]+/\w[\w-+.]*/pkg-descr% && -f "$cvsroot/$file,v") {
open(CO, "-|") ||
exec ('/usr/bin/co', '-p', '-q', "$cvsroot/$file,v") ||