=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.103 retrieving revision 1.104 diff -u -r1.103 -r1.104 --- www/anoncvs.html 2000/03/30 17:30:12 1.103 +++ www/anoncvs.html 2000/04/07 18:25:42 1.104 @@ -23,6 +23,9 @@
Note:, If your server is listed on here with inaccurate or -unknown information, please contact beck@openbsd.org +unknown information, please contact +beck@openbsd.org +
+-You may want to use `traceroute' to find out which server is nearest you. +You may want to use +traceroute(8) +to find out which server is nearest you. Problems with a server should be reported to the maintainer of the server in question. - +
+ + +IMPORTANT NOTE: There are a few issues relating to cryptographic software that everyone @@ -389,55 +400,57 @@ on to find out how you can help. + +
A sample use of an anoncvs CVS server would be: -
-% setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs -% cd /tmp -% cvs get src/sys/arch/sparc +
+% setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs +% cd /tmp +% cvs get src/sys/arch/sparc [copies the files from the repository to your machine] -% cvs log src/sys/arch/sparc/sparc/locore.s +% cvs log src/sys/arch/sparc/sparc/locore.s [shows the commit log for the chosen file ] -% cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s +% cvs diff -bc -r1.1 -r1.5 src/sys/arch/sparc/sparc/locore.s [shows the changes between revisions 1.1 and rev 1.5] -- +
+ +
[ *NOTE* You must be using cvs version 1.8 or higher to do this ] -% setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs -% cvs login +% setenv CVSROOT :pserver:anoncvs@anoncvs.ca.openbsd.org:/cvs +% cvs login (Logging in to anoncvs@anoncvs1.ca.openbsd.org) -CVS password: anoncvs +CVS password: anoncvs [this writes a line to ~/.cvspass (filename over-ridden by CVS_PASSFILE).] [An example line from my ~/.cvspass after typing 'blah' for the above ] [password is: ] [:pserver:anoncvs@anoncvs5.usa.openbsd.org:/cvs Au'yc ] [...after logging in ONCE every other use of the above CVSROOT will work ] -% cvs get ksrc-i386 ksrc-common +% cvs get ksrc-i386 ksrc-common [allows you to retrieve ONLY that necessary to rebuild an i386 kernel ] -+
Here is how someone using anoncvs regularly would update his source tree:
-# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs -# cd /usr -# cvs -q get -PA src -+
+# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs +# cd /usr +# cvs -q get -PA src +
-# cd /usr/src -# cvs -q up -PAd -+
+# cd /usr/src +# cvs -q up -PAd +Everytime you ran this it would synchronize your /usr/src tree. It would not destroy any of your local changes, rather it would attempt to merge @@ -452,10 +465,10 @@ add the -d $CVSROOT options to cvs. You must also set the CVS_IGNORE_REMOTE_ROOT environment variable. -
-# cd /usr/src -# cvs -d $CVSROOT -q up -PAd -+
+# cd /usr/src +# cvs -d $CVSROOT -q up -PAd +
-# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs -# cd /usr -# cvs -q get -PA ports +# setenv CVSROOT anoncvs@anoncvs.ca.openbsd.org:/cvs +# cd /usr +# cvs -q get -PA ports
-# cd /usr -# cvs -q up -PAd ports +# cd /usr +# cvs -q up -PAd ports
-or to make a diff of a locally patched module (here cd.c) to include with +or to make a diff of a locally patched module (here cd.c) to include with a bug report: -
-# cd /usr -# cvs diff -u src/sys/scsi/cd.c > /tmp/patch -+
+# cd /usr +# cvs diff -u src/sys/scsi/cd.c > /tmp/patch +
-The CVS man page (included with the CVS sources) has much more +The CVS(1) man page +(included with the CVS sources) has much more information about how CVS can be used.
@@ -510,6 +524,10 @@ developer access. As well, people providing patches can create their "diff"s relative to the CVS tree, which will ease integration. + + +
Anoncvs: rsh vs. ssh
@@ -613,7 +631,7 @@