* [ptxdist] [PATCH] rsync3: support ACL and extended attributes
@ 2012-07-18 10:53 Jan Luebbe
2012-07-18 10:57 ` Marc Kleine-Budde
0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2012-07-18 10:53 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..b350c0e 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
+ --disable-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
* Re: [ptxdist] [PATCH] rsync3: support ACL and extended attributes
2012-07-18 10:53 [ptxdist] [PATCH] rsync3: support ACL and extended attributes Jan Luebbe
@ 2012-07-18 10:57 ` Marc Kleine-Budde
0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2012-07-18 10:57 UTC (permalink / raw)
To: ptxdist; +Cc: Jan Luebbe
[-- Attachment #1.1: Type: text/plain, Size: 1844 bytes --]
On 07/18/2012 12:53 PM, Jan Luebbe wrote:
> 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..b350c0e 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
> + --disable-acl-support
this help text is a bit counter intuitive :)
> +
> +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
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-18 10:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 10:53 [ptxdist] [PATCH] rsync3: support ACL and extended attributes Jan Luebbe
2012-07-18 10:57 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox