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

Annotation of www/cvsync.html, Revision 1.133

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