Update FTP link: FreeBSD-current -> branches/-current/
This commit is contained in:
parent
2f45f2258d
commit
efa0026c20
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5890
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
# url.cgi - make plain text URLs clickable
|
||||
#
|
||||
# $FreeBSD: www/en/cgi/url.cgi,v 1.18 1999/09/06 07:02:40 peter Exp $
|
||||
# $FreeBSD: www/en/cgi/url.cgi,v 1.19 1999/09/09 12:58:56 chris Exp $
|
||||
|
||||
|
||||
$hsty_base = '';
|
||||
|
@ -49,7 +49,7 @@ if ($file !~ m%^(http|ftp)://[a-z_\-0-9]+\.freebsd\.(com|org)%i) {
|
|||
1 while $file =~ s%/[^/]+/\.\./%/%;
|
||||
|
||||
my($cvsroot) = '/home/ncvs';
|
||||
$file =~ s%(http|ftp)://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/%%;
|
||||
$file =~ s%(http|ftp)://ftp.freebsd.org/pub/FreeBSD/branches/-current/%%;
|
||||
if ($file =~ m%^ports/([\w-]+/\w[\w-+.]+)/pkg/DESCR%) {
|
||||
print &html_header("Port description for $1");
|
||||
} else {
|
||||
|
@ -74,7 +74,7 @@ print $content;
|
|||
print "</pre>\n";
|
||||
|
||||
# Add 'source' link for freebsd ports
|
||||
if ($file =~ m%pub/FreeBSD/FreeBSD-current/(ports/[^/]+/[^/]+)/pkg/DESCR$%) {
|
||||
if ($file =~ m%pub/FreeBSD/branches/-current/(ports/[^/]+/[^/]+)/pkg/DESCR$%) {
|
||||
print qq{<HR><a href=\"pds.cgi?$1">Sources</a>\n};
|
||||
print qq{| <a href="../ports/">Help</a>\n};
|
||||
print qq{<BR>\n};
|
||||
|
|
Loading…
Reference in a new issue