diff options
Diffstat (limited to 'documentation/content/en/books/handbook/mirrors/_index.adoc')
-rw-r--r-- | documentation/content/en/books/handbook/mirrors/_index.adoc | 201 |
1 files changed, 50 insertions, 151 deletions
diff --git a/documentation/content/en/books/handbook/mirrors/_index.adoc b/documentation/content/en/books/handbook/mirrors/_index.adoc index d144111c60..e60a92988d 100644 --- a/documentation/content/en/books/handbook/mirrors/_index.adoc +++ b/documentation/content/en/books/handbook/mirrors/_index.adoc @@ -6,8 +6,9 @@ next: books/handbook/bibliography description: "How to get FreeBSD: CD and DVD sets, FTP sites and how to install and use Git" tags: ["Obtaining", "CD", "DVD", "FTP", "Git"] showBookMenu: true -weight: 39 -path: "/books/handbook/" +weight: 41 +params: + path: "/books/handbook/mirrors/" --- [appendix] @@ -52,7 +53,7 @@ endif::[] == Mirrors The official mirrors of the FreeBSD project are made up of many machines operated by the project cluster administrators and behind GeoDNS to direct users to the closest available mirror. -Current locations are Australia, Brazil, Japan (two sites), Malaysia, Netherlands, South Africa, Taiwan, United Kingdom, United States of America (California, New Jersey, and Washington). +Current locations are Australia, Brazil, Japan (two sites), Malaysia, South Africa, Sweden, Taiwan, United States of America (California - two sites, Illinois - two sites, New Jersey, and Washington). Official mirrors service: @@ -60,6 +61,14 @@ Official mirrors service: |=== | Service Name | Protocols | More information +| **cgit.FreeBSD.org** +| link:https://cgit.FreeBSD.org/[https] +| Web interface for the FreeBSD Git repositories. + +| **docs.FreeBSD.org** +| link:https://docs.FreeBSD.org/[https] +| FreeBSD Documentation Portal. + | **download.FreeBSD.org** | link:https://download.FreeBSD.org/[https] link:ftp://download.FreeBSD.org/pub/FreeBSD/[ftp] | Same content as `ftp.FreeBSD.org`, `ftp` is a legacy name; `download.FreeBSD.org` is recommended. @@ -71,16 +80,24 @@ Official mirrors service: | **pkg.FreeBSD.org** | man:pkg[8] over `http` and `https` | Official FreeBSD package repositories used by the man:pkg[8] program. + +| **vuxml.FreeBSD.org** / **www.VuXML.org** +| link:https://www.vuxml.org/[https] +| FreeBSD Project VuXML web page. `pkg audit` fetches the list of vulnerabilities from this service. + +| **www.FreeBSD.org** +| link:https://www.FreeBSD.org/[https] +| FreeBSD Website. |=== All official mirrors support IPv4 and IPv6. -The FreeBSD website (https://www.FreeBSD.org and https://docs.FreeBSD.org) are not hosted in the GeoDNS Infrastructure; there are ongoing studies of its implementation. - http://ftp-archive.FreeBSD.org is not in the GeoDNS Infrastructure, hosted in only one location (US). The project is looking for new locations; those willing to sponsor, please reach out to the Cluster Administrators team for more information. +There is an ongoing project to provide **download.FreeBSD.org** and **pkg.FreeBSD.org** through link:https://www.fastly.com[Fastly], using its CDN acceleration, caching, and bandwidth to bring FreeBSD images and packages to our globally distributed community. + Mirror list maintained by the community and other companies: [cols="1,1,3"] @@ -137,7 +154,7 @@ Mirror list maintained by the community and other companies: | Germany icon:envelope[link=mailto:{mirrors-germany-email}, title="mirror contact"] | ftp.de.FreeBSD.org -| link:ftp://ftp.de.FreeBSD.org/pub/FreeBSD[ftp] link:ftp://ftp.de.FreeBSD.org/pub/FreeBSD[ftp_v6] link:rsync://ftp.de.FreeBSD.org[rsync] link:rsync://ftp.de.FreeBSD.org[rsync_v6] +| link:http://ftp.de.FreeBSD.org/FreeBSD[http] link:http://ftp.de.FreeBSD.org/FreeBSD[http_v6] link:https://ftp.de.FreeBSD.org/FreeBSD[https] link:https://ftp.de.FreeBSD.org/FreeBSD[https_v6] link:ftp://ftp.de.FreeBSD.org/pub/FreeBSD[ftp] link:ftp://ftp.de.FreeBSD.org/pub/FreeBSD[ftp_v6] link:rsync://ftp.de.FreeBSD.org/FreeBSD[rsync] link:rsync://ftp.de.FreeBSD.org/FreeBSD[rsync_v6] | | ftp1.de.FreeBSD.org @@ -183,6 +200,14 @@ Mirror list maintained by the community and other companies: | ftp6.jp.FreeBSD.org | link:http://ftp6.jp.FreeBSD.org/pub/FreeBSD[http] link:http://ftp6.jp.FreeBSD.org/pub/FreeBSD[http_v6] link:ftp://ftp6.jp.FreeBSD.org/pub/FreeBSD[ftp] link:ftp://ftp6.jp.FreeBSD.org/pub/FreeBSD[ftp_v6] link:rsync://ftp6.jp.FreeBSD.org[rsync] link:rsync://ftp6.jp.FreeBSD.org[rsync_v6] +| Kazakhstan icon:envelope[link=mailto:support@ps.kz, title="mirror contact"] +| mirror.ps.kz +| http://mirror.ps.kz/freebsd[http] link:ftp://mirror.ps.kz/freebsd[ftp] + +| +| mirror.neolabs.kz +| link:http://mirror.neolabs.kz/freebsd[http] link:ftp://mirror.neolabs.kz/freebsd[ftp] + | Korea icon:envelope[link=mailto:{mirrors-korea-email}, title="mirror contact"] | ftp.kr.FreeBSD.org | link:http://ftp.kr.FreeBSD.org/pub/FreeBSD[http] link:https://ftp.kr.FreeBSD.org/pub/FreeBSD[https] link:ftp://ftp.kr.FreeBSD.org/pub/FreeBSD[ftp] link:rsync://ftp.kr.FreeBSD.org[rsync] @@ -193,7 +218,7 @@ Mirror list maintained by the community and other companies: | Latvia icon:envelope[link=mailto:{mirrors-latvia-email}, title="mirror contact"] | ftp.lv.FreeBSD.org -| link:http://ftp.lv.FreeBSD.org/pub/FreeBSD[http] link:ftp://ftp.lv.FreeBSD.org/pub/FreeBSD[ftp] +| link:http://ftp.lv.FreeBSD.org/freebsd[http] link:ftp://ftp.lv.FreeBSD.org/freebsd[ftp] | Netherlands icon:envelope[link=mailto:{mirrors-netherlands-email}, title="mirror contact"] | ftp.nl.FreeBSD.org @@ -203,6 +228,10 @@ Mirror list maintained by the community and other companies: | ftp2.nl.FreeBSD.org | link:http://ftp2.nl.FreeBSD.org/pub/FreeBSD[http] link:ftp://ftp2.nl.FreeBSD.org/pub/FreeBSD[ftp] link:rsync://ftp2.nl.FreeBSD.org[rsync] +| +| mirror.nl.altushost.com +| link:https://mirror.nl.altushost.com/FreeBSD[https] + | New Zealand icon:envelope[link=mailto:{mirrors-new-zealand-email}, title="mirror contact"] | ftp.nz.FreeBSD.org | link:http://ftp.nz.FreeBSD.org/pub/FreeBSD[http] link:ftp://ftp.nz.FreeBSD.org/pub/FreeBSD[ftp] @@ -243,6 +272,10 @@ Mirror list maintained by the community and other companies: | ftp.se.FreeBSD.org | link:http://ftp.se.FreeBSD.org/pub/FreeBSD[http] link:http://ftp.se.FreeBSD.org/pub/FreeBSD[http_v6] link:ftp://ftp.se.FreeBSD.org/pub/FreeBSD[ftp] link:ftp://ftp.se.FreeBSD.org/pub/FreeBSD[ftp_v6] link:rsync://ftp.se.FreeBSD.org[rsync] link:rsync://ftp.se.FreeBSD.org[rsync_v6] +| +| mirror.se.altushost.com +| link:https://mirror.se.altushost.com/FreeBSD[https] + | Taiwan icon:envelope[link=mailto:{mirrors-taiwan-email}, title="mirror contact"] | ftp4.tw.FreeBSD.org | link:https://ftp4.tw.FreeBSD.org/pub/FreeBSD[https] link:ftp://ftp4.tw.FreeBSD.org/pub/FreeBSD[ftp] link:rsync://ftp4.tw.FreeBSD.org[rsync] @@ -290,7 +323,7 @@ As of April 2021, FreeBSD uses git as the only version control system for storin [NOTE] ==== Git is generally a developer tool. -Users may prefer to use `freebsd-update` (crossref:cutting-edge[updating-upgrading-freebsdupdate,“FreeBSD Update”]) to update the FreeBSD base system, and `portsnap` (crossref:ports[ports-using,“Using the Ports Collection”]) to update the FreeBSD Ports Collection. +Users may prefer to use `freebsd-update` (crossref:cutting-edge[updating-upgrading-freebsdupdate,“FreeBSD Update”]) to update the FreeBSD base system. ==== This section demonstrates how to install Git on a FreeBSD system and use it to create a local copy of a FreeBSD source code repository. @@ -329,7 +362,8 @@ For example, the URL `https://git.FreeBSD.org/src.git` specifies the main branch | Read-only ports repo via anon-ssh | `ssh://anongit@git.FreeBSD.org/ports.git` |======================================================= -External mirrors maintained by project members are also available; please refer to the <<external-mirrors>> section. +External mirrors maintained by project members are also available; please refer +to the crossref:mirrors[external-mirrors, External mirrors] section. To clone a copy of the FreeBSD system source code repository: @@ -374,7 +408,7 @@ For information about write access to repositories see the extref:{committers-gu Those mirrors are not hosted in FreeBSD.org but still maintained by the project members. Users and developers are welcome to pull or browse repositories on those mirrors. -Pull requests for the `doc` GitHub repository are being accepted; otherwise, the project workflow with those mirrors is still under discussion. +Pull requests for the `doc` and `src` GitHub repositories are being accepted; otherwise, the project workflow with those mirrors is still under discussion. Codeberg:: - doc: https://codeberg.org/FreeBSD/freebsd-doc @@ -410,145 +444,10 @@ For more details, including commit messages lists, see the crossref:handbook/ere These are also published as SSHFP records in DNS. -[[svn]] -== Using Subversion - -[[svn-intro]] -=== Introduction - -As of December 2020, FreeBSD uses git as the primary version control system for storing all of FreeBSD's source code and documentation. -Changes from the git repo on the `stable/11`, `stable/12` and related releng branches are exported to the subversion repository. -This export will continue through the life of these branches. -From July 2012 to March 2021, FreeBSD used Subversion as the only version control system for storing all of FreeBSD's Ports Collection. -As of April 2021, FreeBSD uses git as the only version control system for storing all of FreeBSD's Ports Collection. - -[NOTE] -==== -Subversion is generally a developer tool. -Users may prefer to use `freebsd-update` (crossref:cutting-edge[updating-upgrading-freebsdupdate,“FreeBSD Update”]) to update the FreeBSD base system, and `portsnap` (crossref:ports[ports-using,“Using the Ports Collection”]) to update the FreeBSD Ports Collection. -After March 2021, subversion use is only for legacy branches (`stable/11` and `stable/12`). -==== - -This section demonstrates how to install Subversion on a FreeBSD system and use it to create a local copy of a FreeBSD repository. Additional information on the use of Subversion is included. - -[[svn-svnlite]] -=== Svnlite - -A lightweight version of Subversion is already installed on FreeBSD as `svnlite`. -The port or package version of Subversion is only needed if the Python or Perl API is needed, or if a later version of Subversion is desired. - -The only difference from normal Subversion use is that the command name is `svnlite`. - -[[svn-install]] -=== Installation - -If `svnlite` is unavailable or the full version of Subversion is needed, then it must be installed. - -Subversion can be installed from the Ports Collection: - -[source,shell] -.... -# cd /usr/ports/devel/subversion -# make install clean -.... - -Subversion can also be installed as a package: - -[source,shell] -.... -# pkg install subversion -.... - -[[svn-usage]] -=== Running Subversion - -To fetch a clean copy of the sources into a local directory, use `svn`. -The files in this directory are called a _local working copy_. - -[WARNING] -==== -Move or delete an existing destination directory before using `checkout` for the first time. -Checkout over an existing non-`svn` directory can cause conflicts between the existing files and those brought in from the repository. -==== - -Subversion uses URLs to designate a repository, taking the form of _protocol://hostname/path_. -The first component of the path is the FreeBSD repository to access. -There are three different repositories, `base` for the FreeBSD base system source code, `ports` for the Ports Collection, and `doc` for documentation. -For example, the URL `https://svn.FreeBSD.org/base/head/` specifies the main branch of the src repository, using the `https` protocol. - -A checkout from a given repository is performed with a command like this: - -[source,shell] -.... -# svn checkout https://svn.FreeBSD.org/repository/branch lwcdir -.... - -where: - -* _repository_ is one of the Project repositories: `base`, `ports`, or `doc`. -* _branch_ depends on the repository used. `ports` and `doc` are mostly updated in the `head` branch, while `base` maintains the latest version of -CURRENT under `head` and the respective latest versions of the -STABLE branches under `stable/11` (11._x_) and `stable/12` (12._x_). -* _lwcdir_ is the target directory where the contents of the specified branch should be placed. This is usually [.filename]#/usr/ports# for `ports`, [.filename]#/usr/src# for `base`, and [.filename]#/usr/doc# for `doc`. - -This example checks out the Source Tree from the FreeBSD repository using the HTTPS protocol, placing the local working copy in [.filename]#/usr/src#. -If [.filename]#/usr/src# is already present but was not created by `svn`, remember to rename or delete it before the checkout. - -[source,shell] -.... -# svn checkout https://svn.FreeBSD.org/base/head /usr/src -.... - -Because the initial checkout must download the full branch of the remote repository, it can take a while. -Please be patient. - -After the initial checkout, the local working copy can be updated by running: - -[source,shell] -.... -# svn update lwcdir -.... - -To update [.filename]#/usr/src# created in the example above, use: - -[source,shell] -.... -# svn update /usr/src -.... - -The update is much quicker than a checkout, only transferring files that have changed. - -An alternate way of updating the local working copy after checkout is provided by the [.filename]#Makefile# in the [.filename]#/usr/ports#, [.filename]#/usr/src#, and [.filename]#/usr/doc# directories. -Set `SVN_UPDATE` and use the `update` target. -For example, to update [.filename]#/usr/src#: - -[source,shell] -.... -# cd /usr/src -# make update SVN_UPDATE=yes -.... - -[[svn-mirrors]] -=== Subversion Mirror Sites - -The FreeBSD Subversion repository is: - -[.programlisting] -.... -svn.FreeBSD.org -.... - -This is a publicly accessible mirror network that uses GeoDNS to select an appropriate back end server. -To view the FreeBSD Subversion repositories through a browser, use https://svnweb.FreeBSD.org/[https://svnweb.FreeBSD.org/]. - -HTTPS is the preferred protocol, but the [.filename]#security/ca_root_nss# package will need to be installed in order to automatically validate certificates. - -=== For More Information - -For other information about using Subversion, please see the "Subversion Book", titled http://svnbook.red-bean.com/[Version Control with Subversion], or the http://subversion.apache.org/docs/[Subversion Documentation]. - -[[mirrors-cdrom]] -== CD and DVD Sets +[[mirrors-disc]] +== Disc Copies -FreeBSD CD and DVD sets are available from several online retailers: +FreeBSD disc copies are available from several online retailers: * FreeBSD Mall, Inc. + 1164 Claremont Dr + @@ -558,10 +457,10 @@ USA + Phone: +1 925 240-6652 + Fax: +1 925 674-0821 + Email: info@freebsdmall.com + -WWW: https://www.freebsdmall.com +Website: https://www.freebsdmall.com * Getlinux + -WWW: https://www.getlinux.fr/ +Website: https://www.getlinux.fr/ * Dr. Hinner EDV + Schäftlarnstr. 10 // 4. Stock + @@ -569,4 +468,4 @@ D-81371 München + Germany + Phone: +49 171 417 544 6 + Email: infow@hinner.de + -WWW: http://www.hinner.de/linux/freebsd.html +Website: http://www.hinner.de/linux/freebsd.html |