summaryrefslogtreecommitdiff
path: root/net/rsync
diff options
context:
space:
mode:
authorSimon Tretter <simon@mediaarchitectu.re>2018-07-06 16:50:10 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2018-07-06 16:57:41 +0800
commitd0cc437f94e0a5dd5eef3345857c3b4e8a273db4 (patch)
tree8a1e8190e63781a1181e7e0b87cf0af370eafcf2 /net/rsync
parentb4a3ac3d70ad802c87981b1642fca1292a0fe6ef (diff)
rsync: Add IPv6 functionality
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile8
1 files changed, 7 insertions, 1 deletions
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