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