version 1.479, 2018/01/06 12:28:15 |
version 1.480, 2018/03/05 01:46:04 |
|
|
While you can download the entire source tree from an AnonCVS server, you can |
While you can download the entire source tree from an AnonCVS server, you can |
save time and bandwidth by pre-loading your tree with the source tarballs. |
save time and bandwidth by pre-loading your tree with the source tarballs. |
This is particularly true if you are running |
This is particularly true if you are running |
<a href="stable.html"><i>-stable</i></a>, as relatively few files change |
<a href="stable.html">-stable</a>, as relatively few files change |
between the <i>-release</i> and <i>-stable</i>. |
between the -release and -stable. |
|
|
<p> |
<p> |
The source files for download from the <a href="ftp.html">mirrors</a> are |
The source files for download from the <a href="ftp.html">mirrors</a> are |
|
|
|
|
<a href="https://man.openbsd.org/cvs">cvs(1)</a> was designed to be a simple way |
<a href="https://man.openbsd.org/cvs">cvs(1)</a> was designed to be a simple way |
to retrieve and update your sources. |
to retrieve and update your sources. |
You must first decide whether you want to track <i>-current</i> or a |
You must first decide whether you want to track -current or a |
<a href="stable.html"><i>-stable</i></a> branch. |
<a href="stable.html">-stable</a> branch. |
The current tree has all of the up to the minute changes, whereas the |
The current tree has all of the up to the minute changes, whereas the |
<i>-stable</i> branch contains the sources for the release plus the patches from |
-stable branch contains the sources for the release plus the patches from |
the <a href="errata.html">errata</a> and lesser issues already applied. |
the <a href="errata.html">errata</a> and lesser issues already applied. |
For more information on the flavors of OpenBSD, see |
For more information on the flavors of OpenBSD, see |
<a href="faq/faq5.html#Flavors">here</a>. |
<a href="faq/faq5.html#Flavors">here</a>. |
|
|
group: |
group: |
|
|
<p> |
<p> |
If you are following <i>-current</i>: |
If you are following -current: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 -stable branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
|
|
|
|
<h4 id="updating">Updating an existing tree</h4> |
<h4 id="updating">Updating an existing tree</h4> |
|
|
If you are following <i>-current</i>: |
If you are following -current: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr/src</b> |
$ <b>cd /usr/src</b> |
$ <b>cvs -q up -Pd -A</b> |
$ <b>cvs -q up -Pd -A</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 -stable branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr/src</b> |
$ <b>cd /usr/src</b> |
|
|
<ul><li> |
<ul><li> |
|
|
<p> |
<p> |
If you are following <i>-current</i>: |
If you are following -current: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P ports</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P ports</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 -stable branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
|
|
<li> Any time afterwards, to update this tree: |
<li> Any time afterwards, to update this tree: |
|
|
<p> |
<p> |
If you are following <i>-current</i>: |
If you are following -current: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr/ports</b> |
$ <b>cd /usr/ports</b> |
$ <b>cvs -q up -Pd -A</b> |
$ <b>cvs -q up -Pd -A</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the 6.2 <i>-stable</i> branch: |
If you are following the 6.2 -stable branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr/ports</b> |
$ <b>cd /usr/ports</b> |