rsync: support xxhash and lz4
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
parent
a7172aec50
commit
8951378aec
|
@ -17,4 +17,14 @@ if PACKAGE_rsync
|
||||||
prompt "Enable zstd stream compression"
|
prompt "Enable zstd stream compression"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config RSYNC_lz4
|
||||||
|
bool
|
||||||
|
prompt "Enable lz4, extremely fast compression"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config RSYNC_xxhash
|
||||||
|
bool
|
||||||
|
prompt "Enable xxhash, extremely fast hash"
|
||||||
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=rsync
|
PKG_NAME:=rsync
|
||||||
PKG_VERSION:=3.3.0
|
PKG_VERSION:=3.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://download.samba.org/pub/$(PKG_NAME)/src
|
PKG_SOURCE_URL:=https://download.samba.org/pub/$(PKG_NAME)/src
|
||||||
|
@ -30,8 +30,8 @@ define Package/rsync
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=File Transfer
|
SUBMENU:=File Transfer
|
||||||
TITLE:=Fast remote file copy program (like rcp)
|
TITLE:=an open source utility that provides fast incremental file transfer
|
||||||
DEPENDS:=+libpopt +zlib +RSYNC_xattr:libattr +RSYNC_acl:libacl +RSYNC_zstd:libzstd $(ICONV_DEPENDS)
|
DEPENDS:=+libpopt +zlib +RSYNC_xattr:libattr +RSYNC_acl:libacl +RSYNC_zstd:libzstd +RSYNC_xxhash:libxxhash +RSYNC_lz4:liblz4 $(ICONV_DEPENDS)
|
||||||
URL:=https://rsync.samba.org/
|
URL:=https://rsync.samba.org/
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
@ -47,18 +47,18 @@ CONFIGURE_ARGS += \
|
||||||
--without-included-zlib \
|
--without-included-zlib \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--disable-asm \
|
--disable-asm \
|
||||||
--disable-lz4 \
|
|
||||||
--disable-locale \
|
--disable-locale \
|
||||||
--disable-md2man \
|
--disable-md2man \
|
||||||
--disable-openssl \
|
--disable-openssl \
|
||||||
--disable-simd \
|
--disable-simd \
|
||||||
--disable-roll-simd \
|
--disable-roll-simd \
|
||||||
--disable-xxhash \
|
|
||||||
--$(if $(CONFIG_BUILD_NLS),en,dis)able-iconv \
|
--$(if $(CONFIG_BUILD_NLS),en,dis)able-iconv \
|
||||||
--$(if $(CONFIG_BUILD_NLS),en,dis)able-iconv-open \
|
--$(if $(CONFIG_BUILD_NLS),en,dis)able-iconv-open \
|
||||||
--$(if $(CONFIG_RSYNC_zstd),en,dis)able-zstd \
|
--$(if $(CONFIG_RSYNC_zstd),en,dis)able-zstd \
|
||||||
|
--$(if $(CONFIG_RSYNC_lz4),en,dis)able-lz4 \
|
||||||
--$(if $(CONFIG_RSYNC_xattr),en,dis)able-xattr-support \
|
--$(if $(CONFIG_RSYNC_xattr),en,dis)able-xattr-support \
|
||||||
--$(if $(CONFIG_RSYNC_acl),en,dis)able-acl-support \
|
--$(if $(CONFIG_RSYNC_acl),en,dis)able-acl-support \
|
||||||
|
--$(if $(CONFIG_RSYNC_xxhash),en,dis)able-xxhash \
|
||||||
$(if $(CONFIG_IPV6),,--disable-ipv6)
|
$(if $(CONFIG_IPV6),,--disable-ipv6)
|
||||||
|
|
||||||
define Package/rsyncd
|
define Package/rsyncd
|
||||||
|
|
Loading…
Reference in New Issue