version 1.281, 2008/03/26 02:19:42 |
version 1.282, 2008/05/01 00:24:43 |
|
|
and other queries against the central repository. |
and other queries against the central repository. |
|
|
<p> |
<p> |
The OpenBSD Project currently has six main source repositories: |
The OpenBSD Project currently has four active and two historic |
|
source repositories: |
|
|
<ul> |
<ul> |
<li><b>src</b> - Houses all source code for the OpenBSD Operating System. |
<li><b>src</b> - Houses all source code for the OpenBSD Operating System. |
<li><b>ports</b> - Houses the <a href="./ports.html">OpenBSD Ports</a>. |
<li><b>ports</b> - Houses the <a href="./ports.html">OpenBSD Ports</a>. |
<li><b>www</b> - Houses all OpenBSD web pages. (Including this one). |
<li><b>www</b> - Houses all OpenBSD web pages. (Including this one). |
<li><b>X11</b> - Houses OpenBSD's adaptation of the |
|
<a href="http://www.XFree86.org/">XFree86-3</a> software project. |
|
This is here just for historical purposes, most users will have no |
|
reason to use this tree, it is no longer being used. |
|
<li><b>XF4</b> - Houses OpenBSD's adaptation of the XFree86-4 source tree. |
|
<li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree. |
<li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree. |
|
<li><b>X11</b> and <b>XF4</b> - Houses OpenBSD's adaptation of the |
|
<a href="http://www.XFree86.org/">XFree86-3</a> and XFree86-4 |
|
source trees. |
|
These are here just for historical purposes, most users will have |
|
no reason to use this tree, it is no longer being used. |
</ul> |
</ul> |
|
|
<p> |
<p> |
|
|
<pre> |
<pre> |
# <b>cd /usr/src</b> |
# <b>cd /usr/src</b> |
# <b>tar xzf /mnt/src.tar.gz</b> |
# <b>tar xzf /mnt/src.tar.gz</b> |
# <b>tar xzf /mnt/xenocara.tar.gz</b> |
|
# <b>cd /usr</b> |
# <b>cd /usr</b> |
|
# <b>tar xzf /mnt/xenocara.tar.gz</b> |
# <b>tar xzf /mnt/ports.tar.gz</b> |
# <b>tar xzf /mnt/ports.tar.gz</b> |
</pre> |
</pre> |
|
|
|
|
# <b>cd /usr/src</b> |
# <b>cd /usr/src</b> |
# <b>tar xzf ../sys.tar.gz</b> |
# <b>tar xzf ../sys.tar.gz</b> |
# <b>tar xzf ../src.tar.gz</b> |
# <b>tar xzf ../src.tar.gz</b> |
# <b>tar xzf ../xenocara.tar.gz</b> |
|
# <b>cd /usr</b> |
# <b>cd /usr</b> |
|
# <b>tar xzf ../xenocara.tar.gz</b> |
# <b>tar xzf ports.tar.gz</b> |
# <b>tar xzf ports.tar.gz</b> |
</pre> |
</pre> |
|
|
|
|
specify a tag along with your command. Example: |
specify a tag along with your command. Example: |
|
|
<pre> |
<pre> |
# <b>cd /usr; cvs checkout -P -rOPENBSD_4_2 src</b> |
# <b>cd /usr; cvs checkout -P -rOPENBSD_4_3 src</b> |
</pre> |
</pre> |
<p> |
<p> |
Or OPENBSD_4_1 for 4.1, etc. |
Or OPENBSD_4_2 for 4.2, etc. |
|
|
<p> The OPENBSD_4_2 tag contains the release sources and |
<p> The OPENBSD_4_3 tag contains the release sources and |
errata already applied. |
errata already applied. |
|
|
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers |
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers |
|
|
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</strong> |
</pre> |
</pre> |
|
|
<p> (If you are following the patch branch for 4.2): |
<p> (If you are following the patch branch for 4.3): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_2 -P src</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_3 -P src</strong> |
</pre> |
</pre> |
|
|
<li> Anytime afterwards, to `update' this tree: |
<li> Anytime afterwards, to `update' this tree: |
|
|
# <strong>cvs -q up -Pd</strong> |
# <strong>cvs -q up -Pd</strong> |
</pre> |
</pre> |
|
|
<p> (If you are following the patch branch for 4.2): |
<p> (If you are following the patch branch for 4.3): |
<pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -q up -rOPENBSD_4_2 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_4_3 -Pd</strong> |
</pre> |
</pre> |
|
|
Every time you ran this it would synchronize your /usr/src tree. It would |
Every time you ran this it would synchronize your /usr/src tree. It would |
|
|
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</strong> |
</pre> |
</pre> |
<p> (If you are following the patch branch for 4.2): |
<p> (If you are following the patch branch for 4.3): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_2 -P ports</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_3 -P ports</strong> |
</pre> |
</pre> |
<li> Anytime afterwards, to `update' this tree: |
<li> Anytime afterwards, to `update' this tree: |
<p> (If you are following <i>current</i>): |
<p> (If you are following <i>current</i>): |
|
|
# <strong>cd /usr/ports</strong> |
# <strong>cd /usr/ports</strong> |
# <strong>cvs -q up -Pd</strong> |
# <strong>cvs -q up -Pd</strong> |
</pre> |
</pre> |
<p> (If you are following the patch branch for 4.2): |
<p> (If you are following the patch branch for 4.3): |
<pre> |
<pre> |
# <strong>cd /usr/ports</strong> |
# <strong>cd /usr/ports</strong> |
# <strong>cvs -q up -rOPENBSD_4_2 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_4_3 -Pd</strong> |
</pre> |
</pre> |
</ul> |
</ul> |
|
|
|
|
<a href="http://www.openssh.com/">OpenSSH</a>) to talk to the CVS server. |
<a href="http://www.openssh.com/">OpenSSH</a>) to talk to the CVS server. |
|
|
<p> |
<p> |
Many of the CVS sites no longer support rsh for security reasons. Local |
Many of the CVS sites no longer support rsh or pserver for security reasons. |
|
Local |
problems like firewalls or imperfect protocol emulators such as slirp may |
problems like firewalls or imperfect protocol emulators such as slirp may |
also hinder rsh usage. However, if rsh is desired, one must set the |
also hinder rsh usage. However, if rsh is desired, one must set the |
<var>CVS_RSH</var> environment variable to point to rsh |
<var>CVS_RSH</var> environment variable to point to rsh |