Adjust cvsroot.
This commit is contained in:
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
|
@ -26,7 +26,7 @@
|
||||||
# pds.cgi - FreeBSD Ports download sources cgi script
|
# pds.cgi - FreeBSD Ports download sources cgi script
|
||||||
# print a list of source files for a port
|
# 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/&/&/g; s/</</g; s/>/>/g; $_; }
|
sub escape($) { $_ = $_[0]; s/&/&/g; s/</</g; s/>/>/g; $_; }
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ require "./cgi-style.pl";
|
||||||
$file = escape($ENV{'QUERY_STRING'});
|
$file = escape($ENV{'QUERY_STRING'});
|
||||||
$file_rcs = "$file/Makefile,v";
|
$file_rcs = "$file/Makefile,v";
|
||||||
|
|
||||||
$cvsroot = "/home/ncvs";
|
$cvsroot = "/usr/local/www/cvsroot/FreeBSD";
|
||||||
$co = '/usr/bin/co';
|
$co = '/usr/bin/co';
|
||||||
$make = '/usr/bin/make';
|
$make = '/usr/bin/make';
|
||||||
$pds = '/usr/local/www/bin/pds';
|
$pds = '/usr/local/www/bin/pds';
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# 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
|
# ports.cgi - search engine for FreeBSD ports
|
||||||
# o search for a port by name or description
|
# o search for a port by name or description
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
|
|
||||||
sub init_variables {
|
sub init_variables {
|
||||||
$cvsroot = '/home/ncvs'; # $CVSROOT
|
$cvsroot = '/usr/local/www/cvsroot/FreeBSD'; # $CVSROOT
|
||||||
$localPrefix = '/usr/ports'; # ports prefix
|
$localPrefix = '/usr/ports'; # ports prefix
|
||||||
$ports_database = 'ports/INDEX';
|
$ports_database = 'ports/INDEX';
|
||||||
# unset $ENV{'CVSROOT'};
|
# unset $ENV{'CVSROOT'};
|
||||||
|
@ -557,7 +557,7 @@ sub footer {
|
||||||
<img ALIGN="RIGHT" src="/gifs/powerlogo.gif">
|
<img ALIGN="RIGHT" src="/gifs/powerlogo.gif">
|
||||||
© 1996-2001 by Wolfram Schneider. All rights reserved.<br>
|
© 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
|
print qq{Please direct questions about this service to
|
||||||
<I><A HREF="$mailtoURL">$mailto</A></I><br>\n};
|
<I><A HREF="$mailtoURL">$mailto</A></I><br>\n};
|
||||||
print qq{General questions about FreeBSD ports should be sent to } .
|
print qq{General questions about FreeBSD ports should be sent to } .
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#
|
#
|
||||||
# url.cgi - make plain text URLs clickable
|
# 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;
|
use strict;
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ if ($file =~ m%^ports/([\w-]+)/(\w[\w-+.]+)/pkg-descr%) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# do cvs checkout
|
# 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") {
|
if ($file =~ m%^ports/[\w-]+/\w[\w-+.]*/pkg-descr% && -f "$cvsroot/$file,v") {
|
||||||
open(CO, "-|") ||
|
open(CO, "-|") ||
|
||||||
exec ('/usr/bin/co', '-p', '-q', "$cvsroot/$file,v") ||
|
exec ('/usr/bin/co', '-p', '-q', "$cvsroot/$file,v") ||
|
||||||
|
|
Loading…
Reference in a new issue