version 1.465, 2016/09/20 17:18:32 |
version 1.466, 2016/09/21 03:49:19 |
|
|
<a href="http://man.openbsd.org/cvs">cvs(1)</a> was designed to be a simple way |
<a href="http://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 <i>-current</i> or a |
<a href="stable.html">patch branch</a>. |
<a href="stable.html"><i>-stable</i></a> branch. |
The current tree has all of the up to the minute changes, whereas the patch |
The current tree has all of the up to the minute changes, whereas the |
branch contains the sources for the release plus the patches |
<i>-stable</i> branch contains the sources for the release plus the patches from |
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>. |
|
|
|
|
current directory, and a subsequent update will recursively flesh out this |
current directory, and a subsequent update will recursively flesh out this |
sub-tree. |
sub-tree. |
|
|
<h4>Getting an initial tree</h4> |
<h4 id="getting">Getting an initial tree</h4> |
|
|
The following commands assume that your user is member of the <tt>wsrc</tt> |
The following commands assume that your user is member of the <tt>wsrc</tt> |
group: |
group: |
|
|
<p> |
<p> |
If you are following <i>current</i>: |
If you are following <i>-current</i>: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the patch branch for 6.0: |
If you are following the 6.0 <i>-stable</i> branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
|
|
Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts. |
Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts. |
</pre></blockquote> |
</pre></blockquote> |
|
|
<h4>Updating an existing tree</h4> |
<h4 id="updating">Updating an existing tree</h4> |
|
|
If you are following <i>current</i>: |
If you are following <i>-current</i>: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr/src</b> |
$ <b>cd /usr/src</b> |
$ <b>cvs -q up -Pd</b> |
$ <b>cvs -q up -Pd</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the patch branch for 6.0: |
If you are following the 6.0 <i>-stable</i> 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 <i>-current</i>: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</b> |
$ <b>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</b> |
</pre></blockquote> |
</pre></blockquote> |
|
|
If you are following the patch branch for 6.0: |
If you are following the 6.0 <i>-stable</i> branch: |
|
|
<blockquote><pre> |
<blockquote><pre> |
$ <b>cd /usr</b> |
$ <b>cd /usr</b> |