From fdf798a662886282ed6d80e6e42256b499cc643d Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Fri, 3 Jun 2005 18:46:08 +0000 Subject: [PATCH] Updated to rsync-2.6.5 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4544 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 2 +- introduction/welcome/changelog.xml | 3 +- server/other/rsync.xml | 65 +++++++++++++++++++++--------- 3 files changed, 50 insertions(+), 20 deletions(-) diff --git a/general.ent b/general.ent index a1aeaad228..dd29fc3d13 100644 --- a/general.ent +++ b/general.ent @@ -211,7 +211,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 1b962a1b36..d1106005ab 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -26,7 +26,8 @@ June 3rd, 2005 [randy]: Updated Samba configuration information as - suggested by Alexander Patrakov (fixes bug #1386). + suggested by Alexander Patrakov (fixes bug #1386); Updated to + rsync-2.6.5. diff --git a/server/other/rsync.xml b/server/other/rsync.xml index d2551834c0..ce32df7b4b 100644 --- a/server/other/rsync.xml +++ b/server/other/rsync.xml @@ -6,10 +6,10 @@ - - - - + + + + ]> @@ -58,7 +58,8 @@ rsync Dependencies Optional - + and + @@ -69,17 +70,37 @@ server as an unprivileged user and group is encouraged. If you intend to run rsync as a daemon, create the rsyncd user and group - with the following commands: + with the following commands issued by the + root user: -groupadd rsyncd && -useradd -c "rsyncd Daemon" -d /home/rsync -g rsyncd -s /bin/false rsyncd +groupadd -g 48 rsyncd && +useradd -c "rsyncd Daemon" -d /home/rsync -g rsyncd \ + -s /bin/false -u 48 rsyncd Install rsync by running the following commands: ./configure --prefix=/usr && -make && -make install +make + + If you have DocBook-Utils installed and wish to build HTML + documentation, issue: + +cd doc && +docbook2html rsync.sgml && +cd .. + + To test the results, issue: make check. + + Now, as the root user: + +make install + + If you built the HTML documentation, install it using the following + commands as the root user: + +install -v -m755 -d /usr/share/doc/rsync-&rsync-version; && +install -v -m644 doc/*.html /usr/share/doc/rsync-&rsync-version; @@ -100,7 +121,11 @@ make install Configuration Information - This is a simple download-only configuration. See the rsyncd + For client access to remote files, you may need to install the + package to connect to the remote server. + + This is a simple download-only configuration to set up running + rsync as a server. See the rsyncd.conf(5) man-page for additional options (i.e., user authentication). cat > /etc/rsyncd.conf << "EOF" @@ -120,13 +145,17 @@ use chroot = yes EOF + You can find additional configuration information and general + documentation about rsync at + . + - + Boot Script Note that you only want to start the - rsync server if you want to provide a + rsync server if you want to provide an rsync archive on your local machine. You don't need this script to run the rsync client. @@ -152,7 +181,7 @@ EOF rsync None - Not determined at this time + Optionally, /usr/share/doc/rsync-&rsync-version; @@ -166,10 +195,10 @@ EOF is a replacement for rcp (and scp) that has many more features. It uses the - "rsync algorithm" which provides a very fast method of syncing - remote files. It does this by sending just the differences in the - files across the link, without requiring that both sets of files - are present at one end of the link beforehand. + rsync algorithm which provides a very fast method of + syncing remote files. It does this by sending just the differences + in the files across the link, without requiring that both sets of + files are present at one end of the link beforehand. rsync