=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.369 retrieving revision 1.370 diff -u -r1.369 -r1.370 --- www/anoncvs.html 2012/06/06 15:53:33 1.369 +++ www/anoncvs.html 2012/09/08 21:07:47 1.370 @@ -27,13 +27,13 @@
@@ -117,6 +117,30 @@ local copy, preserving an unmodified copy of your version and continuing to update any other source modules you requested. +

Getting crypto sources through +cvs(1)

+ +

+IMPORTANT NOTE: +There are a few issues relating to cryptographic software that everyone +should be aware of: +

+

Getting Started Using Anonymous CVS

@@ -170,8 +194,8 @@ cvs(1) commands will work properly. -

Using CVS to get and update your -source tree

+

Using CVS to Get and Update your +Source Tree

CVS was designed to be a simple way to retrieve and update your sources. @@ -193,34 +217,133 @@ who have CDs you can start with the CVS checkout that is on the CD by using the method above to get the sources onto your system. If you don't have a CD handy, use the method below to checkout the sources. -This method puts the OpenBSD source tree into /usr/src. +

+

- +

+To use ports, +it is similar to src: +

+ +In the above example, -q is optional, only intended to minimize +cvs's output. +For those who like to see screenfulls of output, it can be omitted. +

-Or OPENBSD_5_0 for 5.0, etc. +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
+
-

The OPENBSD_5_1 tag contains the release sources and -errata already applied. +

+The +cvs(1) man page +(included with the CVS sources) has much more +information about how CVS can be used. +

+Warning: +When using cvs you should take care that your current directory is either +the root of the tree you are referencing or in a separate place such as /tmp. +Some commands such as "get" can create an arbitrary sub-tree in the current +directory, and a subsequent update will recursively flesh out this sub-tree. + +

+The anoncvs service gives fledgling developers a chance to learn CVS +operation and get thoroughly involved in the development process +before getting "commit" access -- as a result of showing useful +skills and high quality results they will naturally later be given +developer access. +As well, people providing patches can create their "diff"s relative +to the CVS tree, which will ease integration. + +

Example usages for cvs(1) +

+ +

+A sample use of an anoncvs server would be: +

+$ cd /tmp
+$ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs get src/sys/arch/sparc
+    [copies the files from the repository to your machine]
+$ cd src/sys/arch/sparc
+$ cvs log locore.s
+    [shows the commit log for the chosen file]
+$ cvs diff -bc -r1.1 -r1.5 locore.s
+    [shows the changes between revisions 1.1 and rev 1.5]
+
+

Available Anonymous CVS Servers

-Please see the note about ssh vs. rsh below! -