From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 2/2] rsync3: support zstd compression
Date: Tue, 22 Sep 2020 12:20:13 +0200 [thread overview]
Message-ID: <20200922102013.84967-2-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20200922102013.84967-1-clemens.gruber@pqgruber.com>
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/rsync3.in | 7 +++++++
rules/rsync3.make | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/rsync3.in b/rules/rsync3.in
index 7dc03a52e..0affd7661 100644
--- a/rules/rsync3.in
+++ b/rules/rsync3.in
@@ -7,6 +7,7 @@ menuconfig RSYNC3
select OPENSSH_SSH
select ACL if RSYNC3_ACL
select ATTR if RSYNC3_ATTR
+ select ZSTD if RSYNC3_ZSTD
help
rsync is a program that behaves in much the same way that rcp does,
but has many more options and uses the rsync remote-update protocol to
@@ -31,4 +32,10 @@ config RSYNC3_ATTR
prompt "enable extended attribute support"
help
--enable-xattr-support
+
+config RSYNC3_ZSTD
+ bool
+ prompt "enable zstd compression support"
+ help
+ --enable-zstd
endif
diff --git a/rules/rsync3.make b/rules/rsync3.make
index a585f6265..9c96dba76 100644
--- a/rules/rsync3.make
+++ b/rules/rsync3.make
@@ -42,7 +42,7 @@ RSYNC3_AUTOCONF := \
--disable-locale \
--disable-openssl \
--disable-xxhash \
- --disable-zstd \
+ --$(call ptx/endis, PTXCONF_ZSTD)-zstd \
--disable-lz4 \
--$(call ptx/endis, PTXCONF_ICONV)-iconv-open \
--$(call ptx/endis, PTXCONF_ICONV)-iconv \
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-09-22 10:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-22 10:20 [ptxdist] [PATCH 1/2] rsync3: version bump 3.0.5 -> 3.2.3 Clemens Gruber
2020-09-22 10:20 ` Clemens Gruber [this message]
2020-10-06 8:18 ` [ptxdist] [APPLIED] rsync3: support zstd compression Michael Olbrich
2020-10-06 8:18 ` [ptxdist] [APPLIED] rsync3: version bump 3.0.5 -> 3.2.3 Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200922102013.84967-2-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox