version 1.104, 2000/04/07 18:25:42 |
version 1.105, 2000/04/07 18:41:56 |
|
|
<li><a href="#CRYPTO">Getting crypto sources through CVS(1).</a> |
<li><a href="#CRYPTO">Getting crypto sources through CVS(1).</a> |
<li><a href="#EXAMPLE">Example usages for CVS(1).</a> |
<li><a href="#EXAMPLE">Example usages for CVS(1).</a> |
<li><a href="#WHICH">Use rsh(1) or ssh(1)?</a> |
<li><a href="#WHICH">Use rsh(1) or ssh(1)?</a> |
|
<li><a href="#MIRROR">Setting up an anoncvs mirror.</a> |
</ul> |
</ul> |
</p> |
</p> |
<hr> |
<hr> |
|
|
information about how CVS can be used. |
information about how CVS can be used. |
|
|
<p> |
<p> |
|
<strong>X11 Source tree</strong> |
|
<br> |
|
Anoncvs mirrors also carry the OpenBSD X11 source tree. You can adapt |
|
the recipe above to update your X11 source tree from the second CD. |
|
Either copy or use a union mount to get the X11 sources in <i>/usr/X11</i>: |
|
|
|
<ul> |
|
<li>copy the tree off it (assuming the 2nd CD is mounted on /mnt): |
|
<pre> |
|
# <strong>cd /mnt; cp -Rp X11 /usr</strong> |
|
</pre> |
|
<li>use a union mount with the CD below a writable directory. |
|
<pre> |
|
# <strong>mount -t union -o -b /mnt/X11 /usr/X11</strong> |
|
</pre></ul> |
|
|
|
After this, <i>/usr/X11</i> will be ready to be used by cvs. You can for |
|
example update it to -current source (assuming you've already set |
|
the <b>CVSROOT</b> environment variable): |
|
|
|
<ul><pre> |
|
# <strong>cd /usr/X11</strong> |
|
# <strong>cvs -q update -PAd</strong> |
|
</pre></ul> |
|
|
|
<p> |
<strong>Warning:</strong> |
<strong>Warning:</strong> |
When using cvs you should take care that your current directory is either |
When using cvs you should take care that your current directory is either |
the root of the tree you're referencing or in a separate place such as /tmp. |
the root of the tree you're referencing or in a separate place such as /tmp. |
|
|
<p> |
<p> |
CVS is a little noisy starting up; to quiet it a bit you may want to |
CVS is a little noisy starting up; to quiet it a bit you may want to |
do this: |
do this: |
<pre> |
|
setenv CVS_CLIENT_PORT -1 |
|
</pre> |
|
|
|
|
<ul><pre> |
|
<strong>setenv CVS_CLIENT_PORT -1</strong> |
|
</pre></ul> |
|
|
<p> |
<p> |
If you wish to change from one CVS server to another (say your normal one is |
If you wish to change from one CVS server to another (say your normal one is |
down, or for any other reason), the environment variable which will let you |
down, or for any other reason), the environment variable which will let you |
do this is |
do this is |
<pre> |
|
setenv CVS_IGNORE_REMOTE_ROOT |
<ul><pre> |
</pre> |
<strong>setenv CVS_IGNORE_REMOTE_ROOT</strong> |
|
</pre></ul> |
|
|
Note that you will also need to use the <strong>-d</strong> flag |
Note that you will also need to use the <strong>-d</strong> flag |
as mentioned above. |
as mentioned above. |
|
|
<p><strong>X11 Source tree</strong> |
|
<br> |
|
Anoncvs mirrors also carry the OpenBSD X11 source tree. You can adapt |
|
the recipe above to update your X11 source tree from the second CD. |
|
Either copy or use a union mount to get the X11 sources in /usr/X11: |
|
<ul> |
|
<li>copy the tree off it (assuming the 2nd CD is mounted on /mnt): |
|
<pre> |
|
<b>#</b> cd /mnt; cp -Rp X11 /usr |
|
</pre> |
|
<li>use a union mount with the CD below a writable directory. |
|
<pre> |
|
<b>#</b> mount -t union -o -b /mnt/X11 /usr/X11 |
|
</pre> |
|
</ul> |
|
After this, /usr/X11 will be ready to be used by cvs. You can for |
|
example update it to -current source (assuming you've already set |
|
the <b>CVSROOT</b> environment variable): |
|
<pre> |
|
<b>#</b> cd /usr/X11 |
|
<b>#</b> cvs -q update -PAd |
|
</pre> |
|
|
|
<p><strong>Setting up a new anoncvs mirror</strong> |
<a name="MIRROR"></a> |
|
<h3><font color=#0000e0>Setting up an anoncvs mirror.</font></h3> |
|
|
<br> |
<br> |
If you wish to be a new anoncvs mirror site, please contact the anoncvs |
If you wish to be a new anoncvs mirror site, please contact the anoncvs |
<a href=mailto:sup@openbsd.org>maintainer</a>. |
<a href=mailto:sup@openbsd.org>maintainer</a>. |