Path to this page:
Subject: CVS commit: pkgsrc/net/librsync
From: Adam Ciarcinski
Date: 2021-01-19 22:01:37
Message id: 20210119210137.5EE95FA9D@cvs.NetBSD.org
Log Message:
librsync: updated to 2.3.1
librsync 2.3.1
This is a patch release that adds peformance improvements, updates and tidies \
documentation, and fixes two build/test bugs on FreeBSD.
librsync 2.3.0
This is a minor release that adds rs_sig_args() for getting the recommended \
signature arguments based on the file size. which is used by rs_sig_file() and \
rdiff. This means rdiff by default will use a better block size based on the \
file size, and supports using --sum-size=-1 to use the smallest safe sum size \
(safe against random collisions, not against crafted hash-collision attacks). It \
removes old code that made the default strongsum size 8 when using --hash=md4, \
and it now defaults to 16 (the max for md4) for better protection against the \
risk of hash collision attacks and corruption. It also includes many code \
cleanups and testing improvements, including full C99 compliance. Upgrading from \
v2.2.1 is optional.
To generate signatures identical to the previous version's default arguments, \
you will need to use --block-size=2048 to select the old default block size. \
Also, when using --hash md4 you will need to add --sum-size=8 to select the old \
sum-size default when using md4 strongsums.
librsync 2.2.1
This is a patch release that fixes a bug that makes delta operations hang for \
files larger than 4GB. Upgrading from v2.2.0 is essential.
librsync 2.2.0
This is a minor release that adds RabinKarp rollsum support as the new \
recommended default. This is a much better rolling hash with a much better \
distribution and less collisions, particularly for text files and small blocks. \
This results in faster delta calculations and a reduced risk of corruption from \
hash collisions when using small strongsum sizes. It also includes important \
fixes for compiling on/for windows, and some other minor improvements. Upgrading \
from v2.1.0 is essential for people compiling for windows, recommended for \
people who want a performance increase, and otherwise not urgent.
To generate signatures compatible with previous versions of rdiff you will need \
to use the --rollsum rollsum to select the old rollsum algorithm, or for \
librsync use the RS_BLAKE2_SIG_MAGIC or RS_MD4_SIG_MAGIC arguments when starting \
the signature with rs_sig_begin().
librsync 2.1.0
This is a minor release that exposes a few useful utility functions to \
librsync.h previously only used by rdiff. It also introduces proper exporting of \
only public symbols in the librsync.h header. The most important fix is for a \
memory leak when freeing signatures. Upgrading from v2.0.2 is highly recommended \
for people using librsync and experiencing memory leak problems, but otherwise \
not urgent.
Files: