version 1.154, 2001/08/08 21:06:32 |
version 1.155, 2001/08/08 21:13:17 |
|
|
and changes, while permitting developers to maintain local copies of the |
and changes, while permitting developers to maintain local copies of the |
source code with their working changes. Developers with "<b>write access</b>" |
source code with their working changes. Developers with "<b>write access</b>" |
can commit changes directly to the OpenBSD source tree, while "Anonymous |
can commit changes directly to the OpenBSD source tree, while "Anonymous |
CVS" users have "<b>read access</b>" and can keep their local copies of the source |
CVS" users have "<b>read access</b>" and can keep their local copies of the |
up to date and issue queries against the central depository. |
source up to date and issue queries against the central depository. |
</p> |
</p> |
|
|
<p> |
<p> |
|
|
to update any other source modules you requested. |
to update any other source modules you requested. |
</p> |
</p> |
|
|
<h3><a name="starting"><font color="#0000e0">Getting Started Using Anonymous CVS</font></a></h3> |
<h3><a name="starting"><font color="#0000e0">Getting Started Using Anonymous |
|
CVS</font></a></h3> |
|
|
<p> |
<p> |
The latest version of CVS is available at |
The latest version of CVS is available at |
|
|
|
|
<p> |
<p> |
People who own an OpenBSD CD may have seen the <i>CVS/</i> dirs on it. |
People who own an OpenBSD CD may have seen the <i>CVS/</i> dirs on it. |
Actually there is a reason, the CD has a checkout of the OpenBSD <b>src</b> module |
Actually there is a reason, the CD has a checkout of the OpenBSD <b>src</b> |
usable to continue updating from. Using this tree will result in a much |
module usable to continue updating from. Using this tree will result in a much |
faster initial CVS update than a fresh checkout of the full OpenBSD |
faster initial CVS update than a fresh checkout of the full OpenBSD |
source tree. There are two ways of using the CD: |
source tree. There are two ways of using the CD: |
</p> |
</p> |
|
|
<ul> |
<ul> |
<li>To copy the CVS tree from the CD to <i>/usr/src</i> (assuming the CD is mounted on /mnt): |
<li>To copy the CVS tree from the CD to <i>/usr/src</i> (assuming the CD is |
|
mounted on /mnt): |
<pre> |
<pre> |
# <b>cd /mnt; pax -rw CVS Makefile [a-z]* /usr/src</b> |
# <b>cd /mnt; pax -rw CVS Makefile [a-z]* /usr/src</b> |
</pre> |
</pre> |
<li>Use a union mount (see <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_union&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html">mount_union(8)</a>) with the CD below a writable directory. (This can be used when only compiling from the tree.) |
<li>Use a union mount (see <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_union&apropos=0&sektion=8&manpath=OpenBSD+Current&format=html">mount_union(8)</a>) |
|
with the CD below a writable directory. (This can be used when only compiling from the tree.) |
<pre> |
<pre> |
# <b>mount -t union -o -b /mnt /usr/src</b> |
# <b>mount -t union -o -b /mnt /usr/src</b> |
</pre> |
</pre> |
</ul> |
</ul> |
|
|
<p> |
<p> |
For people who don't have a CD on hand, you can use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html">cvs(1)</a> to "<b>checkout</b>" the source repository for you. This is discussed in the <a href="#using">next section</a>. |
For people who don't have a CD on hand, you can use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
|
cvs(1)</a> to "<b>checkout</b>" the source repository for you. This is |
|
discussed in the <a href="#using">next section</a>. |
</p> |
</p> |
|
|
<p> |
<p> |
After this, <i>/usr/src</i> will be a nice checkout area where all <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html">cvs(1)</a> commands will work OK. |
After this, <i>/usr/src</i> will be a nice checkout area where all |
|
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
|
cvs(1)</a> commands will work OK. |
</p> |
</p> |
|
|
<h3><a name="using"><font color="#0000e0">Using CVS to get and update your source tree</font></a></h3> |
<h3><a name="using"><font color="#0000e0">Using CVS to get and update your |
|
source tree</font></a></h3> |
|
|
<p> |
<p> |
CVS was designed to be a simple way to retrieve and update your sources, |
CVS was designed to be a simple way to retrieve and update your sources, |
|
|
</p> |
</p> |
|
|
<dl> |
<dl> |
<dt><b>ssh</b><dd>Secure Shell can be used to access the anonymous CVS servers. This is the <em>recommended</em> way of doing so, as it is encrypted. As of 2.6, OpenBSD has included OpenSSH in its standard distribution. |
<dt><b>ssh</b><dd>Secure Shell can be used to access the anonymous CVS servers. |
<dt><b>rsh</b><dd>Remote Shell can be used on some of the servers for users who don't have access to <a href="http://www.openssh.com/">ssh</a>. |
This is the <em>recommended</em> way of doing so, as it is encrypted. As of |
<dt><b>pserver</b><dd>pserver is primarily useful for users who are behind firewalls that block the other two connections. |
2.6, OpenBSD has included OpenSSH in its standard distribution. |
|
<dt><b>rsh</b><dd>Remote Shell can be used on some of the servers for users |
|
who don't have access to <a href="http://www.openssh.com/">ssh</a>. |
|
<dt><b>pserver</b><dd>pserver is primarily useful for users who are behind |
|
firewalls that block the other two connections. |
</dl> |
</dl> |
|
|
<p> |
<p> |
<b>NOTE:</b> For users wishing to use ssh, you must first set the <var>CVS_RSH</var> variable to ssh. |
<b>NOTE:</b> For users wishing to use ssh, you must first set the |
|
<var>CVS_RSH</var> variable to ssh. |
|
|
<ul> |
<ul> |
<li>For Korn/Bourne shells: |
<li>For Korn/Bourne shells: |
|
|
</ul> |
</ul> |
|
|
<p> |
<p> |
Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will use, and which method you will use, you can start using cvs. For those of you who have CDs you can start with the CVS checkout that is on the CD by using the method <a href="#starting">above</a> to get the sources onto your system. If you don't have a CD handy, use the method below to checkout the sources. This method puts the OpenBSD source tree into <i>/usr/src</i>. |
Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will |
|
use, and which method you will use, you can start using cvs. For those of you |
|
who have CDs you can start with the CVS checkout that is on the CD by using |
|
the method <a href="#starting">above</a> to get the sources onto your system. |
|
If you don't have a CD handy, use the method below to checkout the sources. |
|
This method puts the OpenBSD source tree into <i>/usr/src</i>. |
</p> |
</p> |
|
|
<pre> |
<pre> |
|
|
<p> Currently only the OPENBSD_2_9 tag contains the release sources and |
<p> Currently only the OPENBSD_2_9 tag contains the release sources and |
errata already applied. |
errata already applied. |
|
|
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers</font></a></h3> |
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers |
|
</font></a></h3> |
|
|
<p> |
<p> |
There are two levels of source tree access: |
There are two levels of source tree access: |
|
|
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.cz.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.cz.openbsd.org:/cvs</strong><br> |
Host also known as <strong>com-os2.ms.mff.cuni.cz</strong>.<br> |
Host also known as <strong>com-os2.ms.mff.cuni.cz</strong>.<br> |
located at Faculty Math & Physics, Charles University, Prague, Czech republic.<br> |
located at Faculty Math & Physics, Charles University, Prague, Czech |
maintained by <a href="mailto:galambos@com-os2.ms.mff.cuni.cz">Leo Galambos</a>.<br> |
republic.<br> |
|
maintained by <a href="mailto:galambos@com-os2.ms.mff.cuni.cz">Leo Galambos |
|
</a>.<br> |
protocols: ssh, ssh port 2022.<br> |
protocols: ssh, ssh port 2022.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<p> |
<p> |
|
|
server in question. |
server in question. |
</dl> |
</dl> |
|
|
<h3><a name="CRYPTO"><font color="#0000e0">Getting crypto sources through cvs(1)</font></a></h3> |
<h3><a name="CRYPTO"><font color="#0000e0">Getting crypto sources through |
|
cvs(1)</font></a></h3> |
|
|
<p> |
<p> |
<strong>IMPORTANT NOTE:</strong> |
<strong>IMPORTANT NOTE:</strong> |
|
|
on to find out how you can help. |
on to find out how you can help. |
</ul> |
</ul> |
|
|
<h3><a name="EXAMPLE"><font color="#0000e0">Example usages for cvs(1)</font></a></h3> |
<h3><a name="EXAMPLE"><font color="#0000e0">Example usages for cvs(1)</font> |
|
</a></h3> |
|
|
<p> |
<p> |
A sample use of an anoncvs server would be: |
A sample use of an anoncvs server would be: |
|
|
</pre> |
</pre> |
|
|
<p> |
<p> |
<a name="pserver">In order to use a cvs ``pserver'' (a direct TCP connection instead of using ssh or rsh) you must login once:</a> |
<a name="pserver">In order to use a cvs ``pserver'' (a direct TCP connection |
|
instead of using ssh or rsh) you must login once:</a> |
|
|
<pre> |
<pre> |
% <strong>setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
% <strong>setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
|
|
</pre> |
</pre> |
|
|
<p> |
<p> |
The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html">cvs(1) man page</a> |
The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
|
cvs(1) man page</a> |
(included with the CVS sources) has much more |
(included with the CVS sources) has much more |
information about how CVS can be used. |
information about how CVS can be used. |
|
|
|
|
</pre> |
</pre> |
|
|
<p> |
<p> |
<h3><a name="SUP"><font color="#0000e0">Mirroring the CVS repository via sup(1)</font></a></h3> |
<h3><a name="SUP"><font color="#0000e0">Mirroring the CVS repository via |
|
sup(1)</font></a></h3> |
|
|
<p> |
<p> |
Users wishing to mirror the OpenBSD CVS tree itself may now do so |
Users wishing to mirror the OpenBSD CVS tree itself may now do so |
|
|
files ending up in /home/sup. The full OpenBSD cvs tree is currently |
files ending up in /home/sup. The full OpenBSD cvs tree is currently |
about 1.3 gigabytes in size. |
about 1.3 gigabytes in size. |
|
|
<h3><a name="MIRROR"><font color="#0000e0">Setting up an anoncvs mirror</font></a></h3> |
<h3><a name="MIRROR"><font color="#0000e0">Setting up an anoncvs mirror |
|
</font></a></h3> |
|
|
<p> |
<p> |
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 |
|
|
install the latest snapshot before attempting a tree build from source. |
install the latest snapshot before attempting a tree build from source. |
|
|
<hr> |
<hr> |
<a href="index.html"><img height="24" width="24" src="back.gif" border="0" alt="OpenBSD"></a> |
<a href="index.html"><img height="24" width="24" src="back.gif" border="0" |
|
alt="OpenBSD"></a> |
<a href="mailto:www@openbsd.org">www@openbsd.org</a> |
<a href="mailto:www@openbsd.org">www@openbsd.org</a> |
<br><small>$OpenBSD$</small> |
<br><small>$OpenBSD$ |
|
</small> |
|
|
</body> |
</body> |
</html> |
</html> |