diff options
author | Ian Leonard <antonlacon@gmail.com> | 2014-09-03 17:33:03 -0700 |
---|---|---|
committer | Ian Leonard <antonlacon@gmail.com> | 2014-09-04 20:56:58 -0700 |
commit | 0264b06472a342c0d719f35422adeaaf4e54f1e4 (patch) | |
tree | 6096dcf4e163f40fd8b8f6624c1f20a1734f1984 /net/rsync/Config.in | |
parent | a1680da39d052b1a8c247d8cf38ba751af914d44 (diff) |
rsync: enable selecting bundled or system zlib
rsync, by default, includes a patched zlib within its source tarball. The patch
enables a better compression ratio for rsync streams. However, the client and
server need the same featureset in their zlib in order to understand the
compression stream, or the server will abort the transfer. Older versions have
no understanding of the new compression standard used.
This patch allows the builder to choose whether to use the bundled or system
zlib. It defautls to using the system zlib, as is the default before this
patch.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Diffstat (limited to 'net/rsync/Config.in')
-rw-r--r-- | net/rsync/Config.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/rsync/Config.in b/net/rsync/Config.in index c78288069..dfbfdf16c 100644 --- a/net/rsync/Config.in +++ b/net/rsync/Config.in @@ -9,4 +9,17 @@ if PACKAGE_rsync bool prompt "Enable ACL support" default n + + config RSYNC_zlib + bool + prompt "Enable system zlib" + help + Use the system's zlib library instead of rsync's internal copy. Enabling + this may create compatibility errors when using compression with older + clients, or those using the current default of the bundled zlib. + + rsync's upstream default is to use their bundled zlib. OpenWrt uses the + system zlib for space reasons. The system zlib will eventually become + default for upstream as well. + default y endif |