]> git.pld-linux.org Git - packages/rsync.git/blobdiff - rsync-config.patch
- release 2: use new %doc.
[packages/rsync.git] / rsync-config.patch
index 80ce82d376ae25887713e5227ef93ed33685e4e7..ae796e9f04b99f9c795406b53392196c9dbc6297 100644 (file)
@@ -1,6 +1,6 @@
-diff -Nur rsync-2.3.1/rsync.h rsync-2.3.1.pld/rsync.h
---- rsync-2.3.1/rsync.h        Mon Mar 15 22:23:12 1999
-+++ rsync-2.3.1.pld/rsync.h    Thu Jun 17 09:27:07 1999
+diff -ruN rsync-2.3.2/rsync.h rsync-2.3.2-new/rsync.h
+--- rsync-2.3.2/rsync.h        Mon Nov  8 14:15:02 1999
++++ rsync-2.3.2-new/rsync.h    Fri Nov 19 17:51:35 1999
 @@ -24,9 +24,9 @@
  #define RSYNC_RSH_ENV "RSYNC_RSH"
  
@@ -13,10 +13,9 @@ diff -Nur rsync-2.3.1/rsync.h rsync-2.3.1.pld/rsync.h
  #define URL_PREFIX "rsync://"
  
  #define BACKUP_SUFFIX "~"
-diff -Nur rsync-2.3.1/rsync.yo rsync-2.3.1.pld/rsync.yo
---- rsync-2.3.1/rsync.yo       Tue Apr  6 17:04:17 1999
-+++ rsync-2.3.1.pld/rsync.yo   Thu Jun 17 09:33:26 1999
-@@ -168,7 +168,7 @@
+--- rsync-2.5.3/rsync.yo.orig  Fri Jan 25 11:42:23 2002
++++ rsync-2.5.3/rsync.yo       Sat Jan 26 07:10:18 2002
+@@ -173,7 +173,7 @@
  manpagesection(RUNNING AN RSYNC SERVER)
  
  An rsync server is configured using a config file which by default is
@@ -25,14 +24,17 @@ diff -Nur rsync-2.3.1/rsync.yo rsync-2.3.1.pld/rsync.yo
  information. 
  
  manpagesection(EXAMPLES)
-@@ -592,12 +592,12 @@
- daemon. 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 (/etc/rsyncd.conf) on each connect made by a client and
-+config file (/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. 
+@@ -628,7 +628,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
+-(/etc/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.
+@@ -648,7 +648,7 @@
+ in conjunction with the --config option.
  
  dit(bf(--config=FILE)) This specifies an alternate config file than
 -the default /etc/rsyncd.conf. This is only relevant when --daemon is
@@ -40,7 +42,7 @@ diff -Nur rsync-2.3.1/rsync.yo rsync-2.3.1.pld/rsync.yo
  specified. 
  
  dit(bf(--port=PORT)) This specifies an alternate TCP port number to use
-@@ -742,7 +742,7 @@
+@@ -926,7 +926,7 @@
  
  manpagefiles()
  
@@ -49,10 +51,9 @@ diff -Nur rsync-2.3.1/rsync.yo rsync-2.3.1.pld/rsync.yo
  
  manpageseealso()
  
-diff -Nur rsync-2.3.1/rsyncd.conf.5 rsync-2.3.1.pld/rsyncd.conf.5
---- rsync-2.3.1/rsyncd.conf.5  Tue Apr  6 17:04:17 1999
-+++ rsync-2.3.1.pld/rsyncd.conf.5      Thu Jun 17 09:35:51 1999
-@@ -59,14 +59,14 @@
+--- rsync-2.5.3/rsyncd.conf.5.orig     Fri Aug 31 10:12:35 2001
++++ rsync-2.5.3/rsyncd.conf.5  Sat Jan 26 07:13:23 2002
+@@ -64,7 +64,7 @@
  and a single line something like this to /etc/inetd\&.conf:
  .PP 
  .RS 
@@ -60,16 +61,17 @@ diff -Nur rsync-2.3.1/rsyncd.conf.5 rsync-2.3.1.pld/rsyncd.conf.5
 +rsync   stream  tcp     nowait  root   /usr/sbin/rsync rsyncd --daemon
  .RE 
  .PP 
- You will then need to send inetd a HUP signal to tell it to reread its
- config file\&.
+ Replace "/usr/bin/rsync" with the path to where you have rsync installed on
+@@ -72,7 +72,7 @@
+ reread its config file\&.
  .PP 
  Note that you should not send the rsync server a HUP signal to force
 -it to reread the \f(CW/etc/rsyncd\&.conf\fP\&. The file is re-read on each client
-+it to reread the \f(CW/etc/rsyncd/rsyncd\&.conf\fP\&. The file is re-read on each client
++it to reread the \f(CW/etc/rsyncd/rsyncd\etc/rsyncd\&.conf.conf\fP\&. The file is re-read on each client
  connection\&. 
  .PP 
  .SH "GLOBAL OPTIONS" 
-@@ -128,7 +128,7 @@
+@@ -134,7 +134,7 @@
  .IP "\fBpath\fP" 
  The "path" option specifies the directory in the servers
  filesystem to make available in this module\&.  You must specify this option
@@ -78,32 +80,23 @@ diff -Nur rsync-2.3.1/rsyncd.conf.5 rsync-2.3.1.pld/rsyncd.conf.5
  .IP 
  .IP "\fBuse chroot\fP" 
  If "use chroot" is true, the rsync server will chroot
-@@ -239,7 +239,7 @@
+@@ -250,7 +250,7 @@
  you may find that passwords longer than 8 characters don\'t work\&. 
  .IP 
  There is no default for the "secrets file" option, you must choose a name
--(such as \f(CW/etc/rsyncd\&.secrets\fP)\&.
-+(such as \f(CW/etc/rsyncd/rsyncd\&.secrets\fP)\&.
+-(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 
  .IP "\fBstrict modes\fP" 
- The "strict modes" option determines whether or not 
-@@ -429,7 +429,7 @@
- .br 
- syslog facility = local5 
- .br 
--pid file = /etc/rsyncd\&.pid
-+pid file = /var/run/rsyncd\&.pid
- .PP 
- .DS 
-@@ -454,13 +454,13 @@
+@@ -481,13 +481,13 @@
          path = /data/cvs
          comment = CVS repository (requires authentication)
          auth users = tridge, susan
 -        secrets file = /etc/rsyncd\&.secrets
 +        secrets file = /etc/rsyncd/rsyncd\&.secrets
  
- .DE 
+ .fi 
   
  
  .PP 
@@ -112,7 +105,7 @@ diff -Nur rsync-2.3.1/rsyncd.conf.5 rsync-2.3.1.pld/rsyncd.conf.5
  .PP 
  tridge:mypass 
  .br 
-@@ -468,7 +468,7 @@
+@@ -495,7 +495,7 @@
  .PP 
  .SH "FILES" 
  .PP 
@@ -121,18 +114,18 @@ diff -Nur rsync-2.3.1/rsyncd.conf.5 rsync-2.3.1.pld/rsyncd.conf.5
  .PP 
  .SH "SEE ALSO" 
  .PP 
-diff -Nur rsync-2.3.1/rsyncd.conf.yo rsync-2.3.1.pld/rsyncd.conf.yo
---- rsync-2.3.1/rsyncd.conf.yo Tue Apr  6 17:04:17 1999
-+++ rsync-2.3.1.pld/rsyncd.conf.yo     Thu Jun 17 09:44:41 1999
-@@ -56,13 +56,13 @@
+--- rsync-2.5.3/rsyncd.conf.yo.orig    Fri Aug 31 10:12:35 2001
++++ rsync-2.5.3/rsyncd.conf.yo Sat Jan 26 07:14:48 2002
+@@ -61,14 +61,14 @@
  
  and a single line something like this to /etc/inetd.conf:
      
 -quote(rsync   stream  tcp     nowait  root   /usr/bin/rsync rsyncd --daemon)
 +quote(rsync   stream  tcp     nowait  root   /usr/sbin/rsync rsyncd --daemon)
  
- You will then need to send inetd a HUP signal to tell it to reread its
- config file.
+ Replace "/usr/bin/rsync" with the path to where you have rsync installed on
+ your system.  You will then need to send inetd a HUP signal to tell it to
+ reread its config file.
  
  Note that you should not send the rsync server a HUP signal to force
 -it to reread the tt(/etc/rsyncd.conf). The file is re-read on each client
@@ -140,7 +133,7 @@ diff -Nur rsync-2.3.1/rsyncd.conf.yo rsync-2.3.1.pld/rsyncd.conf.yo
  connection. 
  
  manpagesection(GLOBAL OPTIONS)
-@@ -121,7 +121,7 @@
+@@ -127,7 +127,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
@@ -149,25 +142,16 @@ diff -Nur rsync-2.3.1/rsyncd.conf.yo rsync-2.3.1.pld/rsyncd.conf.yo
  
  dit(bf(use chroot)) If "use chroot" is true, the rsync server will chroot
  to the "path" before starting the file transfer with the client.  This has
-@@ -219,7 +219,7 @@
+@@ -230,7 +230,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
--(such as tt(/etc/rsyncd.secrets)).
-+(such as tt(/etc/rsyncd/rsyncd.secrets)).
+-(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 
- the permissions on the secrets file will be checked.  If "strict modes" is
-@@ -373,7 +373,7 @@
- use chroot = no nl()
- max connections = 4 nl()
- syslog facility = local5 nl()
--pid file = /etc/rsyncd.pid
-+pid file = /var/run/rsyncd.pid
- verb([ftp]
-         path = /var/ftp/pub
-@@ -395,17 +395,17 @@
+@@ -420,17 +420,17 @@
          path = /data/cvs
          comment = CVS repository (requires authentication)
          auth users = tridge, susan
@@ -188,9 +172,9 @@ diff -Nur rsync-2.3.1/rsyncd.conf.yo rsync-2.3.1.pld/rsyncd.conf.yo
  
  manpageseealso()
  
-diff -Nur rsync-2.3.1/rsyncstats rsync-2.3.1.pld/rsyncstats
---- rsync-2.3.1/rsyncstats     Wed Nov 25 17:24:40 1998
-+++ rsync-2.3.1.pld/rsyncstats Thu Jun 17 09:29:14 1999
+diff -ruN rsync-2.3.2/rsyncstats rsync-2.3.2-new/rsyncstats
+--- rsync-2.3.2/rsyncstats     Wed Nov 25 17:24:40 1998
++++ rsync-2.3.2-new/rsyncstats Fri Nov 19 17:51:35 1999
 @@ -23,7 +23,7 @@
  # ---------------------------------------------------------------------------
  
This page took 0.320644 seconds and 4 git commands to generate.