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