version 1.58, 1998/06/19 15:06:06 |
version 1.59, 1998/06/25 08:06:34 |
|
|
A sample use of an anoncvs CVS server would be: |
A sample use of an anoncvs CVS server would be: |
<ul> |
<ul> |
<pre> |
<pre> |
% setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs |
% setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs |
% cd /tmp |
% cd /tmp |
% cvs get src/sys/arch/sparc |
% cvs get src/sys/arch/sparc |
[copies the files from the repository to your machine] |
[copies the files from the repository to your machine] |
|
|
<a name=pserver>In order to use a cvs ``pserver'' (a direct tcp connection instead of using ssh or rsh) you must login once:</a> |
<a name=pserver>In order to use a cvs ``pserver'' (a direct tcp connection instead of using ssh or rsh) you must login once:</a> |
<pre> |
<pre> |
[ *NOTE* You must be using cvs version 1.8 or higher to do this ] |
[ *NOTE* You must be using cvs version 1.8 or higher to do this ] |
% setenv CVSROOT :pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs |
% setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs |
% cvs login |
% cvs login |
(Logging in to anoncvs@anoncvs5.usa.openbsd.org) |
(Logging in to anoncvs@anoncvs1.ca.openbsd.org) |
CVS password: <type whatever you feel like, just type something!> |
CVS password: <type whatever you feel like, just type something!> |
[this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] |
[this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] |
[An example line from my ~/.cvspass after typing 'blah' for the above ] |
[An example line from my ~/.cvspass after typing 'blah' for the above ] |
|
|
<ul><li>First, startout by `get'-ing an initial tree: |
<ul><li>First, startout by `get'-ing an initial tree: |
|
|
<pre> |
<pre> |
# setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs |
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs |
# cd /usr |
# cd /usr |
# cvs -q get -PA src |
# cvs -q get -PA src |
</pre> |
</pre> |
|
|
To <a name=ports>use</a> <a href=ports.html>ports</a>, it is similar to src: |
To <a name=ports>use</a> <a href=ports.html>ports</a>, it is similar to src: |
<ul><li> |
<ul><li> |
<pre> |
<pre> |
# setenv CVSROOT anoncvs@anoncvs.usa.openbsd.org:/cvs |
# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs |
# cd /usr |
# cd /usr |
# cvs -q get -PA ports |
# cvs -q get -PA ports |
</pre> |
</pre> |
|
|
the <strong>none</strong> cipher as it is disabled in recent |
the <strong>none</strong> cipher as it is disabled in recent |
versions of ssh for security reasons. |
versions of ssh for security reasons. |
<pre> |
<pre> |
Host anoncvs.usa.openbsd.org |
Host anoncvs.ca.openbsd.org |
Port 2022 |
Port 2022 |
</pre> |
</pre> |
|
|