Annotation of www/cvsync.html, Revision 1.3
1.1 espie 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2: <html>
3: <head>
4: <title>OpenBSD CVSync</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 CVSync">
8: <meta name="keywords" content="openbsd,cvsync,updates">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 2001-2002 by OpenBSD.">
11: </head>
12:
13: <body bgcolor="#FFFFFF" text="#000000" link="#23238E">
14:
15: <a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a>
16:
17: <h2><font color="#e00000">CVSync</font></h2>
18: <hr>
19:
20: <h3>Table of Contents</h3>
21: <ul>
22: <li><a href="#CVSync">What Is CVSync?</a></li>
23: <li><a href="#starting">Getting Started Using CVSync</a></li>
24: <li><a href="#using">Using CVS to Update Your Source Tree</a></li>
25: <li><a href="#CVSROOT">Available CVSync Servers</a></li>
26: </ul>
27:
28: <hr>
29:
30:
31: <h3><a name="CVSync"><font color="#0000e0">What Is CVSync?</font></a></h3>
32:
33: <p>
34: <b>CVSync</b> is a software package for distributing and updating source
35: trees from a master <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1">cvs(1)</a> repository on a remote server host. The OpenBSD
36: sources are maintained in a CVS repository on a central development machine
37: in Canada. With CVSync, OpenBSD users can easily keep their own source trees
38: up to date.
39: </p>
40:
41: <p>
42: <b>CVSync</b> uses the so-called pull model of updating. Under the pull
43: model, each client asks the server for updates, if and when they are
44: wanted. The server waits passively for update requests from its clients.
45: Thus all updates are instigated by the client. The server never sends
46: unsolicited updates. Users must either run the <b>CVSync</b> client
47: manually to get an update, or they must set up a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cron&sektion=8">cron(8)</a> job to run it
48: automatically on a regular basis.
49: </p>
50:
51: <p>
52: The term <b>CVSync</b>, capitalized just so, refers to the entire software
53: package. Its main components are the client <tt>cvsync</tt> which runs on
54: each user's machine, and the server <tt>cvsyncd</tt> which runs at each of
55: the OpenBSD CVSync mirror sites.
56: </p>
57:
58: <p>
59: <b>CVSync</b> is intended to be both faster and flexible than
60: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sup&sektion=1&format=html">sup(1)</a>, and more flexible than CVSup.
61: </p>
62:
63: <p>
64: The OpenBSD Project currently has five main source repositories:
65: </p>
66:
67: <ul>
68: <li><b>src</b> - Houses all source code for the OpenBSD Operating System.</li>
69: <li><b>ports</b> - Houses the <a href="./ports.html">OpenBSD Ports</a>.</li>
70: <li><b>www</b> - Houses all OpenBSD web pages. (Including this one).</li>
71: <li><b>x11</b> - Houses OpenBSD's adaptation of the
72: <a href="http://www.XFree86.org/">XFree86-3</a> software project.</li>
73: <li><b>xf4</b> - Houses OpenBSD's adaptation of the
74: <a href="http://www.XFree86.org/">XFree86-4</a> software project.</li>
75: </ul>
76:
77: <h3><a name="CVS"><font color="#0000e0">What Is CVS?</font></a></h3>
78:
79: <p>
80: CVS is the source code control system used to manage the OpenBSD source
81: tree. It is described in more detail <a href="anoncvs.html#CVS">here</a>.
82: Note that CVS and CVSync are entirely different programs. Although
83: CVS can be used for remote file access, it is not optimized for
84: wholesale source tree distribution over the net, and CVSync can be
85: easily an order of magnitude more efficient for this task.
86: </p>
87:
88: <h3>
89: <a name="starting"><font color="#0000e0">Getting Started Using CVSync</font></a>
90: </h3>
91:
92: <p>
93: If you only care about running CVSync, it is recommended that you
94: download the cvsync package from the <a href="ftp.html">ftp mirror
95: sites</a> instead of building your own from the <tt>net/cvsync</tt>
96: port.
97: </p>
98:
99: <p>
100: For further information about CVSync, see the
101: <a href="http://www.cvsync.org/">project homepage</a>.
102: </p>
103:
104: <p>
105: In order to mirror the OpenBSD repository with CVSync,
106: the following configuration file might be used:
107: </p>
108:
109: <pre>
110: config {
111: hostname anoncvs.de.openbsd.org
112:
113: # If your network link is a T1 or faster, comment out the following line.
114: compress
115: umask 002
116: prefix /cvs
117: name openbsd release rcs
118: }
119: </pre>
120:
121: <p>
122: This directs cvsync to refresh all OpenBSD distributions from
123: <b>anoncvs.de.openbsd.org</b> with a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umask&sektion=2">umask(2)</a> that permits group write
124: permission to the local repository.
125: </p>
126:
127: <p>
128: Assuming this file is saved as <tt>cvs-syncfile</tt>, the
129: following command would be used to invoke cvsync
130: </p>
131: <pre>
132: cvsync -c cvs-syncfile
133: </pre>
134:
135: <h3><a name="using">
136: <font color="#0000e0">Using CVS to Update Your Source Tree</font>
137: </a></h3>
138:
139: <p>
140: It is now simple to check out any one of the CVSync'ed repositories.
141: For Korn/Bourne shells:
142: </p>
143: <pre>
144: # cd /usr
145: # CVSROOT=/cvs cvs checkout src
146: </pre>
147: <p>
148: For csh and its derivatives:
149: </p>
150: <pre>
151: # cd /usr
152: # setenv CVSROOT /cvs
153: # cvs checkout src
154: </pre>
155:
156: <p>
157: The above will check out the most current sources. Many of you will only
158: want the release sources, especially if you are patching your system. To
159: checkout release sources you must specify a tag along with your command.
160: For example:
161: </p>
162: <pre>
163: # cd /usr
164: # cvs checkout -rOPENBSD_2_9 src
165: </pre>
166: <p>
167: Or <tt>OPENBSD_2_8</tt> for 2.8, etc.
168: </p>
169:
170: <h3>
171: <a name="CVSROOT"><font color="#0000e0">Available CVSync Servers</font></a>
172: </h3>
173:
174: <p>The following CVSync servers are available:</p>
175:
176: <dl>
1.3 ! naddy 177: <dt><strong>anoncvs.usa.openbsd.org</strong></a></dt>
! 178: <dd>
! 179: <p>
! 180: located at the University of Colorado, Boulder, western USA.<br>
! 181: maintained by <a href="mailto:millert@openbsd.org">Todd Miller</a>.<br>
! 182: Updated every 3 hours.
! 183: </p>
! 184: </dd>
! 185:
1.2 naddy 186: <dt><a href="http://anoncvs.de.openbsd.org/"><strong>anoncvs.de.openbsd.org</strong></a></dt>
187: <dd>
188: <p>
1.3 ! naddy 189: also known as <strong>grappa.unix-ag.uni-kl.de</strong>,<br>
1.2 naddy 190: located at the University of Kaiserslautern, Germany;<br>
1.1 espie 191: maintained by <a href="mailto:naddy@openbsd.org">Christian Weisgerber</a>.<br>
1.2 naddy 192: Updated every 6 hours from anoncvs.usa.openbsd.org.
1.1 espie 193: </p>
1.2 naddy 194: </dd>
1.3 ! naddy 195:
1.2 naddy 196: <dt><a href="http://www.allbsd.org/"><strong>cvsync.allbsd.org</strong></a></dt>
197: <dd>
198: <p>
199: located in Tokyo, Japan;<br>
200: maintained by <a href="mailto:hrs@allbsd.org">Hiroki Sato</a>.
201: </p>
202: </dd>
1.3 ! naddy 203:
1.2 naddy 204: <dt><a href="http://csociety.org/cvsup.html"><strong>cvsync.csociety.org</strong></a></dt>
205: <dd>
1.1 espie 206: <p>
1.2 naddy 207: located at Purdue University, Indiana, USA;<br>
208: maintained by <a href="mailto:will@csociety.purdue.edu">Will Andrews</a>.
1.1 espie 209: </p>
210: </dd>
1.3 ! naddy 211:
! 212: <dt>
! 213: <a href="http://mirror.osn.de/"><strong>mirror.osn.de</strong></a></dt>
! 214: <dd>
! 215: <p>
! 216: located in Nürnberg, Germany;<br>
! 217: maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br>
! 218: Updated every 4 hours from cvsup.uk.openbsd.org.
! 219: </p>
! 220: </dd>
1.1 espie 221: </dl>
222:
223:
224: <p>
1.2 naddy 225: <em>Note:</em> If your server is listed on here with inaccurate or
1.1 espie 226: unknown information, please contact <a
227: href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>
228: or <a href="mailto:naddy@openbsd.org"><tt>naddy@openbsd.org</tt></a>
229: </p>
230: <p>
231: You may want to use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a>
232: to find out which server is nearest you.
233: Problems with a server should be reported to the <b>maintainer</b> of the
234: server in question.
235: </p>
236: <p>
237: Currently (as of December 17, 2003), the CVS repository sizes are
238: </p>
239: <table>
240: <tr><td width="20"></td>
241: <td><strong>openbsd-ports</strong></td>
242: <td>- <b>140</b>MB</td></tr>
243: <tr><td></td>
244: <td><strong>openbsd-src</strong></td>
245: <td>- <b>1140</b>MB</td></tr>
246: <tr><td></td>
247: <td><strong>openbsd-www</strong></td>
248: <td>- <b>104</b>MB</td></tr>
249: <tr><td></td>
250: <td><strong>openbsd-x11</strong></td>
251: <td>- <b>200</b>MB</td></tr>
252: <tr><td></td>
253: <td><strong>openbsd-xf4</strong></td>
254: <td>- <b>442</b>MB</td></tr>
255: <tr><td></td>
256: <td><strong>openbsd-cvsroot</strong></td>
257: <td>- <b>257</b>MB</td></tr>
258: </table>
259: <p>
260: The overall repository size currently increases at a rate
261: of about <b>225</b>MB per annum.
262: </p>
263: <p>
264: <strong>IMPORTANT NOTE:</strong>
265: There are a few issues relating to cryptographic software that everyone
266: should be aware of:
267: </p>
268: <ul>
269: <li>
270: <p>
271: The OpenBSD sources are from Canada. As
272: <a href="http://www.efc.ca/pages/doc/crypto-export.html">
273: researched by a Canadian individual</a> and as
274: <a href="http://axion.physics.ubc.ca/ECL.html">
275: described in the Export Control list of Canada</a>,
276: it is legal to export crypto software from Canada to the world.
277: </p>
278: </li>
279: <li>
280: <p>
281: However, if you are outside the USA or Canada, you should not
282: fetch the cryptographic sections of the OpenBSD sources from an
283: AnonCVS server located in the USA. The files in question are...
284: </p>
285: <ul>
286: <li><tt>src/kerberosIV/*</tt></li>
287: <li><tt>src/kerberosV/*</tt></li>
288: <li><tt>src/lib/libdes/*</tt></li>
289: <li><tt>src/lib/libc/crypt/crypt.c</tt></li>
290: <li><tt>src/lib/libc/crypt/morecrypt.c</tt></li>
291: <li><tt>src/sys/crypto</tt></li>
292: <li><tt>src/sys/netinet</tt></li>
293: <li><tt>src/usr.sbin/afs/src/rxkad/*</tt></li>
294: <li><tt>XF4/xc-mit/lib/Xdmcp/Wraphelp.c</tt></li>
295: <li><tt>XF4/xc-old/lib/Xdmcp/Wraphelp.c</tt></li>
296: <li><tt>XF4/xc/lib/Xdmcp/Wraphelp.c</tt></li>
297: </ul>
298: <p>
299: Because of the USA ITAR munitions list,
300: crypto software may only be exported to Canada from the USA.
301: </p>
302: </li>
303: </ul>
304:
305: <p>
306: The OpenBSD project is looking for more CVSync servers -- if you are
307: interested, please contact <a href="mailto:naddy@openbsd.org">Christian Weisgerber</a>
308: for configuration details.
309: </p>
310:
311: <hr>
312: <a href="index.html"><img height="24" width="24" src="back.gif" border="0" alt="OpenBSD"></a>
313: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
1.3 ! naddy 314: <br><small>$OpenBSD: cvsync.html,v 1.2 2003/12/17 03:24:33 naddy Exp $</small>
1.1 espie 315:
316: </body>
317: </html>