version 1.134, 2001/02/21 15:30:46 |
version 1.135, 2001/02/22 15:53:14 |
|
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN"> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
<html> |
<html> |
<head> |
<head> |
<title>OpenBSD AnonCVS</title> |
<title>OpenBSD AnonCVS</title> |
<link rev=made href=mailto:www@openbsd.org> |
<link rev="made" href="mailto:www@openbsd.org"> |
<meta name="resource-type" content="document"> |
<meta name="resource-type" content="document"> |
<meta name="description" content="How to get OpenBSD updates via Internet using Anonymous CVS"> |
<meta name="description" content="How to get OpenBSD updates via Internet using Anonymous CVS"> |
<meta name="keywords" content="openbsd,anoncvs,updates"> |
<meta name="keywords" content="openbsd,anoncvs,updates"> |
|
|
<meta name="copyright" content="This document copyright 1996-1998 by OpenBSD."> |
<meta name="copyright" content="This document copyright 1996-1998 by OpenBSD."> |
</head> |
</head> |
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E"> |
<body bgcolor="#ffffff" text="#000000" link="#23238e"> |
|
|
<img alt="[OpenBSD]" height=30 width=141 SRC="images/smalltitle.gif"> |
<img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif"> |
<p> |
<p> |
<h2><font color=#e00000>Anonymous CVS</font><hr></h2> |
<h2><font color="#e00000">Anonymous CVS</font></h2> |
|
|
<p> |
<hr> |
<ul><h3>Table Of Contents</h3> |
|
|
<h3>Table Of Contents</h3> |
|
|
|
<ul> |
<li><a href="#anoncvs">What is Anonymous CVS?</a> |
<li><a href="#anoncvs">What is Anonymous CVS?</a> |
<li><a href="#CVS">What is CVS?</a> |
<li><a href="#CVS">What is CVS?</a> |
<li><a href="#starting">Getting Started Using Anonymous CVS.</a> |
<li><a href="#starting">Getting Started Using Anonymous CVS</a> |
<li><a href="#using">Using CVS to Get and Update your Source Tree.</a> |
<li><a href="#using">Using CVS to Get and Update your Source Tree</a> |
<li><a href="#CVSROOT">Available Anonymous CVS Servers.</a> |
<li><a href="#CVSROOT">Available Anonymous CVS Servers</a> |
<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="#SUP">Mirroring the CVS repository via sup(1).</a> |
<li><a href="#SUP">Mirroring the CVS repository via sup(1)</a> |
<li><a href="#MIRROR">Setting up an anoncvs mirror.</a> |
<li><a href="#MIRROR">Setting up an anoncvs mirror</a> |
</ul> |
</ul> |
</p> |
|
<hr> |
<hr> |
|
|
|
<h3><a name="anoncvs"><font color="#0000e0">What is Anonymous CVS?</font></a></h3> |
|
|
<a name="anoncvs"></a> |
|
<h3><font color=#0000e0>What is Anonymous CVS?</font></h3> |
|
|
|
<p> |
<p> |
Anonymous CVS is a method of keeping your local copy of the OpenBSD source |
Anonymous CVS is a method of keeping your local copy of the OpenBSD source |
tree up to date with respect to changes made to current OpenBSD sources. |
tree up to date with respect to changes made to current OpenBSD sources. |
|
|
</p> |
</p> |
|
|
<p> |
<p> |
The OpenBSD Project currently has three main source repositories: |
The OpenBSD Project currently has five main source repositories: |
</p> |
</p> |
|
|
<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.</li> |
|
<li><b>XF4</b> - Houses OpenBSD's adaptation of the |
|
<a href="http://www.XFree86.org/">XFree86-4</a> software project.</li> |
</ul> |
</ul> |
|
|
<p> |
<p> |
|
|
continuing. |
continuing. |
</p> |
</p> |
|
|
<a name="CVS"></a> |
<h3><a name="CVS"><font color="#0000e0">What is CVS?</font></a></h3> |
<h3><font color=#0000e0>What is CVS?</font></h3> |
|
|
|
<p> |
<p> |
<a href=why-cvs.html> |
<a href="why-cvs.html"> |
CVS is the source code control system used to manage the OpenBSD source tree.</a> |
CVS is the source code control system used to manage the OpenBSD source tree.</a> |
It implements a central repository for all officially released source code |
It implements a central repository for all officially released source code |
and changes, while permitting developers to maintain local copies of the |
and changes, while permitting developers to maintain local copies of the |
|
|
to update any other source modules you requested. |
to update any other source modules you requested. |
</p> |
</p> |
|
|
<a name="starting"></a> |
<h3><a name="starting"><font color="#0000e0">Getting Started Using Anonymous CVS</font></a></h3> |
<h3><font color=#0000e0>Getting Started Using Anonymous CVS.</font></h3> |
|
|
|
<p> |
<p> |
The latest version of CVS is available at |
The latest version of CVS is available at |
<a href=http://www.cvshome.org>Cyclic</a>. |
<a href="http://www.cvshome.org">Cyclic</a>. |
Versions earlier than 1.6 are not recommended, and may not work. |
Versions earlier than 1.6 are not recommended, and may not work. |
If you already have OpenBSD installed, CVS is included. |
If you already have OpenBSD installed, CVS is included. |
</p> |
</p> |
|
|
<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> |
|
|
<a name="using"></a> |
<h3><a name="using"><font color="#0000e0">Using CVS to get and update your source tree</font></a></h3> |
<h3><font color=#0000e0>Using CVS(1) to get and update your source tree.</font></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>Once you have decided which tree to follow, you much choose which Anonymous |
<p>Once you have decided which tree to follow, you much choose which Anonymous |
CVS server you are going to use. A list of these servers is |
CVS server you are going to use. A list of these servers is |
<a href="#CVSROOT">below</a>. Do, however, notice that there are 3 ways |
<a href="#CVSROOT">below</a>. Do, however, notice that there are three ways |
to access these servers. |
to access these servers. |
</p> |
</p> |
|
|
<ul> |
<dl> |
<li><b>ssh</b> - Secure Shell can be used to access the anonymous CVS servers. This is the <b>recommended</b> 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. 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. |
<li><b>rsh</b> - 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>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>. |
<li><b>pserver</b> - pserver is primarily useful for users who are behind firewalls that block the other two connections. |
<dt><b>pserver</b><dd>pserver is primarily useful for users who are behind firewalls that block the other two connections. |
</ul> |
</dl> |
|
|
<p> |
<p> |
<b>NOTE:</b> - For users wishing to use ssh, you must first set the <i>CVS_RSH</i> 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: |
<pre> |
<pre> |
$ <b>export CVS_RSH="/usr/bin/ssh"</b> |
$ <b>export CVS_RSH=/usr/bin/ssh</b> |
</pre> |
</pre> |
<li> For CSH based shells. |
<li>For csh/tcsh: |
<pre> |
<pre> |
$ <b>setenv CVS_RSH /usr/bin/ssh</b> |
% <b>setenv CVS_RSH /usr/bin/ssh</b> |
</pre> |
</pre> |
</ul> |
</ul> |
|
|
|
|
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 CD's 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 CD's 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> |
|
|
<p> |
<pre> |
<ul><pre> |
# <b>cd /usr; cvs checkout -P src</b> |
# <b>cd /usr; cvs checkout -P src</b> |
</pre> |
</pre></ul> |
|
</p> |
|
|
|
<p> |
<p> |
The above will checkout the <i>current</i> source tree. Many of you will |
The above will checkout the <i>current</i> source tree. Many of you will |
|
|
specify a tag along with your command. Example: |
specify a tag along with your command. Example: |
</p> |
</p> |
|
|
|
<pre> |
|
# <b>cd /usr; cvs checkout -P -rOPENBSD_2_8 src</b> |
|
</pre> |
<p> |
<p> |
<ul><pre> |
|
# <b>cd /usr; cvs checkout -P -rOPENBSD_2_8 src</b> |
|
</pre></ul> |
|
Or OPENBSD_2_7 for 2.7, etc. |
Or OPENBSD_2_7 for 2.7, etc. |
</p> |
|
|
|
<p> Currently only the OPENBSD_2_8 tag contains the release sources and |
<p> Currently only the OPENBSD_2_8 tag contains the release sources and |
errata already applied. |
errata already applied. |
|
|
<a name="CVSROOT"></a> |
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers</font></a></h3> |
<h3><font color=#0000e0>Available Anonymous CVS Servers.</font></h3> |
|
|
|
<p> |
<p> |
There are two levels of source tree access: |
There are two levels of source tree access: |
|
|
<dt><strong>Read-only access for everyone:</strong> |
<dt><strong>Read-only access for everyone:</strong> |
<dd>Anyone can access the read-only CVS repositories. These copies |
<dd>Anyone can access the read-only CVS repositories. These copies |
of the read-write CVS repository are mirrored often. To use one, |
of the read-write CVS repository are mirrored often. To use one, |
set your <strong>CVSROOT</strong> environment variable to one of |
set your <var>CVSROOT</var> environment variable to one of |
the following values: |
the following values: |
<p> |
<p> |
<strong>Please see the note about using ssh vs. rsh below!</strong> |
<em>Please see the note about using ssh vs. rsh below!</em> |
<p> |
<p> |
<ul> |
<ul> |
<p> |
|
<li><strong>CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs@anoncvs4.usa.openbsd.org</strong>.<br> |
Host also known as <strong>anoncvs@anoncvs4.usa.openbsd.org</strong>.<br> |
located in California, western USA.<br> |
located in California, western USA.<br> |
maintained by <a href=mailto:millert@openbsd.org>Todd Miller</a>.<br> |
maintained by <a href="mailto:millert@openbsd.org">Todd Miller</a>.<br> |
protocols: pserver only.<br> |
protocols: pserver only.<br> |
updated every 4 hours.<br> |
updated every 4 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.usa.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs3.usa.openbsd.org</strong>.<br> |
Host also known as <strong>anoncvs3.usa.openbsd.org</strong>.<br> |
located at the University of Colorado, Boulder, western USA.<br> |
located at the University of Colorado, Boulder, western USA.<br> |
maintained by <a href=mailto:Todd.Miller@cs.colorado.edu>Todd Miller</a>.<br> |
maintained by <a href="mailto:Todd.Miller@cs.colorado.edu">Todd Miller</a>.<br> |
protocols: rsh, ssh, ssh port 2022, pserver.<br> |
protocols: rsh, ssh, ssh port 2022, pserver.<br> |
updated every 6 hours.<br> |
updated every 6 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs5.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs5.usa.openbsd.org:/cvs</strong><br> |
Host also known as <strong>squid.nas.nasa.gov</strong>.<br> |
Host also known as <strong>squid.nas.nasa.gov</strong>.<br> |
located at Ames Research Center, Moffett Field, California, USA.<br> |
located at Ames Research Center, Moffett Field, California, USA.<br> |
maintained by <a href=mailto:allison@mail.arc.nasa.gov>Tyler Allison</a>.<br> |
maintained by <a href="mailto:allison@mail.arc.nasa.gov">Tyler Allison</a>.<br> |
protocols: ssh only.<br> |
protocols: ssh only.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@mirror.arc.nasa.gov:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@mirror.arc.nasa.gov:/cvs</strong><br> |
located at Ames Research Center, Moffett Field, California, USA.<br> |
located at Ames Research Center, Moffett Field, California, USA.<br> |
maintained by <a href=mailto:allison@mail.arc.nasa.gov>Tyler Allison</a>.<br> |
maintained by <a href="mailto:allison@mail.arc.nasa.gov">Tyler Allison</a>.<br> |
protocols: ssh only.<br> |
protocols: ssh only.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs6.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs6.usa.openbsd.org:/cvs</strong><br> |
Host also known as <strong>openbsd.citi.umich.edu</strong>.<br> |
Host also known as <strong>openbsd.citi.umich.edu</strong>.<br> |
located at the University of Michigan, central USA.<br> |
located at the University of Michigan, central USA.<br> |
maintained by <a href=mailto:rees@umich.edu>Jim Rees</a>.<br> |
maintained by <a href="mailto:rees@umich.edu">Jim Rees</a>.<br> |
protocols: ssh, ssh port 2022.<br> |
protocols: ssh, ssh port 2022.<br> |
updated every 12 hours.<br> |
updated every 12 hours.<br> |
<p> |
<p> |
|
|
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.uk.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.uk.openbsd.org:/cvs</strong><br> |
located in London, UK.<br> |
located in London, UK.<br> |
maintained by <a href=mailto:peter@wonderland.org>Peter Galbavy</a>.<br> |
maintained by <a href="mailto:peter@wonderland.org">Peter Galbavy</a>.<br> |
protocols: ssh only.<br> |
protocols: ssh only.<br> |
updated every 6 hours.<br> |
updated every 6 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs2.uk.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs2.uk.openbsd.org:/cvs</strong><br> |
located in London, UK.<br> |
located in London, UK.<br> |
maintained by <a href=mailto:joe@hole-in-the.net>Joe Warren-Meeks</a>.<br> |
maintained by <a href="mailto:joe@hole-in-the.net">Joe Warren-Meeks</a>.<br> |
protocols: ssh only.<br> |
protocols: ssh only.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.tw.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.tw.openbsd.org:/cvs</strong><br> |
Host also known as <strong>OpenBSD.csie.NCTU.edu.tw</strong>.<br> |
Host also known as <strong>OpenBSD.csie.NCTU.edu.tw</strong>.<br> |
located in Taipei, Taiwan.<br> |
located in Taipei, Taiwan.<br> |
maintained by <a href=mailto:lkchu@OpenBSD.csie.NCTU.edu.tw>Liang-Kai Chu</a>.<br> |
maintained by <a href="mailto:lkchu@OpenBSD.csie.NCTU.edu.tw">Liang-Kai Chu</a>.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
updated every 12 hours.<br> |
updated every 12 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.no.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.no.openbsd.org:/cvs</strong><br> |
Host also known as <strong>cvs.inet.no</strong>.<br> |
Host also known as <strong>cvs.inet.no</strong>.<br> |
located in Norway.<br> |
located in Norway.<br> |
maintained by <a href=mailto:cvsadmin@inet.no>Michael Shuldman</a>.<br> |
maintained by <a href="mailto:cvsadmin@inet.no">Michael Shuldman</a>.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
updated every 4 hours.<br> |
updated every 4 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.se.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.se.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs.stacken.kth.se</strong>.<br> |
Host also known as <strong>anoncvs.stacken.kth.se</strong>.<br> |
located in Sweden.<br> |
located in Sweden.<br> |
maintained by <a href=mailto:anoncvs@stacken.kth.se>Magnus Holmberg</a>.<br> |
maintained by <a href="mailto:anoncvs@stacken.kth.se">Magnus Holmberg</a>.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
protocols: rsh, ssh, ssh port 2022.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.be.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.be.openbsd.org:/cvs</strong><br> |
Host also known as <strong>badlands.rug.ac.be</strong>.<br> |
Host also known as <strong>badlands.rug.ac.be</strong>.<br> |
located in Belgium.<br> |
located in Belgium.<br> |
maintained by <a href=mailto:wvdputte@reptile.rug.ac.be>Wim Vandeputte</a>.<br> |
maintained by <a href="mailto:wvdputte@reptile.rug.ac.be">Wim Vandeputte</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> |
|
|
<li><strong>CVSROOT=anoncvs@anoncvs.jp.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.jp.openbsd.org:/cvs</strong><br> |
Host also known as <strong>kankoromochi.econ.nagasaki-u.ac.jp</strong>.<br> |
Host also known as <strong>kankoromochi.econ.nagasaki-u.ac.jp</strong>.<br> |
located at Nagasaki Univ. Faculty of Economics, JAPAN.<br> |
located at Nagasaki Univ. Faculty of Economics, JAPAN.<br> |
maintained by <a href=mailto:sigh@net.nagasaki-u.ac.jp>SUZUKI Hitoshi</a>.<br> |
maintained by <a href="mailto:sigh@net.nagasaki-u.ac.jp">SUZUKI Hitoshi</a>.<br> |
protocols: ssh, pserver.<br> |
protocols: ssh, pserver.<br> |
updated every 3 hours.<br> |
updated every 3 hours.<br> |
<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 republic.<br> |
maintained by <a href=mailto:galambos@com-os2.ms.mff.cuni.cz>Leo Galambos</a>.<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> |
|
|
located in Moscow, Russia<br> |
located in Moscow, Russia<br> |
maintained by <A HREF="mailto:jc@mtmc.ru">John Chertihin</A><br> |
maintained by <A HREF="mailto:jc@mtmc.ru">John Chertihin</A><br> |
protocols: rsh, ssh<br> |
protocols: rsh, ssh<br> |
updated every 24 hours (at 1 AM Moscow time)<br> |
updated every 24 hours (at 1 AM Moscow time).<br> |
<p> |
<p> |
<li><strong>CVSROOT :pserver:anoncvs@cvs.bsdfr.org:/cvs</strong><br> |
<li><strong>CVSROOT :pserver:anoncvs@cvs.bsdfr.org:/cvs</strong><br> |
located at in France<br> |
located at in France<br> |
maintained by: <A HREF=mailto:jch@oleane.net>Jean-Claude Christophe</A><br> |
maintained by: <a href="mailto:jch@oleane.net">Jean-Claude Christophe</a><br> |
protocols: pserver<br> |
protocols: pserver<br> |
updated every 24h <br> |
updated every 24h <br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@grappa.unix-ag.uni-kl.de:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@grappa.unix-ag.uni-kl.de:/cvs</strong><br> |
located at the University of Kaiserslautern, Germany<br> |
located at the University of Kaiserslautern, Germany<br> |
maintained by <A HREF="mailto:hgw@d1906.inka.de">Hans Gunter Weigand</A> and |
maintained by <A HREF="mailto:hgw@d1906.inka.de">Hans Günter Weigand</A> |
<A HREF="mailto:naddy@openbsd.org"> Christian Weisgerber</A><br> |
and <A HREF="mailto:naddy@openbsd.org">Christian Weisgerber</A><br> |
protocols: rsh, ssh, ssh port 2022, pserver<br> |
protocols: rsh, ssh, ssh port 2022, pserver<br> |
updated daily from cvsup.uk.openbsd.org<br> |
updated every 6 hours from cvsup.uk.openbsd.org.<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@exokernel.lcs.mit.edu:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@exokernel.lcs.mit.edu:/cvs</strong><br> |
located at M.I.T, Eastern USA.<br> |
located at M.I.T, Eastern USA.<br> |
|
|
|
|
|
|
<p> |
<p> |
<EM>Note:</EM>, If your server is listed on here with inaccurate or |
<em>Note:</em> If your server is listed on here with inaccurate or |
unknown information, please contact |
unknown information, please contact |
<A HREF="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></A> |
<a href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a> |
</p> |
</p> |
|
|
<p> |
<p> |
You may want to use |
You may want to use |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8&format=html">traceroute(8)</a> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8&format=html">traceroute(8)</a> |
to find out which server is nearest you. |
to find out which server is nearest you. |
Problems with a server should be reported to the <b>maintainer</b> of the |
Problems with a server should be reported to the <b>maintainer</b> of the |
server in question. |
server in question. |
</dl></p> |
</dl> |
|
|
<a name="CRYPTO"></a> |
<h3><a name="CRYPTO"><font color="#0000e0">Getting crypto sources through cvs(1)</font></a></h3> |
<h3><font color=#0000e0>Getting crypto sources through CVS(1)</font></h3> |
|
|
|
<p> |
<p> |
<strong>IMPORTANT NOTE:</strong> |
<strong>IMPORTANT NOTE:</strong> |
|
|
<ul> |
<ul> |
<li>The OpenBSD sources are from Canada. |
<li>The OpenBSD sources are from Canada. |
As |
As |
<a href=http://insight.mcmaster.ca/org/efc/pages/doc/crypto-export.html> |
<a href="http://insight.mcmaster.ca/org/efc/pages/doc/crypto-export.html"> |
researched by a Canadian individual</a> |
researched by a Canadian individual</a> |
and as |
and as |
<a href=http://axion.physics.ubc.ca/ECL.html> |
<a href="http://axion.physics.ubc.ca/ECL.html"> |
described in the Export Control list of Canada</a> |
described in the Export Control list of Canada</a> |
is legal to export crypto software from Canada to the world. |
is legal to export crypto software from Canada to the world. |
<p> |
<p> |
|
|
on to find out how you can help. |
on to find out how you can help. |
</ul> |
</ul> |
|
|
<a name="EXAMPLE"></a> |
<h3><a name="EXAMPLE"><font color="#0000e0">Example usages for cvs(1)</font></a></h3> |
<h3><font color=#0000e0>Example usages for CVS(1).</font></h3> |
|
|
|
<p> |
<p> |
A sample use of an anoncvs CVS server would be: |
A sample use of an anoncvs server would be: |
<ul><pre> |
<pre> |
% <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
% <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
% <strong>cd /tmp</strong> |
% <strong>cd /tmp</strong> |
% <strong>cvs get src/sys/arch/sparc</strong> |
% <strong>cvs get src/sys/arch/sparc</strong> |
[copies the files from the repository to your machine] |
[copies the files from the repository to your machine] |
% <strong>cvs log src/sys/arch/sparc/sparc/locore.s</strong> |
% <strong>cvs log src/sys/arch/sparc/sparc/locore.s</strong> |
[shows the commit log for the chosen file ] |
[shows the commit log for the chosen file] |
% <strong>cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s</strong> |
% <strong>cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s</strong> |
[shows the changes between revisions 1.1 and rev 1.5] |
[shows the changes between revisions 1.1 and rev 1.5] |
</pre></ul> |
</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> |
|
|
<ul><pre> |
<pre> |
[ *NOTE* You must be using cvs version 1.8 or higher to do this ] |
|
% <strong>setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
% <strong>setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
% <strong>cvs login</strong> |
% <strong>cvs login</strong> |
(Logging in to anoncvs@anoncvs1.ca.openbsd.org) |
(Logging in to anoncvs@anoncvs1.ca.openbsd.org) |
CVS password: <strong>anoncvs</strong> |
CVS password: <strong>anoncvs</strong> |
[this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] |
[This writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] |
[An example line from my ~/.cvspass after typing 'blah' for the above ] |
[An example line from my ~/.cvspass after typing 'blah' for the above ] |
[password is: ] |
[password is: ] |
[:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ] |
[:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ] |
[...after logging in ONCE every other use of the above CVSROOT will work ] |
[After logging in ONCE every other use of the above CVSROOT will work. ] |
% <strong>cvs get ksrc-i386 ksrc-common</strong> |
% <strong>cvs get ksrc-i386 ksrc-common</strong> |
[allows you to retrieve ONLY that necessary to rebuild an i386 kernel ] |
[Allows you to retrieve ONLY that necessary to rebuild an i386 kernel. ] |
</pre></ul> |
</pre> |
|
|
<p> |
<p> |
Here is how someone using anoncvs regularly would update his |
Here is how someone using anoncvs regularly would update his |
|
|
<ul><li>First, start out by `get'-ing an initial tree: |
<ul><li>First, start out by `get'-ing an initial tree: |
|
|
<p> (If you are following <i>current</i>): |
<p> (If you are following <i>current</i>): |
<ul><pre> |
<pre> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -q get -PA src</strong> |
# <strong>cvs -q get -PA src</strong> |
</pre></ul> |
</pre> |
|
|
<p> (If you are following the patch branch for 2.8): |
<p> (If you are following the patch branch for 2.8): |
<ul><pre> |
<pre> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -q get -rOPENBSD_2_8 -P src</strong> |
# <strong>cvs -q get -rOPENBSD_2_8 -P src</strong> |
</pre></ul> |
</pre> |
</li> |
</li> |
|
|
<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>): |
<ul><pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -q up -PAd</strong> |
# <strong>cvs -q up -PAd</strong> |
</pre></ul> |
</pre> |
|
|
<p> (If you are following the patch branch for 2.8): |
<p> (If you are following the patch branch for 2.8): |
<ul><pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -q up -rOPENBSD_2_8 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_2_8 -Pd</strong> |
</pre></ul> |
</pre> |
|
|
Everytime you ran this it would synchronize your /usr/src tree. It would |
Everytime you ran this it would synchronize your /usr/src tree. It would |
not destroy any of your local changes, rather it would attempt to merge |
not destroy any of your local changes, rather it would attempt to merge |
|
|
flag to cvs, or you may find yourself tracking <i>current</i> instead. |
flag to cvs, or you may find yourself tracking <i>current</i> instead. |
|
|
<p> (If you are following <i>current</i>): |
<p> (If you are following <i>current</i>): |
<ul><pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -d $CVSROOT -q up -PAd</strong> |
# <strong>cvs -d $CVSROOT -q up -PAd</strong> |
</pre></ul> |
</pre> |
|
|
<p> (If you are following a patch branch): |
<p> (If you are following a patch branch): |
<ul><pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -d $CVSROOT -q up -Pd</strong> |
# <strong>cvs -d $CVSROOT -q up -Pd</strong> |
</pre></ul> |
</pre> |
|
|
</li> |
</li> |
</ul> |
</ul> |
|
|
<p> |
<p> |
To <a name=ports>use</a> <a href=ports.html>ports</a>, it is similar to src: |
To <a name="ports">use</a> <a href="ports.html">ports</a>, it is similar to src: |
<ul><li> |
<ul><li> |
<pre> |
<pre> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs</strong> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -q get -PA ports</strong> |
# <strong>cvs -q get -PA ports</strong> |
</pre> |
</pre> |
</li> |
</li> |
<li> Anytime afterwards, to `update' this tree: |
<li> Anytime afterwards, to `update' this tree: |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -q up -PAd ports</strong> |
# <strong>cvs -q up -PAd ports</strong> |
</pre> |
</pre> |
</li> |
</li> |
</ul> |
</ul> |
</p> |
|
|
|
In the above example, <i>-q</i> is optional, only intended to minimize |
In the above example, <i>-q</i> is optional, only intended to minimize |
cvs's output. For those who like to see screenfulls of output, it |
cvs's output. For those who like to see screenfulls of output, it |
|
|
<p> |
<p> |
or to make a diff of a locally patched module (here <i>cd.c</i>) to include with |
or to make a diff of a locally patched module (here <i>cd.c</i>) to include with |
a bug report: |
a bug report: |
<ul><pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs diff -u src/sys/scsi/cd.c > /tmp/patch</strong> |
# <strong>cvs diff -u src/sys/scsi/cd.c > /tmp/patch</strong> |
</pre></ul> |
</pre> |
</p> |
|
|
|
<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. |
|
|
|
<h4>X11 Source tree</h4> |
|
|
<p> |
<p> |
<strong>X11 Source tree</strong> |
|
<br> |
|
Anoncvs mirrors also carry the OpenBSD X11 source tree. You can adapt |
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. |
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>: |
Either copy or use a union mount to get the X11 sources in <i>/usr/X11</i>: |
|
|
<li>use a union mount with the CD below a writable directory. |
<li>use a union mount with the CD below a writable directory. |
<pre> |
<pre> |
# <strong>mount -t union -o -b /mnt/X11 /usr/X11</strong> |
# <strong>mount -t union -o -b /mnt/X11 /usr/X11</strong> |
</pre></ul> |
</pre> |
|
</ul> |
|
|
After this, <i>/usr/X11</i> will be ready to be used by cvs. You can for |
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 |
example update it to -current source (assuming you've already set |
the <b>CVSROOT</b> environment variable): |
the <b>CVSROOT</b> environment variable): |
|
|
<ul><pre> |
<pre> |
# <strong>cd /usr/X11</strong> |
# <strong>cd /usr/X11</strong> |
# <strong>cvs -q update -PAd</strong> |
# <strong>cvs -q update -PAd</strong> |
</pre></ul> |
</pre> |
|
|
<p> |
<p> |
<strong>Warning:</strong> |
<strong>Warning:</strong> |
|
|
their "diff"s relative to the CVS tree, which will ease integration. |
their "diff"s relative to the CVS tree, which will ease integration. |
|
|
|
|
<a name="WHICH"></a> |
<h3><a name="WHICH"><font color="#0000e0">Use rsh(1) or ssh(1)?</font></a></h3> |
<h3><font color=#0000e0>Use rsh(1) or ssh(1)?</font></h3> |
|
|
|
<p> |
<p> |
<strong>Anoncvs: rsh vs. ssh</strong> |
<strong>Anoncvs: rsh vs. ssh</strong> |
|
|
of the CVS sites no longer support rsh for security reasons or a local |
of the CVS sites no longer support rsh for security reasons or a local |
problem like a firewall or imperfect protocol emulator such as slirp |
problem like a firewall or imperfect protocol emulator such as slirp |
may prevent you from using rsh. |
may prevent you from using rsh. |
The alternative is a to use a "secure shell" connection using either |
The alternative is a to use a "secure shell" connection using |
<a href=http://www.openssh.com>OpenSSH (*FREE*)</a> or |
<a href="http://www.openssh.com">OpenSSH</a>. |
<a href=http://www.cs.hut.fi/ssh/>ssh (non-commercial and commercial)</a>. |
|
|
|
<p> |
<p> |
The OpenBSD anoncvs repositries support the SSH1 protocol, not the SSH2 |
|
protocol due to the use of a "strict non-commercial use licensing policy". |
|
|
|
<p> |
|
Once ssh is installed, one sets the environment variable |
Once ssh is installed, one sets the environment variable |
<strong>CVS_RSH</strong> to point to ssh (typically |
<var>CVS_RSH</var> to point to ssh (typically |
<strong>/usr/bin/ssh</strong>). If your local site prevents you |
<strong>/usr/bin/ssh</strong>). If your local site prevents you |
from connecting out to port 22 (which ssh defaults to using) use port |
from connecting out to port 22 (which ssh defaults to using) use port |
2022. |
2022. |
|
|
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: |
|
|
<ul><pre> |
<pre> |
<strong>setenv CVS_CLIENT_PORT -1</strong> |
<strong>% setenv CVS_CLIENT_PORT -1</strong> |
</pre></ul> |
</pre> |
|
|
<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 |
|
|
<ul><pre> |
<pre> |
<strong>setenv CVS_IGNORE_REMOTE_ROOT</strong> |
<strong>% setenv CVS_IGNORE_REMOTE_ROOT</strong> |
</pre></ul> |
</pre> |
|
|
|
<p> |
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. |
|
|
<a name="SUP"></a> |
<h3><a name="SUP"><font color="#0000e0">Mirroring the CVS repository via sup(1)</font></a></h3> |
<h3><font color=#0000e0>Mirroring the CVS repository via sup(1).</font></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. |
|
|
<a name="MIRROR"></a> |
<h3><a name="MIRROR"><font color="#0000e0">Setting up an anoncvs mirror</font></a></h3> |
<h3><font color=#0000e0>Setting up an anoncvs mirror.</font></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 |
<a href=mailto:sup@openbsd.org>maintainer</a>. |
<a href="mailto:sup@openbsd.org">maintainer</a>. |
Anoncvs mirrors require about 1.2GB of disk, and use up to 32MB of swap |
Anoncvs mirrors require about 1.2GB of disk, and use up to 32MB of swap |
per anoncvs user (assuming the user does a large operation; while smaller |
per anoncvs user (assuming the user does a large operation; while smaller |
operations use fewer resources, anoncvs still makes much more of an |
operations use fewer resources, anoncvs still makes much more of an |
impact than ftp or sup). Such anoncvs machines should have excellent |
impact than ftp or sup). Such anoncvs machines should have excellent |
network connectivity for the area they are expected to serve. A |
network connectivity for the area they are expected to serve. A |
<a href=anoncvs.shar>document</a> |
<a href="anoncvs.shar">document</a> |
which describes the setup of anoncvs servers is available. |
which describes the setup of anoncvs servers is available. |
|
|
<h3><font color=#0000e0>Final notes:</font></h3> |
<h3><font color="#0000e0">Final notes</font></h3> |
After upgrading your source tree, you should read the comments |
After upgrading your source tree, you should read the comments |
at the top of <KBD>/usr/src/Makefile</KBD> before attemping |
at the top of <KBD>/usr/src/Makefile</KBD> before attemping |
a build. Also, you should build a new kernel <strong>before</strong> |
a build. Also, you should build a new kernel <strong>before</strong> |
|
|
install the latest snapshot before attemping a tree build from source. |
install the latest snapshot before attemping 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> |