FreeBSD Bugzilla – Attachment 175460 Details for
Bug 209220
"Long description" link of many ports returns error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix the long description link for ports without their own pkg-descr file
fix_broken_long_description_links.diff (text/plain), 1.41 KB, created by
Andreas Perstinger
on 2016-10-06 11:21:56 UTC
(
hide
)
Description:
Fix the long description link for ports without their own pkg-descr file
Filename:
MIME Type:
Creator:
Andreas Perstinger
Created:
2016-10-06 11:21:56 UTC
Size:
1.41 KB
patch
obsolete
>Index: en_US.ISO8859-1/htdocs/cgi/ports.cgi >=================================================================== >--- en_US.ISO8859-1/htdocs/cgi/ports.cgi (revision 49456) >+++ en_US.ISO8859-1/htdocs/cgi/ports.cgi (working copy) >@@ -109,8 +109,8 @@ > > $remotePrefixHtml = "$hsty_base/ports"; > >- # CVS Web interface >- $remotePrefixCvs = 'http://svnweb.FreeBSD.org/ports/head'; >+ # Web interface for the Ports tree >+ $remotePrefixRepo = 'http://svnweb.FreeBSD.org/ports/head'; > > # Ports documentation > $portsDesc = "$hsty_base/ports/"; >@@ -329,19 +329,19 @@ > $pathB =~ s/^$localPrefix/ports/o; > > $path =~ s/^$localPrefix/$remotePrefixFtp/o; >- $descfile =~ s/^$localPrefix/$remotePrefixFtp/o; >+ $descfile =~ s/^$localPrefix/$remotePrefixRepo/o; > $version = &encode_url($version); > > #$version =~ s/[\+,]/X/g; > > local ($l) = $path; >- $l =~ s%^$remotePrefixFtp%$remotePrefixCvs%o; >+ $l =~ s%^$remotePrefixFtp%$remotePrefixRepo%o; > > print > qq{<dt><b><a name="$version"></a><a href="$l">$version</a></b></dt>\n}; > print qq{<dd>}, &escapeHTML($comment), qq{<br />\n}; > >- print qq[<a href="$l/pkg-descr?revision=HEAD">Long description</a> <b>:</b>\n]; >+ print qq[<a href="$descfile?revision=HEAD">Long description</a> <b>:</b>\n]; > > # Link package in "default" arch/release. Verify it's existence on ftp-master. > if ( $packages{"$version.$packageExt"} ) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209220
: 175460