summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-07-18 14:07:11 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-07-24 21:44:36 +0200
commitf7bb4d17847c0609eaaacf167a8ba2d0ffe3acfa (patch)
tree9d9190684088aa075785d7bac1400a51f47b40bc
parenta5d0a66a2937e8d4d128cd8e70eaee592560d7ef (diff)
downloadptxdist-f7bb4d17847c0609eaaacf167a8ba2d0ffe3acfa.tar.gz
ptxdist-f7bb4d17847c0609eaaacf167a8ba2d0ffe3acfa.tar.xz
rsync3: support ACL and extended attributes
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/rsync3.in13
-rw-r--r--rules/rsync3.make2
2 files changed, 15 insertions, 0 deletions
diff --git a/rules/rsync3.in b/rules/rsync3.in
index 4e1b6e7d9..f01f2943d 100644
--- a/rules/rsync3.in
+++ b/rules/rsync3.in
@@ -3,6 +3,8 @@ menuconfig RSYNC3
tristate
prompt "rsync v3 "
select OPENSSH_SSH
+ select ACL if RSYNC3_ACL
+ select ATTR if RSYNC3_ATTR
help
rsync is a program that behaves in much the same way that rcp does,
but has many more options and uses the rsync remote-update protocol to
@@ -16,4 +18,15 @@ config RSYNC3_STARTSCRIPT
default y
prompt "install /etc/init.d/rsync"
+config RSYNC3_ACL
+ bool
+ prompt "enable ACL support"
+ help
+ --enable-acl-support
+
+config RSYNC3_ATTR
+ bool
+ prompt "enable extended attribute support"
+ help
+ --enable-xattr-support
endif
diff --git a/rules/rsync3.make b/rules/rsync3.make
index f3ac834bc..65826fe32 100644
--- a/rules/rsync3.make
+++ b/rules/rsync3.make
@@ -39,6 +39,8 @@ RSYNC3_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
$(GLOBAL_IPV6_OPTION) \
$(GLOBAL_LARGE_FILE_OPTION) \
+ --$(call ptx/endis, PTXCONF_RSYNC3_ACL)-acl-support \
+ --$(call ptx/endis, PTXCONF_RSYNC3_ATTR)-xattr-support \
--with-included-popt \
--disable-debug \
--disable-locale