commit: e0775dafd9142f1f53bc3de7590c87a86ea113d0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 9 21:46:08 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 9 21:46:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0775daf
net-misc/rsync: enable xxhash by default
This significantly speeds up transfers by default. Prompted by a request
from Kerin Millar some time ago.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/rsync/{rsync-9999.ebuild => rsync-3.4.1-r1.ebuild} | 6 +++++-
net-misc/rsync/rsync-9999.ebuild | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/net-misc/rsync/rsync-9999.ebuild
b/net-misc/rsync/rsync-3.4.1-r1.ebuild
similarity index 98%
copy from net-misc/rsync/rsync-9999.ebuild
copy to net-misc/rsync/rsync-3.4.1-r1.ebuild
index 5aa34e16b280..c8770fb6f0d7 100644
--- a/net-misc/rsync/rsync-9999.ebuild
+++ b/net-misc/rsync/rsync-3.4.1-r1.ebuild
@@ -37,7 +37,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr xxhash zstd"
+IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd"
REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )"
REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )"
@@ -77,6 +77,10 @@ else
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )"
fi
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.4.1-c23.patch
+)
+
pkg_setup() {
# - USE=examples needs Python itself at runtime, but nothing else
# - 9999 needs commonmark at build time
diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild
index 5aa34e16b280..83bf73634de5 100644
--- a/net-misc/rsync/rsync-9999.ebuild
+++ b/net-misc/rsync/rsync-9999.ebuild
@@ -37,7 +37,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr xxhash zstd"
+IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd"
REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )"
REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )"