Remove a reference to cvsweb and other dead code unused since r40013.
This commit is contained in:
parent
7b298f0bb1
commit
a1ac1db720
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45461
1 changed files with 0 additions and 14 deletions
|
@ -61,10 +61,6 @@ sub init_variables {
|
||||||
|
|
||||||
# 'ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports';
|
# '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
|
# where to get -current packages
|
||||||
local ($p) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386';
|
local ($p) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386';
|
||||||
local ($palpha) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha';
|
local ($palpha) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/alpha';
|
||||||
|
@ -333,16 +329,6 @@ sub out {
|
||||||
$pathB =~ s/^$localPrefix/ports/o;
|
$pathB =~ s/^$localPrefix/ports/o;
|
||||||
|
|
||||||
$path =~ s/^$localPrefix/$remotePrefixFtp/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;
|
$descfile =~ s/^$localPrefix/$remotePrefixFtp/o;
|
||||||
$version = &encode_url($version);
|
$version = &encode_url($version);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue