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

Annotation of www/cvsync.html, Revision 1.126

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