aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Friedrich Kröner <friedrich@mailstation.de> 2015-02-27 15:32:01 +0100
committerAvatar Bo Ørsted Andresen <bo.andresen@zlin.dk> 2015-02-28 16:33:46 +0100
commit40ba4f033c892e0fc8ea779c697a86e9bf61cefd (patch)
treec8007bdea3b8aaab57d7c9cb7479bfa0e26eee9d
parent9949acef55fb94eb580d42155079d6de7f32e639 (diff)
downloadpaludis-40ba4f033c892e0fc8ea779c697a86e9bf61cefd.tar.gz
paludis-40ba4f033c892e0fc8ea779c697a86e9bf61cefd.tar.xz
syncers: switch rsync to --new-compress (-zz)
rsync[>=3.1.0] doesn't support --compress with external zlib anymore. 'This rsync lacks old-style --compress due to its external zlib. Try -zz. Continuing without compression.'
-rw-r--r--paludis/syncers/dorsync.in2
-rw-r--r--paludis/syncers/dotar.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/syncers/dorsync.in b/paludis/syncers/dorsync.in
index 0328ed5..332385c 100644
--- a/paludis/syncers/dorsync.in
+++ b/paludis/syncers/dorsync.in
@@ -89,7 +89,7 @@ REMOTE="${REMOTE#file://}"
REMOTE="${REMOTE#rsync+ssh://}"
${RSYNC_WRAPPER} rsync --recursive --links --safe-links --perms --times \
- --compress --force --whole-file --delete --delete-delay --stats --timeout=180 \
+ --new-compress --force --whole-file --delete --delete-delay --stats --timeout=180 \
${PALUDIS_SYNC_FILTER_FILE:+--filter "merge ${PALUDIS_SYNC_FILTER_FILE}"} \
--exclude=/.cache --progress "${RSYNC_OPTIONS[@]}" "${REMOTE%/}/" "${LOCAL}/"
diff --git a/paludis/syncers/dotar.in b/paludis/syncers/dotar.in
index f6843b4..613fd32 100644
--- a/paludis/syncers/dotar.in
+++ b/paludis/syncers/dotar.in
@@ -194,7 +194,7 @@ fi
[[ -d "${LOCAL}" ]] || mkdir -p "${LOCAL}"
${RSYNC_WRAPPER} rsync --recursive --links --safe-links --perms --times \
- --compress --force --whole-file --delete --delete-after --stats --timeout=180 \
+ --new-compress --force --whole-file --delete --delete-after --stats --timeout=180 \
${PALUDIS_SYNC_FILTER_FILE:+--filter "merge ${PALUDIS_SYNC_FILTER_FILE}"} \
--exclude=/.cache --progress "${RSYNC_OPTIONS[@]}" "${UNPACKDIR}/" "${LOCAL}/"
cleanup_and_exit ${?}