Annotation of www/cvsup.html, Revision 1.3
1.1 brian 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
3: <head>
4: <title>OpenBSD CVSup</title>
5: <link rev=made href=mailto:www@openbsd.org>
6: <meta name="resource-type" content="document">
7: <meta name="description" content="How to get OpenBSD updates via Internet using CVSup">
8: <meta name="keywords" content="openbsd,cvsup,updates">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 2000 by OpenBSD.">
11: </head>
12:
13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
14:
15: <img alt="[OpenBSD]" height=30 width=141 SRC="images/smalltitle.gif">
16: <p>
17: <h2><font color=#e00000>CVSup</font><hr></h2>
18:
19: <p>
20: <ul><h3>Table Of Contents</h3>
21: <li><a href="#cvsup">What is CVSup?</a>
22: <li><a href="#starting">Getting Started Using CVSup.</a>
23: <li><a href="#using">Using CVS to Update your Source Tree.</a>
24: <li><a href="#CVSROOT">Available CVSup Servers.</a>
25: </ul>
26: </p>
27: <hr>
28:
29:
1.2 brian 30: <h3><a name="cvsup"><font color=#0000e0>What is CVSup?</font></a></h3>
1.1 brian 31:
32: <p>
33: <b>CVSup</b> is a software package for distributing and updating source
34: trees from a master CVS repository on a remote server host. The OpenBSD
35: sources are maintained in a CVS repository on a central development machine
36: in Canada. With CVSup, OpenBSD users can easily keep their own source trees
37: up to date.
38: </p>
39:
40: <p>
41: <b>CVSup</b> uses the so-called pull model of updating. Under the pull
42: model, each client asks the server for updates, if and when they are
43: wanted. The server waits passively for update requests from its clients.
44: Thus all updates are instigated by the client. The server never sends
45: unsolicited updates. Users must either run the <b>CVSup</b> client
46: manually to get an update, or they must set up a cron job to run it
47: automatically on a regular basis.
48: </p>
49:
50: <p>
51: The term <b>CVSup</b>, capitalized just so, refers to the entire software
52: package. Its main components are the client <tt>cvsup</tt> which runs on
53: each user's machine, and the server <tt>cvsupd</tt> which runs at each of
54: the OpenBSD CVSup mirror sites.
55: </p>
56:
57: <p>
58: <b>CVSup</b> is intended to be both faster and more flexible than
59: <b>sup</b>, CVSup's predecessor.
60: </p>
61:
62: <p>
63: The OpenBSD Project currently has four main source repositories:
64: </p>
65:
66: <ul>
67: <li><b>src</b> - Houses all source code for the OpenBSD Operating System.
68: <li><b>ports</b> - Houses the <a href="./ports.html">OpenBSD Ports</a>.
69: <li><b>www</b> - Houses all OpenBSD web pages. (Including this one).
70: <li><b>x11</b> - Houses OpenBSD's adaptation of the
71: <a href="http://www.XFree86.org/">XFree86</a> software project.
72: </ul>
73:
1.2 brian 74: <h3><a name="CVS"><font color=#0000e0>What is CVS?</font></a></h3>
1.1 brian 75:
76: <p>
77: CVS is the source code control system used to manage the OpenBSD source
78: tree.</a> It is described in more detail <a href=anoncvs.html#CVS>here</a>.
79:
1.2 brian 80: <h3>
81: <a name="starting"><font color=#0000e0>Getting Started Using CVSup.</font></a>
82: </h3>
1.1 brian 83:
84: <p>
85: The latest version of CVSup is available at
86: <a href=http://www.polstra.com/projects/freeware/CVSup/>
87: http://www.polstra.com/projects/freeware/CVSup/</a>.
88: </p>
89:
90: <p>
91: The following configuration file might be used:
92: </p>
93:
94: <pre>
95: # Defaults that apply to all the collections
96: *default release=cvs
97: *default delete use-rel-suffix
98: *default umask=002
99: *default host=cvsup.uk.OpenBSD.org
100: *default base=/cvs
101: *default prefix=/cvs
102:
103: # If your network link is a T1 or faster, comment out the following line.
104: *default compress
105:
106: OpenBSD-all
107: #OpenBSD-src
108: #OpenBSD-www
109: #OpenBSD-ports
110: #OpenBSD-x11
111: </pre>
112:
113: <p>
114: This directs cvsup to refresh all OpenBSD distributions from
115: <b>cvsup.uk.OpenBSD.org</b> with a umask that permits group write
116: permission to the local repository.
117: </p>
118:
119: <p>
120: Assuming this file is saved as <tt>cvs-supfile</tt>, the
121: following command would be used to envoke the cvsup GUI:
122: <pre>
123: cvsup cvs-supfile
124: </pre>
125: whereas for batch mode, the following might be used:
126: <pre>
127: cvsup -g -L 2 cvs-supfile
128: </pre>
129:
1.2 brian 130: <h3><a name="using">
131: <font color=#0000e0>Using CVS(1) to update your source tree.</font>
132: </a></h3>
1.1 brian 133:
134: <p>
135: It is now simple to checkout any one of the CVSup'd repositories:
136:
137: <ul>
138: <li> For Korn/Bourne shells.
139: <ul><pre>
140: # <b>cd /usr</b>
141: # <b>CVSROOT=/cvs cvs checkout src</b>
142: </pre></ul>
143: <li> For CSH based shells.
144: <ul><pre>
145: # <b>cd /usr</b>
146: # <b>setenv CVSROOT /cvs</b>
147: # <b>cvs checkout src</b>
148: </pre></ul>
149: </ul>
150:
151: <p>
152: The above will checkout the most current sources. Many of you will only
153: want the release sources, especially if you are patching your system. To
154: checkout release sources you must specify a tag along with your command.
155: For example:
156: </p>
157:
158: <p>
159: <ul><pre>
160: # <b>cd /usr</b>
161: # <b>cvs checkout -rOPENBSD_2_6 src</b>
162: </pre></ul>
163: Or OPENBSD_2_5 for 2.5, etc.
164: </p>
165:
1.2 brian 166: <h3>
167: <a name="CVSROOT"><font color=#0000e0>Available CVSup Servers.</font></a>
168: </h3>
1.1 brian 169:
170: <dl>
171: <dt><strong>The following CVSup servers are available:</strong>
172: <dd>
173:
174: <p>
175: <li><strong>cvsup.uk.OpenBSD.org</strong><br>
176: located in Brighton, UK.<br>
177: maintained by <a href=mailto:brian@OpenBSD.org>Brian Somers</a>.<br>
178: updated every 2 hours.<br>
179: <p>
180: <b>Available collections</b>:
181: <table>
182: <tr><td width=20><td><strong>OpenBSD-src</strong><td>- The <b>src</b> repository
183: <tr><td><td><strong>OpenBSD-ports</strong><td>- The <b>ports</b> repository
184: <tr><td><td><strong>OpenBSD-www</strong><td>- The <b>www</b> repository
185: <tr><td><td><strong>OpenBSD-x11</strong><td>- The <b>x11</b> repository
186: <tr><td><td><strong>OpenBSD-all</strong><td>- All OpenBSD repositories
187: </table>
188: </p>
189:
1.3 ! brian 190: <p>
! 191: <li><strong>cvsup.de.OpenBSD.org</strong><br>
! 192: located near Frankfurt am Main.<br>
! 193: maintained by <a href=mailto:wosch@FreeBSD.org>Wolfram Schneider</a>.<br>
! 194: updated by CTM.<br>
! 195: <p>
! 196: <b>Available collections</b>:
! 197: <table>
! 198: <tr><td width=20><td><strong>openbsd-src-all</strong><td>- The <b>src</b> repository
! 199: <tr><td><td><strong>openbsd-ports-all</strong><td>- The <b>ports</b> repository
! 200: <tr><td><td><strong>openbsd-www-all</strong><td>- The <b>www</b> repository
! 201: <tr><td><td><strong>openbsd-cvs-all</strong><td>- All OpenBSD repositories except for x11
! 202: </table>
! 203: </p>
! 204:
1.1 brian 205: </ul>
206:
207:
208: <p>
209: <EM>Note:</EM>, If your server is listed on here with inaccurate or
210: unknown information, please contact <A
211: HREF="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></A>
212: <p>
213: You may want to use `traceroute' to find out which server is nearest you.
214: Problems with a server should be reported to the <b>maintainer</b> of the
215: server in question.
216: </dl>
217: <p>
218: <strong>IMPORTANT NOTE:</strong>
219: There are a few issues relating to cryptographic software that everyone
220: should be aware of:
221: <ul>
222: <li>The OpenBSD sources are from Canada.
223: As
224: <a href=http://insight.mcmaster.ca/org/efc/pages/doc/crypto-export.html>
225: researched by a Canadian individual</a>
226: and as
227: <a href=http://axion.physics.ubc.ca/ECL.html>
228: described in the Export Control list of Canada</a>
229: is legal to export crypto software from Canada to the world.
230: <p>
231: <li>However, if you are outside the USA or Canada, you should not
232: fetch the cryptographic sections of the OpenBSD sources from an
233: anoncvs server located in the USA. The files in question are...
234: <ul>
235: <li>src/kerberosIV/*
236: <li>src/lib/libdes/*
237: <li>src/lib/libc/crypt/crypt.c
238: <li>src/lib/libc/crypt/morecrypt.c
239: <li>src/sys/netinet
240: <li>src/usr.sbin/afs/src/rxkad/*
241: <li>X11/xc/lib/Xdmcp/Wraphelp.c
242: </ul>
243: Because of the USA ITAR munitions list,
244: crypto software may only be exported to Canada from the USA.
245: </ul>
246:
247: <p>
248: The OpenBSD project is looking for more CVSup servers -- if you are
249: interested, please contact <a href=mailto:brian@OpenBSD.org>Brian Somers</a>
250: for configuration details.
251: </p>
252:
253: <hr>
254: <a href=index.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
255: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.3 ! brian 256: <br><small>$OpenBSD: cvsup.html,v 1.2 2000/03/25 00:23:15 brian Exp $</small>
1.1 brian 257:
258: </body>
259: </html>