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

Annotation of www/cvsync.html, Revision 1.103

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>
                      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.97      tedu       13: <meta name="copyright" content="This document copyright 2003-2012 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>
1.49      nick       28: <li><a href="#using">Using CVS to Work With Your Repository</a></li>
1.1       espie      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&amp;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&amp;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
1.97      tedu       64: sup and CVSup.
1.10      naddy      65: </p>
1.1       espie      66:
                     67: <p>
1.42      nick       68: The OpenBSD Project currently has six main source repositories:
1.1       espie      69: </p>
                     70:
                     71: <ul>
                     72:   <li><b>src</b> - Houses all source code for the OpenBSD Operating System.</li>
1.78      steven     73:   <li><b>ports</b> - Houses the <a href="faq/ports/index.html">OpenBSD Ports</a>.</li>
1.10      naddy      74:   <li><b>www</b> - Houses all OpenBSD web pages (including this one).</li>
1.26      matthieu   75:   <li><b>X11</b> - Houses OpenBSD's adaptation of the
                     76:       <a href="http://www.XFree86.org/">XFree86-3</a> software project.
1.51      deraadt    77:   <li><b>XF4</b> - Houses OpenBSD's adaptation of the XFree86-4 source tree.
                     78:   <li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree.
1.1       espie      79: </ul>
                     80:
1.84      jasper     81: The <b>X11</b> and <b>XF4</b> repositories are here just for historical
1.97      tedu       82: purposes, most users will have no reason to use those trees, they are no longer
1.84      jasper     83: being used.
                     84:
1.1       espie      85: <h3><a name="CVS"><font color="#0000e0">What Is CVS?</font></a></h3>
                     86:
                     87: <p>
                     88: CVS is the source code control system used to manage the OpenBSD source
                     89: tree.  It is described in more detail <a href="anoncvs.html#CVS">here</a>.
                     90: Note that CVS and CVSync are entirely different programs.  Although
                     91: CVS can be used for remote file access, it is not optimized for
                     92: wholesale source tree distribution over the net, and CVSync can be
                     93: easily an order of magnitude more efficient for this task.
                     94: </p>
                     95:
                     96: <h3>
                     97: <a name="starting"><font color="#0000e0">Getting Started Using CVSync</font></a>
                     98: </h3>
                     99:
                    100: <p>
                    101: If you only care about running CVSync, it is recommended that you
                    102: download the cvsync package from the <a href="ftp.html">ftp mirror
                    103: sites</a> instead of building your own from the <tt>net/cvsync</tt>
1.10      naddy     104: port.
1.1       espie     105: </p>
                    106:
                    107: <p>
                    108: For further information about CVSync, see the
                    109: <a href="http://www.cvsync.org/">project homepage</a>.
                    110: </p>
                    111:
                    112: <p>
                    113: In order to mirror the OpenBSD repository with CVSync,
                    114: the following configuration file might be used:
                    115: </p>
                    116:
                    117: <pre>
                    118:        config {
1.103   ! mpi       119:            hostname anoncvs.eu.openbsd.org
1.5       naddy     120:            # If your network link is a T1 or faster, comment out the following line.
1.1       espie     121:            compress
1.4       espie     122:            collection {
1.5       naddy     123:                name openbsd release rcs
1.4       espie     124:                prefix /cvs
1.5       naddy     125:                umask 002
1.4       espie     126:            }
1.1       espie     127:        }
                    128: </pre>
                    129:
                    130: <p>
                    131: This directs cvsync to refresh all OpenBSD distributions from
1.103   ! mpi       132: <b>anoncvs.eu.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
1.1       espie     133: permission to the local repository.
                    134: </p>
                    135:
                    136: <p>
                    137: Assuming this file is saved as <tt>cvs-syncfile</tt>, the
                    138: following command would be used to invoke cvsync
                    139: </p>
                    140: <pre>
1.91      nick      141:         <b>cvsync -c cvs-syncfile</b>
1.1       espie     142: </pre>
                    143:
                    144: <h3><a name="using">
1.48      nick      145: <font color="#0000e0">Using CVS to Work With Your Repository</font>
1.1       espie     146: </a></h3>
                    147:
                    148: <p>
1.48      nick      149: Now that you have a local copy of the CVS repository, it is now simple
                    150: to check out, update, or do any of the other CVS operations you would
                    151: normally do against a remote repository, locally.
1.50      nick      152: For example:
1.1       espie     153: <pre>
1.91      nick      154:         <b>cvs -d/cvs checkout -P src</b>
                    155:         <b>cvs -d/cvs up -Pd</b>
                    156:         <b>cvs -d/cvs diff -u file.c</b>
1.1       espie     157: </pre>
1.48      nick      158: More details on CVS operation can be found in
                    159: <a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source
                    160: code</a> and in the
                    161: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;sektion=1">cvs(1)</a>
                    162: man page.
1.1       espie     163:
                    164: <h3>
                    165: <a name="CVSROOT"><font color="#0000e0">Available CVSync Servers</font></a>
                    166: </h3>
                    167:
                    168: <p>The following CVSync servers are available:</p>
                    169:
1.3       naddy     170: <p>
1.6       naddy     171: <ul>
1.72      sthen     172: <li><strong>ftp5.eu.openbsd.org</strong><br>
                    173: Host also known as <strong>anga.funkfeuer.at</strong>.<br>
1.44      martin    174: Location: Vienna, Austria.<br>
                    175: Maintained by <a href="mailto:martin@openbsd.org">Martin Reindl</a>.<br>
1.46      martin    176: Updated every 2 hours from anoncvs1.usa.openbsd.org.<br>
1.44      martin    177: <p>
1.98      sthen     178: <li><strong>anoncvs.estpak.ee</strong><br>
                    179: Location: Elion, Tallinn, Estonia.<br>
                    180: Maintained by <a href="mailto:rix@estpak.ee">Rivo Nurges</a>.<br>
1.103   ! mpi       181: Updated every 2 hours.<br>
1.98      sthen     182: <p>
1.88      sthen     183: <li><strong>anoncvs.fr.openbsd.org</strong><br>
                    184: Location: Paris, France.<br>
                    185: Maintained by <a href="mailto:landry@openbsd.org">Landry Breuil</a>.<br>
                    186: Updated every 2 hours from anoncvs1.ca.openbsd.org.<br>
                    187: <p>
1.90      sthen     188: <li><a href="http://mirror.osn.de/"><strong>mirror.osn.de</strong></a><br>
1.37      steven    189: Location: N&uuml;rnberg, Germany.<br>
                    190: Maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br>
1.62      sthen     191: Updated every 3 hours.<br>
1.1       espie     192: <p>
1.90      sthen     193: <li><a href="http://www.allbsd.org/"><strong>cvsync.allbsd.org</strong></a><br>
1.37      steven    194: Location: Tokyo, Japan.<br>
                    195: Maintained by <a href="mailto:hrs@allbsd.org">Hiroki Sato</a>.<br>
1.69      sthen     196: <p>
1.77      sthen     197: <li><strong>anoncvs.eu.openbsd.org</strong><br>
                    198: Location: Stockholm University, Stockholm, Sweden.<br>
1.93      sthen     199: Maintained by <a href="mailto:jj@openbsd.org, ftp@it.su.se">Janne Johansson</a>.<br>
1.77      sthen     200: Updated every 2 hours.<br>
                    201: <p>
                    202: <li><strong>anoncvs.spacehopper.org</strong><br>
                    203: Location: London, United Kingdom.<br>
                    204: Maintained by <a href="mailto:sthen@openbsd.org">Stuart Henderson</a>.<br>
                    205: Updated hourly from anoncvs.ca.openbsd.org.<br>
                    206: <p>
                    207: <li><strong>anoncvs1.usa.openbsd.org</strong><br>
                    208: Host also known as <strong>anoncvs.usa.openbsd.org, anoncvs4.usa.openbsd.org</strong>.<br>
1.88      sthen     209: Location: Internet Systems Consortium, Redwood City, CA, USA.<br>
1.77      sthen     210: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
                    211: Updated every 2 hours.<br>
                    212: <p>
                    213: <li><strong>anoncvs3.usa.openbsd.org</strong><br>
                    214: Location: National Center for Atmospheric Research, Boulder, CO, USA.<br>
                    215: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
                    216: Updated every 2 hours.<br>
                    217: <p>
1.29      grunk     218:
1.12      sturm     219: </ul>
                    220:
                    221: <p>
1.2       naddy     222: <em>Note:</em> If your server is listed on here with inaccurate or
1.1       espie     223: unknown information, please contact <a
                    224: href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>
                    225: </p>
                    226: <p>
                    227: You may want to use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&amp;sektion=8">traceroute(8)</a>
                    228: to find out which server is nearest you.
                    229: Problems with a server should be reported to the <b>maintainer</b> of the
                    230: server in question.
                    231: </p>
                    232: <p>
1.95      tedu      233: As of July 2012, the CVS repository sizes are
1.1       espie     234: </p>
                    235: <table>
                    236: <tr><td width="20"></td>
                    237:     <td><strong>openbsd-ports</strong></td>
1.95      tedu      238:     <td>- <b>601</b>MB</td></tr>
1.1       espie     239: <tr><td></td>
                    240:     <td><strong>openbsd-src</strong></td>
1.95      tedu      241:     <td>- <b>1933</b>MB</td></tr>
1.1       espie     242: <tr><td></td>
                    243:     <td><strong>openbsd-www</strong></td>
1.95      tedu      244:     <td>- <b>434</b>MB</td></tr>
1.48      nick      245: <tr><td></td>
                    246:     <td><strong>openbsd-xenocara</strong></td>
1.95      tedu      247:     <td>- <b>1024</b>MB</td></tr>
1.1       espie     248: <tr><td></td>
                    249:     <td><strong>openbsd-x11</strong></td>
                    250:     <td>- <b>200</b>MB</td></tr>
                    251: <tr><td></td>
                    252:     <td><strong>openbsd-xf4</strong></td>
1.48      nick      253:     <td>- <b>564</b>MB</td></tr>
1.1       espie     254: <tr><td></td>
                    255:     <td><strong>openbsd-cvsroot</strong></td>
1.95      tedu      256:     <td>- <b>940</b>MB</td></tr>
1.1       espie     257: </table>
                    258: <p>
                    259: The overall repository size currently increases at a rate
1.95      tedu      260: of about <b>400</b>MB per annum. The src repository increases by about
                    261: <b>150</b>MB.
1.1       espie     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
1.8       naddy     282:     fetch the cryptographic sections of the OpenBSD sources from a
                    283:     CVSync server located in the USA. The files in question are...
1.1       espie     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: <hr>
                    306: <a href="index.html"><img height="24" width="24" src="back.gif" border="0" alt="OpenBSD"></a>
                    307: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
1.103   ! mpi       308: <br><small>$OpenBSD: cvsync.html,v 1.102 2013/06/22 04:19:44 brad Exp $</small>
1.1       espie     309:
                    310: </body>
                    311: </html>