mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jan Luebbe <jlu@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: [ptxdist] [PATCH v2] rsync3: support ACL and extended attributes
Date: Wed, 18 Jul 2012 14:07:11 +0200	[thread overview]
Message-ID: <1342613231-8792-1-git-send-email-jlu@pengutronix.de> (raw)

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

             reply	other threads:[~2012-07-18 12:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 12:07 Jan Luebbe [this message]
2012-07-24 19:56 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342613231-8792-1-git-send-email-jlu@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox