Remove a reference to cvsweb and other dead code unused since r40013.

This commit is contained in:
Gavin Atkinson 2014-08-16 20:25:38 +00:00
parent 7b298f0bb1
commit a1ac1db720
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45461

View file

@ -61,10 +61,6 @@ sub init_variables {
# 'ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports';
# URL of ports tree for download
$remotePrefixFtpDownload = 'http://cvsweb.FreeBSD.org/ports';
$remoteSuffixFtpDownload = '%s.tar.gz?tarball=1';
# where to get -current packages
local ($p) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386';
local ($palpha) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha';
@ -333,16 +329,6 @@ sub out {
$pathB =~ s/^$localPrefix/ports/o;
$path =~ s/^$localPrefix/$remotePrefixFtp/o;
$pathDownload =~ s/^$localPrefix/$remotePrefixFtpDownload/o;
if ($remoteSuffixFtpDownload) {
if ( substr( $remoteSuffixFtpDownload, 0, 2 ) eq '%s' ) {
$pathDownload =~ m,([^/]+)$,;
$pathDownload .= "/$1" . substr( $remoteSuffixFtpDownload, 2 );
}
else {
$pathDownload .= $remoteSuffixFtpDownload;
}
}
$descfile =~ s/^$localPrefix/$remotePrefixFtp/o;
$version = &encode_url($version);