git: 0d801ac897 - main - Move /cgi/(ports(-autocomplete).cgi to ports.freebsd.org

"Danilo G. Baio" <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0d801ac897f895200c5e9cbd160b7e87001fb3c7

commit 0d801ac897f895200c5e9cbd160b7e87001fb3c7
Author:     Danilo G. Baio <[email protected]>
AuthorDate: 2023-02-05 00:46:31 +0000
Commit:     Danilo G. Baio <[email protected]>
CommitDate: 2023-02-05 00:46:31 +0000

    Move /cgi/(ports(-autocomplete).cgi to ports.freebsd.org
    
    This is to decouple the dynamic ports page from the main site.
    The same was made on man.freebsd.org.
---
 website/content/en/cgi/man.cgi                                   | 2 +-
 website/content/en/ports/searching.adoc                          | 2 +-
 website/content/en/search/_index.adoc                            | 2 +-
 website/themes/beastie/layouts/shortcodes/form-ports.html        | 2 +-
 website/themes/beastie/layouts/shortcodes/form-search-ports.html | 2 +-
 website/themes/beastie/static/opensearch/ports.xml               | 6 +++---
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi
index 3b24253c9a..6353e160b5 100755
--- a/website/content/en/cgi/man.cgi
+++ b/website/content/en/cgi/man.cgi
@@ -2089,7 +2089,7 @@ and OpenBSD. In this case it is not possible to create Postscript
 and troff output.</li>
 <li>The <a href="https://cgit.freebsd.org/src/tree/share/misc/bsd-family-tree">
 Unix family tree, BSD part</a>.</li>
-<li>The <a href="https://www.freebsd.org/cgi/ports.cgi">
+<li>The <a href="https://ports.freebsd.org/cgi/ports.cgi">
 FreeBSD Ports Changes</a> script.</li>
 <li>Copyright (c) and download for man pages by 
 OS vendors</li>
diff --git a/website/content/en/ports/searching.adoc b/website/content/en/ports/searching.adoc
index 1eb385770e..dd639a2e2e 100644
--- a/website/content/en/ports/searching.adoc
+++ b/website/content/en/ports/searching.adoc
@@ -9,7 +9,7 @@ sidenav: ports
 
 '''''
 
-The form above will allow you to search for ports on this site. A completed search will take you to a link:https://www.FreeBSD.org/cgi/ports.cgi[more complete search page].
+The form above will allow you to search for ports on this site. A completed search will take you to a link:https://ports.FreeBSD.org/cgi/ports.cgi[more complete search page].
 
 However, if you already have the Ports Collection installed on your machine, you may also search by changing to the `/usr/ports` directory and performing `make search name=`__string__. Instead of by `name` you can search by port path (`path`), port information (`info`), maintainer (`maint`), port category (`cat`), build dependencies (`bdeps`), run dependencies (`rdeps`), the project web site (`www`), or any of these fields (`key`). Use `make quicksearch ...` to only display the port name, port directory, and one line description of the port.
 
diff --git a/website/content/en/search/_index.adoc b/website/content/en/search/_index.adoc
index 051f082a86..1561796711 100644
--- a/website/content/en/search/_index.adoc
+++ b/website/content/en/search/_index.adoc
@@ -16,7 +16,7 @@ include::shared/en/urls.adoc[]
 * link:search-mid[Message-ID]
 * https://bugs.FreeBSD.org/search/[Problem Reports (Bugs) database]
 * link:https://man.freebsd.org/cgi/man.cgi[Manual Pages]
-* link:https://www.freebsd.org/cgi/ports.cgi[Ports Search]
+* link:https://ports.freebsd.org/cgi/ports.cgi[Ports Search]
 * http://fxr.watson.org/[The Source Code]
 * http://freebsd.markmail.org/[MarkMail: FreeBSD mail archives search]
 
diff --git a/website/themes/beastie/layouts/shortcodes/form-ports.html b/website/themes/beastie/layouts/shortcodes/form-ports.html
index b32aa7e5bf..6df709a7d3 100644
--- a/website/themes/beastie/layouts/shortcodes/form-ports.html
+++ b/website/themes/beastie/layouts/shortcodes/form-ports.html
@@ -1,4 +1,4 @@
-<form xmlns="http://www.w3.org/1999/xhtml" method="get" action="https://www.FreeBSD.org/cgi/ports.cgi">
+<form xmlns="http://www.w3.org/1999/xhtml" method="get" action="https://ports.FreeBSD.org/cgi/ports.cgi">
   {{ i18n "ports-search" }}
   <input name="query" value=""/>
   <select name="stype">
diff --git a/website/themes/beastie/layouts/shortcodes/form-search-ports.html b/website/themes/beastie/layouts/shortcodes/form-search-ports.html
index 8af7881d9a..b2d6f259f3 100644
--- a/website/themes/beastie/layouts/shortcodes/form-search-ports.html
+++ b/website/themes/beastie/layouts/shortcodes/form-search-ports.html
@@ -1,4 +1,4 @@
-<form action="https://www.freebsd.org/cgi/ports.cgi" method="get">
+<form action="https://ports.freebsd.org/cgi/ports.cgi" method="get">
   <input type="text" name="query" size="50"/><br/>
   <input type="submit" value="Submit Query"/>
   <input type="reset" value="Reset"/>
diff --git a/website/themes/beastie/static/opensearch/ports.xml b/website/themes/beastie/static/opensearch/ports.xml
index 072591d739..5cc86ff138 100644
--- a/website/themes/beastie/static/opensearch/ports.xml
+++ b/website/themes/beastie/static/opensearch/ports.xml
@@ -3,11 +3,11 @@
   <ShortName>FreeBSD Ports</ShortName>
   <LongName>FreeBSD Ports and Packages Collection</LongName>
   <Description>FreeBSD Ports and Packages Collection</Description>
-  <Url template="https://www.freebsd.org/cgi/ports.cgi?sourceid=opensearch&amp;query={searchTerms}" type="text/html" />
-  <Url template="https://www.freebsd.org/cgi/ports-autocomplete.cgi?sourceid=opensearch&amp;ns=opensearch&amp;query={searchTerms}" type="application/x-suggestions+json" />
+  <Url template="https://ports.freebsd.org/cgi/ports.cgi?sourceid=opensearch&amp;query={searchTerms}" type="text/html" />
+  <Url template="https://ports.freebsd.org/cgi/ports-autocomplete.cgi?sourceid=opensearch&amp;ns=opensearch&amp;query={searchTerms}" type="application/x-suggestions+json" />
   <Developer>The FreeBSD Project</Developer>
   <Contact>https://www.freebsd.org/</Contact>
-  <Image height="16" type="image/x-icon" width="16">https://www.freebsd.org/favicon.ico</Image>
+  <Image height="16" type="image/x-icon" width="16">https://ports.freebsd.org/favicon.ico</Image>
   <Language>en</Language>
   <InputEncoding>UTF-8</InputEncoding>
 </OpenSearchDescription>
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.