diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2006-10-22 20:23:38 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2006-10-22 20:23:38 +0000 |
commit | 59d1a4c62c48491bf238b01bf3a847e1db14797d (patch) | |
tree | f6401a58b6bb1fcbaea33508f2c30e0d7a151954 /rules/rsync.in | |
parent | 73cfd207cb2ae63ebfe155bf6ff62c3600789aa5 (diff) | |
download | ptxdist-59d1a4c62c48491bf238b01bf3a847e1db14797d.tar.gz ptxdist-59d1a4c62c48491bf238b01bf3a847e1db14797d.tar.xz |
extending to make it more usefull
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6210 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rsync.in')
-rw-r--r-- | rules/rsync.in | 123 |
1 files changed, 117 insertions, 6 deletions
diff --git a/rules/rsync.in b/rules/rsync.in index 46f0e5755..b9b3fb82e 100644 --- a/rules/rsync.in +++ b/rules/rsync.in @@ -1,9 +1,120 @@ -config RSYNC +menuconfig RSYNC bool - prompt "rsync" + prompt "rsync " + select OPENSSH_SSH 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 greatly speed up file - transfers when the destination file is being updated. + 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 + greatly speed up file transfers when the destination file is being + updated. + +comment "rsync build options ---" + depends on RSYNC + +config RSYNC_IPV6 + bool + depends on RSYNC + default n + prompt "Support IPV6" + help + This switch enables IPV6 support in rsync + +config RSYNC_LARGE_FILE + bool + depends on RSYNC + default y + prompt "Large file support" + help + Support for large files + +choice + +prompt "Kind of rsyncd.conf file" +depends on RSYNC +default RSYNC_CONFIG_FILE_DEFAULT + +config RSYNC_CONFIG_FILE_DEFAULT + bool + prompt "Use default" + help + The file from projects-example/generic/etc/rsyncd.conf will be used. + Its a very good idea to start with this default file and save a + customised version into your project, because the generic file is + really useless. You can use it if you select "Use your own" after that. + +config RSYNC_CONFIG_FILE_USER + bool + prompt "Use your own" + help + Select this and you can enter a path and filename to your own + rsyncd.conf file. This enables additional menu entries for an + authentication file. + +endchoice + +config RSYNC_CONFIG_FILE_PATH + depends on RSYNC + depends on RSYNC_CONFIG_FILE_USER + prompt "Path and name of your own rsyncd.conf file" + string + default "" + help + Enter a local path and filename to be used as configuration file on + your target. + +config RSYNC_AUTH_FILE_PATH + depends on RSYNC + depends on RSYNC_CONFIG_FILE_USER + prompt "Path and name of your own secrets file" + string + default "" + help + Enter a local path and filename to be used as a secrets file on + your target. As a starting point you can use the + projects-example/generic/etc/rsyncd.secrets file. Leave this entry + empty if you do not want to use authentication. + +comment "rsync runtime options ---" + depends on RSYNC + +config RSYNC_CONFIG_FILE + string + depends on RSYNC + default "/etc/rsyncd.conf" + prompt "Configuration file at runtime" + help + Set configuration file for rsync server to given path + +config RSYNC_AUTH_FILE + depends on RSYNC + depends on RSYNC_CONFIG_FILE_USER + prompt "Path and name of your own secrets file" + string + default "/etc/rsyncd.secrets" + help + Set secrets path and filename on your target. If the source above was + left empty, this entry will not be used. + +config RSYNC_INETD_SERVER + bool + default y + depends on RSYNC + prompt "Start from inetd" + help + This installs a startup configuration for rsync from inetd. It adds to + the /etc/inetd.conf a line like this: + rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon @CONFIG@ + Note: You must enable one of the two possible inet daemons: There is + one embedded in busybox and one in packet inetutils. + +config RSYNC_INETD_STRING + string + depends on RSYNC + depends on RSYNC_INETD_SERVER + prompt "inetd service entry" + default "rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon @CONFIG@" + help + This string is added to inetd's configuration /etc/inetd.conf. @CONFIG@ + in this string will be replaced with the --config option, and the + path given above for configuration |