mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] rsync3: support ACL and extended attributes
@ 2012-07-18 12:07 Jan Luebbe
  2012-07-24 19:56 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2012-07-18 12:07 UTC (permalink / raw)
  To: ptxdist; +Cc: Jan Luebbe

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 rules/rsync3.in   |   13 +++++++++++++
 rules/rsync3.make |    2 ++
 2 files changed, 15 insertions(+)

diff --git a/rules/rsync3.in b/rules/rsync3.in
index 4e1b6e7..f01f294 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 f3ac834..65826fe 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
-- 
1.7.10


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-24 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 12:07 [ptxdist] [PATCH v2] rsync3: support ACL and extended attributes Jan Luebbe
2012-07-24 19:56 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox