=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/cvsync.html,v retrieving revision 1.143 retrieving revision 1.144 diff -u -r1.143 -r1.144 --- www/Attic/cvsync.html 2019/05/22 01:42:20 1.143 +++ www/Attic/cvsync.html 2019/05/27 22:55:19 1.144 @@ -1,24 +1,23 @@ - - - + + + + OpenBSD: CVSync - - -

OpenBSD Source Repository Access: CVSync and rsync

+
-

+

OpenBSD uses the CVS version control system. It is described in more detail here. The cvs(1) command is used @@ -41,9 +40,9 @@ bug-free and can have problems updating at times.

-The client cvsync runs on each user's machine (typically from +The client cvsync runs on each user's machine (typically from a cron(8) job), and fetches -from a server running cvsyncd. +from a server running cvsyncd.

Getting Started Using CVSync

@@ -56,6 +55,7 @@ # pkg_add cvsync +

Do not build your own copy from unmodified upstream source - the port/package has been modified to support commitid which is now used in the OpenBSD repository. @@ -82,10 +82,10 @@ anoncvs.eu.openbsd.org with a umask(2) that permits group write permission to the local repository. -The local copy of the files are stored in /cvs. +The local copy of the files are stored in /cvs.

-Assuming this file is saved as cvs-syncfile, the +Assuming this file is saved as cvs-syncfile, the following command would be used to invoke cvsync

@@ -94,6 +94,7 @@
 
 

Getting Started Using Rsync

+

Some repository mirrors offer access via rsync, a general-purpose file synchronization program. Again this should be installed from packages. @@ -102,12 +103,13 @@

 # pkg_add rsync
 Ambiguous: choose package for rsync
-a	0: 
+a	0: <None>
 	1: rsync-3.1.2p0
 	2: rsync-3.1.2p0-iconv
 Your choice:
 
+

Unless you have other requirements, simply install the standard version (option 1 on the list above). You can select the flavour on the command-line to avoid @@ -117,6 +119,7 @@ # pkg_add rsync--

+

In order to mirror the OpenBSD repository with rsync, the following command line might be used: @@ -126,6 +129,7 @@

Using CVS to Work With Your Repository

+

Now that you have a local copy of the CVS repository, it is now simple to check out, update, or do any of the other CVS operations you would normally do against a remote repository, locally. @@ -135,6 +139,7 @@ $ cvs -d/cvs up -Pd $ cvs -d/cvs diff -u file.c +

More details on CVS operation can be found in FAQ5, Fetching appropriate source code and in the @@ -143,6 +148,7 @@

Available Repository Servers

+

The following CVSync and rsync repository servers are available:

-Note: If your server is listed on here with inaccurate or +

+Note: If your server is listed on here with inaccurate or unknown information, please contact mirrors-discuss@openbsd.org +href="mailto:mirrors-discuss@openbsd.org">mirrors-discuss@openbsd.org

You may want to use traceroute(8) @@ -224,21 +231,20 @@

As of December 2017, the CVS repository sizes are: -

- + - + - + - + - +
openbsd-ports - 1220MB
openbsd-src - 2865MB
openbsd-www - 704MB
openbsd-xenocara - 1658MB
openbsd-cvsroot - 158MB
@@ -262,27 +268,22 @@ described in the Export Control list of Canada, it is legal to export crypto software from Canada to the world. -

  • However, if you are outside the USA or Canada, you should not fetch the cryptographic sections of the OpenBSD sources from a CVSync server located in the USA. The files in question are...

    Because of the USA ITAR munitions list, crypto software may only be exported to Canada from the USA. -

  • - - -