REPOSYNC(1)

NAME
reposync - update OpenBSD source repository

SYNOPSIS
reposync rsync://upstream/path [destination]

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

It connects to an rsync server, optionally 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.

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

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

Fetch files using the cleartext rsync protocol from rsync://anoncvs.example.org/cvs to update the local directory /home/cvs.

    $ reposync rsync://anoncvs@anoncvs.example.org/cvs

Connect via ssh(1) to anoncvs@anoncvs.example.org and use the port-forward functionality to connect to rsync using an encrypted, authenticated channel. As destination is not given, files are updated in /cvs by default.

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