1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/Internet
11 url = http://rsync.samba.org/
13 summary = A program for synchronizing files over a network.
16 Rsync uses a reliable algorithm to bring remote and host files into
17 sync very quickly. Rsync is fast because it just sends the differences
18 in the files over the network instead of sending the complete
19 files. Rsync is often used as a very powerful mirroring process or
20 just as a more capable replacement for the rcp command. A technical
21 report which describes the rsync algorithm is included in this
25 source_dl = http://rsync.samba.org/ftp/rsync/
26 sources += %{name}-patches-%{version}.tar.gz
37 # Fix permission issure.
38 cd %{DIR_APP} && chmod -x support/*
40 # Apply upstream patches.
41 patch -Np1 -i patches/acls.diff
42 patch -Np1 -i patches/xattrs.diff
43 patch -Np1 -i patches/copy-devices.diff
48 # Regenerate build environment.
53 make_build_targets = proto all
55 make_install_targets += \
56 INSTALLCMD="install -p" \
57 INSTALLMAN="install -p"
60 mkdir -pv %{BUILDROOT}/etc/xinetd.d
61 install -p -m 644 %{DIR_SOURCE}/rsync.xinetd \
62 %{BUILDROOT}/etc/xinetd.d/rsync
70 package %{name}-debuginfo