=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.484 retrieving revision 1.485 diff -u -r1.484 -r1.485 --- www/anoncvs.html 2018/05/27 06:47:06 1.484 +++ www/anoncvs.html 2018/09/05 14:27:12 1.485 @@ -85,14 +85,14 @@ these instructions to give a non-root user write access to the src, ports and xenocara directories. -
+
 $ cd /usr/src
 $ tar xzf /tmp/src.tar.gz
 $ tar xzf /tmp/sys.tar.gz
 $ cd /usr
 $ tar xzf /tmp/ports.tar.gz
 $ tar xzf /tmp/xenocara.tar.gz
-
+

Using CVS to get and update your source trees

@@ -130,17 +130,17 @@

If you are following -current: -

+
 $ cd /usr
 $ cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src
-
+ If you are following the 6.3 -stable branch: -
+
 $ cd /usr
 $ cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_3 -P src
-
+ @@ -149,38 +149,38 @@ you will be asked to confirm the SSH fingerprint to ensure that you are connecting to the expected server: -
+
 $ cvs -d anoncvs@anoncvs.spacehopper.org:/cvs checkout -P src
 The authenticity of host 'anoncvs.spacehopper.org (2001:67c:15f4:a423::28)' can't be established.
 ED25519 key fingerprint is SHA256:oaJ7VEyjt2EHMeixzKn9zJGiV5YlWHIUls070tKdBzI.
 Are you sure you want to continue connecting (yes/no)?
-
+ In most cases, the list below includes the fingerprints for the server, so you can compare it against the displayed fingerprint as additional verification that you are connecting to the correct server. Confirm this, and the fingerprint will then be saved as usual. -
+
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added 'anoncvs.spacehopper.org' (ED25519) to the list of known hosts.
-
+

Updating an existing tree

If you are following -current: -
+
 $ cd /usr/src
 $ cvs -q up -Pd -A
-
+ If you are following the 6.3 -stable branch: -
+
 $ cd /usr/src
 $ cvs -q up -Pd -rOPENBSD_6_3
-
+ Every time you run this, cvs(1) synchronizes your /usr/src tree. It does not destroy any of your local changes; rather it attempts to merge @@ -192,10 +192,10 @@ from a different server, or from a tar file, you must add the -d [cvsroot] option to cvs. -
+
 $ cd /usr/src
 $ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs -q up -Pd
-
+

Getting the ports and xenocara trees

@@ -209,34 +209,34 @@

If you are following -current: -

+
 $ cd /usr
 $ cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P ports
-
+ If you are following the 6.3 -stable branch: -
+
 $ cd /usr
 $ cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_3 -P ports
-
+
  • Any time afterwards, to update this tree:

    If you are following -current: -

    +
     $ cd /usr/ports
     $ cvs -q up -Pd -A
    -
    + If you are following the 6.3 -stable branch: -
    +
     $ cd /usr/ports
     $ cvs -q up -Pd -rOPENBSD_6_3
    -
    + @@ -245,16 +245,16 @@ To make a diff of a locally patched module (here cd.c) to include with a bug report: -
    +
     $ cd /usr/src
     $ cvs diff -u sys/scsi/cd.c > /tmp/patch
    -
    +

    Example usage for cvs(1)

    A sample use of an anoncvs server would be: -
    +
     $ cd /tmp
     $ cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src/sys/arch/sparc
     [copies the files from the repository to your machine]
    @@ -263,7 +263,7 @@
     [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

    @@ -505,10 +505,10 @@ These are noted in the list above. To use a different port, reconfigure your ssh client by adding a Host entry to $HOME/.ssh/config, e.g.: -
    +
     Host anoncvs.ca.openbsd.org
         Port 2022
    -
    +

    Setting up an anoncvs mirror