version 1.143, 2019/05/22 01:42:20 |
version 1.144, 2019/05/27 22:55:19 |
|
|
<!-- DO NOT EDIT MANUALLY! See comments in www/build/mirrors.dat for details --> |
<!-- DO NOT EDIT MANUALLY! See comments in www/build/mirrors.dat for details --> |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<!doctype html> |
<html> |
<html lang=en> |
<head> |
<meta charset=utf-8> |
|
|
<title>OpenBSD: CVSync</title> |
<title>OpenBSD: CVSync</title> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
|
<meta name="copyright" content="This document copyright 2003-2018 by OpenBSD."> |
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
<link rel="stylesheet" type="text/css" href="openbsd.css"> |
<link rel="stylesheet" type="text/css" href="openbsd.css"> |
<link rel="canonical" href="https://www.openbsd.org/cvsync.html"> |
<link rel="canonical" href="https://www.openbsd.org/cvsync.html"> |
</head> |
|
|
|
<h2 id=OpenBSD> |
<h2 id=OpenBSD> |
<a href="index.html"> |
<a href="index.html"> |
<i>Open</i><b>BSD</b></a> |
<i>Open</i><b>BSD</b></a> |
Source Repository Access: CVSync and rsync |
Source Repository Access: CVSync and rsync |
</h2> |
</h2> |
|
|
<hr> |
<hr> |
<p> |
|
|
|
|
<p> |
OpenBSD uses the CVS version control system. |
OpenBSD uses the CVS version control system. |
It is described in more detail <a href="anoncvs.html#CVS">here</a>. |
It is described in more detail <a href="anoncvs.html#CVS">here</a>. |
The <a href="https://man.openbsd.org/cvs">cvs(1)</a> command is used |
The <a href="https://man.openbsd.org/cvs">cvs(1)</a> command is used |
|
|
bug-free and can have problems updating at times. |
bug-free and can have problems updating at times. |
|
|
<p> |
<p> |
The client <tt>cvsync</tt> runs on each user's machine (typically from |
The client <code>cvsync</code> runs on each user's machine (typically from |
a <a href="https://man.openbsd.org/cron">cron(8)</a> job), and fetches |
a <a href="https://man.openbsd.org/cron">cron(8)</a> job), and fetches |
from a server running <tt>cvsyncd</tt>. |
from a server running <code>cvsyncd</code>. |
|
|
<h3 id="starting">Getting Started Using CVSync</h3> |
<h3 id="starting">Getting Started Using CVSync</h3> |
|
|
|
|
# <b>pkg_add cvsync</b> |
# <b>pkg_add cvsync</b> |
</pre> |
</pre> |
|
|
|
<p> |
Do not build your own copy from unmodified upstream source - |
Do not build your own copy from unmodified upstream source - |
the port/package has been modified to support commitid which is now |
the port/package has been modified to support commitid which is now |
used in the OpenBSD repository. |
used in the OpenBSD repository. |
|
|
<b>anoncvs.eu.openbsd.org</b> with a |
<b>anoncvs.eu.openbsd.org</b> with a |
<a href="https://man.openbsd.org/umask">umask(2)</a> that permits group write |
<a href="https://man.openbsd.org/umask">umask(2)</a> that permits group write |
permission to the local repository. |
permission to the local repository. |
The local copy of the files are stored in <tt>/cvs</tt>. |
The local copy of the files are stored in <code>/cvs</code>. |
|
|
<p> |
<p> |
Assuming this file is saved as <tt>cvs-syncfile</tt>, the |
Assuming this file is saved as <code>cvs-syncfile</code>, the |
following command would be used to invoke cvsync |
following command would be used to invoke cvsync |
|
|
<pre class="cmdbox"> |
<pre class="cmdbox"> |
|
|
|
|
<h3 id="rsync">Getting Started Using Rsync</h3> |
<h3 id="rsync">Getting Started Using Rsync</h3> |
|
|
|
<p> |
Some repository mirrors offer access via rsync, a general-purpose |
Some repository mirrors offer access via rsync, a general-purpose |
file synchronization program. |
file synchronization program. |
Again this should be installed from packages. |
Again this should be installed from packages. |
|
|
<pre class="cmdbox"> |
<pre class="cmdbox"> |
# <b>pkg_add rsync</b> |
# <b>pkg_add rsync</b> |
Ambiguous: choose package for rsync |
Ambiguous: choose package for rsync |
a 0: <None> |
a 0: <None> |
1: rsync-3.1.2p0 |
1: rsync-3.1.2p0 |
2: rsync-3.1.2p0-iconv |
2: rsync-3.1.2p0-iconv |
Your choice: |
Your choice: |
</pre> |
</pre> |
|
|
|
<p> |
Unless you have other requirements, simply install the standard version |
Unless you have other requirements, simply install the standard version |
(option 1 on the list above). |
(option 1 on the list above). |
You can select the flavour on the command-line to avoid |
You can select the flavour on the command-line to avoid |
|
|
# <b>pkg_add rsync--</b> |
# <b>pkg_add rsync--</b> |
</pre> |
</pre> |
|
|
|
<p> |
In order to mirror the OpenBSD repository with rsync, |
In order to mirror the OpenBSD repository with rsync, |
the following command line might be used: |
the following command line might be used: |
|
|
|
|
|
|
<h3 id="using">Using CVS to Work With Your Repository</h3> |
<h3 id="using">Using CVS to Work With Your Repository</h3> |
|
|
|
<p> |
Now that you have a local copy of the CVS repository, it is now simple |
Now that you have a local copy of the CVS repository, it is now simple |
to check out, update, or do any of the other CVS operations you would |
to check out, update, or do any of the other CVS operations you would |
normally do against a remote repository, locally. |
normally do against a remote repository, locally. |
|
|
$ <b>cvs -d/cvs up -Pd</b> |
$ <b>cvs -d/cvs up -Pd</b> |
$ <b>cvs -d/cvs diff -u file.c</b> |
$ <b>cvs -d/cvs diff -u file.c</b> |
</pre> |
</pre> |
|
<p> |
More details on CVS operation can be found in |
More details on CVS operation can be found in |
<a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source |
<a href="faq/faq5.html#BldGetSrc">FAQ5, Fetching appropriate source |
code</a> and in the |
code</a> and in the |
|
|
|
|
<h3 id="CVSROOT">Available Repository Servers</h3> |
<h3 id="CVSROOT">Available Repository Servers</h3> |
|
|
|
<p> |
The following CVSync and rsync repository servers are available: |
The following CVSync and rsync repository servers are available: |
|
|
<ul> |
<ul> |
|
|
|
|
</ul> |
</ul> |
|
|
<em>Note:</em> If your server is listed on here with inaccurate or |
<p> |
|
<strong>Note:</strong> If your server is listed on here with inaccurate or |
unknown information, please contact <a |
unknown information, please contact <a |
href="mailto:mirrors-discuss@openbsd.org"><tt>mirrors-discuss@openbsd.org</tt></a> |
href="mailto:mirrors-discuss@openbsd.org"><code>mirrors-discuss@openbsd.org</code></a> |
|
|
<p> |
<p> |
You may want to use <a href="https://man.openbsd.org/traceroute">traceroute(8)</a> |
You may want to use <a href="https://man.openbsd.org/traceroute">traceroute(8)</a> |
|
|
<p> |
<p> |
As of December 2017, the CVS repository sizes are: |
As of December 2017, the CVS repository sizes are: |
|
|
<p> |
|
<table> |
<table> |
<tr><td width="20"></td> |
<tr> |
<td><strong>openbsd-ports</strong></td> |
<td><strong>openbsd-ports</strong></td> |
<td>- <b>1220</b>MB</td></tr> |
<td>- <b>1220</b>MB</td></tr> |
<tr><td></td> |
<tr> |
<td><strong>openbsd-src</strong></td> |
<td><strong>openbsd-src</strong></td> |
<td>- <b>2865</b>MB</td></tr> |
<td>- <b>2865</b>MB</td></tr> |
<tr><td></td> |
<tr> |
<td><strong>openbsd-www</strong></td> |
<td><strong>openbsd-www</strong></td> |
<td>- <b>704</b>MB</td></tr> |
<td>- <b>704</b>MB</td></tr> |
<tr><td></td> |
<tr> |
<td><strong>openbsd-xenocara</strong></td> |
<td><strong>openbsd-xenocara</strong></td> |
<td>- <b>1658</b>MB</td></tr> |
<td>- <b>1658</b>MB</td></tr> |
<tr><td></td> |
<tr> |
<td><strong>openbsd-cvsroot</strong></td> |
<td><strong>openbsd-cvsroot</strong></td> |
<td>- <b>158</b>MB</td></tr> |
<td>- <b>158</b>MB</td></tr> |
</table> |
</table> |
|
|
<a href="http://axion.physics.ubc.ca/ECL.html"> |
<a href="http://axion.physics.ubc.ca/ECL.html"> |
described in the Export Control list of Canada</a>, |
described in the Export Control list of Canada</a>, |
it is legal to export crypto software from Canada to the world. |
it is legal to export crypto software from Canada to the world. |
</li> |
|
<li> |
<li> |
<p> |
<p> |
However, if you are outside the USA or Canada, you should not |
However, if you are outside the USA or Canada, you should not |
fetch the cryptographic sections of the OpenBSD sources from a |
fetch the cryptographic sections of the OpenBSD sources from a |
CVSync server located in the USA. The files in question are... |
CVSync server located in the USA. The files in question are... |
<ul> |
<ul> |
<li><tt>src/kerberosIV/*</tt></li> |
<li><code>src/kerberosIV/*</code> |
<li><tt>src/kerberosV/*</tt></li> |
<li><code>src/kerberosV/*</code> |
<li><tt>src/lib/libdes/*</tt></li> |
<li><code>src/lib/libdes/*</code> |
<li><tt>src/lib/libc/crypt/crypt.c</tt></li> |
<li><code>src/lib/libc/crypt/crypt.c</code> |
<li><tt>src/lib/libc/crypt/morecrypt.c</tt></li> |
<li><code>src/lib/libc/crypt/morecrypt.c</code> |
<li><tt>src/sys/crypto</tt></li> |
<li><code>src/sys/crypto</code> |
<li><tt>src/sys/netinet</tt></li> |
<li><code>src/sys/netinet</code> |
<li><tt>src/usr.sbin/afs/src/rxkad/*</tt></li> |
<li><code>src/usr.sbin/afs/src/rxkad/*</code> |
</ul> |
</ul> |
<p> |
<p> |
Because of the USA ITAR munitions list, |
Because of the USA ITAR munitions list, |
crypto software may only be exported to Canada from the USA. |
crypto software may only be exported to Canada from the USA. |
</li> |
|
</ul> |
</ul> |
|
|
</body> |
|
</html> |
|