From d0cc437f94e0a5dd5eef3345857c3b4e8a273db4 Mon Sep 17 00:00:00 2001 From: Simon Tretter Date: Fri, 6 Jul 2018 16:50:10 +0800 Subject: [PATCH] rsync: Add IPv6 functionality Signed-off-by: Simon Tretter --- net/rsync/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/rsync/Makefile b/net/rsync/Makefile index f6701f86c..02ce08635 100644 --- a/net/rsync/Makefile +++ b/net/rsync/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rsync PKG_VERSION:=3.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.samba.org/pub/rsync/src @@ -60,6 +60,12 @@ else CONFIGURE_ARGS+= --with-included-zlib=yes endif +ifeq ($(CONFIG_IPV6),y) + TARGET_CFLAGS+= -DINET6 +else + CONFIGURE_ARGS+= --disable-ipv6 +endif + define Package/rsyncd SECTION:=net CATEGORY:=Network