]> git.pld-linux.org Git - packages/rsync.git/blobdiff - rsync-config.patch
- release 4 (by relup.sh)
[packages/rsync.git] / rsync-config.patch
index 25ba65aff99bff5f235c60233f1f1e9ba3cc2380..f52b221cd698541cb69c013d69980bd7a0b47ed5 100644 (file)
-diff -burN rsync-2.6.2.orig/rsyncd.conf.5 rsync-2.6.2/rsyncd.conf.5
---- rsync-2.6.2.orig/rsyncd.conf.5     2004-05-02 10:20:23.157077408 +0200
-+++ rsync-2.6.2/rsyncd.conf.5  2004-05-02 11:11:53.624254984 +0200
-@@ -282,7 +282,7 @@
- you may find that passwords longer than 8 characters don\&'t work\&. 
+diff -ur rsync-3.0.8.orig/rsync.1 rsync-3.0.8/rsync.1
+--- rsync-3.0.8.orig/rsync.1   2011-03-26 22:37:52.000000000 +0100
++++ rsync-3.0.8/rsync.1        2011-04-07 10:27:01.761502719 +0200
+@@ -2566,7 +2566,7 @@
+ .IP "\fB\-\-config=FILE\fP"
+ This specifies an alternate config file than
+ the default.  This is only relevant when \fB\-\-daemon\fP is specified.
+-The default is /etc/rsyncd.conf unless the daemon is running over
++The default is /etc/rsyncd/rsyncd.conf unless the daemon is running over
+ a remote shell program and the remote user is not the super\-user; in that case
+ the default is rsyncd.conf in the current directory (typically $HOME).
+ .IP 
+@@ -3474,7 +3474,7 @@
+ .SH "FILES"
+ .PP 
+-/etc/rsyncd.conf or rsyncd.conf
++/etc/rsyncd/rsyncd.conf or rsyncd.conf
+ .PP 
+ .SH "SEE ALSO"
+diff -ur rsync-3.0.8.orig/rsync.h rsync-3.0.8/rsync.h
+--- rsync-3.0.8.orig/rsync.h   2011-02-21 20:32:51.000000000 +0100
++++ rsync-3.0.8/rsync.h        2011-04-07 10:21:07.794002236 +0200
+@@ -29,7 +29,7 @@
+ /* RSYNCD_SYSCONF is now set in config.h */
+ #define RSYNCD_USERCONF "rsyncd.conf"
+-#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
++#define DEFAULT_LOCK_FILE "/var/lock/rsyncd.lock"
+ #define URL_PREFIX "rsync://"
+ #define SYMLINK_PREFIX "/rsyncd-munged/"  /* This MUST have a trailing slash! */
+diff -ur rsync-3.0.8.orig/rsync.yo rsync-3.0.8/rsync.yo
+--- rsync-3.0.8.orig/rsync.yo  2011-03-26 22:34:18.000000000 +0100
++++ rsync-3.0.8/rsync.yo       2011-04-07 10:21:07.798002324 +0200
+@@ -2220,7 +2220,7 @@
+ If standard input is a socket then rsync will assume that it is being
+ run via inetd, otherwise it will detach from the current terminal and
+ become a background daemon.  The daemon will read the config file
+-(rsyncd.conf) on each connect made by a client and respond to
++(/etc/rsyncd/rsyncd.conf) on each connect made by a client and respond to
+ requests accordingly.  See the bf(rsyncd.conf)(5) man page for more
+ details.
+@@ -2238,7 +2238,7 @@
+ dit(bf(--config=FILE)) This specifies an alternate config file than
+ the default.  This is only relevant when bf(--daemon) is specified.
+-The default is /etc/rsyncd.conf unless the daemon is running over
++The default is /etc/rsyncd/rsyncd.conf unless the daemon is running over
+ a remote shell program and the remote user is not the super-user; in that case
+ the default is rsyncd.conf in the current directory (typically $HOME).
+@@ -2972,7 +2972,7 @@
+ manpagefiles()
+-/etc/rsyncd.conf or rsyncd.conf
++/etc/rsyncd/rsyncd.conf or rsyncd.conf
+ manpageseealso()
+diff -ur rsync-3.0.8.orig/rsyncd.conf.5 rsync-3.0.8/rsyncd.conf.5
+--- rsync-3.0.8.orig/rsyncd.conf.5     2011-03-26 22:37:52.000000000 +0100
++++ rsync-3.0.8/rsyncd.conf.5  2011-04-07 10:21:07.789502107 +0200
+@@ -315,7 +315,7 @@
+ support the \(dq\&max connections\(dq\& parameter. The rsync daemon uses record
+ locking on this file to ensure that the max connections limit is not
+ exceeded for the modules sharing the lock file.
+-The default is \f(CW/var/run/rsyncd.lock\fP.
++The default is \f(CW/var/lock/rsyncd.lock\fP.
  .IP 
- There is no default for the "secrets file" option, you must choose a name
--(such as \f(CW/etc/rsyncd\&.secrets\fP)\&.  The file must normally not be readable
-+(such as \f(CW/etc/rsyncd/rsyncd\&.secrets\fP)\&.  The file must normally not be readable
by "other"; see "strict modes"\&.
+ .IP "\fBread only\fP"
+ This parameter determines whether clients
+@@ -460,7 +460,7 @@
you may find that passwords longer than 8 characters don\(cq\&t work.
  .IP 
- .IP "\fBstrict modes\fP" 
-@@ -557,13 +557,13 @@
+ There is no default for the \(dq\&secrets file\(dq\& parameter, you must choose a name
+-(such as \f(CW/etc/rsyncd.secrets\fP).  The file must normally not be readable
++(such as \f(CW/etc/rsyncd/rsyncd.secrets\fP).  The file must normally not be readable
+ by \(dq\&other\(dq\&; see \(dq\&strict modes\(dq\&.
+ .IP 
+ .IP "\fBstrict modes\fP"
+@@ -785,12 +785,12 @@
          path = /data/cvs
          comment = CVS repository (requires authentication)
          auth users = tridge, susan
--        secrets file = /etc/rsyncd\&.secrets
-+        secrets file = /etc/rsyncd/rsyncd\&.secrets
+-        secrets file = /etc/rsyncd.secrets
++        secrets file = /etc/rsyncd/rsyncd.secrets
  
  .fi 
-  
  
  .PP 
--The /etc/rsyncd\&.secrets file would look something like this:
-+The /etc/rsyncd/rsyncd\&.secrets file would look something like this:
- .PP 
- tridge:mypass 
- .br 
-@@ -571,7 +571,7 @@
- .PP 
- .SH "FILES" 
+-The /etc/rsyncd.secrets file would look something like this:
++The /etc/rsyncd/rsyncd.secrets file would look something like this:
  .PP 
--/etc/rsyncd\&.conf or rsyncd\&.conf
-+/etc/rsyncd/rsyncd\&.conf or rsyncd\&.conf
+ .RS 
+ \f(CWtridge:mypass\fP
+@@ -803,7 +803,7 @@
+ .SH "FILES"
  .PP 
- .SH "SEE ALSO" 
+-/etc/rsyncd.conf or rsyncd.conf
++/etc/rsyncd/rsyncd.conf or rsyncd.conf
  .PP 
-diff -burN rsync-2.6.2.orig/rsyncd.conf.yo rsync-2.6.2/rsyncd.conf.yo
---- rsync-2.6.2.orig/rsyncd.conf.yo    2004-05-02 10:20:23.170075432 +0200
-+++ rsync-2.6.2/rsyncd.conf.yo 2004-05-02 11:13:07.881966096 +0200
-@@ -69,7 +69,7 @@
+ .SH "SEE ALSO"
+diff -ur rsync-3.0.8.orig/rsyncd.conf.yo rsync-3.0.8/rsyncd.conf.yo
+--- rsync-3.0.8.orig/rsyncd.conf.yo    2011-03-26 22:34:18.000000000 +0100
++++ rsync-3.0.8/rsyncd.conf.yo 2011-04-07 10:21:07.792002183 +0200
+@@ -66,7 +66,7 @@
  reread its config file.
  
- Note that you should not send the rsync server a HUP signal to force
+ Note that you should bf(not) send the rsync daemon a HUP signal to force
 -it to reread the tt(rsyncd.conf) file. The file is re-read on each client
 +it to reread the tt(/etc/rsyncd/rsyncd.conf) file. The file is re-read on each client
- connection. 
+ connection.
  
- manpagesection(GLOBAL OPTIONS)
-@@ -128,7 +128,7 @@
+ manpagesection(GLOBAL PARAMETERS)
+@@ -125,7 +125,7 @@
  
- dit(bf(path)) The "path" option specifies the directory in the servers
- filesystem to make available in this module.  You must specify this option
+ dit(bf(path)) This parameter specifies the directory in the daemon's
+ filesystem to make available in this module.  You must specify this parameter
 -for each module in tt(rsyncd.conf).
 +for each module in tt(/etc/rsyncd/rsyncd.conf).
  
- dit(bf(use chroot)) If "use chroot" is true, the rsync server will chroot
+ dit(bf(use chroot)) If "use chroot" is true, the rsync daemon will chroot
  to the "path" before starting the file transfer with the client.  This has
-@@ -262,7 +262,7 @@
- you may find that passwords longer than 8 characters don't work. 
+@@ -409,7 +409,7 @@
+ you may find that passwords longer than 8 characters don't work.
  
- There is no default for the "secrets file" option, you must choose a name
+ There is no default for the "secrets file" parameter, you must choose a name
 -(such as tt(/etc/rsyncd.secrets)).  The file must normally not be readable
 +(such as tt(/etc/rsyncd/rsyncd.secrets)).  The file must normally not be readable
  by "other"; see "strict modes".
  
- dit(bf(strict modes)) The "strict modes" option determines whether or not 
-@@ -540,10 +540,10 @@
+ dit(bf(strict modes)) This parameter determines whether or not
+@@ -673,10 +673,10 @@
          path = /data/cvs
          comment = CVS repository (requires authentication)
          auth users = tridge, susan
@@ -76,76 +147,5 @@ diff -burN rsync-2.6.2.orig/rsyncd.conf.yo rsync-2.6.2/rsyncd.conf.yo
 -The /etc/rsyncd.secrets file would look something like this:
 +The /etc/rsyncd/rsyncd.secrets file would look something like this:
  
- tridge:mypass nl()
- susan:herpass
- manpagefiles()
--/etc/rsyncd.conf or rsyncd.conf
-+/etc/rsyncd/rsyncd.conf or rsyncd.conf
- manpageseealso()
-diff -burN rsync-2.6.2.orig/rsync.h rsync-2.6.2/rsync.h
---- rsync-2.6.2.orig/rsync.h   2004-05-02 10:20:23.165076192 +0200
-+++ rsync-2.6.2/rsync.h        2004-05-02 10:29:51.993601112 +0200
-@@ -30,7 +30,7 @@
- /* RSYNCD_SYSCONF is now set in config.h */
- #define RSYNCD_USERCONF "rsyncd.conf"
--#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
-+#define DEFAULT_LOCK_FILE "/var/lock/rsyncd.lock"
- #define URL_PREFIX "rsync://"
- #define BACKUP_SUFFIX "~"
-diff -burN rsync-2.6.2.orig/rsyncstats rsync-2.6.2/rsyncstats
---- rsync-2.6.2.orig/support/rsyncstats        2004-05-02 10:20:23.170075432 +0200
-+++ rsync-2.6.2/support/rsyncstats     2004-05-02 11:13:25.761248032 +0200
-@@ -12,7 +12,7 @@
- use Getopt::Long;
- # You may wish to edit the next line to customize for your default log file.
--$usage_file = "/var/adm/rsyncd.log";
-+$usage_file = "/var/log/rsyncd.log";
- # Edit the following lines for default report settings.
- # Entries defined here will be over-ridden by the command line.
-diff -burN rsync-2.6.2.orig/rsync.yo rsync-2.6.2/rsync.yo
---- rsync-2.6.2.orig/rsync.yo  2004-05-02 10:20:23.163076496 +0200
-+++ rsync-2.6.2/rsync.yo       2004-05-02 11:10:50.675824600 +0200
-@@ -219,7 +219,7 @@
- An rsync server is configured using a configuration file.  Please see the 
- rsyncd.conf(5) man page for more information.  By default the configuration
--file is called /etc/rsyncd.conf, unless rsync is running over a remote
-+file is called /etc/rsyncd/rsyncd.conf, unless rsync is running over a remote
- shell program and is not running as root; in that case, the default name
- is rsyncd.conf in the current directory on the remote computer 
- (typically $HOME).
-@@ -790,7 +790,7 @@
- If standard input is a socket then rsync will assume that it is being
- run via inetd, otherwise it will detach from the current terminal and
- become a background daemon.  The daemon will read the config file
--(rsyncd.conf) on each connect made by a client and respond to
-+(/etc/rsyncd/rsyncd.conf) on each connect made by a client and respond to
- requests accordingly.  See the rsyncd.conf(5) man page for more
- details.
-@@ -1331,7 +1331,7 @@
- dit(bf(--config=FILE)) This specifies an alternate config file than
- the default.  This is only relevant when bf(--daemon) is specified.
--The default is /etc/rsyncd.conf unless the daemon is running over
-+The default is /etc/rsyncd/rsyncd.conf unless the daemon is running over
- a remote shell program and the remote user is not root; in that case
- the default is rsyncd.conf in the current directory (typically $HOME).
-@@ -2005,7 +2005,7 @@
- manpagefiles()
--/etc/rsyncd.conf or rsyncd.conf
-+/etc/rsyncd/rsyncd.conf or rsyncd.conf
- manpageseealso()
+ quote(
+ tt(tridge:mypass)nl()
This page took 0.066445 seconds and 4 git commands to generate.