REPOSYNC(1)

NAME
reposync - update OpenBSD source repository

SYNOPSIS
reposync [-f] [-p | -l username] [-q] rsync://upstream/path [destination]

DESCRIPTION
reposync is a utility to update the OpenBSD source repository.

It connects to an rsync server, by default using ssh(1) port forwarding to allow verification of the upstream server. If only a short time has elapsed since the previous update, the CVSROOT directory on the upstream server is checked for changes and the update is skipped if none are detected.

If destination is omitted, /cvs will be used.

A list of upstream servers and their ssh(1) key fingerprints is available at https://www.openbsd.org/anoncvs.html.

The directory /var/db/reposync must exist and be writable by the user running reposync.

The options are as follows.

-f  Force updating, even if ChangeLog has not been updated.

-l  ssh(1) port-forwarding is used with the specified username. By default, this is enabled with the username "anoncvs".

-p  Disable ssh(1) port-forwarding and use plaintext. This option is not recommended and may be removed in the future.

-q  Be quiet.

EXAMPLES
    $ reposync rsync://mirror.example.org/cvs /home/cvs

Connect via ssh(1) to anoncvs@mirror.example.org and use the port-forward functionality to connect to rsync using an encrypted, authenticated channel and update the local directory /home/cvs.

SEE ALSO
cvs(1), rsync(1), ssh(1)