[BACK]Return to cvsync.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/cvsync.html, Revision 1.36

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