forked from pool/rsync
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
--- patches/xattrs.diff
|
|
+++ patches/xattrs.diff 2008/04/14 09:46:45
|
|
@@ -186,31 +186,3 @@
|
|
size_t extra_len = MIGHT_NEED_RPRE ? RPRE_LEN : 0;
|
|
if (dget_len + extra_len < dget_len)
|
|
out_of_memory("receive_xattr"); /* overflow */
|
|
-diff -up a/rsyncd.conf.5 b/rsyncd.conf.5
|
|
---- a/rsyncd.conf.5
|
|
-+++ b/rsyncd.conf.5
|
|
-@@ -121,6 +121,16 @@ details on some of the options you may b
|
|
- special socket options are set. These settings are superseded by the
|
|
- \fB\-\-sockopts\fP command-line option.
|
|
- .IP
|
|
-+.IP "\fBslp refresh\fP"
|
|
-+This option is used to determine how long service
|
|
-+advertisements are valid (measured in seconds), and is only applicable if
|
|
-+you have Service Location Protocol support compiled in. If this option is
|
|
-+not set or is set to zero, then service advertisements never time out. If
|
|
-+this is set to less than 120 seconds, then 120 seconds is used. If it is
|
|
-+set to more than 65535, then 65535 is used (which is a limitation of SLP).
|
|
-+Using 3600 (one hour) is a good number if you tend to change your
|
|
-+configuration.
|
|
-+.IP
|
|
- .SH "MODULE OPTIONS"
|
|
-
|
|
- .PP
|
|
-@@ -763,6 +773,7 @@ use chroot = yes
|
|
- max connections = 4
|
|
- syslog facility = local5
|
|
- pid file = /var/run/rsyncd.pid
|
|
-+slp refresh = 3600
|
|
-
|
|
- [ftp]
|
|
- path = /var/ftp/./pub
|