aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-08-19 21:40:25 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-08-19 21:40:25 +0000
commitfa2123fbc22857ca6e18a884612c16586c8eb8ff (patch)
treea5e737d60b06d7cd3effef3e5dec5375298a7822
parent8ae0ce213c1b5024a1655b06a7cd302b279de5d7 (diff)
downloaddoc-fa2123fbc22857ca6e18a884612c16586c8eb8ff.tar.gz
doc-fa2123fbc22857ca6e18a884612c16586c8eb8ff.zip
- Remove link to source of the CGI script. It doesn't work and people
can find the source via cvsweb in any case. - Use $hsty_base more places for better compatibility with cgi.FreeBSD.org (IE. when the static FreeBSD.org web pages are somewhere other that the site running the CGI's).
Notes
Notes: svn path=/www/; revision=28477
-rwxr-xr-xen/cgi/ports.cgi16
1 files changed, 7 insertions, 9 deletions
diff --git a/en/cgi/ports.cgi b/en/cgi/ports.cgi
index 5bc7d741f1..e4ee5b4b62 100755
--- a/en/cgi/ports.cgi
+++ b/en/cgi/ports.cgi
@@ -24,7 +24,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $FreeBSD: www/en/cgi/ports.cgi,v 1.92 2005/11/30 09:23:48 pav Exp $
+# $FreeBSD: www/en/cgi/ports.cgi,v 1.93 2005/12/05 21:16:19 fenner Exp $
#
# ports.cgi - search engine for FreeBSD ports
# o search for a port by name or description
@@ -110,17 +110,17 @@ sub init_variables {
);
$remotePrefixHtml =
- '../ports';
+ "$hsty_base/ports";
# CVS Web interface
$remotePrefixCvs =
'http://cvsweb.FreeBSD.org/ports';
# Ports documentation
- $portsDesc = '../ports/';
+ $portsDesc = "$hsty_base/ports/";
# location of the tiny BSD daemon
- $daemonGif = '<IMG SRC="/gifs/littlelogo.gif" ALT="Really small BSD Daemon">';
+ $daemonGif = "<IMG SRC='$hsty_base/gifs/littlelogo.gif' ALT='Really small BSD Daemon'>";
# visible E-Mail address, plain text
$mailto = 'www@FreeBSD.org';
@@ -481,10 +481,10 @@ Search for:
sub footer {
print qq{
-<img ALIGN="RIGHT" src="/gifs/powerlogo.gif" alt="Powered by FreeBSD">
+<img ALIGN="RIGHT" src="$hsty_base/gifs/powerlogo.gif" alt="Powered by FreeBSD">
&copy; 1996-2005 by Wolfram Schneider. All rights reserved.<br>
};
- #print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.92 2005/11/30 09:23:48 pav Exp $} . "<br>\n";
+ #print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.93 2005/12/05 21:16:19 fenner Exp $} . "<br>\n";
print qq{Please direct questions about this service to
<I><A HREF="$mailtoURL">$mailto</A></I><br>\n};
print qq{General questions about FreeBSD ports should be sent to } .
@@ -528,15 +528,13 @@ Package download links point to the FreeBSD 6-STABLE
version and <b>not</b> to the latest releases.<p>
The script ports.cgi use the file
-<a href="../ports/$ports_database.bz2">$ports_database</a>
+<a href="$hsty_base/ports/$ports_database.bz2">$ports_database</a>
as database for it's operations. $ports_database is updated automatically every
two hours.<p>
You may also search the
<a href="http://www.FreeBSD.org/cgi/man.cgi?manpath=FreeBSD+Ports">ports manual pages</a>.<p>
-Get the <a href ="source">Source</a> of this script.<p>
-
<a href="$script_name">Back to the search engine</a><p>
<HR noshade>
};