mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
rsync: add support for ACL and XATTR
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
12
net/rsync/Config.in
Normal file
12
net/rsync/Config.in
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
if PACKAGE_rsync
|
||||||
|
|
||||||
|
config RSYNC_xattr
|
||||||
|
bool
|
||||||
|
prompt "Enable xattr support"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config RSYNC_acl
|
||||||
|
bool
|
||||||
|
prompt "Enable ACL support"
|
||||||
|
default n
|
||||||
|
endif
|
||||||
@@ -26,10 +26,27 @@ define Package/rsync
|
|||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=File Transfer
|
SUBMENU:=File Transfer
|
||||||
TITLE:=Fast remote file copy program (like rcp)
|
TITLE:=Fast remote file copy program (like rcp)
|
||||||
DEPENDS:=+libpopt +zlib
|
DEPENDS:=+libpopt +zlib +RSYNC_xattr:libattr +RSYNC_acl:libacl
|
||||||
URL:=http://rsync.samba.org/
|
URL:=http://rsync.samba.org/
|
||||||
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/rsync/config
|
||||||
|
source "$(SOURCE)/Config.in"
|
||||||
|
endef
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_RSYNC_xattr),y)
|
||||||
|
CONFIGURE_ARGS+= --enable-xattr-support
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS+= --disable-xattr-support
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_RSYNC_acl),y)
|
||||||
|
CONFIGURE_ARGS+= --enable-acl-support
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS+= --disable-acl-support
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/rsyncd
|
define Package/rsyncd
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
@@ -54,8 +71,6 @@ CONFIGURE_ARGS += \
|
|||||||
--with-included-zlib=no \
|
--with-included-zlib=no \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--disable-locale \
|
--disable-locale \
|
||||||
--disable-xattr-support \
|
|
||||||
--disable-acl-support \
|
|
||||||
|
|
||||||
define Package/rsync/install
|
define Package/rsync/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user