]>
Commit | Line | Data |
---|---|---|
ca81edda | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
ca81edda MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = rsync |
7 | version = 3.0.7 | |
8 | release = 1 | |
ca81edda | 9 | |
802ea3af MT |
10 | groups = Applications/Internet |
11 | url = http://rsync.samba.org/ | |
12 | license = GPLv3+ | |
13 | summary = A program for synchronizing files over a network. | |
ca81edda | 14 | |
802ea3af | 15 | description |
ca81edda MT |
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. | |
802ea3af MT |
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 | |
ca81edda | 35 | |
802ea3af MT |
36 | prepare_cmds |
37 | # Fix permission issure. | |
38 | cd %{DIR_APP} && chmod -x support/* | |
ca81edda | 39 | |
802ea3af MT |
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 | |
ca81edda | 44 | |
802ea3af MT |
45 | # Remove cache. |
46 | rm -fr autum4te.cache | |
ca81edda | 47 | |
802ea3af MT |
48 | # Regenerate build environment. |
49 | autoconf | |
50 | autoheader | |
51 | end | |
ca81edda | 52 | |
802ea3af | 53 | make_build_targets = proto all |
ca81edda | 54 | |
802ea3af MT |
55 | make_install_targets += \ |
56 | INSTALLCMD="install -p" \ | |
57 | INSTALLMAN="install -p" | |
ca81edda | 58 | |
802ea3af MT |
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 | |
ca81edda | 65 | |
802ea3af MT |
66 | packages |
67 | package %{name} | |
68 | end | |
1f9bc2f0 MT |
69 | |
70 | package %{name}-debuginfo | |
71 | template DEBUGINFO | |
72 | end | |
802ea3af | 73 | end |