[Buildroot] [git commit branch/next] package/rsync: add openssl support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Feb 20 20:57:54 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=80fa5672da85a110e60be0d2143e85f9e08a0f4a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/rsync/rsync.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk
index 9c7824f575..d2fa47d39a 100644
--- a/package/rsync/rsync.mk
+++ b/package/rsync/rsync.mk
@@ -18,7 +18,6 @@ RSYNC_CONF_OPTS = \
 	--with-included-zlib=no \
 	--with-included-popt=no \
 	--disable-roll-simd \
-	--disable-openssl \
 	--disable-md5-asm
 
 ifeq ($(BR2_PACKAGE_ACL),y)
@@ -34,6 +33,13 @@ else
 RSYNC_CONF_OPTS += --disable-lz4
 endif
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+RSYNC_DEPENDENCIES += openssl
+RSYNC_CONF_OPTS += --enable-openssl
+else
+RSYNC_CONF_OPTS += --disable-openssl
+endif
+
 ifeq ($(BR2_PACKAGE_XXHASH),y)
 RSYNC_DEPENDENCIES += xxhash
 RSYNC_CONF_OPTS += --enable-xxhash



More information about the buildroot mailing list