]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - rsync/rsync.nm
glibc: Update to 2.19.
[people/ms/ipfire-3.x.git] / rsync / rsync.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = rsync
7 version = 3.0.7
8 release = 1
9
10 groups = Applications/Internet
11 url = http://rsync.samba.org/
12 license = GPLv3+
13 summary = A program for synchronizing files over a network.
14
15 description
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
22 package.
23 end
24
25 source_dl = http://rsync.samba.org/ftp/rsync/
26 sources += %{name}-patches-%{version}.tar.gz
27
28 build
29 requires
30 autoconf
31 libacl-devel
32 libattr-devel
33 popt-devel
34 end
35
36 prepare_cmds
37 # Fix permission issure.
38 cd %{DIR_APP} && chmod -x support/*
39
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
44
45 # Remove cache.
46 rm -fr autum4te.cache
47
48 # Regenerate build environment.
49 autoconf
50 autoheader
51 end
52
53 make_build_targets = proto all
54
55 make_install_targets += \
56 INSTALLCMD="install -p" \
57 INSTALLMAN="install -p"
58
59 install_cmds
60 mkdir -pv %{BUILDROOT}/etc/xinetd.d
61 install -p -m 644 %{DIR_SOURCE}/rsync.xinetd \
62 %{BUILDROOT}/etc/xinetd.d/rsync
63 end
64 end
65
66 packages
67 package %{name}
68 end
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end