1################################################################################ 2# 3# rsync 4# 5################################################################################ 6 7RSYNC_VERSION = 3.3.0 8RSYNC_SITE = https://rsync.samba.org/ftp/rsync/src 9RSYNC_LICENSE = GPL-3.0+ with exceptions 10RSYNC_LICENSE_FILES = COPYING 11RSYNC_CPE_ID_VENDOR = samba 12RSYNC_SELINUX_MODULES = rsync 13# We're patching configure.ac 14RSYNC_AUTORECONF = YES 15RSYNC_DEPENDENCIES = host-pkgconf zlib popt 16# We know that our C library is modern enough for C99 vsnprintf(). Since 17# configure can't detect this, we tell configure that vsnprintf() is safe. 18RSYNC_CONF_ENV = rsync_cv_HAVE_C99_VSNPRINTF=yes 19RSYNC_CONF_OPTS = \ 20 --with-included-zlib=no \ 21 --with-included-popt=no \ 22 --disable-roll-simd \ 23 --disable-md5-asm 24 25# reconfigure must be run after autoreconf 26define RSYNC_RUN_RECONFIGURE 27 cd $(@D) && PATH=$(BR_PATH) make reconfigure 28endef 29RSYNC_POST_CONFIGURE_HOOKS += RSYNC_RUN_RECONFIGURE 30 31ifeq ($(BR2_PACKAGE_ACL),y) 32RSYNC_DEPENDENCIES += acl 33else 34RSYNC_CONF_OPTS += --disable-acl-support 35endif 36 37ifeq ($(BR2_PACKAGE_LZ4),y) 38RSYNC_DEPENDENCIES += lz4 39RSYNC_CONF_OPTS += --enable-lz4 40else 41RSYNC_CONF_OPTS += --disable-lz4 42endif 43 44ifeq ($(BR2_PACKAGE_OPENSSL),y) 45RSYNC_DEPENDENCIES += openssl 46RSYNC_CONF_OPTS += --enable-openssl 47else 48RSYNC_CONF_OPTS += --disable-openssl 49endif 50 51ifeq ($(BR2_PACKAGE_XXHASH),y) 52RSYNC_DEPENDENCIES += xxhash 53RSYNC_CONF_OPTS += --enable-xxhash 54else 55RSYNC_CONF_OPTS += --disable-xxhash 56endif 57 58ifeq ($(BR2_PACKAGE_ZSTD),y) 59RSYNC_DEPENDENCIES += zstd 60RSYNC_CONF_OPTS += --enable-zstd 61else 62RSYNC_CONF_OPTS += --disable-zstd 63endif 64 65$(eval $(autotools-package)) 66