rsync: fix ipv6 detection

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2020-06-28 14:54:18 +03:00
committed by Rosen Penev
parent 3f00aed153
commit e1cd4bcf0a
3 changed files with 176 additions and 19 deletions
+6
View File
@@ -20,6 +20,7 @@ PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:rsync:rsync
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
@@ -57,6 +58,11 @@ CONFIGURE_ARGS += \
--with$(if $(CONFIG_RSYNC_zlib),,out)-included-zlib \
--$(if $(CONFIG_IPV6),en,dis)able-ipv6
define Build/Configure
$(call Build/Configure/Default)
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" reconfigure
endef
define Package/rsyncd
SECTION:=net
CATEGORY:=Network