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

Annotation of www/cvsync.html, Revision 1.61

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.57      sthen      13: <meta name="copyright" content="This document copyright 2003-2009 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
                     64: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sup&amp;sektion=1&amp;format=html">sup(1)</a>
                     65: and <a href="cvsup.html">CVSup</a>.
1.10      naddy      66: </p>
1.1       espie      67:
                     68: <p>
1.42      nick       69: The OpenBSD Project currently has six main source repositories:
1.1       espie      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.
1.51      deraadt    80:   <li><b>XF4</b> - Houses OpenBSD's adaptation of the XFree86-4 source tree.
                     81:   <li><b>xenocara</b> - Houses OpenBSD's active X.org v7 source tree.
1.1       espie      82: </ul>
                     83:
                     84: <h3><a name="CVS"><font color="#0000e0">What Is CVS?</font></a></h3>
                     85:
                     86: <p>
                     87: CVS is the source code control system used to manage the OpenBSD source
                     88: tree.  It is described in more detail <a href="anoncvs.html#CVS">here</a>.
                     89: Note that CVS and CVSync are entirely different programs.  Although
                     90: CVS can be used for remote file access, it is not optimized for
                     91: wholesale source tree distribution over the net, and CVSync can be
                     92: easily an order of magnitude more efficient for this task.
                     93: </p>
                     94:
                     95: <h3>
                     96: <a name="starting"><font color="#0000e0">Getting Started Using CVSync</font></a>
                     97: </h3>
                     98:
                     99: <p>
                    100: If you only care about running CVSync, it is recommended that you
                    101: download the cvsync package from the <a href="ftp.html">ftp mirror
                    102: sites</a> instead of building your own from the <tt>net/cvsync</tt>
1.10      naddy     103: port.
1.1       espie     104: </p>
                    105:
                    106: <p>
                    107: For further information about CVSync, see the
                    108: <a href="http://www.cvsync.org/">project homepage</a>.
                    109: </p>
                    110:
                    111: <p>
                    112: In order to mirror the OpenBSD repository with CVSync,
                    113: the following configuration file might be used:
                    114: </p>
                    115:
                    116: <pre>
                    117:        config {
1.61    ! landry    118:            hostname anoncvs.usa.openbsd.org
1.5       naddy     119:            # If your network link is a T1 or faster, comment out the following line.
1.1       espie     120:            compress
1.4       espie     121:            collection {
1.5       naddy     122:                name openbsd release rcs
1.4       espie     123:                prefix /cvs
1.5       naddy     124:                umask 002
1.4       espie     125:            }
1.1       espie     126:        }
                    127: </pre>
                    128:
                    129: <p>
                    130: This directs cvsync to refresh all OpenBSD distributions from
1.61    ! landry    131: <b>anoncvs.usa.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     132: permission to the local repository.
                    133: </p>
                    134:
                    135: <p>
                    136: Assuming this file is saved as <tt>cvs-syncfile</tt>, the
                    137: following command would be used to invoke cvsync
                    138: </p>
                    139: <pre>
                    140:         cvsync -c cvs-syncfile
                    141: </pre>
                    142:
                    143: <h3><a name="using">
1.48      nick      144: <font color="#0000e0">Using CVS to Work With Your Repository</font>
1.1       espie     145: </a></h3>
                    146:
                    147: <p>
1.48      nick      148: Now that you have a local copy of the CVS repository, it is now simple
                    149: to check out, update, or do any of the other CVS operations you would
                    150: normally do against a remote repository, locally.
1.50      nick      151: For example:
1.1       espie     152: <pre>
1.48      nick      153:         cvs -d/cvs checkout src -P
                    154:         cvs -d/cvs up -Pd
                    155:         cvs -d/cvs diff -u file.c
1.1       espie     156: </pre>
1.48      nick      157: More details on CVS operation can be found in
                    158: <a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source
                    159: code</a> and in the
                    160: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;sektion=1">cvs(1)</a>
                    161: man page.
1.1       espie     162:
                    163: <h3>
                    164: <a name="CVSROOT"><font color="#0000e0">Available CVSync Servers</font></a>
                    165: </h3>
                    166:
                    167: <p>The following CVSync servers are available:</p>
                    168:
1.3       naddy     169: <p>
1.6       naddy     170: <ul>
1.14      millert   171: <li><strong>anoncvs1.usa.openbsd.org</strong><br>
1.37      steven    172: Host also known as <strong>anoncvs.usa.openbsd.org, anoncvs4.usa.openbsd.org</strong>.<br>
1.60      sthen     173: Location: Internet Software Consortium, Redwood City, CA, USA.<br>
1.45      grunk     174: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
1.14      millert   175: Updated every 2 hours.<br>
                    176: <p>
1.15      millert   177: <li><strong>anoncvs3.usa.openbsd.org</strong><br>
1.37      steven    178: Location: National Center for Atmospheric Research, Boulder, CO, USA.<br>
1.45      grunk     179: Maintained by <a href="mailto:millert@openbsd.org">Todd C. Miller</a>.<br>
1.14      millert   180: Updated every 2 hours.<br>
1.37      steven    181: <p>
1.52      nick      182: <li><strong>obsd.cec.mtu.edu</strong><br>
                    183: Location: Michigan Technological University, Houghton, Michigan, USA.<br>
                    184: Maintained by <a href="mailto:celinn@mtu.edu">Chris Linn</a>.<br>
                    185: Updated every 2 hours.<br>
                    186: <p>
1.44      martin    187: <li><strong>anga.funkfeuer.at</strong><br>
                    188: Location: Vienna, Austria.<br>
                    189: Maintained by <a href="mailto:martin@openbsd.org">Martin Reindl</a>.<br>
1.46      martin    190: Updated every 2 hours from anoncvs1.usa.openbsd.org.<br>
1.44      martin    191: <p>
1.56      naddy     192: <li><strong>anoncvs.comstyle.com</strong><br>
                    193: Location: Toronto, Canada.<br>
1.57      sthen     194: Maintained by <a href="mailto:brad@comstyle.com">Brad Smith</a>.<br>
1.56      naddy     195: Updated every 2 hours.<br>
                    196: <p>
                    197: <li><strong>repo.e2echina.com</strong><br>
                    198: Location: Guangzhou City, China.<br>
                    199: Maintained by <a href="mailto:dongsheng.song@gmail.com">Dongsheng Song</a>.<br>
                    200: Updated every 2 hours from anoncvs1.usa.openbsd.org.<br>
                    201: <p>
1.53      sthen     202: <li><strong>anoncvs.estpak.ee</strong><br>
                    203: Location: Elion, Tallinn, Estonia.<br>
                    204: Maintained by <a href="mailto:rix@estpak.ee">Rivo Nurges</a>.<br>
1.54      tobias    205: Updated every 2 hours from cvsync.de.openbsd.org.<br>
1.53      sthen     206: <p>
1.6       naddy     207: <li><a href="http://mirror.osn.de/"><strong>mirror.osn.de</strong></a><br>
1.37      steven    208: Location: N&uuml;rnberg, Germany.<br>
                    209: Maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br>
1.20      naddy     210: Updated every 4 hours from anoncvs1.usa.openbsd.org.<br>
1.1       espie     211: <p>
1.37      steven    212: <li><a href="http://www.allbsd.org/"><strong>cvsync.allbsd.org</strong></a><br>
                    213: Location: Tokyo, Japan.<br>
                    214: Maintained by <a href="mailto:hrs@allbsd.org">Hiroki Sato</a>.<br>
                    215: <p>
1.24      naddy     216: <li><a href="http://mirror.sg.depaul.edu/"><strong>mirror.sg.depaul.edu</strong></a><br>
1.37      steven    217: Location: DePaul University, Chicago, IL, USA.<br>
                    218: Maintained by <a href="mailto:mirror-admin@sg.depaul.edu">Eric Pancer</a>.<br>
1.24      naddy     219: Updated every 2 hours.<br>
1.25      nick      220: <p>
1.37      steven    221: <li><a href="http://csociety.org/cvsup.html"><strong>cvsync.csociety.org</strong></a><br>
                    222: Location: Purdue University, West Lafayette, IN, USA.<br>
                    223: Maintained by <a href="mailto:will@csociety.purdue.edu">Will Andrews</a>.<br>
                    224: <p>
1.29      grunk     225:
1.12      sturm     226: </ul>
                    227:
                    228: <p>
1.2       naddy     229: <em>Note:</em> If your server is listed on here with inaccurate or
1.1       espie     230: unknown information, please contact <a
                    231: href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>
                    232: or <a href="mailto:naddy@openbsd.org"><tt>naddy@openbsd.org</tt></a>
                    233: </p>
                    234: <p>
                    235: You may want to use <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&amp;sektion=8">traceroute(8)</a>
                    236: to find out which server is nearest you.
                    237: Problems with a server should be reported to the <b>maintainer</b> of the
                    238: server in question.
                    239: </p>
                    240: <p>
1.48      nick      241: As of January, 2008, the CVS repository sizes are
1.1       espie     242: </p>
                    243: <table>
                    244: <tr><td width="20"></td>
                    245:     <td><strong>openbsd-ports</strong></td>
1.48      nick      246:     <td>- <b>310</b>MB</td></tr>
1.1       espie     247: <tr><td></td>
                    248:     <td><strong>openbsd-src</strong></td>
1.48      nick      249:     <td>- <b>1500</b>MB</td></tr>
1.1       espie     250: <tr><td></td>
                    251:     <td><strong>openbsd-www</strong></td>
1.48      nick      252:     <td>- <b>350</b>MB</td></tr>
                    253: <tr><td></td>
                    254:     <td><strong>openbsd-xenocara</strong></td>
                    255:     <td>- <b>600</b>MB</td></tr>
1.1       espie     256: <tr><td></td>
                    257:     <td><strong>openbsd-x11</strong></td>
                    258:     <td>- <b>200</b>MB</td></tr>
                    259: <tr><td></td>
                    260:     <td><strong>openbsd-xf4</strong></td>
1.48      nick      261:     <td>- <b>564</b>MB</td></tr>
1.1       espie     262: <tr><td></td>
                    263:     <td><strong>openbsd-cvsroot</strong></td>
1.36      steven    264:     <td>- <b>408</b>MB</td></tr>
1.1       espie     265: </table>
                    266: <p>
                    267: The overall repository size currently increases at a rate
1.22      nick      268: of about <b>400</b>MB per annum.
1.1       espie     269: </p>
                    270: <p>
                    271: <strong>IMPORTANT NOTE:</strong>
                    272: There are a few issues relating to cryptographic software that everyone
                    273: should be aware of:
                    274: </p>
                    275: <ul>
                    276:   <li>
                    277:     <p>
                    278:     The OpenBSD sources are from Canada. As
                    279:     <a href="http://www.efc.ca/pages/doc/crypto-export.html">
                    280:     researched by a Canadian individual</a> and as
                    281:     <a href="http://axion.physics.ubc.ca/ECL.html">
                    282:     described in the Export Control list of Canada</a>,
                    283:     it is legal to export crypto software from Canada to the world.
                    284:     </p>
                    285:   </li>
                    286:   <li>
                    287:     <p>
                    288:     However, if you are outside the USA or Canada, you should not
1.8       naddy     289:     fetch the cryptographic sections of the OpenBSD sources from a
                    290:     CVSync server located in the USA. The files in question are...
1.1       espie     291:     </p>
                    292:     <ul>
                    293:       <li><tt>src/kerberosIV/*</tt></li>
                    294:       <li><tt>src/kerberosV/*</tt></li>
                    295:       <li><tt>src/lib/libdes/*</tt></li>
                    296:       <li><tt>src/lib/libc/crypt/crypt.c</tt></li>
                    297:       <li><tt>src/lib/libc/crypt/morecrypt.c</tt></li>
                    298:       <li><tt>src/sys/crypto</tt></li>
                    299:       <li><tt>src/sys/netinet</tt></li>
                    300:       <li><tt>src/usr.sbin/afs/src/rxkad/*</tt></li>
                    301:       <li><tt>XF4/xc-mit/lib/Xdmcp/Wraphelp.c</tt></li>
                    302:       <li><tt>XF4/xc-old/lib/Xdmcp/Wraphelp.c</tt></li>
                    303:       <li><tt>XF4/xc/lib/Xdmcp/Wraphelp.c</tt></li>
                    304:     </ul>
                    305:     <p>
                    306:     Because of the USA ITAR munitions list,
                    307:     crypto software may only be exported to Canada from the USA.
                    308:     </p>
                    309:   </li>
                    310: </ul>
                    311:
                    312: <p>
                    313: The OpenBSD project is looking for more CVSync servers -- if you are
                    314: interested, please contact <a href="mailto:naddy@openbsd.org">Christian Weisgerber</a>
                    315: for configuration details.
                    316: </p>
                    317:
                    318: <hr>
                    319: <a href="index.html"><img height="24" width="24" src="back.gif" border="0" alt="OpenBSD"></a>
                    320: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
1.61    ! landry    321: <br><small>$OpenBSD: cvsync.html,v 1.60 2009/09/04 13:51:10 sthen Exp $</small>
1.1       espie     322:
                    323: </body>
                    324: </html>