History log of /openbsd/usr.bin/rsync/main.c (Results 1 – 25 of 72)
Revision Date Author Comments
# 5be4168d 16-Jan-2025 job <job@openbsd.org>

Add version information via include

OK claudio@


# 16f87427 27-Nov-2023 claudio <claudio@openbsd.org>

Implement --omit-link-times / -J based on the --omit-dir-times work
done by job@.
OK tb@


# 92709fff 27-Nov-2023 claudio <claudio@openbsd.org>

Add --no-O and --no-omit-dir-times options. For some reason the real
rsync has these options and so should ours. These strange --no-XYZ
options are undocumented and are there just for compatibility.

Add --no-O and --no-omit-dir-times options. For some reason the real
rsync has these options and so should ours. These strange --no-XYZ
options are undocumented and are there just for compatibility.
OK tb@ job@

show more ...


# 97d9fd37 23-Nov-2023 job <job@openbsd.org>

Add --omit-dir-times / -O

OK claudio@


# 8d16211c 28-Apr-2023 claudio <claudio@openbsd.org>

Implement --size-only and --ignore-times

Flags are passed to the remote system but --size-only is only set
if local system is sender since this is the behaviour of rsync.
Initial diff from Martin Cr

Implement --size-only and --ignore-times

Flags are passed to the remote system but --size-only is only set
if local system is sender since this is the behaviour of rsync.
Initial diff from Martin Cracauer but mostly reimplemented and extended
by myself.
OK kn@

show more ...


# d239da0e 27-Apr-2023 claudio <claudio@openbsd.org>

Implement -V as an alias to --version.
From Martin Cracauer
OK kn@


# 786202c1 14-Feb-2023 job <job@openbsd.org>

Fix handling of port numbers in rsync://host[:port]/module URLs

With and OK tb@


# e878ec53 02-Aug-2022 tb <tb@openbsd.org>

Add missing closing bracket in usage


# 2eaa6f4e 02-Aug-2022 job <job@openbsd.org>

Add --contimeout functionality.

Input from deraadt@

OK claudio@


# f6eb9700 03-Nov-2021 deraadt <deraadt@openbsd.org>

whitespace observed during a read-through


# 82ecafa1 29-Oct-2021 claudio <claudio@openbsd.org>

Properly implement --max-size and --min-size.
This uses scan_scaled(3) from libutil which is very similar to how rsync
behaves. Not implemented are the +/-1 math and the 1000 vs 1024 multipliers.
OK

Properly implement --max-size and --min-size.
This uses scan_scaled(3) from libutil which is very similar to how rsync
behaves. Not implemented are the +/-1 math and the 1000 vs 1024 multipliers.
OK benno@ job@

show more ...


# 81855fde 28-Oct-2021 claudio <claudio@openbsd.org>

Provide --max-size and --min-size arguments. Currently ignored but
rpki-client wants --max-size and this will unblock that work.
With job@


# e397242d 22-Oct-2021 claudio <claudio@openbsd.org>

Implement --compare-dest in openrsync. compare-dest allows you to add
additional directories to check for files to be available.
OK benno@


# 0345af14 01-Sep-2021 claudio <claudio@openbsd.org>

Remove from0 support. openrsync will not implement all bad ideas that
were added to rsync. from0 is one of those and really not needed.
OK job@


# fecc32f1 30-Aug-2021 job <job@openbsd.org>

Add include/exclude to usage()

OK claudio@


# 57987d16 29-Aug-2021 claudio <claudio@openbsd.org>

Implement --exclude/exclude-file and --include/include-file.
Currently only simple include and excludes work, the advanced filters
introduced later in rsync are not implemented. It is unclear if the

Implement --exclude/exclude-file and --include/include-file.
Currently only simple include and excludes work, the advanced filters
introduced later in rsync are not implemented. It is unclear if the per
directory filters are something we want to implement. This requires
more modern protocols which openrsync is not able to handle right now.

This adds a special matching function to allow the ** matching which behaves
mostly like rsyncs version with the exception of how bad [] patterns are
expanded. For bad patterns openrsync follows more how fnmatch behaves and
not the somewhat strange rsync behaviour.

Not perfect but committing now so people can test and provide feedback.

show more ...


# f1521a77 14-Jul-2021 claudio <claudio@openbsd.org>

Restructure the getopt_long options. Sort them mostly by name with the
exception of no-xyz options that are grouped with the coresponding xyz
option. Fix --no-motd to use the internal flag setting of

Restructure the getopt_long options. Sort them mostly by name with the
exception of no-xyz options that are grouped with the coresponding xyz
option. Fix --no-motd to use the internal flag setting of getopt_long.
Also use some defines instead of numbers for pure long options that
need special handling.
OK benno@

show more ...


# b0091597 30-Jun-2021 claudio <claudio@openbsd.org>

Replace Id: tags with OpenBSD: tags
OK deraadt@


# 05e0b7a0 17-May-2021 claudio <claudio@openbsd.org>

Adjust exit codes in the main program to follow the ones from rsync.
OK benno@


# 3bf4cfb6 31-Mar-2021 job <job@openbsd.org>

Add option to suppress the Message of the Day

Fine deraadt@


# 88e84a3b 22-Mar-2021 claudio <claudio@openbsd.org>

Compare explicitly against NULL.
From kristaps@


# 45646037 15-Dec-2020 claudio <claudio@openbsd.org>

Initialize the poll_timeout before rsync_server() is called.
Without this the server will immediatly fail because the poll timeout is 0.
Found and reported by Daniel Moch (daniel at danielmoch dot co

Initialize the poll_timeout before rsync_server() is called.
Without this the server will immediatly fail because the poll timeout is 0.
Found and reported by Daniel Moch (daniel at danielmoch dot com)

show more ...


# a84b4914 24-Nov-2020 claudio <claudio@openbsd.org>

Simple implementation of --timeout to exit after specified seconds of I/O
inactivity. By default rsync will wait forever but this results in stuck
processes if the remote side does not answer properl

Simple implementation of --timeout to exit after specified seconds of I/O
inactivity. By default rsync will wait forever but this results in stuck
processes if the remote side does not answer properly as seen in rpki-client.
OK job@ benno@

show more ...


# 70813041 11-Feb-2020 deraadt <deraadt@openbsd.org>

Simplify and unify wording for the -I sourceaddr option in various places.
This is somewhat related to the "-b bind_addr" option some programs have,
which should get some cleanup also...
input floria

Simplify and unify wording for the -I sourceaddr option in various places.
This is somewhat related to the "-b bind_addr" option some programs have,
which should get some cleanup also...
input florian claudio jmc

show more ...


# a52e5c3a 09-Aug-2019 claudio <claudio@openbsd.org>

Add --address argument to openrsync to bind to the specified address
when connecting to a rsync daemon.
OK deraadt@ benno@ naddy@ sthen@


123