svn commit: r45461 - head/en_US.ISO8859-1/htdocs/cgi

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Sat Aug 16 20:25:38 2014
New Revision: 45461
URL: http://svnweb.freebsd.org/changeset/doc/45461

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

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/ports.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/ports.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/ports.cgi	Fri Aug 15 23:53:20 2014	(r45460)
+++ head/en_US.ISO8859-1/htdocs/cgi/ports.cgi	Sat Aug 16 20:25:38 2014	(r45461)
@@ -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);
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.