# original source: https://build.opensuse.org/package/view_file/network/rsync/rsync-fortified-strlcpy-fix.patch?expand=1&rev=3f8dd2f4a404c96c0f69176e60893714
./rsync-fortified-strlcpy-fix.patch
# https://github.com/WayneD/rsync/pull/558
./configure.ac-fix-failing-IPv6-check.patch
];
buildInputs=
[
libiconv
zlib
popt
]
++lib.optionalenableACLsacl
++lib.optionalenableZstdzstd
++lib.optionalenableLZ4lz4
++lib.optionalenableOpenSSLopenssl
++lib.optionalenableXXHashxxHash;
configureFlags=
[
"--with-nobody-group=nogroup"
# disable the included zlib explicitly as it otherwise still compiles and