version 1.247, 2006/05/01 08:52:01 |
version 1.248, 2006/05/02 18:02:36 |
|
|
<title>OpenBSD AnonCVS</title> |
<title>OpenBSD AnonCVS</title> |
<link rev="made" href="mailto:www@openbsd.org"> |
<link rev="made" href="mailto:www@openbsd.org"> |
<meta name="resource-type" content="document"> |
<meta name="resource-type" content="document"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"> |
<meta name="description" content="How to get OpenBSD updates via Internet using Anonymous CVS"> |
<meta name="description" content="How to get OpenBSD updates via Internet using Anonymous CVS"> |
<meta name="keywords" content="openbsd,anoncvs,updates"> |
<meta name="keywords" content="openbsd,anoncvs,updates"> |
<meta name="distribution" content="global"> |
<meta name="distribution" content="global"> |
|
|
|
|
<body bgcolor="#ffffff" text="#000000"> |
<body bgcolor="#ffffff" text="#000000"> |
|
|
<a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="images/smalltitle.gif" border="0"></a> |
<a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src="../images/smalltitle.gif" border="0"></a> |
<p> |
<p> |
<h2><font color="#e00000">Anonymous CVS</font></h2> |
<h2><font color="#e00000">Anonymous CVS</font></h2> |
|
|
<hr> |
<hr> |
|
|
<h3>Table Of Contents</h3> |
<h3>$BL\<!(B</h3> |
|
|
<ul> |
<ul> |
<li><a href="#anoncvs">What is Anonymous CVS?</a> |
<li><a href="#anoncvs">Anonymous CVS $B$H$O(B ?</a> |
<li><a href="#CVS">What is CVS?</a> |
<li><a href="#CVS">CVS $B$H$O(B ?</a> |
<li><a href="#starting">Getting Started Using Anonymous CVS</a> |
<li><a href="#starting">Anonymous CVS $B$r;H$$;O$a$k$?$a$K(B</a> |
<li><a href="#using">Using CVS to Get and Update your Source Tree</a> |
<li><a href="#using">$B%=!<%9%D%j!<$N<hF@!&99?7$K(B CVS $B$r;H$&(B</a> |
<li><a href="#CVSROOT">Available Anonymous CVS Servers</a> |
<li><a href="#CVSROOT">$BMxMQ2DG=$J(B Anonymous CVS $B%5!<%P(B</a> |
<li><a href="#CRYPTO">Getting crypto sources through cvs(1)</a> |
<li><a href="#CRYPTO">cvs(1) $B$r;H$C$F$N0E9f%=!<%9$N<hF@(B</a> |
<li><a href="#EXAMPLE">Example usages for cvs(1)</a> |
<li><a href="#EXAMPLE">cvs(1) $B$N;HMQNc(B</a> |
<li><a href="#WHICH">Use rsh(1) or ssh(1)?</a> |
<li><a href="#WHICH">rsh(1) $B$H(B ssh(1) $B$r$I$A$i$r;H$&$+(B ?</a> |
<li><a href="#SUP">Mirroring the CVS repository via sup(1)</a> |
<li><a href="#SUP">sup(1) $B$r;H$C$?(B CVS $B%j%]%8%H%j$N%_%i!<%j%s%0(B</a> |
<li><a href="#MIRROR">Setting up an anoncvs mirror</a> |
<li><a href="#MIRROR">anoncvs $B%_%i!<$N9=C[(B</a> |
</ul> |
</ul> |
|
|
<hr> |
<hr> |
|
|
<h3><a name="anoncvs"><font color="#0000e0">What is Anonymous CVS?</font></a></h3> |
<h3><a name="anoncvs"><font color="#0000e0">Anonymous CVS $B$H$O(B ?</font></a></h3> |
|
|
<p> |
<p> |
Anonymous CVS is a method of keeping your local copy of the OpenBSD source |
Anonymous CVS $B$O!"8=;~E@$G$N(B OpenBSD $B%=!<%9$KBP$7$F2C$($i$l$?99?7$K4X$7$F!"(B |
tree up to date with respect to changes made to current OpenBSD sources. |
OpenBSD $B$N%=!<%9%D%j!<$N$"$J$?$N%m!<%+%k$J%3%T!<$r:G?7$K0];}$7$F$*$/$?$a$N(B |
In addition to following the bleeding edge of development, it is |
$BJ}K!$G$9!#3+H/$N:G@hC<$KDI=>$9$k$3$H$K2C$($F!"%j%j!<%9$N(B errata $B$N$?$a$N(B |
also possible to track the patches for errata of a release. |
$B%Q%C%A$rDI@W$9$k$3$H$b$^$?2DG=$G$9!#(B |
|
|
<p> |
<p> |
The major advantage of Anonymous CVS over other source code update |
$BB>$N%=!<%9%3!<%I99?75;=Q$KBP$9$k(B Anonymous CVS $B$N<g$JMxE@$O!"Cf1{$N(B |
techniques is that it works directly against a central source code |
$B%=!<%9%3!<%I%j%]%8%H%j$+%_%i!<$KBP$7$F!"$=$l$,D>@\F/$/$H$$$&$3$H(B |
repository or mirror. This means that you have the full set of CVS |
$B$G$7$g$&!#$3$l$O$D$^$j!"$"$J$?$NJQ99$HB>$N%=!<%9$NJQ99$K4X$9$k99?7$d(B |
commands available to control merging and updating your changes with |
$B%^!<%8$r@)8f$7$?$j!"(Bdiff $B$r<h$C$?$j!"JQ99MzNr$dB>$N$3$H$rCf1{$N(B |
other source changes and for performing diffs, change histories |
$B%j%]%8%H%j$KBP$7$F<ALd$7$?$j$9$k$?$a$K!"%U%k%;%C%H$N(B CVS $B%3%^%s%I$r(B |
and other queries against the central repository. |
$B$"$J$?$O;HMQ$G$-$k$H$$$&$3$H$G$9!#(B |
|
|
<p> |
<p> |
The OpenBSD Project currently has five main source repositories: |
OpenBSD $B%W%m%8%'%/%H$O!"8=>u$G$O!"<!$N(B 5 $B8D$N<g%=!<%9%j%]%8%H%j$r;}$C$F$$$^$9!#(B |
|
|
<ul> |
<ul> |
<li><b>src</b> - Houses all source code for the OpenBSD Operating System. |
<li><b>src</b> - OpenBSD $B%*%Z%l!<%F%#%s%0%7%9%F%`$NA4%=!<%9%3!<%I$r<}MF!#(B |
<li><b>ports</b> - Houses the <a href="./ports.html">OpenBSD Ports</a>. |
<li><b>ports</b> - <a href="ports.html">OpenBSD Ports</a> $B$r<}MF!#(B |
<li><b>www</b> - Houses all OpenBSD web pages. (Including this one). |
<li><b>www</b> - $B$9$Y$F$N(B OpenBSD $B$N(B Web $B%Z!<%8(B ($B$3$N%Z!<%8$r4^$`(B) $B$r<}MF!#(B |
<li><b>X11</b> - Houses OpenBSD's adaptation of the |
<li><b>X11</b> - OpenBSD $BBP1~$N(B |
<a href="http://www.XFree86.org/">XFree86-3</a> software project. |
<a href="http://www.XFree86.org/">XFree86-3</a> $B%=%U%H%&%'%"%W%m%8%'%/%H$r<}MF!#(B |
This is here just for historical purposes, most users will have no |
$B$3$l$ONr;KE*$JM}M3$G;D$5$l$F$k$b$N$G!"$[$H$s$I$N%f!<%6$K$H$C$F$OITMW$G$9!#(B |
reason to use this tree, it is no longer being used. |
$B8=:_$O;H$o$l$F$$$^$;$s!#(B |
<li><b>XF4</b> - Houses OpenBSD's active X source tree. |
<li><b>XF4</b> - OpenBSD $BHG$N(B X $B$N3+H/MQ%=!<%9%D%j!<!#(B |
</ul> |
</ul> |
|
|
<p> |
<p> |
To summarize, the real strength of using Anonymous CVS is that it is |
$BMWLs$7$^$9$H!"(BAnonymous CVS $B$r;HMQ$9$k$3$H$N<B:]$N6/$_$O!"$=$l$,!V42MF$J!W(B |
a "tolerant" source code control system - it <strong>respects</strong> |
$B%=!<%9%3!<%I%3%s%H%m!<%k%7%9%F%`$G$"$k$H$$$&$3$H$G$"$j!"$=$l$O!"$"$J$?$,(B |
changes that you have made to your local sources and makes <strong> |
$B$=$N$^$^B3$1$:$K2r7h$7$J$1$l$P$J$i$J$$FqLd$N%j%9%H$rJ|CV$9$k$N$G$O$J$/!"(B |
"best efforts"</strong> to update your entire source tree, rather than |
$B$`$7$m!"$"$J$?$N%m!<%+%k$J%=!<%9$KBP$7$F$"$J$?$,2C$($?JQ99$H!"$"$J$?$N(B |
leaving you a list of arcane problems that have to be resolved before |
$BA4BN$N%=!<%9%D%j!<$r99?7$9$k$?$a$N(B<strong>$B!V:GA1$NEXNO!W(B</strong>$B$r$9$k(B |
continuing. |
$B$3$H$r(B<strong>$BB:=E$9$k(B</strong>$B$H$$$&$3$H$G$9!#(B |
|
|
<h3><a name="CVS"><font color="#0000e0">What is CVS?</font></a></h3> |
<h3><a name="CVS"><font color="#0000e0">CVS $B$H$O(B ?</font></a></h3> |
|
|
<p> |
<p> |
<a href="http://www.cvshome.org/">CVS</a> is the source code control |
<a href="http://www.cvshome.org/">CVS</a> $B$H$O!"(B |
system used to <a href="why-cvs.html">manage the OpenBSD source |
<a href="why-cvs.html">OpenBSD $B$N%=!<%9%D%j!<$r4IM}$9$k$N$K;HMQ$5$l$F$$$k(B</a> |
tree.</a> |
$B%=!<%9%3!<%I%3%s%H%m!<%k%7%9%F%`$G$9!#(B |
It implements a central repository for all officially released source code |
$B$=$l$O!"$9$Y$F$N@5<0$K%j%j!<%9$5$l$?%=!<%9%3!<%I$H$=$l$KBP$9$k(B |
and changes, while permitting developers to maintain local copies of the |
$BJQ99$N$?$a$NCf1{$N%j%]%8%H%j$r<BAu$9$k0lJ}$G!"3+H/<T$KBP$7$F$OH`$i$N:n6HCf$NJQ99$r(B |
source code with their working changes. |
$B4^$`%=!<%9%3!<%I$N%m!<%+%k$J%3%T!<$rJ]<i$9$k$3$H$r5v$7$F$$$^$9!#(B |
|
|
There are two levels of source tree access: |
$B%=!<%9%D%j!<$X$N%"%/%;%9$K$O!"<!$N(B 2 $B<oN`$N%l%Y%k$,$"$j$^$9!#(B |
<ul> |
<ul> |
<li><b>Read-write access for developers:</b> |
<li><b>$BFI$_=q$-%"%/%;%9(B ($B3+H/<TMQ(B)</b> |
Developers who need to commit changes to the source tree must have an |
$BJQ99$r%=!<%9%D%j!<$K%3%_%C%H$9$kI,MW$,$"$k3+H/<T$O!"(BOpenBSD $B%W%m%8%'%/%H$N(B |
account on the OpenBSD machines. |
$B%^%7%s$K%"%+%&%s%H$r;}$C$F$$$J$1$l$P$J$j$^$;$s!#(B |
Getting this access will be a natural result of working on the sources |
$B%=!<%9$KBP$7$FB>$N(B OpenBSD $B3+H/<T$H6&F1:n6H$r$9$k$H$$$&$3$H$O!"DL>o!"(B |
with other OpenBSD developers. |
$B$3$N%"%/%;%9$rF@$k$H$$$&$3$H$G$9!#(B |
If someone does some good work and shows they can work with the team, |
$B$9$P$i$7$$:n6H$r$7$F$kC/$+$,!"$=$l$,(B OpenBSD $B$N%A!<%`$H6&F1$G$G$-$k$b$N$@$H(B |
they will get an account. |
$B<($7$?$J$i!"$=$N?M$K%"%+%&%s%H$,H/9T$5$l$k$G$7$g$&!#(B |
|
|
<li><b>Read-only access for everyone:</b> |
<li><b>$BFI$_=P$7@lMQ%"%/%;%9(B ($BC/$G$b2DG=(B)</b> |
Anyone can access the read-only CVS repositories. |
$BFI$_=P$7@lMQ(B CVS $B%j%]%8%H%j$K$O!"C/$G$b%"%/%;%9$9$k$3$H$,2DG=$G$9!#(B |
These copies of the read-write CVS repository are mirrored often. |
$B%_%i!<%5!<%P$b$?$/$5$s$"$j$^$9!#(B |
</ul> |
</ul> |
|
|
<p> |
<p> |
The major strength of CVS is that it has the ability to perform intelligent |
CVS $B$N<g$J6/$_$O!"$"$J$?$N9T$C$?$"$J$?$N%m!<%+%k$J%3%T!<$KBP$9$kJQ99$H$H$b$K!"(B |
merges of changes to the central repository with changes that you make to |
$BCf1{$N%j%]%8%H%j$KBP$9$kJQ99$N%$%s%F%j%8%'%s%H$J%^!<%8$r<B9T2DG=$J$3$H$G$7$g$&!#(B |
your local copy. This means that if you make a change to a module and |
$B$3$l$O!"$b$7!"$"$J$?$,%b%8%e!<%k$KBP$7$FJQ99$r2C$($F!"99?7$r<B9T$7$?>l9g$K$b!"(B |
perform an update, your changes are not "blown away", rather CVS makes |
$B$"$J$?$NJQ99$,!V?a$-Ht$P$5$l$k!W$h$&$J$3$H$,$J$$$3$H$r0UL#$7$F$*$j!"$`$7$m!"(B |
best efforts to merge the changes made to the central sources with changes |
CVS $B$O!"Cf1{$N%=!<%9$KBP$9$kJQ99$H$"$J$?$,$"$J$?$N%m!<%+%k$J%3%T!<$KBP$7$F(B |
you've made to your local copy. |
$B2C$($?JQ99$H$r%^!<%8$9$k$h$&!":GBg8B$NEXNO$rJ'$*$&$H$7$^$9!#(B |
|
|
<p> |
<p> |
In the event that the changes can't be completely merged, CVS provides a |
$BJQ99$r40A4$K%^!<%8$G$-$J$+$C$?>l9g$K$O!"(BCVS $B$O!V=@Fp$J%U%)!<%k%P%C%/!W$rDs6!$7!"(B |
"soft fallback", providing you with annotated changes to your |
$B$^$?!"$"$J$?$N%m!<%+%k$J%3%T!<$KBP$9$kCm<a$5$l$?JQ99$rDs6!$7!"$"$J$?$N%P!<%8%g%s$N(B |
local copy, preserving an unmodified copy of your version and continuing |
$BJQ99$5$l$F$$$J$$%3%T!<$rJ]B8$7!"$=$7$F!"$"$J$?$NMW5a$7$?B>$N%=!<%9%b%8%e!<%k$N(B |
to update any other source modules you requested. |
$B99?7$r7QB3$7$^$9!#(B |
|
|
<h3><a name="starting"><font color="#0000e0">Getting Started Using Anonymous |
<h3><a name="starting"><font color="#0000e0">Anonymous CVS |
CVS</font></a></h3> |
$B$r;H$$;O$a$k$?$a$K(B</font></a></h3> |
|
|
While you can download the entire source tree from an AnonCVS server, |
AnonCVS $B%5!<%P$+$i$O%=!<%9%3!<%IA4BN$r%@%&%s%m!<%I$9$k$3$H$b$G$-$^$9$,!"(B |
you can often save a lot of time and bandwidth by "preloading" your |
OpenBSD $B$N(B CD $B$d(B FTP $B%5!<%P$+$i%@%&%s%m!<%I$7$?%=!<%9%U%!%$%k$r$"$i$+$8$a(B |
source tree with the source files from either the OpenBSD CD or from an |
$BMQ0U$7$F$*$/$3$H$G!"(B |
FTP server. |
$B;~4V$d%M%C%H%o!<%/BS0h$rBgI}$KC;=L$9$k$3$H$,$G$-$^$9!#(B |
This is particularly true if you are running |
<i>-release</i> $B$H(B <i>-stable</i> $B$N4V$K2C$($i$l$kJQ99E@$OHf3SE*>/$J$$$N$G!"(B |
<a href="stable.html"><i>-stable</i></a>, as relatively few files change |
$B$3$l$O(B <a href="stable.html"><i>-stable</i></a> $B$r1?MQ$7$F$$$k>l9g$K(B |
between the <i>-release</i> and <i>-stable</i>. |
$BFC$KM-Mx$JJ}K!$G$9!#(B |
|
|
<p> |
<p> |
To extract the source tree from the CD to <i>/usr/src</i> (assuming the CD is |
CD $B$+$i(B /usr/src $B$K(B CVS $B%D%j!<$r%3%T!<$9$k$K$O!"<!$N$h$&$K$7$^$9(B |
mounted on /mnt): |
(CD $B$O(B /mnt $B$K%^%&%s%H$5$l$F$$$k$b$N$H2>Dj$7$^$9(B)$B!#(B |
<pre> |
<pre> |
# <b>cd /usr/src; tar xzf /mnt/src.tar.gz</b> |
# <b>cd /usr/src; tar xzf /mnt/src.tar.gz</b> |
# <b>cd /usr; tar xzf /mnt/XF4.tar.gz</b> |
# <b>cd /usr; tar xzf /mnt/XF4.tar.gz</b> |
# <b>tar xzf /mnt/ports.tar.gz</b> |
# <b>tar xzf /mnt/ports.tar.gz</b> |
</pre> |
</pre> |
|
|
The source files for download from the FTP servers are separated into two |
FTP $B%5!<%P$+$i%@%&%s%m!<%I$7$?%=!<%9%U%!%$%k$O!"%=!<%9%D%j!<$N0lIt$r(B |
files to minimize the time required to download for those wishing to work |
$BF~<j$7$?$$$H$$$&?M$N;~4V$r@aLs$G$-$k$h$&$K!"(B2 $B8D$N%U%!%$%k$KJ,$+$l$F$$$^$9!#(B |
with only one part of the tree. The two files are <tt>sys.tar.gz</tt>, |
$B$3$N(B 2 $B8D$N%U%!%$%k$H$O!"%+!<%M%k$N9=C[$KI,MW$J(B <tt>sys.tar.gz</tt> $B$H$$$&(B |
which contains the files used to create the kernel, and <tt>src.tar.gz</tt> |
$B%U%!%$%k$H!"$=$NB>$N%f!<%6%i%s%I%f!<%F%#%j%F%#$,4^$^$l$k(B <tt>src.tar.gz</tt> |
which contains all the other "userland" utilities. |
$B$G$9!#(B |
In general, however, you will usually want both of them installed. |
$BFCJL$JM}M3$,$J$1$l$P!"N>J}$r%$%s%9%H!<%k$9$Y$-$G$7$g$&!#(B |
Assuming the downloaded files, <tt>src.tar.gz</tt> and |
$B%@%&%s%m!<%I$7$?%U%!%$%k(B <tt>src.tar.gz</tt> $B$H(B <tt>sys.tar.gz</tt> $B$,!"(B |
<tt>sys.tar.gz</tt> are in <tt>/usr</tt>: |
<tt>/usr</tt> $B$KCV$+$l$F$$$k>l9g!"<!$N$h$&$K$7$^$9!#(B |
|
|
<pre> |
<pre> |
# <b>cd /usr/src</b> |
# <b>cd /usr/src</b> |
|
|
</pre> |
</pre> |
|
|
<p> |
<p> |
Not all people will wish to unpack all the file sets, but as the system |
$B$3$N(B 2 $B8D$N%U%!%$%k$rI,$:E83+$7$J$1$l$P$J$i$J$$!"$H$$$&$o$1$G$O$"$j$^$;$s$,!"%7%9%F%`A4BN$O(B |
must be kept in sync, you will generally need to set up all trees. |
$B8_$$$KF14|$,$H$l$F$$$J$1$l$P$J$i$J$$$?$a!"DL>o$O%D%j!<A4BN$rMQ0U$9$kI,MW$,$"$j$^$9!#(B |
|
|
<p> |
<p> |
You can also just use cvs(1) to "<b>checkout</b>" the source repository |
cvs(1) $B$r;H$C$F!"%=!<%9%j%]%8%H%j$r(B"<b>$B%A%'%C%/%"%&%H(B</b>"$B$9$k$3$H$b2DG=$G$9!#(B |
for you. This is discussed in the <a href="#using">next section</a>. |
$B6qBNE*$J<j=g$K$D$$$F$O!"(B<a href="#using">$B<!$N%;%/%7%g%s(B</a>$B$G2r@b$7$^$9!#(B |
|
|
<p> |
<p> |
After this, <tt>/usr/src</tt> will be a nice checkout area where all |
$B$=$N8e!"(B<tt>/usr/src</tt> $B$O!"NI$-%A%'%C%/%"%&%H$N$?$a$NNN0h$H$J$j!"$3$3$G!"$9$Y$F$N(B |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html">cvs(1)</a> |
cvs(1)</a> commands will work properly. |
$B%3%^%s%I$,$&$^$/F0$/$3$H$G$7$g$&!#(B |
|
|
<h3><a name="using"><font color="#0000e0">Using CVS to get and update your |
<h3><a name="using"><font color="#0000e0">$B%=!<%9%D%j!<$N<hF@!&99?7$K(B |
source tree</font></a></h3> |
CVS $B$r;H$&(B</font></a></h3> |
|
|
<p> |
<p> |
CVS was designed to be a simple way to retrieve and update your sources. |
CVS $B$O!"%=!<%9$r<u$1<h$j!"$=$l$r99?7$9$k$?$a$NC1=c$JJ}K!$G$"$k$3$H$rL\;X$7$F(B |
You must first decide whether you want to track <i>-current</i> or a |
$B@_7W$5$l$?$b$N$G$9!#$^$::G=i$K!"DI$$$+$1$k$N$O(B <i>-current</i> $B$J$N$+!"(B |
<a href="stable.html">patch branch</a>. |
<a href="stable.html">$B%Q%C%A%V%i%s%A(B</a> $B$J$N$+$r7h$a$kI,MW$,$"$j$^$9!#(B |
The current tree has all of the up to the minute changes, |
-current $B%D%j!<$K$O:Y$+$$JQ99$N$9$Y$F$,4^$^$l$F$*$j!"(B |
whereas a patch branch contains a formal release plus the patches |
$B%Q%C%A%V%i%s%A$O!"@5<0%j%j!<%9$K2C$(!"(B<a href="errata.html">errata</a> |
from the <a href="errata.html">errata</a> and lesser issues already applied. |
$B$N=$@5%Q%C%A$d1F6A$N>.$5$JLdBj$N=$@5$,4{$KE,MQ$5$l$?$b$N$H$J$C$F$$$^$9!#(B |
For more information on these "flavors" of OpenBSD, see |
$B$3$N$h$&$J(B OpenBSD $B$N(B"$B<oN`(B"$B$K$D$$$F$O!"(B |
<a href="faq/faq5.html#Flavors">here</a>. |
<a href="faq/faq5.html#Flavors">$B$3$3(B</a>$B$r$4Mw$/$@$5$$!#(B |
|
|
<p>Once you have decided which tree to follow, you must choose which Anonymous |
<p>$B$$$C$?$s!"DI$$$+$1$k%D%j!<$r7h$a$?$i!"$I$N(B Anonymous CVS $B%5!<%P$r(B |
CVS server you are going to use. A list of these servers is |
$B;H$&$N$+$rA*Br$7$J$1$l$P$J$j$^$;$s!#$3$l$i$N%5!<%P$N%j%9%H$O!"(B |
<a href="#CVSROOT">below</a>. |
<a href="#CVSROOT">$B$3$N%Z!<%8$N2<$N$[$&(B</a>$B$K$"$j$^$9!#(B |
|
|
<p> |
<p> |
Once you have chosen which <a href="#CVSROOT">Anonymous CVS Server</a> you will |
$B$I$N(B <a href="#CVSROOT">Anonymous CVS $B%5!<%P(B</a>$B$r;H$&$N$+$rA*Br$7$?$i!"(B |
use, you can start using cvs. For those of you |
cvs $B$r;H$$;O$a$k$3$H$,$G$-$^$9!#(B |
who have CDs you can start with the CVS checkout that is on the CD by using |
CD $B$r$*;}$A$N?M$O!"<+J,$N%7%9%F%`$K%=!<%9$r<hF@$9$k$?$a$K!"(B |
the method <a href="#starting">above</a> to get the sources onto your system. |
<a href="#starting">$B>e5-(B</a>$B$NJ}K!$G(B CD $B>e$N(B CVS $B$N%A%'%C%/%"%&%H$G(B cvs $B$r;H$$;O$a$i$l$^$9!#(B |
If you don't have a CD handy, use the method below to checkout the sources. |
$B$b$7!"(BCD $B$r$*;}$A$G$J$$$J$i!"%=!<%9$r%A%'%C%/%"%&%H$9$k$?$a$K<!$NJ}K!$r$*;H$$$/$@$5$$!#(B |
This method puts the OpenBSD source tree into <i>/usr/src</i>. |
$B$3$NJ}K!$O!"(BOpenBSD $B$N%=!<%9$r(B <i>/usr/src</i> $B$KCV$/$?$a$N$b$N$G$9!#(B |
|
|
<pre> |
<pre> |
# <b>cd /usr; cvs checkout -P src</b> |
# <b>cd /usr; cvs checkout -P src</b> |
</pre> |
</pre> |
|
|
<p> |
<p> |
The above will checkout the <i>current</i> source tree. Many of you will |
$B>e5-$NJ}K!$O!"(B<i>-current</i> $B$N%=!<%9%D%j!<$r%A%'%C%/%"%&%H$9$k$3$H$K$J$j$^$9!#B?$/$N?M$K(B |
only want the patch branch sources. To checkout a patch branch, you must |
$B$H$C$F$O!"%Q%C%A%V%i%s%A$N%=!<%9$,M_$7$$$3$H$G$7$g$&!#$3$N%Q%C%A%V%i%s%A$r%A%'%C%/%"%&%H(B |
specify a tag along with your command. Example: |
$B$9$k$?$a$K$O!"<!$NNc$N$h$&$K%3%^%s%I%i%$%s>e$G%?%0$r;XDj$9$kI,MW$,$"$j$^$9!#(B |
|
|
<pre> |
<pre> |
# <b>cd /usr; cvs checkout -P -rOPENBSD_3_9 src</b> |
# <b>cd /usr; cvs checkout -P -rOPENBSD_3_9 src</b> |
</pre> |
</pre> |
<p> |
<p> |
Or OPENBSD_3_8 for 3.8, etc. |
$B$3$l$O!"(B3.8 $B$N>l9g$J$i!"(BOPENBSD_3_8 $B$H$J$j$^$9!#(B |
|
|
<p> The OPENBSD_3_9 tag contains the release sources and |
<p>OPENBSD_3_9 $B$N%?%0$O!"%j%j!<%9$N%=!<%9$HE,MQ:Q$N(B errata |
errata already applied. |
$B$r4^$s$G$$$^$9!#(B |
|
|
<h3><a name="CVSROOT"><font color="#0000e0">Available Anonymous CVS Servers |
<h3><a name="CVSROOT"><font color="#0000e0">$BMxMQ2DG=$J(B Anonymous CVS $B%5!<%P(B |
</font></a></h3> |
</font></a></h3> |
|
|
<p> |
<p> |
<em>Please see the note about <a href="#WHICH">ssh vs. rsh</a> below!</em> |
<em>$B0J2<$N(B <a href="#WHICH">ssh vs. rsh</a> $B$K4X$9$kCm$r8f;2>H$/$@$5$$(B !</em> |
<p> |
<p> |
<ul> |
<ul> |
<li><strong>CVSROOT=anoncvs@anoncvs2.de.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs2.de.openbsd.org:/cvs</strong><br> |
Location: University of Erlangen-Nuremberg, Erlangen, Germany.<br> |
$B=j:_CO(B: University of Erlangen-Nuremberg, Erlangen, Germany<br> |
Maintained by <a href="mailto:grunk@pestilenz.org">Alexander von Gernler</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:grunk@pestilenz.org">Alexander von Gernler</a><br> |
Protocols: ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA) 1024 fc:94:b0:c1:e5:b0:98:7c:58:43:99:76:97:ee:9f:b7<br> |
(RSA) 1024 fc:94:b0:c1:e5:b0:98:7c:58:43:99:76:97:ee:9f:b7<br> |
(DSA) 1024 a9:00:3f:ba:50:81:16:d1:e9:b8:4f:3c:b2:10:e2:6c<br> |
(DSA) 1024 a9:00:3f:ba:50:81:16:d1:e9:b8:4f:3c:b2:10:e2:6c<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs.usa.openbsd.org, anoncvs4.usa.openbsd.org</strong>.<br> |
<strong>anoncvs.usa.openbsd.org$B!"(Banoncvs4.usa.openbsd.org</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Redwood City, CA, USA.<br> |
$B=j:_CO(B: Redwood City, CA, USA<br> |
Maintained by <a href="mailto:millert@openbsd.org">Todd Miller</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:millert@openbsd.org">Todd Miller</a><br> |
Protocols: rsh, ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: rsh$B!"(Bssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 1024 64:de:26:16:c2:ff:1b:c7:24:ed:a4:4a:d7:2f:69:3e<br> |
(RSA1) 1024 64:de:26:16:c2:ff:1b:c7:24:ed:a4:4a:d7:2f:69:3e<br> |
(RSA) 1024 49:67:9a:46:62:8a:3f:4e:b3:63:ca:d6:41:29:2a:2f<br> |
(RSA) 1024 49:67:9a:46:62:8a:3f:4e:b3:63:ca:d6:41:29:2a:2f<br> |
(DSA) 1024 a7:75:49:77:f3:47:d1:3c:5e:65:84:84:3b:03:f1:33<br> |
(DSA) 1024 a7:75:49:77:f3:47:d1:3c:5e:65:84:84:3b:03:f1:33<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs3.usa.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs3.usa.openbsd.org:/cvs</strong><br> |
Location: National Center for Atmospheric Research, Boulder, CO, USA.<br> |
$B=j:_CO(B: National Center for Atmospheric Research, Boulder, CO, USA<br> |
Maintained by <a href="mailto:millert@openbsd.org">Todd Miller</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:millert@openbsd.org">Todd Miller</a><br> |
Protocols: rsh, ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: rsh$B!"(Bssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 1024 34:95:19:c2:b3:e7:61:7b:39:e8:ab:86:37:cd:c4:49<br> |
(RSA1) 1024 34:95:19:c2:b3:e7:61:7b:39:e8:ab:86:37:cd:c4:49<br> |
(RSA) 1024 42:56:39:98:65:05:e7:2a:98:2b:ee:cc:e5:a3:53:ed<br> |
(RSA) 1024 42:56:39:98:65:05:e7:2a:98:2b:ee:cc:e5:a3:53:ed<br> |
(DSA) 1024 e3:e7:83:ef:f6:78:dc:d3:ca:a5:cf:64:c6:b7:4f:43<br> |
(DSA) 1024 e3:e7:83:ef:f6:78:dc:d3:ca:a5:cf:64:c6:b7:4f:43<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@rt.fm:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@rt.fm:/cvs</strong><br> |
Location: Lake in the Hills, IL, USA.<br> |
$B=j:_CO(B: Lake in the Hills, IL, USA<br> |
Maintained by <a href="mailto:jcs@rt.fm">Joshua Stein</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:jcs@rt.fm">Joshua Stein</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA) 1024 54:74:ca:17:d0:07:c3:53:b7:7e:1d:9b:10:bf:04:37<br> |
(RSA) 1024 54:74:ca:17:d0:07:c3:53:b7:7e:1d:9b:10:bf:04:37<br> |
(DSA) 1024 46:78:40:52:7a:18:f9:0e:68:61:b0:27:29:f9:d9:c4<br> |
(DSA) 1024 46:78:40:52:7a:18:f9:0e:68:61:b0:27:29:f9:d9:c4<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs2.at.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs2.at.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs.catai.net</strong>.<br> |
<strong>anoncvs.catai.net</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Vienna, Austria.<br> |
$B=j:_CO(B: Vienna, Austria<br> |
Maintained by <a href="mailto:martin@openbsd.org">Martin Reindl</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:martin@openbsd.org">Martin Reindl</a><br> |
Protocols: ssh, ssh port 2022.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022<br> |
Updated every 2 hours from anoncvs.de.openbsd.org.<br> |
$B99?74V3V(B: anoncvs.de.openbsd.org $B$+$i(B 2 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.org.br:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.org.br:/cvs</strong><br> |
Location: Curitiba, Brazil.<br> |
$B=j:_CO(B: Curitiba, Brazil<br> |
Maintained by <a href="mailto:leonardo@openbsd.org.br">Leonardo Chiquitto Filho</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:leonardo@openbsd.org.br">Leonardo Chiquitto Filho</a><br> |
Protocols: ssh, ssh port 2022.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA) 1024 83:ff:c5:a1:ff:78:50:0a:56:8f:a3:4f:1a:a4:1b:13<br> |
(RSA) 1024 83:ff:c5:a1:ff:78:50:0a:56:8f:a3:4f:1a:a4:1b:13<br> |
(DSA) 1024 03:c1:7d:00:38:4f:91:6d:2f:f5:97:8f:b5:42:2e:00<br> |
(DSA) 1024 03:c1:7d:00:38:4f:91:6d:2f:f5:97:8f:b5:42:2e:00<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs1.ca.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs1.ca.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs.ca.openbsd.org, openbsd.sunsite.ualberta.ca</strong>.<br> |
<strong>anoncvs.ca.openbsd.org, openbsd.sunsite.ualberta.ca</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Edmonton, Canada.<br> |
$B=j:_CO(B: Edmonton, Canada<br> |
Maintained by <a href="mailto:beck@ualberta.ca">Bob Beck</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:beck@ualberta.ca">Bob Beck</a><br> |
Protocols: ssh, rsh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Brsh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@cvs.openbsd.cz:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@cvs.openbsd.cz:/cvs</strong><br> |
Location: Prague, Czech Republic.<br> |
$B=j:_CO(B: Prague, Czech Republic<br> |
Maintained by <a href="mailto:vlada@openbsd.cz">Vladimir Kotal</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:vlada@openbsd.cz">Vladimir Kotal</a><br> |
Protocols: ssh, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bpserver<br> |
Updated every 4 hours.<br> |
$B99?74V3V(B: 4 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.skyrock.com:/cvs/openbsd</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.skyrock.com:/cvs/openbsd</strong><br> |
Location: Paris, France.<br> |
$B=j:_CO(B: Paris, France<br> |
Maintained by <a href="mailto:anoncvs@pureftpd.org">Frank Denis</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:anoncvs@pureftpd.org">Frank Denis</a><br> |
Protocols: ssh, ssh port 2022.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022<br> |
Updated every 2 hours from anoncvs3.usa.openbsd.org.<br> |
$B99?74V3V(B: anoncvs3.usa.openbsd.org $B$+$i(B 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 2048 4d:60:d8:ab:bc:c6:29:64:b4:45:1b:98:2b:fe:40:7e<br> |
(RSA1) 2048 4d:60:d8:ab:bc:c6:29:64:b4:45:1b:98:2b:fe:40:7e<br> |
(RSA) 2048 01:f1:c4:25:c8:e3:0d:0e:7a:33:94:14:f4:9d:98:5f<br> |
(RSA) 2048 01:f1:c4:25:c8:e3:0d:0e:7a:33:94:14:f4:9d:98:5f<br> |
(DSA) 2048 73:36:41:46:fd:0a:67:df:e6:c1:4a:6b:02:61:f4:61<br> |
(DSA) 2048 73:36:41:46:fd:0a:67:df:e6:c1:4a:6b:02:61:f4:61<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.de.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.de.openbsd.org:/cvs</strong><br> |
Host also known as <strong>grappa.unix-ag.uni-kl.de</strong>.<br> |
<strong>grappa.unix-ag.uni-kl.de</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: University of Kaiserslautern, Kaiserslautern, Germany.<br> |
$B=j:_CO(B: University of Kaiserslautern, Kaiserslautern, Germany<br> |
Maintained by <a href="mailto:naddy@openbsd.org">Christian Weisgerber</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:naddy@openbsd.org">Christian Weisgerber</a><br> |
Protocols: ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 6 hours.<br> |
$B99?74V3V(B: 6 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA) 1024 cf:a9:ee:a4:60:5d:66:00:50:5b:fd:d3:72:04:14:a3<br> |
(RSA) 1024 cf:a9:ee:a4:60:5d:66:00:50:5b:fd:d3:72:04:14:a3<br> |
(DSA) 1024 78:d4:19:da:df:6f:c0:14:7f:4a:55:2a:e9:82:5f:e4<br> |
(DSA) 1024 78:d4:19:da:df:6f:c0:14:7f:4a:55:2a:e9:82:5f:e4<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@mirror.osn.de:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@mirror.osn.de:/cvs</strong><br> |
Location: Nürnberg, Germany.<br> |
$B=j:_CO(B: Nürnberg, Germany<br> |
Maintained by <a href="mailto:aw@osn.de">Armin Wolfermann</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:aw@osn.de">Armin Wolfermann</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 4 hours.<br> |
$B99?74V3V(B: 4 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA) 1024 f2:73:d2:f6:e3:01:ef:ca:3b:e7:6c:80:b6:bd:bb:84<br> |
(RSA) 1024 f2:73:d2:f6:e3:01:ef:ca:3b:e7:6c:80:b6:bd:bb:84<br> |
(DSA) 1024 fb:33:05:62:96:20:cf:88:7e:10:cb:8d:91:72:57:32<br> |
(DSA) 1024 fb:33:05:62:96:20:cf:88:7e:10:cb:8d:91:72:57:32<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.silihost.hu:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.silihost.hu:/cvs</strong><br> |
Location: Budapest, Hungary.<br> |
$B=j:_CO(B: Budapest, Hungary<br> |
Maintained by <a href="mailto:robert@openbsd.org">Robert Nagy</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:robert@openbsd.org">Robert Nagy</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours from anoncvs.de.openbsd.org.<br> |
$B99?74V3V(B: anoncvs.de.openbsd.org $B$+$i(B 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.jp.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.jp.openbsd.org:/cvs</strong><br> |
Host also known as <strong>kankoromochi.econ.nagasaki-u.ac.jp</strong>.<br> |
<strong>kankoromochi.econ.nagasaki-u.ac.jp</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Nagasaki University, Faculty of Economics, Nagasaki, Japan.<br> |
$B=j:_CO(B: Nagasaki University, Faculty of Economics, Nagasaki, Japan<br> |
Maintained by <a href="mailto:sigh@net.nagasaki-u.ac.jp">Suzuki Itoshi</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:sigh@net.nagasaki-u.ac.jp">Suzuki Itoshi</a><br> |
Protocols: ssh, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bpserver<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.lt:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.lt:/cvs</strong><br> |
Location: TVK, Cable TV and Internet Services, Taurage, Lithuania.<br> |
$B=j:_CO(B: TVK, Cable TV and Internet Services, Taurage, Lithuania<br> |
Maintained by <a href="mailto:helpas@ebox.lt">Donatas Budvytis</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:helpas@ebox.lt">Donatas Budvytis</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours from cvsup.no.openbsd.org.<br> |
$B99?74V3V(B: cvsup.no.openbsd.org $B$+$i(B 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.nl.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.nl.openbsd.org:/cvs</strong><br> |
Host also known as <strong>anoncvs.calyx.nl</strong>.<br> |
<strong>anoncvs.calyx.nl</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Amsterdam, The Netherlands.<br> |
$B=j:_CO(B: Amsterdam, The Netherlands<br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.no.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.no.openbsd.org:/cvs</strong><br> |
Host also known as <strong>cvs.inet.no</strong>.<br> |
<strong>cvs.inet.no</strong> $B$H$$$&JLL>$,$"$j$^$9(B<br> |
Location: Oslo, Norway.<br> |
$B=j:_CO(B: Oslo, Norway<br> |
Maintained by <a href="mailto:cvsadmin@inet.no">Michael Schuldman</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:cvsadmin@inet.no">Michael Schuldman</a><br> |
Protocols: rsh, ssh, ssh port 2022.<br> |
$BBP1~%W%m%H%3%k(B: rsh$B!"(Bssh$B!"(Bssh port 2022<br> |
Updated every 4 hours.<br> |
$B99?74V3V(B: 4 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@openbsd.chem.uw.edu.pl:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@openbsd.chem.uw.edu.pl:/cvs</strong><br> |
Location: Warsaw, Poland.<br> |
$B=j:_CO(B: Warsaw, Poland<br> |
Maintained by <a href="mailto:admin@chem.uw.edu.pl">Piotr Klein</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:admin@chem.uw.edu.pl">Piotr Klein</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.student.pw.edu.pl:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.student.pw.edu.pl:/cvs</strong><br> |
Location: University of Technology, Warsaw, Poland.<br> |
$B=j:_CO(B: University of Technology, Warsaw, Poland<br> |
Maintained by <a href="mailto:dmarcink@elka.pw.edu.pl">Darek Marcinkeiwicz</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:dmarcink@elka.pw.edu.pl">Darek Marcinkeiwicz</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.se.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.se.openbsd.org:/cvs</strong><br> |
Location: Stacken computer club, Stockholm, Sweden.<br> |
$B=j:_CO(B: Stacken computer club, Stockholm, Sweden<br> |
Maintained by <a href="mailto:hin@openbsd.org">Hans Insulander</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:hin@openbsd.org">Hans Insulander</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 3 hours.<br> |
$B99?74V3V(B: 3 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.org.ua:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.openbsd.org.ua:/cvs</strong><br> |
Location: Kiev, Ukraine.<br> |
$B=j:_CO(B: Kiev, Ukraine<br> |
Maintained by <a href="mailto:hunter@mirotel.net">Sergey Smitienko</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:hunter@mirotel.net">Sergey Smitienko</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 6 hours from cvsup.uk.openbsd.org.<br> |
$B99?74V3V(B: cvsup.uk.openbsd.org $B$+$i(B 6 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 1024 4e:c6:f1:4d:df:6f:46:61:cc:9d:0b:d6:f2:ae:44:56<br> |
(RSA1) 1024 4e:c6:f1:4d:df:6f:46:61:cc:9d:0b:d6:f2:ae:44:56<br> |
(RSA) 1024 2d:b0:e6:43:8c:cf:76:14:7d:3c:52:5e:a9:2a:56:ae<br> |
(RSA) 1024 2d:b0:e6:43:8c:cf:76:14:7d:3c:52:5e:a9:2a:56:ae<br> |
(DSA) 1024 63:7c:8c:ce:31:c9:0a:ce:05:9e:1c:8b:f2:18:77:48<br> |
(DSA) 1024 63:7c:8c:ce:31:c9:0a:ce:05:9e:1c:8b:f2:18:77:48<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@mirror.sese.asu.edu:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@mirror.sese.asu.edu:/cvs</strong><br> |
Location: Arizona State University, Tempe, AZ, USA.<br> |
$B=j:_CO(B: Arizona State University, Tempe, AZ, USA<br> |
Maintained by <a href="mailto:Mark.Peoples@asu.edu">Mark Peoples</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:Mark.Peoples@asu.edu">Mark Peoples</a><br> |
Protocols: ssh.<br> |
$BBP1~%W%m%H%3%k(B: ssh<br> |
Updated every 4 hours from anoncvs3.usa.openbsd.org.<br> |
$B99?74V3V(B: anoncvs3.usa.openbsd.org $B$+$i(B 4 $B;~4V(B<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@mirror.sg.depaul.edu:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@mirror.sg.depaul.edu:/cvs</strong><br> |
Location: DePaul University, Chicago, IL, USA.<br> |
$B=j:_CO(B: DePaul University, Chicago, IL, USA<br> |
Maintained by <a href="mailto:mirror-admin@sg.depaul.edu">Eric Pancer</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:mirror-admin@sg.depaul.edu">Eric Pancer</a><br> |
Protocols: ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: ssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 1024 5b:1c:cb:b7:5f:82:82:cc:af:13:21:a4:2c:c2:55:6b<br> |
(RSA1) 1024 5b:1c:cb:b7:5f:82:82:cc:af:13:21:a4:2c:c2:55:6b<br> |
(RSA) 1024 18:0f:97:2a:cf:6c:7f:d4:ca:2b:bc:c8:b9:56:2b:86<br> |
(RSA) 1024 18:0f:97:2a:cf:6c:7f:d4:ca:2b:bc:c8:b9:56:2b:86<br> |
(DSA) 1024 65:cb:ce:7c:3e:29:5c:82:0b:9d:fa:b7:bb:e0:4b:47<br> |
(DSA) 1024 65:cb:ce:7c:3e:29:5c:82:0b:9d:fa:b7:bb:e0:4b:47<br> |
<p> |
<p> |
<li><strong>CVSROOT=anoncvs@anoncvs.nyc.openbsd.org:/cvs</strong><br> |
<li><strong>CVSROOT=anoncvs@anoncvs.nyc.openbsd.org:/cvs</strong><br> |
Location: New York Internet, New York, NY, USA.<br> |
$B=j:_CO(B: New York Internet, New York, NY, USA<br> |
Maintained by <a href="mailto:mickey@openbsd.org">Michael Shalayeff</a>.<br> |
$BJ]<iC4Ev(B:<a href="mailto:mickey@openbsd.org">Michael Shalayeff</a><br> |
Protocols: rsh, ssh, ssh port 2022, pserver.<br> |
$BBP1~%W%m%H%3%k(B: rsh$B!"(Bssh$B!"(Bssh port 2022$B!"(Bpserver<br> |
Updated every 2 hours.<br> |
$B99?74V3V(B: 2 $B;~4V(B<br> |
SSH fingerprints:<br> |
SSH fingerprints:<br> |
(RSA1) 1024 ff:97:fc:34:c6:09:7f:b2:bd:31:4e:d5:51:ce:f3:44<br> |
(RSA1) 1024 ff:97:fc:34:c6:09:7f:b2:bd:31:4e:d5:51:ce:f3:44<br> |
(RSA) 1024 05:ac:be:be:f8:f6:ab:63:5e:80:6c:be:d3:31:41:cd<br> |
(RSA) 1024 05:ac:be:be:f8:f6:ab:63:5e:80:6c:be:d3:31:41:cd<br> |
|
|
</ul> |
</ul> |
|
|
<p> |
<p> |
<em>Note:</em> If your server is listed on here with inaccurate or |
<em>$BCm(B:</em> $B$b$7!"$"$J$?$N%5!<%P$,!"IT@53N$J>pJs$dCN$i$J$$>pJs$G(B |
unknown information, please contact |
$B$3$3$K%j%9%H%"%C%W$5$l$F$$$?>l9g!"(B |
<a href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a> |
<a href="mailto:beck@openbsd.org"><tt>beck@openbsd.org</tt></a>$B$K8fO"Mm$/$@$5$$!#(B |
|
|
<p> |
<p> |
You may want to use |
$B$"$J$?$O!"$I$N%5!<%P$,:G$b<+J,$K6a$$$H$3$m$K$"$k$N$+$r8+$D$1$k$?$a$K!"(B |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8&format=html">traceroute(8)</a> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8&format=html">traceroute(8)</a> |
to find out which server is nearest you. |
$B$r;H$$$?$$$H;W$&$+$bCN$l$^$;$s!#(B |
Problems with a server should be reported to the <b>maintainer</b> of the |
$B%5!<%P$K4X$9$kLdBj$O!"(B |
server in question. |
$BLdBj$N%5!<%P$N(B<b>$B%a%s%F%J(B</b>$B$KJs9p$9$Y$-$G$9!#(B |
|
|
<h3><a name="CRYPTO"><font color="#0000e0">Getting crypto sources through |
<h3><a name="CRYPTO"><font color="#0000e0">cvs(1) |
cvs(1)</font></a></h3> |
$B$r;H$C$F$N0E9f%=!<%9$N<hF@(B</font></a></h3> |
|
|
<p> |
<p> |
<strong>IMPORTANT NOTE:</strong> |
<strong>$B=EMW$JCm0U;v9`(B:</strong> |
There are a few issues relating to cryptographic software that everyone |
$BC/$b$,CN$C$F$*$/$Y$-$3$H$H$7$F!"0E9f%=%U%H%&%'%"$K4X$7$F$O(B |
should be aware of: |
$B<c43$NLdBj$,$"$j$^$9!#(B |
<ul> |
<ul> |
<li>The OpenBSD sources are from Canada. |
<li>OpenBSD $B$N%=!<%9$O%+%J%@$+$i$N$b$N(B |
As |
$B$J$N$G!"(B |
<a href="http://www.efc.ca/pages/doc/crypto-export.html"> |
<a href="http://www.efc.ca/pages/doc/crypto-export.html"> |
researched by a Canadian individual</a> |
$B%+%J%@$N8D?M$K$h$C$F8&5f$5$l$?$b$N(B</a>$B$H$7$F!"(B |
and as |
$B$^$?!"(B |
<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> |
$B%+%J%@$NM"=P@)8B%j%9%H$N5-=R(B</a>$B$K$"$k$h$&$K!"(B |
it is legal to export crypto software from Canada to the world. |
$B%+%J%@$+$i@$3&$K8~$1$F$N0E9f%=%U%H%&%'%"$NM"=P$O9gK!E*$J$b$N$G$9!#(B |
<p> |
<p> |
<li>However, if you are outside the USA or Canada, you should not |
<li>$B$7$+$7$J$,$i!"$"$J$?$,!"JF9q$d%+%J%@0J30$NCO0h$K=;$s$G$$$k$N$J$i!"(B |
fetch the cryptographic sections of the OpenBSD sources from an |
$B$"$J$?$OJF9qFb$K$"$k(B Anonymous CVS $B%5!<%P$+$i(B OpenBSD $B$N%=!<%9$N(B |
anoncvs server located in the USA. The files in question are... |
$B0E9f%;%/%7%g%s$r;}$C$F$$$/$Y$-$G$O$"$j$^$;$s!#LdBj$N%U%!%$%k$O<!$N$H$*$j$G$9!#(B |
<ul> |
<ul> |
<li>src/kerberosIV/* |
<li>src/kerberosIV/* |
<li>src/kerberosV/* |
<li>src/kerberosV/* |
|
|
<li>XF4/xc-old/lib/Xdmcp/Wraphelp.c |
<li>XF4/xc-old/lib/Xdmcp/Wraphelp.c |
<li>XF4/xc/lib/Xdmcp/Wraphelp.c |
<li>XF4/xc/lib/Xdmcp/Wraphelp.c |
</ul> |
</ul> |
Because of US Dept. of Commerce policy, |
$BJF9q$N(B ITAR $B73<{IJ%j%9%H$K$h$C$F!"0E9f%=%U%H%&%'%"$O!"(B |
crypto software may only be exported to Canada from the USA. |
$BJF9q$+$i%+%J%@$@$1$KBP$7$FM"=P$5$l$?$b$N$+$bCN$l$J$$$N$G$9!#(B |
</ul> |
</ul> |
|
|
<h3><a name="EXAMPLE"><font color="#0000e0">Example usages for cvs(1)</font> |
<h3><a name="EXAMPLE"><font color="#0000e0">cvs(1) $B$N;HMQNc(B</font> |
</a></h3> |
</a></h3> |
|
|
<p> |
<p> |
NOTICE: If you want to update a branch (such as a patch branch) |
$BCm0U(B: $B$b$7!"(B($B%Q%C%A%V%i%s%A$N$h$&$J(B) $B%V%i%s%A$r(B <i>-current</i> $B$K99?7$7$?$$>l9g!"(B |
to <i>current</i>, you would add the <code>-A</code> |
<code>-A</code> $B%U%i%0$r(B cvs $B$KDI2C$9$k$3$H$,$G$-$^$9$,!"$3$N%U%i%0$OB>$K$O$[$H$s$I(B |
flag to cvs, but this flag is of little use otherwise. Some older |
$B;H$$F;$,$J$$$b$N$G$9!#8EL\$N%P!<%8%g%s$N%P!<%8%g%s$N(B OpenBSD $B$N%I%-%e%a%s%F!<%7%g%s$G$O!"(B |
versions of the OpenBSD documentation recommended use of this flag |
$BB?$/$NNc$NCf$G!"$3$N%U%i%0$N;HMQ$,?d>)$5$l$F$$$^$7$?!#2f!9$O:GAa!"@dBP$KI,MW$G$J$$8B$j$O!"(B |
in many examples. We no longer recommend this flag unless absolutely necessary. |
$B$3$N%U%i%0$r?d>)$7$F$$$^$;$s!#(B |
|
|
<p> |
<p> |
A sample use of an anoncvs server would be: |
Anonymous CVS $B%5!<%P$N;HMQK!$NNc$O<!$N$H$*$j$G$9!#(B |
<pre> |
<pre> |
$ <strong>cd /tmp</strong> |
$ <strong>cd /tmp</strong> |
$ <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/sys/arch/sparc</strong> |
$ <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/sys/arch/sparc</strong> |
[copies the files from the repository to your machine] |
[$B%j%]%8%H%j$+$i$"$J$?$N%^%7%s$X%U%!%$%k$r%3%T!<(B] |
$ <strong>cd src/sys/arch/sparc</strong> |
$ <strong>cd src/sys/arch/sparc</strong> |
$ <strong>cvs log locore.s</strong> |
$ <strong>cvs log locore.s</strong> |
[shows the commit log for the chosen file] |
[$BA*Br$7$?%U%!%$%k$N%3%_%C%H%m%0$rI=<((B] |
$ <strong>cvs diff -bc -r1.1 -r1.5 locore.s</strong> |
$ <strong>cvs diff -bc -r1.1 -r1.5 locore.s</strong> |
[shows the changes between revisions 1.1 and rev 1.5] |
[$B%j%S%8%g%s(B 1.1 $B$H%j%S%8%g%s(B 1.5 $B$H$N4V$NJQ99E@$rI=<((B] |
</pre> |
</pre> |
|
|
<p> |
<p> |
<a name="pserver">In order to use a cvs ``pserver'' (a direct TCP connection |
<a name="pserver">cvs $B$r(B ``pserver'' (ssh $B$d(B rsh $B$r;HMQ$9$kBe$o$j$ND>@\$N(B TCP $B@\B3(B) |
instead of using ssh or rsh) you must login once:</a> |
$B$G;HMQ$9$k>l9g$K$O!"$$$C$?$s(B login $B$7$J$1$l$P$J$j$^$;$s!#(B</a> |
|
|
<pre> |
<pre> |
$ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs login</strong> |
$ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs login</strong> |
(Logging in to anoncvs@anoncvs1.ca.openbsd.org) |
(anoncvs@anoncvs1.ca.openbsd.org $B$X$N(B login) |
CVS password: <strong>anoncvs</strong> |
CVS password: <strong>anoncvs</strong> |
[This writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] |
[$B$3$N9T$r(B ~/.cvspass $B$K=q$/(B ($B%U%!%$%kL>$O(B CVS_PASSFILE $B$,%*!<%P!<%i%$%I$7$^$9(B)$B!#(B] |
[An example line from my ~/.cvspass after typing 'blah' for the above ] |
[$B>e5-$K$*$$$F!"(B'blah' $B$H%?%$%W$7$?8e$N;d$N(B ~/.cvspass $BFb$N9T$N0lNc(B ] |
[password is: ] |
[password is: ] |
[:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ] |
[:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ] |
[After logging in ONCE every other use of the above CVSROOT will work. ] |
[$B0lEY(B login $B$7$?8e$O!"B>$N$9$Y$F$N>e5-$N(B CVSROOT $B$,F0$/$h$&$K$J$k$G$7$g$&!#(B ] |
$ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs get ksrc-i386 ksrc-common</strong> |
$ <strong>cvs -d :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs get ksrc-i386 ksrc-common</strong> |
[Allows you to retrieve ONLY that necessary to rebuild an i386 kernel. ] |
[$B$"$J$?$O!"(Bi386 $B%+!<%M%k$r:F9=C[$9$k$N$KI,MW$J$b$N$@$1!"<u$1<h$k$3$H$,$G$-$^$9!#(B] |
</pre> |
</pre> |
|
|
<p> |
<p> |
Here is how someone using anoncvs regularly would update his |
Anonymous CVS $B$r;HMQ$9$k?M$,!"IaDL$K<+J,$N%=!<%9%D%j!<$r99?7(B |
source tree: |
$B$9$k$K$O!"(B |
<ul><li>First, start out by `get'-ing an initial tree: |
<ul><li>$B$^$:!"=i4|$N%D%j!<$r(B `get' $B$7$^$9!#(B |
|
|
<p> (If you are following <i>current</i>): |
<p> ($B$b$7!"(B<i>-current</i> $B$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src</strong> |
</pre> |
</pre> |
|
|
<p> (If you are following the patch branch for 3.9): |
<p> ($B$b$7!"(B3.9 $B$N%Q%C%A%V%i%s%A$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_3_9 -P src</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_3_9 -P src</strong> |
</pre> |
</pre> |
|
|
<li> Anytime afterwards, to `update' this tree: |
<li> $B$=$N8e!"$$$D$G$b$3$N%D%j!<$r(B `update' $B$9$k$K$O(B: |
<p> (If you are following <i>current</i>): |
<p> ($B$b$7!"(B<i>-current</i> $B$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -q up -Pd</strong> |
# <strong>cvs -q up -Pd</strong> |
</pre> |
</pre> |
|
|
<p> (If you are following the patch branch for 3.9): |
<p> ($B$b$7!"(B3.9 $B$N%Q%C%A%V%i%s%A$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -q up -rOPENBSD_3_9 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_3_9 -Pd</strong> |
</pre> |
</pre> |
|
|
Every time you ran this it would synchronize your /usr/src tree. It would |
$B$3$l$r<B9T$9$k$4$H$K!"$$$D$G$b<+J,$N(B /usr/src $B%D%j!<$rF14|$5$;$k$G$7$g$&!#$3$l$K(B |
not destroy any of your local changes, rather it would attempt to merge |
$B$h$C$F$"$J$?$N%m!<%+%k$JJQ99$,2u$5$l$k$3$H$O$J$/!"$`$7$m!"JQ99$r%^!<%8$7$h$&$H(B |
changes in. |
$B;n$_$^$9!#(B |
|
|
<p> |
<p> |
<li> NOTE: |
<li> $BCm(B: |
If you are updating a source tree that you initially fetched |
$B$b$7!":G=i$K0[$J$k%5!<%P$+$i;}$C$F$-$?!"$"$k$$$O(B CD $B$+$i;}$C$F$-$?%=!<%9%D%j!<$r99?7$7$h$&$H(B |
from a different server, or from a CD, you <strong>must</strong> |
$B$9$k$N$G$7$?$i!"(B<em>-d anoncvs@anoncvs.ca.openbsd.org:/cvs</em> $B%*%W%7%g%s$r(B cvs $B$N(B |
add the <em>-d anoncvs@anoncvs.ca.openbsd.org:/cvs</em> options to cvs. |
$B%3%^%s%I%i%$%s$KDI2C$9$k(B<strong>$BI,MW$,$"$j$^$9(B</strong>$B!#(B |
<pre> |
<pre> |
# <strong>cd /usr/src</strong> |
# <strong>cd /usr/src</strong> |
# <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd</strong> |
# <strong>cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd</strong> |
|
|
</ul> |
</ul> |
|
|
<p> |
<p> |
To <a name="ports">use</a> <a href="ports.html">ports</a>, it is similar to src: |
<a href="ports.html">ports</a> $B$r(B<a name="ports">$B;H$&(B</a>$B$N$b!"(Bsrc $B$HF1MM$G$9!#(B |
<ul><li> |
<ul><li> |
<p> (If you are following <i>current</i>): |
<p> ($B$b$7!"(B<i>-current</i> $B$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports</strong> |
</pre> |
</pre> |
<p> (If you are following the patch branch for 3.9): |
<p> ($B$b$7!"(B3.9 $B$N%Q%C%A%V%i%s%A$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_3_9 -P ports</strong> |
# <strong>cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_3_9 -P ports</strong> |
</pre> |
</pre> |
<li> Anytime afterwards, to `update' this tree: |
<li> $B$=$N8e!"$$$D$G$b$3$N%D%j!<$r(B `update' $B$9$k$K$O(B: |
<p> (If you are following <i>current</i>): |
<p> ($B$b$7!"(B<i>-current</i> $B$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr/ports</strong> |
# <strong>cd /usr/ports</strong> |
# <strong>cvs -q up -Pd</strong> |
# <strong>cvs -q up -Pd</strong> |
</pre> |
</pre> |
<p> (If you are following the patch branch for 3.9): |
<p> ($B$b$7!"(B3.9 $B$N%Q%C%A%V%i%s%A$rDI$$$+$1$F$$$k$N$J$i(B): |
<pre> |
<pre> |
# <strong>cd /usr/ports</strong> |
# <strong>cd /usr/ports</strong> |
# <strong>cvs -q up -rOPENBSD_3_9 -Pd</strong> |
# <strong>cvs -q up -rOPENBSD_3_9 -Pd</strong> |
</pre> |
</pre> |
</ul> |
</ul> |
|
|
In the above example, <i>-q</i> is optional, only intended to minimize |
$B>e5-$NNc$K$*$$$F!"(Bcvs $B$N=PNO$r:G>.2=$5$;$k$?$a$K!"(B<i>-q</i> $B%*%W%7%g%s$b(B |
cvs's output. For those who like to see screenfulls of output, it |
$B;XDj2DG=$G$9!#2hLL$$$C$Q$$$N=PNO$,$*9%$_$N8~$-$K$O!"$3$l$N%*%W%7%g%s$O(B |
can be omitted. |
$B30$7$F$*$$$?J}$,9,$;$G$7$g$&!#(B |
|
|
<p> |
<p> |
or to make a diff of a locally patched module (here <i>cd.c</i>) to include with |
$B$^$?!"%m!<%+%k$K%Q%C%A$rEv$F$?%b%8%e!<%k(B ($B$3$3$G$O(B <i>cd.c</i>) $B$r%P%0%l%]!<%H$K(B |
a bug report: |
$B4^$a$k$?$a$K(B diff $B$r<h$k$K$O!"(B |
<pre> |
<pre> |
# <strong>cd /usr</strong> |
# <strong>cd /usr</strong> |
# <strong>cvs diff -u src/sys/scsi/cd.c > /tmp/patch</strong> |
# <strong>cvs diff -u src/sys/scsi/cd.c > /tmp/patch</strong> |
</pre> |
</pre> |
|
|
<p> |
<p> |
The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
(CVS $B%=!<%9$K4^$^$l$F$$$k(B) |
cvs(1) man page</a> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&format=html"> |
(included with the CVS sources) has much more |
cvs(1) $B%^%K%e%"%k%Z!<%8(B</a>$B$K$O!"(B |
information about how CVS can be used. |
$B$b$C$HB?$/$N(B CVS $B$N;H$$J}$K$D$$$F$N>pJs$,$"$j$^$9!#(B |
|
|
<p> |
<p> |
<strong>Warning:</strong> |
<strong>$B7Y9p(B:</strong> |
When using cvs you should take care that your current directory is either |
cvs $B$r;HMQ$9$k>l9g$K$O!"%+%l%s%H%G%#%l%/%H%j$,!";2>H$7$F$$$k%D%j!<$N(B root $B$+!"(B |
the root of the tree you are referencing or in a separate place such as /tmp. |
/tmp $B$N$h$&$JFHN)$7$?>l=j$+$N$I$A$i$+$K$J$C$F$$$k$h$&!"Cm0U$9$Y$-$G$7$g$&!#(B |
Some commands such as "get" can create an arbitrary sub-tree in the current |
"get" $B$N$h$&$J%3%^%s%I$N>l9g!"%+%l%s%H%G%#%l%/%H%j$N2<$K!"G$0U$N%5%V%D%j!<$r:n@.(B |
directory, and a subsequent update will recursively flesh out this sub-tree. |
$B$G$-$F$7$^$$$^$9$N$G!"$3$l$KB3$/99?7$O:F5"E*$K$3$N%5%V%D%j!<$r99?7$7$F$$$/$G$7$g$&!#(B |
|
|
<p> |
<p> |
The anoncvs service gives fledgling developers a chance to learn CVS |
Anonymous CVS $B%5!<%S%9$O!"7P83$N@u$$3+H/<T$K$H$C$F!"(BCVS $B$N%*%Z%l!<%7%g%s$r(B |
operation and get thoroughly involved in the development process |
$B3X$S!"(B"commit" $B%"%/%;%9$r7P83$9$k$^$G$N!"$H$F$bJ#;($J3+H/%W%m%;%9$r7P83$9$k$?$a$N(B |
before getting "commit" access -- as a result of showing useful |
$B@d9%$N%A%c%s%9$rDs6!$7$F$$$^$9$,!"9bIJ<A$GM-MQ$J5;=Q$r8+$;$k$3$H$N7k2L$H$7$F!"(B |
skills and high quality results they will naturally later be given |
$BH`$i$O$$$:$l<+A3$K3+H/<T$H$7$F$N%"%/%;%9$rM?$($i$l$k$h$&$K$J$k$G$7$g$&!#(B |
developer access. As well, people providing patches can create |
$BF1MM$K!"%Q%C%A$rDs6!$9$k?M$O!"(BCVS $B%D%j!<$K4X78$9$k<+J,$N(B "diff" $B$r:n@.$9$k$3$H$,(B |
their "diff"s relative to the CVS tree, which will ease integration. |
$B$G$-$^$9$,!"$=$l$O!"4JC1$KE}9g$G$-$k$b$N$G$7$g$&!#(B |
|
|
|
|
<h3><a name="WHICH"><font color="#0000e0">Use rsh(1) or ssh(1)?</font></a></h3> |
<h3><a name="WHICH"><font color="#0000e0">rsh(1) $B$H(B ssh(1) $B$r$I$A$i$r;H$&$+(B ?</font></a></h3> |
|
|
CVS supports three access methods between the CVS server and the CVS |
CVS $B$O!"%5!<%P!&%/%i%$%"%s%H4V$G(B 3 $B<oN`$N%"%/%;%9J}K!$KBP1~$7$F$$$^$9!#(B |
client: |
|
|
|
|
|
<ul> |
<ul> |
<li><b>ssh:</b> Secure Shell can be used to access the anonymous CVS servers. |
<li><b>ssh:</b> anonymous CVS $B%5!<%P$X$N%"%/%;%9$K(B Secure Shell $B$r;H$$$^$9!#(B |
This is the <i>recommended</i> way of doing so, as it is encrypted. |
$B>pJs$,0E9f2=$5$l$k$?$a!"(B<i>$B$*$9$9$a$N(B</i>$BJ}K!$G$9!#(B |
|
|
<li><b>rsh:</b> Remote Shell can be used on some of the servers for users |
<li><b>rsh:</b> <a href="http://www.openssh.com/">ssh</a> $B$r;H$&$3$H$,(B |
who don't have access to <a href="http://www.openssh.com/">ssh</a>. |
$B$G$-$J$$%f!<%68~$1$KMQ0U$5$l$?%5!<%P$K$O!"(BRemote Shell |
|
$B$KBP1~$7$?$b$N$,$"$j$^$9!#(B |
|
|
<li><b>pserver:</b> pserver is primarily useful for users who are behind |
<li><b>pserver:</b> pserver $B$O!">e5-$N(B 2 $B<oN`$NJ}K!$,%U%!%$%"%&%)!<%k$K$h$C$F(B |
firewalls that block the other two connections. |
$B<WCG$5$l$F$7$^$C$F$$$k%f!<%6$K$H$C$FFC$KM-MQ$JJ}K!$G$9!#(B |
</ul> |
</ul> |
|
|
<p> |
<b>$BCm0U(B:</b> rsh $B$r;H$&?M>l9g$O!":G=i$K(B <tt>CVS_RSH</tt> $B4D6-JQ?t$K(B |
<b>NOTE:</b> For users wishing to use rsh, you must first set the |
rsh(1) $B%W%m%0%i%`$N%Q%9L>$r@_Dj$9$kI,MW$,$"$j$^$9!#(B |
<tt>CVS_RSH</tt> environment variable to point to the rsh(1) program: |
|
|
|
<ul> |
<ul> |
<li>For Korn/Bourne shells: |
<li>Korn/Bourne $B%7%'%k$N>l9g(B: |
<pre> |
<pre> |
$ <b>export CVS_RSH=/usr/bin/rsh</b> |
$ <b>export CVS_RSH=/usr/bin/rsh</b> |
</pre> |
</pre> |
<li>For csh/tcsh: |
<li>csh/tcsh $B$N>l9g(B: |
<pre> |
<pre> |
% <b>setenv CVS_RSH /usr/bin/rsh</b> |
% <b>setenv CVS_RSH /usr/bin/rsh</b> |
</pre> |
</pre> |
</ul> |
</ul> |
|
|
<p> |
<p> |
By default, OpenBSD's CVS client uses ssh ("secure shell": |
OpenBSD $B$N(B CVS $B%/%i%$%"%s%H$O%G%U%)%k%H$G!"(BCVS $B%5!<%P$H$N$d$j<h$j$K(B ssh ("secure shell": |
<a href="http://www.openssh.com/">OpenSSH</a>) to talk to the CVS server. |
<a href="http://www.openssh.com/">OpenSSH</a>) $B$r;HMQ$7$^$9!#(B |
|
|
<p> |
<p> |
Many of the CVS sites no longer support rsh for security reasons. Local |
$BB?$/$N(B CVS $B%5%$%H$O!":GAa%;%-%e%j%F%#>e$NM}M3$+$i(B rsh $B$r%5%]!<%H$7$F$$$^$;$s!#(B |
problems like firewalls or imperfect protocol emulators such as slirp may |
$B%U%!%$%"%&%)!<%kEy$N%m!<%+%k$JLdBj$d!"(Bslirp $B$N$h$&$JIT40A4$J%W%m%H%3%k%(%_%e%l!<%?(B |
also hinder rsh usage. However, if rsh is desired, one must set the |
$B$b$^$?!"(Brsh $B$NMxMQ$N<YKb$K$J$k$+$bCN$l$^$;$s!#$7$+$7!"$=$l$G$b!"$b$7!"(Brsh $B$r;H$&I,MW$,(B |
<var>CVS_RSH</var> environment variable to point to rsh |
$B$"$k>l9g$K$O!"(B<var>CVS_RSH</var> $B4D6-JQ?t$K(B rsh $B$r;XDj$7$J$1$l$P$J$j$^$;$s(B |
(typically <strong>/usr/bin/rsh</strong>). |
($BE57?E*$K$O(B <strong>/usr/bin/rsh</strong> $B$G$9(B)$B!#(B |
|
|
<p> |
<p> |
If local policy prevents outgoing connections to ssh's default port of 22, |
$B$b$7!"%m!<%+%k$J%]%j%7!<$,(B ssh $B$N%G%U%)%k%H%]!<%H$N(B 22 $BHV$N30$H$N@\B3$r<YKb$9$k>l9g!"(B |
port 2022 may be used in its place. Note, however, that not all anoncvs |
$B%]!<%H(B 2022 $B$,$=$NBe$o$j$K;HMQ$5$l$k$+$bCN$l$^$;$s!#$7$+$7$J$,$i!"$=$l$O$9$Y$F$N(B Anonymous |
servers accept ssh connections on this port. Furthermore, most anoncvs servers |
CVS $B%5!<%P$,$3$N%]!<%H$G$N(B ssh $B@\B3$r<u$1IU$1$k$o$1$G$O$J$$$3$H$KCm0U$9$kI,MW$,$"$j$^$9!#(B |
no longer accept the <strong>none</strong> cipher, as it is disabled in |
$B$5$i$K!"%;%-%e%j%F%#>e$NM}M3$+$i!":G6a$N%P!<%8%g%s$N(B ssh $B$G$O!"0E9f(B<strong>$B$J$7(B</strong> |
recent versions of ssh for security reasons. Also, do not be tempted |
$B$,L58z2=$5$l$F$$$^$9$N$G!"$[$H$s$I$N(B Anonymous CVS $B%5!<%P$O:GAa$3$N@\B3$r<u$1IU$1$^$;$s!#(B |
to turn on compression: CVS already compresses. |
$B$^$?!"(BCVS $B$G$O4{$K05=L$,M-8z$G$9$N$G!"(Bssh $B$G$N05=L$rM-8z$K$7$h$&$H$O$7$^$;$s!#(B |
|
|
<p> |
<p> |
One could specify something like the following in the |
$B>e5-$K=R$Y$?@)8B$dMn$77j$rHr$1$k$?$a$K!"(B |
<strong>$HOME/.ssh/config</strong> configuration file to avoid the pitfalls |
<strong>$HOME/.ssh/config</strong> $B%3%s%U%#%0%l!<%7%g%s%U%!%$%k$J$I$r(B |
and restrictions mentioned above: |
$B;XDj$9$k$3$H$,$G$-$^$9!#(B |
<pre> |
<pre> |
Host anoncvs.ca.openbsd.org |
Host anoncvs.ca.openbsd.org |
Compression no |
Compression no |
|
|
</pre> |
</pre> |
|
|
<p> |
<p> |
CVS is a little noisy starting up; to quiet it a bit you may want to |
CVS $B$r%9%?!<%H$9$k:]$O!">/!9A{!9$7$$$N$G!">/$7@E$+$K$5$;$k$?$a$K!"(B |
do this: |
$B<!$N$h$&$J$3$H$r$7$?$/$J$k$+$bCN$l$^$;$s!#(B |
|
|
<pre> |
<pre> |
<strong>$ export CVS_CLIENT_PORT=-1</strong> |
<strong>$ export CVS_CLIENT_PORT=-1</strong> |
</pre> |
</pre> |
|
|
<p> |
<p> |
<h3><a name="SUP"><font color="#0000e0">Mirroring the CVS repository via |
<h3><a name="SUP"><font color="#0000e0">sup(1) $B$r;H$C$?(B |
sup(1)</font></a></h3> |
CVS $B%j%]%8%H%j$N%_%i!<%j%s%0(B</font></a></h3> |
|
|
<p> |
<p> |
Users wishing to mirror the OpenBSD CVS tree itself may now do so |
OpenBSD $B$N%D%j!<$=$N$b$N$r%_%i!<$7$h$&$H$9$k%f!<%6$O!"(B |
from <em>anoncvs.usa.openbsd.org</em> or <em>anoncvs3.usa.openbsd.org</em> |
<em>anoncvs.usa.openbsd.org</em> $B$d(B <em>anoncvs3.usa.openbsd.org</em> |
(these are different machines). Note that this is the cvs tree, |
($B$3$l$i$O0[$J$k%^%7%s$G$9(B) $B$+$i!"$=$&$7$h$&$H$9$k$+$bCN$l$^$;$s!#$7$+$7!"$3$l$i$O(B |
<b>not</b> a checked out source tree. It is only useful if you |
cvs $B%D%j!<$G$"$j!"%=!<%9%D%j!<$r%A%'%C%/%"%&%H$7$F$$$k$N$G$O(B<b>$B$J$$(B</b>$B$3$H$KCm0U(B |
want to be able to do fast cvs operations (diff, annotate, etc) or |
$B$9$kI,MW$,$"$j$^$9!#$3$l$O!"$b$7!"9bB.$J(B cvs $B%*%Z%l!<%7%g%s(B (diff$B!"(Bannotate $BEy(B) $B$d!"(B |
if you have multiple source trees and you only want to transfer new |
$B$b$7!"J#?t$N%=!<%9%D%j!<$r;}$A!"?7$7$$$b$N$rE>Aw$7$?$$(B ($B$=$&$9$l$P!"%m!<%+%k$J(B cvs |
data once (you can then checkout a tree from your local cvs mirror). |
$B%_%i!<$+$i%D%j!<$r%A%'%C%/%"%&%H$9$k$3$H$,$G$-$^$9(B) $B>l9g$K$N$_M-MQ$G$7$+$"$j$^$;$s!#(B |
<p> |
<p> |
A sample supfile would be: |
supfile $B$NNc$O<!$N$H$*$j$G$9!#(B |
<pre> |
<pre> |
cvs host=anoncvs.usa.openbsd.org hostbase=/ base=/home delete |
cvs host=anoncvs.usa.openbsd.org hostbase=/ base=/home delete |
</pre> |
</pre> |
<p> |
<p> |
which would mirror the cvs tree into /home/cvs with the sup data |
$B$3$l$O!"(B/home/sup $B$NCf$N:G8e$N(B sup $B%G!<%?%U%!%$%k$H$H$b$K(B cvs $B%D%j!<$r(B |
files ending up in /home/sup. The full OpenBSD cvs tree is currently |
/home/cvs $B$K%_%i!<$9$k$G$7$g$&!#$9$Y$F$N(B OpenBSD cvs $B%D%j!<$O!"8=>u$G$O(B |
about 2.5GB in size, and will, of course continue to grow. |
$B$*$h$=(B 2.5GB $B$N%5%$%:$K$J$j$^$9!#$b$A$m$s!"$3$l$O:#8e$bA}$(B3$1$k$G$7$g$&!#(B |
|
|
<h3><a name="MIRROR"><font color="#0000e0">Setting up an anoncvs mirror |
<h3><a name="MIRROR"><font color="#0000e0">anoncvs $B%_%i!<$N9=C[(B |
</font></a></h3> |
</font></a></h3> |
|
|
<p> |
<p> |
If you wish to setup a new anoncvs mirror site and make it available to |
$B$b$7!"$"$J$?$,(B Anonymous CVS $B$N%_%i!<%5%$%H$r9=C[$7$F!"(B |
the general public, please contact the anoncvs |
$B$=$l$r0lHL8x3+$7$h$&$H$*9M$($G$7$?$i!"(BAnonymous CVS |
<a href="mailto:sup@openbsd.org">maintainer</a>. |
$B$N(B<a href="mailto:sup@openbsd.org">$B%a%s%F%J(B</a>$B$K8fO"Mm$/$@$5$$!#(B |
Anoncvs mirrors require about 2.2GB of disk, and use up to 32MB of swap |
Anonymous CVS $B%_%i!<$OLs(B 2.2GB $B$N%G%#%9%/MFNL$rI,MW$H$7!"(BAnonymous CVS $B%f!<%6(B |
per anoncvs user (assuming the user does a large operation; while smaller |
$B$R$H$jEv$?$j(B 32MB $B$^$G$N%9%o%C%W$r;HMQ$9$k(B ($B%f!<%6$,Bg$-$J%*%Z%l!<%7%g%s$r9T$J$C$?(B |
operations use fewer resources, anoncvs still makes much more of an |
$B>l9g$G$9(B; $B>.$5$J%*%Z%l!<%7%g%s$N>l9g$O!"$h$j>/NL$N%j%=!<%9$G$9$_$^$9$,!"(B |
impact than ftp or sup). Such anoncvs machines should have excellent |
$B$=$l$G$b$J$*!"(B Anonymous CVS $B$O(B ftp $B$d(B sup $B$h$jBg$-$J%$%s%Q%/%H$,$"$j$^$9(B)$B!#(B |
network connectivity for the area they are expected to serve. A |
$B$=$N$h$&$J(B Anonymous CVS $B%^%7%s$O!"%5!<%S%9$r9T$*$&$H$9$kCO0h$KBP$9$kM%$l$?(B |
<a href="anoncvs.shar">document</a> |
$B%M%C%H%o!<%/@\B3$r;}$D$Y$-$G$7$g$&!#(BAnonymous CVS $B%5!<%P$N9=C[$K$D$$$F5-=R$5$l$?(B |
which describes the setup of anoncvs servers is available. |
<a href="../anoncvs.shar">$B%I%-%e%a%s%H(B</a>$B$,MxMQ2DG=$H$J$C$F$$$^$9!#(B |
|
|
<h3><font color="#0000e0">Final notes</font></h3> |
<h3><font color="#0000e0">$B:G=*E*$JCm0U;v9`(B</font></h3> |
After upgrading your source tree, you should read the comments |
$B%=!<%9%D%j!<$r%"%C%W%0%l!<%I$7$?8e!"9=C[$7$h$&$H$9$kA0$K!"(B |
at the top of <kbd>/usr/src/Makefile</kbd> before attempting |
<kbd>/usr/src/Makefile</kbd> $B$N@hF,$N%3%a%s%H$rFI$`$Y$-$G$7$g$&!#(B |
a build. Also, you should build a new kernel <strong>before</strong> |
$B$^$?!"$b$7!"2DG=$J$i!"(B<kbd>make build</kbd> $B$r<B9T$9$k(B<strong>$BA0(B</strong>$B$K(B |
doing a <kbd>make build</kbd> if possible. In some cases it may be |
$B?7$7$$%+!<%M%k$r9=C[$7$F$*$/$Y$-$G$9!#>l9g$K$h$C$F$O!"%+!<%M%k$r9=C[$G$-$k(B |
necessary to rebuild and install the <kbd>config</kbd> utility before |
$B$h$&$K$J$kA0$K!"(B<kbd>config</kbd> $B%f!<%F%#%j%F%#$r:F9=C[$7!"%$%s%9%H!<%k$7$F(B |
you can build the kernel. If <kbd>config GENERIC</kbd> fails this |
$B$*$/I,MW$,$"$k$+$bCN$l$^$;$s!#$b$7!"(B<kbd>config GENERIC</kbd> $B$,<:GT$9$k(B |
is probably the case. |
$B$h$&$G$7$?$i!"$?$V$s!"$3$N%1!<%9$G$7$g$&!#(B |
<p> |
<p> |
It is important to note that upgrading from a release to the current tree |
$B%=!<%9$+$i$N:F9=C[$K$h$C$F!"%j%j!<%9$+$i(B -current $B%D%j!<$X$N%"%C%W%0%l!<%I$O!"(B |
by rebuilding the sources can be rather difficult due to dependencies |
$B$7$P$7$PL@3N$G$O$J$$0MB8@-$N$?$a!"$I$A$i$+$H8@$($PFq$7$$$H$$$&$3$H$KCm0U$7$F(B |
that are often not obvious. Therefore, it is suggested that you first |
$B$/$@$5$$!#$G$9$N$G!"%=!<%9$+$i%D%j!<$r9=C[$7$h$&$H$9$kA0$K!"$^$:!":G?7$N(B |
install the latest snapshot before attempting a tree build from source. |
$B%9%J%C%W%7%g%C%H$r%$%s%9%H!<%k$9$k$3$H$rDs0F$7$F$*$-$^$9!#(B |
|
|
<hr> |
<hr> |
<a href="index.html"><img height="24" width="24" src="back.gif" border="0" |
<a href="index.html"><img height="24" width="24" src="../back.gif" border="0" |
alt="OpenBSD"></a> |
alt="OpenBSD"></a> |
<a href="mailto:www@openbsd.org">www@openbsd.org</a> |
<a href="mailto:www@openbsd.org">www@openbsd.org</a> |
<br><small>$OpenBSD$ |
<br> |
|
<small> |
|
<!-- |
|
Originally [OpenBSD: anoncvs.html,v 1.247 ]<br> |
|
$Translation: anoncvs.html,v 1.45 2006/05/02 08:49:01 kimitake Exp $<br> |
|
--> |
|
$OpenBSD$ |
</small> |
</small> |
|
|
</body> |
</body> |