Difference between revisions of "Rsync"
From CBLFS
Jump to navigationJump to searchBigdissaved (talk | contribs) m (fix botscript, now using bootscript package) |
|||
Line 26: | Line 26: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl- | + | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl-2.patch && |
./configure --prefix=/usr --enable-acl-support && | ./configure --prefix=/usr --enable-acl-support && | ||
make | make | ||
Line 41: | Line 41: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl- | + | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl-2.patch && |
CC="gcc ${BUILD32}" \ | CC="gcc ${BUILD32}" \ | ||
./configure --prefix=/usr --enable-acl-support && | ./configure --prefix=/usr --enable-acl-support && | ||
Line 54: | Line 54: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl- | + | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl-2.patch && |
CC="gcc ${BUILDN32}" \ | CC="gcc ${BUILDN32}" \ | ||
./configure --prefix=/usr --enable-acl-support && | ./configure --prefix=/usr --enable-acl-support && | ||
Line 67: | Line 67: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl- | + | patch -Np1 -i ../rsync-{{Rsync-Version}}-acl-2.patch && |
CC="gcc ${BUILD64}" \ | CC="gcc ${BUILD64}" \ | ||
./configure --prefix=/usr --enable-acl-support && | ./configure --prefix=/usr --enable-acl-support && |
Revision as of 08:45, 25 October 2008
Download Source: | http://samba.anu.edu.au/ftp/rsync/src/rsync-3.0.7.tar.gz |
---|---|
Optional (ACL) Patch: | http://svn.cross-lfs.org/svn/repos/patches/rsync/rsync-3.0.7-acl-2.patch |
Contents
Introduction to Rsync
According to it's website, rsync is an open source utility that provides fast incremental file transfer.
Project Homepage: http://samba.org/rsync/
Dependencies
Optional
Creating the rsyncd User/Group
groupadd -g 49 rsyncd && useradd -c "rsyncd Daemon" -d /home/rsync -g rsyncd -s /bin/false -u 49 rsyncd
Non-Multilib
Compile the package:
patch -Np1 -i ../rsync-3.0.7-acl-2.patch && ./configure --prefix=/usr --enable-acl-support && make
Install the package:
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
patch -Np1 -i ../rsync-3.0.7-acl-2.patch && CC="gcc ${BUILD32}" \ ./configure --prefix=/usr --enable-acl-support && make
Install the package:
make install
N32
Compile the package:
patch -Np1 -i ../rsync-3.0.7-acl-2.patch && CC="gcc ${BUILDN32}" \ ./configure --prefix=/usr --enable-acl-support && make
Install the package:
make install
64Bit
Compile the package:
patch -Np1 -i ../rsync-3.0.7-acl-2.patch && CC="gcc ${BUILD64}" \ ./configure --prefix=/usr --enable-acl-support && make
Install the package:
make install
Configuring
If you would like to run the daemon create a config file and then the bootscript.
rsyncd.conf
Example configuration, See rsyncd.conf{5} and/or http://rsync.samba.org/documentation.html for more information:
cat > /etc/rsyncd.conf << "EOF" motd file = /home/rsync/welcome.msg use chroot = yes uid = rsyncd gid = rsyncd [localhost] path = /home/rsync comment = Default rsync module read only = yes list = yes EOF
Bootscript
Install the init script provided by the bootscripts package:
make install-rsyncd