Annotation of www/cvsync.html, Revision 1.115
1.58 sthen 1: <!-- DO NOT EDIT MANUALLY! See comments in www/build/mirrors.dat for details -->
1.37 steven 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>
1.6 naddy 7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1.1 espie 8: <meta name="description" content="How to get OpenBSD updates via Internet using CVSync">
1.109 sthen 9: <meta name="copyright" content="This document copyright 2003-2014 by OpenBSD.">
1.114 sthen 10: <link rel="canonical" href="http://www.openbsd.org/cvsync.html">
1.1 espie 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><a name="CVSync"><font color="#0000e0">What Is CVSync?</font></a></h3>
21:
22: <p>
23: <b>CVSync</b> is a software package for distributing and updating source
24: 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
25: sources are maintained in a CVS repository on a central development machine
26: in Canada. With CVSync, OpenBSD users can easily keep their own source trees
1.10 naddy 27: up to date.
1.1 espie 28: </p>
29:
30: <p>
31: <b>CVSync</b> uses the so-called pull model of updating. Under the pull
32: model, each client asks the server for updates, if and when they are
33: wanted. The server waits passively for update requests from its clients.
34: Thus all updates are instigated by the client. The server never sends
35: unsolicited updates. Users must either run the <b>CVSync</b> client
36: 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 37: automatically on a regular basis.
1.1 espie 38: </p>
39:
40: <p>
41: The term <b>CVSync</b>, capitalized just so, refers to the entire software
42: package. Its main components are the client <tt>cvsync</tt> which runs on
43: each user's machine, and the server <tt>cvsyncd</tt> which runs at each of
1.10 naddy 44: the OpenBSD CVSync mirror sites.
1.1 espie 45: </p>
46:
47: <p>
1.23 nick 48: <b>CVSync</b> is intended to be both faster and more flexible than
1.97 tedu 49: sup and CVSup.
1.10 naddy 50: </p>
1.1 espie 51:
52: <p>
1.42 nick 53: The OpenBSD Project currently has six main source repositories:
1.1 espie 54: </p>
55:
56: <ul>
57: <li><b>src</b> - Houses all source code for the OpenBSD Operating System.</li>
1.78 steven 58: <li><b>ports</b> - Houses the <a href="faq/ports/index.html">OpenBSD Ports</a>.</li>
1.10 naddy 59: <li><b>www</b> - Houses all OpenBSD web pages (including this one).</li>
1.26 matthieu 60: <li><b>X11</b> - Houses OpenBSD's adaptation of the
61: <a href="http://www.XFree86.org/">XFree86-3</a> software project.
1.51 deraadt 62: <li><b>XF4</b> - Houses OpenBSD's adaptation of the XFree86-4 source tree.
63: <li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree.
1.1 espie 64: </ul>
65:
1.84 jasper 66: The <b>X11</b> and <b>XF4</b> repositories are here just for historical
1.97 tedu 67: purposes, most users will have no reason to use those trees, they are no longer
1.84 jasper 68: being used.
69:
1.1 espie 70: <h3><a name="CVS"><font color="#0000e0">What Is CVS?</font></a></h3>
71:
72: <p>
73: CVS is the source code control system used to manage the OpenBSD source
74: tree. It is described in more detail <a href="anoncvs.html#CVS">here</a>.
75: Note that CVS and CVSync are entirely different programs. Although
76: CVS can be used for remote file access, it is not optimized for
77: wholesale source tree distribution over the net, and CVSync can be
78: easily an order of magnitude more efficient for this task.
79: </p>
80:
81: <h3>
82: <a name="starting"><font color="#0000e0">Getting Started Using CVSync</font></a>
83: </h3>
84:
85: <p>
86: If you only care about running CVSync, it is recommended that you
87: download the cvsync package from the <a href="ftp.html">ftp mirror
88: sites</a> instead of building your own from the <tt>net/cvsync</tt>
1.10 naddy 89: port.
1.1 espie 90: </p>
91:
92: <p>
93: For further information about CVSync, see the
94: <a href="http://www.cvsync.org/">project homepage</a>.
95: </p>
96:
97: <p>
98: In order to mirror the OpenBSD repository with CVSync,
99: the following configuration file might be used:
100: </p>
101:
102: <pre>
103: config {
1.103 mpi 104: hostname anoncvs.eu.openbsd.org
1.5 naddy 105: # If your network link is a T1 or faster, comment out the following line.
1.1 espie 106: compress
1.4 espie 107: collection {
1.5 naddy 108: name openbsd release rcs
1.4 espie 109: prefix /cvs
1.5 naddy 110: umask 002
1.4 espie 111: }
1.1 espie 112: }
113: </pre>
114:
115: <p>
116: This directs cvsync to refresh all OpenBSD distributions from
1.103 mpi 117: <b>anoncvs.eu.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
1.1 espie 118: permission to the local repository.
119: </p>
120:
121: <p>
122: Assuming this file is saved as <tt>cvs-syncfile</tt>, the
123: following command would be used to invoke cvsync
124: </p>
125: <pre>
1.91 nick 126: <b>cvsync -c cvs-syncfile</b>
1.1 espie 127: </pre>
128:
129: <h3><a name="using">
1.48 nick 130: <font color="#0000e0">Using CVS to Work With Your Repository</font>
1.1 espie 131: </a></h3>
132:
133: <p>
1.48 nick 134: Now that you have a local copy of the CVS repository, it is now simple
135: to check out, update, or do any of the other CVS operations you would
136: normally do against a remote repository, locally.
1.50 nick 137: For example:
1.1 espie 138: <pre>
1.91 nick 139: <b>cvs -d/cvs checkout -P src</b>
140: <b>cvs -d/cvs up -Pd</b>
141: <b>cvs -d/cvs diff -u file.c</b>
1.1 espie 142: </pre>
1.48 nick 143: More details on CVS operation can be found in
144: <a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source
145: code</a> and in the
146: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1">cvs(1)</a>
147: man page.
1.1 espie 148:
149: <h3>
150: <a name="CVSROOT"><font color="#0000e0">Available CVSync Servers</font></a>
151: </h3>
152:
153: <p>The following CVSync servers are available:</p>
154:
1.3 naddy 155: <p>
1.6 naddy 156: <ul>
1.72 sthen 157: <li><strong>ftp5.eu.openbsd.org</strong><br>
158: Host also known as <strong>anga.funkfeuer.at</strong>.<br>
1.44 martin 159: Location: Vienna, Austria.<br>
1.104 naddy 160: Maintained by <a href="mailto:martin@catai.org">Martin Reindl</a>.<br>
161: Updated hourly.<br>
1.44 martin 162: <p>
1.107 brad 163: <li><strong>anoncvs.comstyle.com</strong><br>
164: Location: Toronto, Canada.<br>
165: Maintained by <a href="mailto:brad@comstyle.com">Brad Smith</a>.<br>
166: Updated hourly.<br>
167: <p>
1.110 nick 168: <li><strong>openbsd.cs.toronto.edu</strong><br>
169: Location: University of Toronto, Toronto, ON, Canada.<br>
170: Maintained by <a href="mailto:nick@holland-consulting.net">Nick Holland</a>.<br>
171: Updated every 2 hours.<br>
172: <p>
1.88 sthen 173: <li><strong>anoncvs.fr.openbsd.org</strong><br>
174: Location: Paris, France.<br>
175: Maintained by <a href="mailto:landry@openbsd.org">Landry Breuil</a>.<br>
176: Updated every 2 hours from anoncvs1.ca.openbsd.org.<br>
177: <p>
1.90 sthen 178: <li><a href="http://mirror.osn.de/"><strong>mirror.osn.de</strong></a><br>
1.37 steven 179: Location: Nürnberg, Germany.<br>
180: Maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br>
1.62 sthen 181: Updated every 3 hours.<br>
1.1 espie 182: <p>
1.112 florian 183: <li><strong>ftp.hostserver.de</strong><br>
184: Location: Frankfurt, Germany.<br>
185: Maintained by <a href="mailto:mirror@hostserver.de">Sebastian Benoit, Florian Obser</a>.<br>
186: Updated hourly from anoncvs1.ca.openbsd.org.<br>
187: <p>
1.90 sthen 188: <li><a href="http://www.allbsd.org/"><strong>cvsync.allbsd.org</strong></a><br>
1.37 steven 189: Location: Tokyo, Japan.<br>
190: Maintained by <a href="mailto:hrs@allbsd.org">Hiroki Sato</a>.<br>
1.69 sthen 191: <p>
1.77 sthen 192: <li><strong>anoncvs.eu.openbsd.org</strong><br>
193: Location: Stockholm University, Stockholm, Sweden.<br>
1.93 sthen 194: Maintained by <a href="mailto:jj@openbsd.org, ftp@it.su.se">Janne Johansson</a>.<br>
1.77 sthen 195: Updated every 2 hours.<br>
196: <p>
197: <li><strong>anoncvs.spacehopper.org</strong><br>
198: Location: London, United Kingdom.<br>
199: Maintained by <a href="mailto:sthen@openbsd.org">Stuart Henderson</a>.<br>
200: Updated hourly from anoncvs.ca.openbsd.org.<br>
201: <p>
202: <li><strong>anoncvs1.usa.openbsd.org</strong><br>
203: Host also known as <strong>anoncvs.usa.openbsd.org, anoncvs4.usa.openbsd.org</strong>.<br>
1.88 sthen 204: Location: Internet Systems Consortium, Redwood City, CA, USA.<br>
1.77 sthen 205: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
206: Updated every 2 hours.<br>
207: <p>
208: <li><strong>anoncvs3.usa.openbsd.org</strong><br>
209: Location: National Center for Atmospheric Research, Boulder, CO, USA.<br>
210: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
211: Updated every 2 hours.<br>
212: <p>
1.29 grunk 213:
1.12 sturm 214: </ul>
215:
216: <p>
1.2 naddy 217: <em>Note:</em> If your server is listed on here with inaccurate or
1.1 espie 218: unknown information, please contact <a
219: href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>
220: </p>
221: <p>
222: You may want to use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a>
223: to find out which server is nearest you.
224: Problems with a server should be reported to the <b>maintainer</b> of the
225: server in question.
226: </p>
227: <p>
1.105 naddy 228: As of August 2013, the CVS repository sizes are
1.1 espie 229: </p>
230: <table>
231: <tr><td width="20"></td>
232: <td><strong>openbsd-ports</strong></td>
1.105 naddy 233: <td>- <b>679</b>MB</td></tr>
1.1 espie 234: <tr><td></td>
235: <td><strong>openbsd-src</strong></td>
1.105 naddy 236: <td>- <b>2044</b>MB</td></tr>
1.1 espie 237: <tr><td></td>
238: <td><strong>openbsd-www</strong></td>
1.105 naddy 239: <td>- <b>467</b>MB</td></tr>
1.48 nick 240: <tr><td></td>
241: <td><strong>openbsd-xenocara</strong></td>
1.105 naddy 242: <td>- <b>1140</b>MB</td></tr>
1.1 espie 243: <tr><td></td>
244: <td><strong>openbsd-x11</strong></td>
245: <td>- <b>200</b>MB</td></tr>
246: <tr><td></td>
247: <td><strong>openbsd-xf4</strong></td>
1.48 nick 248: <td>- <b>564</b>MB</td></tr>
1.1 espie 249: <tr><td></td>
250: <td><strong>openbsd-cvsroot</strong></td>
1.105 naddy 251: <td>- <b>1027</b>MB</td></tr>
1.1 espie 252: </table>
253: <p>
254: The overall repository size currently increases at a rate
1.95 tedu 255: of about <b>400</b>MB per annum. The src repository increases by about
256: <b>150</b>MB.
1.1 espie 257: </p>
258: <p>
259: <strong>IMPORTANT NOTE:</strong>
260: There are a few issues relating to cryptographic software that everyone
261: should be aware of:
262: </p>
263: <ul>
264: <li>
265: <p>
266: The OpenBSD sources are from Canada. As
267: <a href="http://www.efc.ca/pages/doc/crypto-export.html">
268: researched by a Canadian individual</a> and as
269: <a href="http://axion.physics.ubc.ca/ECL.html">
270: described in the Export Control list of Canada</a>,
271: it is legal to export crypto software from Canada to the world.
272: </p>
273: </li>
274: <li>
275: <p>
276: However, if you are outside the USA or Canada, you should not
1.8 naddy 277: fetch the cryptographic sections of the OpenBSD sources from a
278: CVSync server located in the USA. The files in question are...
1.1 espie 279: </p>
280: <ul>
281: <li><tt>src/kerberosIV/*</tt></li>
282: <li><tt>src/kerberosV/*</tt></li>
283: <li><tt>src/lib/libdes/*</tt></li>
284: <li><tt>src/lib/libc/crypt/crypt.c</tt></li>
285: <li><tt>src/lib/libc/crypt/morecrypt.c</tt></li>
286: <li><tt>src/sys/crypto</tt></li>
287: <li><tt>src/sys/netinet</tt></li>
288: <li><tt>src/usr.sbin/afs/src/rxkad/*</tt></li>
289: <li><tt>XF4/xc-mit/lib/Xdmcp/Wraphelp.c</tt></li>
290: <li><tt>XF4/xc-old/lib/Xdmcp/Wraphelp.c</tt></li>
291: <li><tt>XF4/xc/lib/Xdmcp/Wraphelp.c</tt></li>
292: </ul>
293: <p>
294: Because of the USA ITAR munitions list,
295: crypto software may only be exported to Canada from the USA.
296: </p>
297: </li>
298: </ul>
299:
300: </body>
301: </html>