[BACK]Return to anoncvs.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/anoncvs.html, Revision 1.336

1.320     sthen       1: <!-- DO NOT EDIT ANONCVS.HTML MANUALLY - IT IS GENERATED FROM TEMPLATES!
                      2:      See comments in www/build/mirrors.dat for details -->
1.246     steven      3:
1.180     jufi        4: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.1       deraadt     5: <html>
                      6: <head>
1.93      deraadt     7: <title>OpenBSD AnonCVS</title>
1.135     naddy       8: <link rev="made" href="mailto:www@openbsd.org">
1.93      deraadt     9: <meta name="resource-type" content="document">
1.249     nick       10: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1.93      deraadt    11: <meta name="description" content="How to get OpenBSD updates via Internet using Anonymous CVS">
                     12: <meta name="keywords" content="openbsd,anoncvs,updates">
                     13: <meta name="distribution" content="global">
1.333     sthen      14: <meta name="copyright" content="This document copyright 1996-2010 by OpenBSD.">
1.1       deraadt    15: </head>
                     16:
1.226     nick       17: <body bgcolor="#ffffff" text="#000000">
1.1       deraadt    18:
1.249     nick       19: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
1.93      deraadt    20: <p>
1.135     naddy      21: <h2><font color="#e00000">Anonymous CVS</font></h2>
1.14      downsj     22:
1.135     naddy      23: <hr>
                     24:
1.249     nick       25: <h3>Table Of Contents</h3>
1.135     naddy      26:
                     27: <ul>
1.249     nick       28: <li><a href="#anoncvs">What is Anonymous CVS?</a>
                     29: <li><a href="#CVS">What is CVS?</a>
                     30: <li><a href="#starting">Getting Started Using Anonymous CVS</a>
                     31: <li><a href="#using">Using CVS to Get and Update your Source Tree</a>
                     32: <li><a href="#CVSROOT">Available Anonymous CVS Servers</a>
                     33: <li><a href="#CRYPTO">Getting crypto sources through cvs(1)</a>
                     34: <li><a href="#EXAMPLE">Example usages for cvs(1)</a>
                     35: <li><a href="#WHICH">Use rsh(1) or ssh(1)?</a>
1.333     sthen      36: <li><a href="#SUP">Mirroring the CVS repository via sup(1)</a>
1.249     nick       37: <li><a href="#MIRROR">Setting up an anoncvs mirror</a>
1.100     ericj      38: </ul>
1.135     naddy      39:
1.100     ericj      40: <hr>
                     41:
1.249     nick       42: <h3><a name="anoncvs"><font color="#0000e0">What is Anonymous CVS?</font></a></h3>
1.99      ericj      43:
1.15      grr        44: <p>
1.249     nick       45: Anonymous CVS is a method of keeping your local copy of the OpenBSD source
                     46: tree up to date with respect to changes made to current OpenBSD sources.
                     47: In addition to following the bleeding edge of development, it is
                     48: also possible to track the patches for errata of a release.
1.99      ericj      49:
1.14      downsj     50: <p>
1.249     nick       51: The major advantage of Anonymous CVS over other source code update
                     52: techniques is that it works directly against a central source code
                     53: repository or mirror.  This means that you have the full set of CVS
                     54: commands available to control merging and updating your changes with
                     55: other source changes and for performing diffs, change histories
                     56: and other queries against the central repository.
1.99      ericj      57:
1.36      deraadt    58: <p>
1.282     nick       59: The OpenBSD Project currently has four active and two historic
                     60: source repositories:
1.99      ericj      61:
                     62: <ul>
1.249     nick       63:   <li><b>src</b> - Houses all source code for the OpenBSD Operating System.
1.329     steven     64:   <li><b>ports</b> - Houses the <a href="faq/ports/index.html">OpenBSD Ports</a>.
1.249     nick       65:   <li><b>www</b> - Houses all OpenBSD web pages. (Including this one).
1.280     steven     66:   <li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree.
1.282     nick       67:   <li><b>X11</b> and <b>XF4</b> - Houses OpenBSD's adaptation of the
                     68:       <a href="http://www.XFree86.org/">XFree86-3</a> and XFree86-4
                     69:       source trees.
                     70:       These are here just for historical purposes, most users will have
                     71:       no reason to use this tree, it is no longer being used.
1.99      ericj      72: </ul>
                     73:
1.100     ericj      74: <p>
1.249     nick       75: To summarize, the real strength of using Anonymous CVS is that it is
                     76: a "tolerant" source code control system - it <strong>respects</strong>
                     77: changes that you have made to your local sources and makes <strong>
                     78: "best efforts"</strong> to update your entire source tree, rather than
                     79: leaving you a list of arcane problems that have to be resolved before
                     80: continuing.
                     81:
                     82: <h3><a name="CVS"><font color="#0000e0">What is CVS?</font></a></h3>
                     83:
                     84: <p>
1.260     nick       85: <a href="http://ximbiot.com/cvs/">CVS</a> is the source code control
1.249     nick       86: system used to <a href="why-cvs.html">manage the OpenBSD source
                     87: tree.</a>
                     88: It implements a central repository for all officially released source code
                     89: and changes, while permitting developers to maintain local copies of the
                     90: source code with their working changes.
1.226     nick       91:
1.249     nick       92: There are two levels of source tree access:
1.226     nick       93: <ul>
1.249     nick       94: <li><b>Read-write access for developers:</b>
                     95: Developers who need to commit changes to the source tree must have an
                     96: account on the OpenBSD machines.
                     97: Getting this access will be a natural result of working on the sources
                     98: with other OpenBSD developers.
                     99: If someone does some good work and shows they can work with the team,
                    100: they will get an account.
                    101:
                    102: <li><b>Read-only access for everyone:</b>
                    103: Anyone can access the read-only CVS repositories.
                    104: These copies of the read-write CVS repository are mirrored often.
1.226     nick      105: </ul>
1.99      ericj     106:
1.15      grr       107: <p>
1.249     nick      108: The major strength of CVS is that it has the ability to perform intelligent
                    109: merges of changes to the central repository with changes that you make to
                    110: your local copy.  This means that if you make a change to a module and
                    111: perform an update, your changes are not "blown away", rather CVS makes
                    112: best efforts to merge the changes made to the central sources with changes
                    113: you've made to your local copy.
                    114:
                    115: <p>
                    116: In the event that the changes can't be completely merged, CVS provides a
                    117: "soft fallback", providing you with annotated changes to your
                    118: local copy, preserving an unmodified copy of your version and continuing
                    119: to update any other source modules you requested.
                    120:
                    121: <h3><a name="starting"><font color="#0000e0">Getting Started Using Anonymous
                    122: CVS</font></a></h3>
                    123:
                    124: While you can download the entire source tree from an AnonCVS server,
                    125: you can often save a lot of time and bandwidth by "preloading" your
                    126: source tree with the source files from either the OpenBSD CD or from an
                    127: FTP server.
                    128: This is particularly true if you are running
                    129: <a href="stable.html"><i>-stable</i></a>, as relatively few files change
                    130: between the <i>-release</i> and <i>-stable</i>.
1.100     ericj     131:
1.22      niklas    132: <p>
1.249     nick      133: To extract the source tree from the CD to <i>/usr/src</i> (assuming the CD is
                    134: mounted on /mnt):
1.22      niklas    135: <pre>
1.280     steven    136:     # <b>cd /usr/src</b>
                    137:     # <b>tar xzf /mnt/src.tar.gz</b>
1.282     nick      138:     # <b>cd /usr</b>
1.280     steven    139:     # <b>tar xzf /mnt/xenocara.tar.gz</b>
1.226     nick      140:     # <b>tar xzf /mnt/ports.tar.gz</b>
1.22      niklas    141: </pre>
1.224     nick      142:
1.249     nick      143: The source files for download from the FTP servers are separated into two
                    144: files to minimize the time required to download for those wishing to work
                    145: with only one part of the tree.  The two files are <tt>sys.tar.gz</tt>,
                    146: which contains the files used to create the kernel, and <tt>src.tar.gz</tt>
                    147: which contains all the other "userland" utilities.
                    148: In general, however, you will usually want both of them installed.
1.280     steven    149: Assuming the downloaded files, <tt>src.tar.gz</tt>,
                    150: <tt>sys.tar.gz</tt> and <tt>xenocara.tar.gz</tt> are in <tt>/usr</tt>:
1.224     nick      151:
1.22      niklas    152: <pre>
1.224     nick      153:     # <b>cd /usr/src</b>
                    154:     # <b>tar xzf ../sys.tar.gz</b>
1.225     nick      155:     # <b>tar xzf ../src.tar.gz</b>
1.282     nick      156:     # <b>cd /usr</b>
1.284     steven    157:     # <b>tar xzf xenocara.tar.gz</b>
1.226     nick      158:     # <b>tar xzf ports.tar.gz</b>
1.22      niklas    159: </pre>
1.100     ericj     160:
                    161: <p>
1.249     nick      162: Not all people will wish to unpack all the file sets, but as the system
                    163: must be kept in sync, you will generally need to set up all trees.
1.226     nick      164:
                    165: <p>
1.249     nick      166: You can also just use cvs(1) to "<b>checkout</b>" the source repository
                    167: for you. This is discussed in the <a href="#using">next section</a>.
1.100     ericj     168:
                    169: <p>
1.249     nick      170: After this, <tt>/usr/src</tt> will be a nice checkout area where all
                    171: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;sektion=1&amp;format=html">
                    172: cvs(1)</a> commands will work properly.
1.100     ericj     173:
1.249     nick      174: <h3><a name="using"><font color="#0000e0">Using CVS to get and update your
                    175: source tree</font></a></h3>
1.100     ericj     176:
                    177: <p>
1.249     nick      178: CVS was designed to be a simple way to retrieve and update your sources.
                    179: You must first decide whether you want to track <i>-current</i> or a
                    180: <a href="stable.html">patch branch</a>.
                    181: The current tree has all of the up to the minute changes,
                    182: whereas a patch branch contains a formal release plus the patches
                    183: from the <a href="errata.html">errata</a> and lesser issues already applied.
                    184: For more information on these "flavors" of OpenBSD, see
                    185: <a href="faq/faq5.html#Flavors">here</a>.
                    186:
                    187: <p>Once you have decided which tree to follow, you must choose which Anonymous
                    188: CVS server you are going to use.  A list of these servers is
                    189: <a href="#CVSROOT">below</a>.
                    190:
                    191: <p>
                    192: Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will
                    193: use, you can start using cvs. For those of you
                    194: who have CDs you can start with the CVS checkout that is on the CD by using
                    195: the method <a href="#starting">above</a> to get the sources onto your system.
                    196: If you don't have a CD handy, use the method below to checkout the sources.
                    197: This method puts the OpenBSD source tree into <i>/usr/src</i>.
1.100     ericj     198:
1.135     naddy     199: <pre>
                    200:        # <b>cd /usr; cvs checkout -P src</b>
                    201: </pre>
1.99      ericj     202:
1.1       deraadt   203: <p>
1.249     nick      204: The above will checkout the <i>current</i> source tree.  Many of you will
                    205: only want the patch branch sources.  To checkout a patch branch, you must
                    206: specify a tag along with your command. Example:
1.1       deraadt   207:
1.320     sthen     208: <!-- DO NOT EDIT ANONCVS.HTML MANUALLY - IT IS GENERATED FROM TEMPLATES!
                    209:      See comments in www/build/mirrors.dat for details -->
1.135     naddy     210: <pre>
1.334     sthen     211:        # <b>cd /usr; cvs checkout -P -rOPENBSD_4_8 src</b>
1.135     naddy     212: </pre>
1.1       deraadt   213: <p>
1.334     sthen     214: Or OPENBSD_4_7 for 4.7, etc.
1.100     ericj     215:
1.334     sthen     216: <p> The OPENBSD_4_8 tag contains the release sources and
1.249     nick      217: errata already applied.
1.100     ericj     218:
1.249     nick      219: <h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers
1.155     jsyn      220: </font></a></h3>
1.1       deraadt   221:
                    222: <p>
1.249     nick      223: <em>Please see the note about <a href="#WHICH">ssh vs. rsh</a> below!</em>
1.12      grr       224: <p>
1.1       deraadt   225: <ul>
1.322     sthen     226: <li><strong>CVSROOT=anoncvs@ftp5.eu.openbsd.org:/cvs</strong><br>
                    227: Host also known as <strong>anga.funkfeuer.at</strong>.<br>
1.271     martin    228: Location: Vienna, Austria.<br>
                    229: Maintained by <a href="mailto:martin@openbsd.org">Martin Reindl</a>.<br>
                    230: Protocols: ssh, ssh port 2022.<br>
1.275     martin    231: Updated every 2 hours from anoncvs1.usa.openbsd.org.<br>
1.273     martin    232: SSH fingerprints:<br>
                    233: (RSA) 2048 e4:a7:3a:ab:e1:a7:c8:eb:5c:f4:ff:38:95:6f:81:f2<br>
                    234: (DSA) 2048 66:03:a3:bc:46:85:f3:6c:4b:6b:e3:d4:f5:5f:a6:c4<br>
1.271     martin    235: <p>
1.246     steven    236: <li><strong>CVSROOT=anoncvs@anoncvs1.ca.openbsd.org:/cvs</strong><br>
1.249     nick      237: Host also known as <strong>anoncvs.ca.openbsd.org, openbsd.sunsite.ualberta.ca</strong>.<br>
1.328     sthen     238: Location: Alberta, Canada.<br>
1.249     nick      239: Maintained by <a href="mailto:beck@ualberta.ca">Bob Beck</a>.<br>
1.295     beck      240: Protocols: ssh, ssh port 2022.<br>
1.249     nick      241: Updated every 2 hours.<br>
1.246     steven    242: <p>
1.288     sthen     243: <li><strong>CVSROOT=anoncvs@anoncvs.comstyle.com:/cvs</strong><br>
                    244: Location: Toronto, Canada.<br>
1.296     sthen     245: Maintained by <a href="mailto:brad@comstyle.com">Brad Smith</a>.<br>
1.288     sthen     246: Protocols: ssh, ssh port 2022.<br>
1.312     sthen     247: Updated hourly.<br>
1.288     sthen     248: <p>
1.285     sthen     249: <li><strong>CVSROOT=anoncvs@anoncvs.estpak.ee:/OpenBSD</strong><br>
                    250: Location: Elion, Tallinn, Estonia.<br>
                    251: Maintained by <a href="mailto:rix@estpak.ee">Rivo Nurges</a>.<br>
                    252: Protocols: ssh.<br>
1.289     sthen     253: Updated every 2 hours from cvsync.de.openbsd.org.<br>
1.285     sthen     254: SSH fingerprints:<br>
1.292     sthen     255: (RSA) 1024 e1:12:fb:6b:e5:c0:6a:b3:f8:ca:b1:4c:20:fb:5e:07<br>
                    256: (DSA) 1024 bb:5c:44:f4:d9:12:3b:22:08:a9:12:c5:0c:e7:db:49<br>
1.285     sthen     257: <p>
1.328     sthen     258: <li><strong>CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs</strong><br>
                    259: Location: Paris, France.<br>
                    260: Maintained by <a href="mailto:landry@openbsd.org">Landry Breuil</a>.<br>
                    261: Protocols: ssh.<br>
                    262: Updated every 2 hours from anoncvs1.ca.openbsd.org.<br>
                    263: SSH fingerprints:<br>
                    264: (RSA1) 2048 28:ce:6b:61:76:d9:0e:6d:65:a1:5c:dd:e8:d7:57:42<br>
                    265: (RSA) 2048 89:2e:84:9e:0c:f9:8d:21:41:0e:c5:80:41:27:14:c1<br>
                    266: (DSA) 1024 7f:fb:68:2f:0f:c8:63:6c:0f:32:2c:03:d4:cd:0c:47<br>
                    267: <p>
1.246     steven    268: <li><strong>CVSROOT=anoncvs@anoncvs.skyrock.com:/cvs/openbsd</strong><br>
1.249     nick      269: Location: Paris, France.<br>
                    270: Maintained by <a href="mailto:anoncvs@pureftpd.org">Frank Denis</a>.<br>
                    271: Protocols: ssh, ssh port 2022.<br>
                    272: Updated every 2 hours from anoncvs3.usa.openbsd.org.<br>
1.246     steven    273: SSH fingerprints:<br>
                    274: (RSA1) 2048 4d:60:d8:ab:bc:c6:29:64:b4:45:1b:98:2b:fe:40:7e<br>
                    275: (RSA) 2048 01:f1:c4:25:c8:e3:0d:0e:7a:33:94:14:f4:9d:98:5f<br>
                    276: (DSA) 2048 73:36:41:46:fd:0a:67:df:e6:c1:4a:6b:02:61:f4:61<br>
1.121     deraadt   277: <p>
1.327     sthen     278: <li><strong>CVSROOT=anoncvs@openbsd.informatik.uni-erlangen.de:/cvs</strong><br>
                    279: Location: University of Erlangen-Nuremberg, Erlangen, Germany.<br>
                    280: Maintained by <a href="mailto:simon@blarzwurst.de">Simon Kuhnle</a>.<br>
                    281: Protocols: ssh, ssh port 2022.<br>
                    282: Updated every 2 hours from anoncvs.spacehopper.org.<br>
                    283: SSH fingerprints:<br>
                    284: (RSA) 2048 bc:8e:dd:84:2d:6a:ed:6d:33:e7:46:d9:83:00:1b:ff<br>
                    285: (DSA) 1024 5c:e7:fb:a9:bc:93:4a:02:cc:04:88:57:71:51:0b:10<br>
                    286: <p>
1.246     steven    287: <li><strong>CVSROOT=anoncvs@mirror.osn.de:/cvs</strong><br>
1.249     nick      288: Location: N&uuml;rnberg, Germany.<br>
                    289: Maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br>
                    290: Protocols: ssh.<br>
1.307     sthen     291: Updated every 3 hours.<br>
1.215     david     292: SSH fingerprints:<br>
1.246     steven    293: (RSA) 1024 f2:73:d2:f6:e3:01:ef:ca:3b:e7:6c:80:b6:bd:bb:84<br>
                    294: (DSA) 1024 fb:33:05:62:96:20:cf:88:7e:10:cb:8d:91:72:57:32<br>
                    295: <p>
                    296: <li><strong>CVSROOT=anoncvs@anoncvs.silihost.hu:/cvs</strong><br>
1.249     nick      297: Location: Budapest, Hungary.<br>
                    298: Maintained by <a href="mailto:robert@openbsd.org">Robert Nagy</a>.<br>
                    299: Protocols: ssh.<br>
                    300: Updated every 3 hours from anoncvs.de.openbsd.org.<br>
1.123     beck      301: <p>
1.246     steven    302: <li><strong>CVSROOT=anoncvs@anoncvs.jp.openbsd.org:/cvs</strong><br>
1.249     nick      303: Host also known as <strong>kankoromochi.econ.nagasaki-u.ac.jp</strong>.<br>
                    304: Location: Nagasaki University, Faculty of Economics, Nagasaki, Japan.<br>
                    305: Maintained by <a href="mailto:sigh@net.nagasaki-u.ac.jp">Suzuki Itoshi</a>.<br>
                    306: Protocols: ssh, pserver.<br>
                    307: Updated every 3 hours.<br>
1.176     miod      308: <p>
                    309: <li><strong>CVSROOT=anoncvs@anoncvs.openbsd.lt:/cvs</strong><br>
1.249     nick      310: Location: TVK, Cable TV and Internet Services, Taurage, Lithuania.<br>
                    311: Maintained by <a href="mailto:helpas@ebox.lt">Donatas Budvytis</a>.<br>
                    312: Protocols: ssh.<br>
                    313: Updated every 3 hours from cvsup.no.openbsd.org.<br>
1.183     jufi      314: <p>
1.267     grunk     315: <li><strong>CVSROOT=anoncvs@anoncvs.obsd.si:/cvs</strong><br>
                    316: Host also known as <strong>nina.kerberos.si</strong>.<br>
                    317: Location: Ljubljana, Slovenia.<br>
                    318: Maintained by <a href="mailto:mitja@kerberos.si">Mitja Muzenic</a>.<br>
                    319: Protocols: ssh.<br>
1.323     sthen     320: Updated every 2 hours from anoncvs.eu.openbsd.org.<br>
1.267     grunk     321: <p>
1.328     sthen     322: <li><strong>CVSROOT=anoncvs@anoncvs.eu.openbsd.org:/cvs</strong><br>
                    323: Location: Stockholm University, Stockholm, Sweden.<br>
                    324: Maintained by <a href="mailto:jj@openbsd.org">Janne Johansson</a>.<br>
                    325: Protocols: ssh.<br>
                    326: Updated every 2 hours.<br>
                    327: SSH fingerprints:<br>
                    328: (RSA) 2048 98:e6:80:5d:95:bb:e2:15:5e:19:4d:a3:e4:d0:bc:2c<br>
                    329: (DSA) 2048 4c:d2:0a:90:b8:95:5d:37:3b:32:7b:77:5a:c5:ef:26<br>
                    330: <p>
1.288     sthen     331: <li><strong>CVSROOT=anoncvs@anoncvs.netbsd.se:/cvs</strong><br>
                    332: Location: Stockholm, Sweden.<br>
                    333: Maintained by <a href="mailto:viktor@holmlund.it">Viktor Holmlund</a>.<br>
                    334: Protocols: ssh.<br>
1.325     sthen     335: Updated every 3 hours.<br>
1.306     sthen     336: <p>
                    337: <li><strong>CVSROOT=anoncvs@anoncvs.ini.uzh.ch:/cvs</strong><br>
                    338: Location: Institute of Neuroinformatics, University of Zurich, Zurich, Switzerland.<br>
                    339: Maintained by <a href="mailto:stephan.rickauer@ini.phys.ethz.ch">Stephan A. Rickauer</a>.<br>
                    340: Protocols: ssh, ssh port 2022.<br>
                    341: Updated every 2 hours.<br>
                    342: SSH fingerprints:<br>
                    343: (RSA) 2048 d4:4e:3c:ed:9a:ba:5d:60:17:f8:46:32:a3:ef:3c:16<br>
                    344: (DSA) 1024 05:0b:6d:a2:6e:69:d8:a5:33:7d:19:a6:f6:a7:8b:c5<br>
1.315     sthen     345: <p>
1.328     sthen     346: <li><strong>CVSROOT=anoncvs@anoncvs.spacehopper.org:/cvs</strong><br>
                    347: Location: London, United Kingdom.<br>
                    348: Maintained by <a href="mailto:sthen@openbsd.org">Stuart Henderson</a>.<br>
                    349: Protocols: ssh, ssh port 2022.<br>
                    350: Updated hourly from anoncvs.ca.openbsd.org.<br>
                    351: SSH fingerprints:<br>
                    352: (RSA1) 2048 31:fc:3d:e0:f7:6c:47:7e:48:f0:52:17:e6:19:74:f5<br>
                    353: (RSA) 2048 e2:19:16:3f:a3:2e:eb:94:14:cd:5c:92:9a:6c:9a:8f<br>
                    354: (DSA) 1024 ff:47:13:22:83:d1:6e:df:a0:f0:4f:18:31:cb:f2:28<br>
1.330     sthen     355: (ECDSA) 256 a5:b0:2a:65:ff:9a:0b:ef:7d:6f:d2:95:2e:a7:c9:2c<br>
1.328     sthen     356: <p>
                    357: <li><strong>CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs</strong><br>
                    358: Host also known as <strong>anoncvs.usa.openbsd.org, anoncvs4.usa.openbsd.org</strong>.<br>
                    359: Location: Internet Software Consortium, Redwood City, CA, USA.<br>
                    360: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
                    361: Protocols: rsh, ssh, ssh port 2022, pserver.<br>
                    362: Updated every 2 hours.<br>
                    363: SSH fingerprints:<br>
                    364: (RSA1) 1024 64:de:26:16:c2:ff:1b:c7:24:ed:a4:4a:d7:2f:69:3e<br>
                    365: (RSA) 1024 49:67:9a:46:62:8a:3f:4e:b3:63:ca:d6:41:29:2a:2f<br>
                    366: (DSA) 1024 a7:75:49:77:f3:47:d1:3c:5e:65:84:84:3b:03:f1:33<br>
                    367: <p>
                    368: <li><strong>CVSROOT=anoncvs@anoncvs3.usa.openbsd.org:/cvs</strong><br>
                    369: Location: National Center for Atmospheric Research, Boulder, CO, USA.<br>
                    370: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
                    371: Protocols: rsh, ssh, ssh port 2022, pserver.<br>
                    372: Updated every 2 hours.<br>
                    373: SSH fingerprints:<br>
                    374: (RSA1) 2048 80:cd:f6:fc:4f:0e:cb:80:6a:d0:6a:5e:dd:9e:5d:0a<br>
                    375: (RSA) 2048 49:6f:4a:be:02:63:0d:c0:54:b0:57:f0:48:7f:ce:16<br>
                    376: (DSA) 1024 f9:ab:fc:60:a3:15:8f:9c:47:24:9e:92:15:78:0d:f3<br>
                    377: <p>
1.254     steven    378: <li><strong>CVSROOT=anoncvs@mirror.planetunix.net:/cvs</strong><br>
1.313     sthen     379: Location: Chicago, IL, USA.<br>
1.254     steven    380: Maintained by <a href="mailto:brian@planetunix.net">Brian Brombacher</a>.<br>
                    381: Protocols: ssh, ssh port 2022, pserver.<br>
1.305     jcs       382: Updated every 3 hours from anoncvs3.usa.openbsd.org.<br>
1.254     steven    383: SSH fingerprints:<br>
                    384: (RSA1) 2048 e4:22:93:81:84:e0:68:8c:0b:d5:1f:78:cd:6f:fa:c3<br>
                    385: (RSA) 2048 8f:42:bd:b0:a2:94:df:6b:af:1e:96:03:ea:68:03:d9<br>
                    386: (DSA) 1024 26:51:e8:b3:38:88:dc:a8:2a:98:59:86:ab:40:bb:a4<br>
1.328     sthen     387: <p>
                    388: <li><strong>CVSROOT=anoncvs@obsd.cec.mtu.edu:/cvs</strong><br>
                    389: Location: Michigan Technological University, Houghton, Michigan, USA.<br>
                    390: Maintained by <a href="mailto:celinn@mtu.edu">Chris Linn</a>.<br>
                    391: Protocols: ssh.<br>
                    392: Updated every 2 hours.<br>
                    393: SSH fingerprints:<br>
                    394: (RSA1) 2048 d7:91:a2:f4:d2:8d:81:7f:3c:44:91:8f:b5:b9:46:48 <br>
                    395: (RSA) 2048 de:f1:09:85:a0:db:60:97:d4:95:0d:07:80:4e:ee:68<br>
                    396: (DSA) 1024 78:05:5c:c7:ce:7e:6f:c8:6d:b7:e2:7e:ba:06:1c:40<br>
1.254     steven    397: <p>
1.283     sthen     398: <li><strong>CVSROOT=anoncvs@openbsd.mirror.frontiernet.net:/cvs</strong><br>
                    399: Location: Frontier Communications, Rochester, NY, USA.<br>
                    400: Maintained by <a href="mailto:jrrs@frontiernet.net">jared r r spiegel</a>.<br>
                    401: Protocols: ssh.<br>
                    402: Updated every 4 hours from anoncvs.ca.openbsd.org.<br>
                    403: <p>
1.246     steven    404:
1.73      deraadt   405: </ul>
1.84      beck      406:
1.73      deraadt   407: <p>
1.249     nick      408: <em>Note:</em> If your server is listed on here with inaccurate or
                    409: unknown information, please contact
                    410: <a href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>
1.104     ericj     411:
1.80      beck      412: <p>
1.249     nick      413: You may want to use
1.135     naddy     414: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&amp;sektion=8&amp;format=html">traceroute(8)</a>
1.249     nick      415: to find out which server is nearest you.
                    416: Problems with a server should be reported to the <b>maintainer</b> of the
                    417: server in question.
1.104     ericj     418:
1.249     nick      419: <h3><a name="CRYPTO"><font color="#0000e0">Getting crypto sources through
                    420: cvs(1)</font></a></h3>
1.104     ericj     421:
1.1       deraadt   422: <p>
1.249     nick      423: <strong>IMPORTANT NOTE:</strong>
                    424: There are a few issues relating to cryptographic software that everyone
                    425: should be aware of:
1.1       deraadt   426: <ul>
1.249     nick      427: <li>The OpenBSD sources are from Canada.
                    428: As
1.182     nick      429:        <a href="http://www.efc.ca/pages/doc/crypto-export.html">
1.249     nick      430:        researched by a Canadian individual</a>
                    431: and as
1.135     naddy     432:        <a href="http://axion.physics.ubc.ca/ECL.html">
1.249     nick      433:        described in the Export Control list of Canada</a>
                    434: it is legal to export crypto software from Canada to the world.
1.1       deraadt   435: <p>
1.249     nick      436: <li>However, if you are outside the USA or Canada, you should not
                    437: fetch the cryptographic sections of the OpenBSD sources from an
                    438: anoncvs server located in the USA. The files in question are...
1.1       deraadt   439: <ul>
                    440: <li>src/kerberosIV/*
1.167     miod      441: <li>src/kerberosV/*
1.57      art       442: <li>src/lib/libdes/*
1.1       deraadt   443: <li>src/lib/libc/crypt/crypt.c
                    444: <li>src/lib/libc/crypt/morecrypt.c
1.167     miod      445: <li>src/sys/crypto
1.36      deraadt   446: <li>src/sys/netinet
1.67      art       447: <li>src/usr.sbin/afs/src/rxkad/*
1.167     miod      448: <li>XF4/xc-mit/lib/Xdmcp/Wraphelp.c
                    449: <li>XF4/xc-old/lib/Xdmcp/Wraphelp.c
                    450: <li>XF4/xc/lib/Xdmcp/Wraphelp.c
1.1       deraadt   451: </ul>
1.249     nick      452: Because of US Dept. of Commerce policy,
                    453: crypto software may only be exported to Canada from the USA.
1.1       deraadt   454: </ul>
                    455:
1.249     nick      456: <h3><a name="EXAMPLE"><font color="#0000e0">Example usages for cvs(1)</font>
1.155     jsyn      457: </a></h3>
1.104     ericj     458:
1.198     david     459: <p>
1.249     nick      460: NOTICE: If you want to update a branch (such as a patch branch)
                    461: to <i>current</i>, you would add the <code>-A</code>
                    462: flag to cvs, but this flag is of little use otherwise.   Some older
                    463: versions of the OpenBSD documentation recommended use of this flag
                    464: in many examples. We no longer recommend this flag unless absolutely necessary.
1.163     chris     465:
1.1       deraadt   466: <p>
1.249     nick      467: A sample use of an anoncvs server would be:
1.135     naddy     468: <pre>
1.245     ray       469: $ <strong>cd /tmp</strong>
                    470: $ <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/sys/arch/sparc</strong>
1.249     nick      471:     [copies the files from the repository to your machine]
1.245     ray       472: $ <strong>cd src/sys/arch/sparc</strong>
                    473: $ <strong>cvs log locore.s</strong>
1.249     nick      474:     [shows the commit log for the chosen file]
1.245     ray       475: $ <strong>cvs diff -bc -r1.1 -r1.5 locore.s</strong>
1.249     nick      476:     [shows the changes between revisions 1.1 and rev 1.5]
1.135     naddy     477: </pre>
1.1       deraadt   478:
                    479: <p>
1.249     nick      480: <a name="pserver">In order to use a cvs ``pserver'' (a direct TCP connection
                    481: instead of using ssh or rsh) you must login once:</a>
1.104     ericj     482:
1.135     naddy     483: <pre>
1.245     ray       484: $ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs login</strong>
1.249     nick      485: (Logging in to anoncvs@anoncvs1.ca.openbsd.org)
1.104     ericj     486: CVS password: <strong>anoncvs</strong>
1.249     nick      487:     [This writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).]
                    488:     [An example line from my ~/.cvspass after typing 'blah' for the above    ]
                    489:     [password is:                                                            ]
                    490:     [:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc                    ]
                    491:     [After logging in ONCE every other use of the above CVSROOT will work.   ]
1.245     ray       492: $ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs get ksrc-i386 ksrc-common</strong>
1.249     nick      493:     [Allows you to retrieve ONLY that necessary to rebuild an i386 kernel.   ]
1.135     naddy     494: </pre>
1.18      todd      495:
                    496: <p>
1.249     nick      497: Here is how someone using anoncvs regularly would update his
                    498: source tree:
                    499: <ul><li>First, start out by `get'-ing an initial tree:
1.27      todd      500:
1.249     nick      501: <p> (If you are following <i>current</i>):
1.135     naddy     502: <pre>
                    503:        # <strong>cd /usr</strong>
1.245     ray       504:        # <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</strong>
1.135     naddy     505: </pre>
1.109     jason     506:
1.333     sthen     507: <p> (If you are following the patch branch for 4.8):
1.135     naddy     508: <pre>
                    509:        # <strong>cd /usr</strong>
1.333     sthen     510:        # <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_8 -P src</strong>
1.135     naddy     511: </pre>
1.37      todd      512:
1.249     nick      513: <li> Anytime afterwards, to `update' this tree:
                    514: <p> (If you are following <i>current</i>):
1.135     naddy     515: <pre>
                    516:        # <strong>cd /usr/src</strong>
1.163     chris     517:        # <strong>cvs -q up -Pd</strong>
1.135     naddy     518: </pre>
1.27      todd      519:
1.333     sthen     520: <p> (If you are following the patch branch for 4.8):
1.135     naddy     521: <pre>
                    522:        # <strong>cd /usr/src</strong>
1.333     sthen     523:        # <strong>cvs -q up -rOPENBSD_4_8 -Pd</strong>
1.135     naddy     524: </pre>
1.109     jason     525:
1.249     nick      526: Every time you ran this it would synchronize your /usr/src tree. It would
                    527: not destroy any of your local changes, rather it would attempt to merge
                    528: changes in.
1.72      millert   529:
                    530: <p>
1.249     nick      531: <li> NOTE:
                    532: If you are updating a source tree that you initially fetched
                    533: from a different server, or from a CD, you <strong>must</strong>
                    534: add the <em>-d anoncvs@anoncvs.ca.openbsd.org:/cvs</em> options to cvs.
1.135     naddy     535: <pre>
                    536:        # <strong>cd /usr/src</strong>
1.245     ray       537:        # <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd</strong>
1.135     naddy     538: </pre>
1.27      todd      539: </ul>
                    540:
1.37      todd      541: <p>
1.329     steven    542: To <a name="ports">use</a> <a href="faq/ports/index.html">ports</a>,
                    543: it is similar to src:
1.37      todd      544: <ul><li>
1.249     nick      545: <p> (If you are following <i>current</i>):
1.37      todd      546: <pre>
1.135     naddy     547:        # <strong>cd /usr</strong>
1.245     ray       548:        # <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</strong>
1.38      deraadt   549: </pre>
1.333     sthen     550: <p> (If you are following the patch branch for 4.8):
1.157     heko      551: <pre>
                    552:        # <strong>cd /usr</strong>
1.333     sthen     553:        # <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_8 -P ports</strong>
1.157     heko      554: </pre>
1.249     nick      555: <li> Anytime afterwards, to `update' this tree:
                    556: <p> (If you are following <i>current</i>):
1.37      todd      557: <pre>
1.218     nick      558:        # <strong>cd /usr/ports</strong>
                    559:        # <strong>cvs -q up -Pd</strong>
1.157     heko      560: </pre>
1.333     sthen     561: <p> (If you are following the patch branch for 4.8):
1.157     heko      562: <pre>
1.218     nick      563:        # <strong>cd /usr/ports</strong>
1.333     sthen     564:        # <strong>cvs -q up -rOPENBSD_4_8 -Pd</strong>
1.157     heko      565: </pre>
1.127     jufi      566: </ul>
1.37      todd      567:
1.249     nick      568: In the above example, <i>-q</i> is optional, only intended to minimize
                    569: cvs's output.  For those who like to see screenfulls of output, it
                    570: can be omitted.
1.1       deraadt   571:
                    572: <p>
1.250     steven    573: To make a diff of a locally patched module (here <i>cd.c</i>) to include with
1.249     nick      574: a bug report:
1.135     naddy     575: <pre>
                    576:        # <strong>cd /usr</strong>
                    577:        # <strong>cvs diff -u src/sys/scsi/cd.c &gt; /tmp/patch</strong>
                    578: </pre>
1.12      grr       579:
                    580: <p>
1.249     nick      581: The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;sektion=1&amp;format=html">
                    582: cvs(1) man page</a>
                    583: (included with the CVS sources) has much more
                    584: information about how CVS can be used.
1.1       deraadt   585:
1.105     ericj     586: <p>
1.249     nick      587: <strong>Warning:</strong>
                    588: When using cvs you should take care that your current directory is either
                    589: the root of the tree you are referencing or in a separate place such as /tmp.
                    590: Some commands such as "get" can create an arbitrary sub-tree in the current
                    591: directory, and a subsequent update will recursively flesh out this sub-tree.
1.12      grr       592:
                    593: <p>
1.249     nick      594: The anoncvs service gives fledgling developers a chance to learn CVS
                    595: operation and get thoroughly involved in the development process
                    596: before getting "commit" access -- as a result of showing useful
                    597: skills and high quality results they will naturally later be given
                    598: developer access.  As well, people providing patches can create
                    599: their "diff"s relative to the CVS tree, which will ease integration.
1.1       deraadt   600:
1.104     ericj     601:
1.249     nick      602: <h3><a name="WHICH"><font color="#0000e0">Use rsh(1) or ssh(1)?</font></a></h3>
1.104     ericj     603:
1.249     nick      604: CVS supports three access methods between the CVS server and the CVS
                    605: client:
1.226     nick      606:
                    607: <ul>
1.249     nick      608: <li><b>ssh:</b> Secure Shell can be used to access the anonymous CVS servers.
                    609: This is the <i>recommended</i> way of doing so, as it is encrypted.
1.226     nick      610:
1.249     nick      611: <li><b>rsh:</b> Remote Shell can be used on some of the servers for users
                    612: who don't have access to <a href="http://www.openssh.com/">ssh</a>.
1.226     nick      613:
1.249     nick      614: <li><b>pserver:</b> pserver is primarily useful for users who are behind
                    615: firewalls that block the other two connections.
1.226     nick      616: </ul>
                    617:
1.249     nick      618: <p>
                    619: <b>NOTE:</b> For users wishing to use rsh, you must first set the
                    620: <tt>CVS_RSH</tt> environment variable to point to the rsh(1) program:
1.226     nick      621:
                    622: <ul>
1.249     nick      623: <li>For Korn/Bourne shells:
1.226     nick      624: <pre>
                    625:         $ <b>export CVS_RSH=/usr/bin/rsh</b>
                    626: </pre>
1.249     nick      627: <li>For csh/tcsh:
1.226     nick      628: <pre>
                    629:         % <b>setenv CVS_RSH /usr/bin/rsh</b>
                    630: </pre>
                    631: </ul>
                    632:
1.1       deraadt   633: <p>
1.249     nick      634: By default, OpenBSD's CVS client uses ssh ("secure shell":
                    635: <a href="http://www.openssh.com/">OpenSSH</a>) to talk to the CVS server.
1.159     jcs       636:
                    637: <p>
1.282     nick      638: Many of the CVS sites no longer support rsh or pserver for security reasons.
                    639: Local
1.249     nick      640: problems like firewalls or imperfect protocol emulators such as slirp may
                    641: also hinder rsh usage.  However, if rsh is desired, one must set the
                    642: <var>CVS_RSH</var> environment variable to point to rsh
                    643: (typically <strong>/usr/bin/rsh</strong>).
1.159     jcs       644:
                    645: <p>
1.249     nick      646: If local policy prevents outgoing connections to ssh's default port of 22,
                    647: port 2022 may be used in its place.  Note, however, that not all anoncvs
                    648: servers accept ssh connections on this port.  Furthermore, most anoncvs servers
                    649: no longer accept the <strong>none</strong> cipher, as it is disabled in
                    650: recent versions of ssh for security reasons.  Also, do not be tempted
                    651: to turn on compression: CVS already compresses.
1.159     jcs       652:
                    653: <p>
1.249     nick      654: One could specify something like the following in the
                    655: <strong>$HOME/.ssh/config</strong> configuration file to avoid the pitfalls
                    656: and restrictions mentioned above:
1.1       deraadt   657: <pre>
1.59      beck      658:        Host anoncvs.ca.openbsd.org
1.159     jcs       659:            Compression no
1.1       deraadt   660:            Port 2022
                    661: </pre>
                    662:
                    663: <p>
1.249     nick      664: CVS is a little noisy starting up; to quiet it a bit you may want to
                    665: do this:
1.105     ericj     666:
1.135     naddy     667: <pre>
1.245     ray       668:        <strong>$ export CVS_CLIENT_PORT=-1</strong>
1.135     naddy     669: </pre>
1.1       deraadt   670:
                    671: <p>
1.333     sthen     672: <h3><a name="SUP"><font color="#0000e0">Mirroring the CVS repository via
                    673: sup(1)</font></a></h3>
                    674:
                    675: <p>
                    676: Users wishing to mirror the OpenBSD CVS tree itself may now do so
                    677: from <em>anoncvs.usa.openbsd.org</em> or <em>anoncvs3.usa.openbsd.org</em>
                    678: (these are different machines).  Note that this is the cvs tree,
                    679: <b>not</b> a checked out source tree.  It is only useful if you
                    680: want to be able to do fast cvs operations (diff, annotate, etc) or
                    681: if you have multiple source trees and you only want to transfer new
                    682: data once (you can then checkout a tree from your local cvs mirror).
                    683: <p>
                    684: A sample supfile would be:
                    685: <pre>
                    686:        cvs host=anoncvs.usa.openbsd.org hostbase=/ base=/home delete
                    687: </pre>
                    688: <p>
                    689: which would mirror the cvs tree into /home/cvs with the sup data
                    690: files ending up in /home/sup.  The full OpenBSD cvs tree is currently
1.335     johan     691: about 5GB in size, and will, of course continue to grow.
1.333     sthen     692:
1.249     nick      693: <h3><a name="MIRROR"><font color="#0000e0">Setting up an anoncvs mirror
1.155     jsyn      694: </font></a></h3>
1.105     ericj     695:
1.107     millert   696: <p>
1.249     nick      697: If you wish to setup a new anoncvs mirror site and make it available to
                    698: the general public, please contact the anoncvs
                    699: <a href="mailto:sup@openbsd.org">maintainer</a>.
1.336   ! johan     700: Anoncvs mirrors currently require about 5GB of disk (and it will grow!),
1.318     sthen     701: and use up to 32MB of swap
1.249     nick      702: per anoncvs user (assuming the user does a large operation; while smaller
                    703: operations use fewer resources, anoncvs still makes much more of an
1.333     sthen     704: impact than ftp or sup).  Such anoncvs machines should have excellent
1.249     nick      705: network connectivity for the area they are expected to serve.  A
                    706: <a href="anoncvs.shar">document</a>
                    707: which describes the setup of anoncvs servers is available.
                    708:
                    709: <h3><font color="#0000e0">Final notes</font></h3>
                    710: After upgrading your source tree, you should read the comments
                    711: at the top of <kbd>/usr/src/Makefile</kbd> before attempting
                    712: a build.  Also, you should build a new kernel <strong>before</strong>
                    713: doing a <kbd>make build</kbd> if possible.  In some cases it may be
                    714: necessary to rebuild and install the <kbd>config</kbd> utility before
                    715: you can build the kernel.  If <kbd>config GENERIC</kbd> fails this
                    716: is probably the case.
                    717: <p>
                    718: It is important to note that upgrading from a release to the current tree
                    719: by rebuilding the sources can be rather difficult due to dependencies
                    720: that are often not obvious.  Therefore, it is suggested that you first
                    721: install the latest snapshot before attempting a tree build from source.
1.1       deraadt   722:
                    723: <hr>
1.249     nick      724: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
                    725: alt="OpenBSD"></a>
1.135     naddy     726: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
1.336   ! johan     727: <br><small>$OpenBSD: anoncvs.html,v 1.335 2010/12/23 13:20:10 johan Exp $
1.155     jsyn      728: </small>
1.1       deraadt   729:
                    730: </body>
                    731: </html>