source: projects/specs/trunk/r/rsync/rsync-vl.spec @ 12485

Revision 12485, 10.1 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

ethtool-5.8-1

gettext-0.21-1

rsync-3.2.3-1

squid-4.13-1

Line 
1%bcond_with systemd
2
3Summary:     A program for synchronizing files over a network.
4Summary(ja): ネットワーク越しにファイルを同期させるプログラム
5Name: rsync
6Version: 3.2.3
7Release: 1%{_dist_release}%{?with_systemd:.systemd}
8Group: network
9Vendor: Project Vine
10Distribution: Vine Linux
11Packager: daisuke
12
13License: GPLv3+
14URL: https://rsync.samba.org/
15Source: https://download.samba.org/pub/rsync/src/rsync-%{version}.tar.gz
16Source1: https://download.samba.org/pub/rsync/src/rsync-patches-%{version}.tar.gz
17Source2: rsyncd.socket
18Source3: rsyncd.service
19Source4: rsyncd.conf
20Source5: rsyncd.sysconfig
21Source6: rsyncd@.service
22Source100: rsync.xinetd
23
24#Added temporarily until new rebase
25Patch0: rsync-3.2.2-ssl-verify-hostname.patch
26#Added due to rhbz#1873975 - default-acls test fail on s390x due to libacl
27Patch1: rsync-3.2.2-runtests.patch
28
29# security fixes
30# none
31
32BuildRoot: %{_tmppath}/%{name}-%{version}-root
33BuildRequires: libacl-devel libattr-devel popt-devel
34BuildRequires: lz4-devel openssl-devel libzstd-devel
35BuildRequires: acl attr
36
37%description
38Rsync uses a quick and reliable algorithm to very quickly bring
39remote and host files into sync.  Rsync is fast because it just
40sends the differences in the files over the network (instead of
41sending the complete files). Rsync is often used as a very powerful
42mirroring process or just as a more capable replacement for the
43rcp command.  A technical report which describes the rsync algorithm
44is included in this package.
45
46Install rsync if you need a powerful mirroring program.
47
48%description -l ja
49rsync は高速で信頼性の高いアルゴリズムを使い,遠隔ホスト上のファイルと
50高速に同期させることが出来ます.rsync が高速に動作するのは,ネットワーク
51上に流れるデータがファイルの差分だけだからです (ファイル全体をやりとり
52するのではなく).rsync は強力なミラリングツールとしても,rcp コマンドの
53代替としても使うことが出来ます.rsync のアルゴリズムに関する技術情報は
54このパッケージに同梱されています.
55
56強力なミラープログラムが必要ならば rsync をインストールして下さい.
57
58
59%package daemon
60Summary: Service for anonymous access to rsync
61Group: servers
62BuildArch: noarch
63Requires: %{name} = %{version}-%{release}
64%if %{with systemd}
65%{?systemd_requires}
66%else
67Requires: xinetd
68%endif
69%description daemon
70Rsync can be used to offer read only access to anonymous clients. This
71package provides the anonymous rsync service.
72
73
74%prep
75%setup -q -b 1
76
77#Enable --copy-devices parameter
78patch -p1 -i patches/copy-devices.diff
79
80%patch0 -p1 -b .verify-hostname
81%patch1 -p1 -b .runtests
82
83# security fixes
84# none
85
86%build
87%configure --disable-xxhash
88make %{?_smp_mflags} CCOPTFLAGS="$RPM_OPT_FLAGS"
89
90
91%install
92rm -rf $RPM_BUILD_ROOT
93%makeinstall
94
95install -D -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/rsyncd.conf
96%if %{with systemd}
97install -D -m644 %{SOURCE3} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd.service
98install -D -m644 %{SOURCE2} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd.socket
99install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
100install -D -m644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/rsyncd
101%else
102mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
103install -m 644 %{SOURCE100} $RPM_BUILD_ROOT/etc/xinetd.d/rsync
104%endif
105
106
107%check
108make check
109chmod -x support/*
110
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115
116%if %{with systemd}
117%post daemon
118%systemd_post rsyncd.service
119
120%preun daemon
121%systemd_preun rsyncd.service
122
123%postun daemon
124%systemd_postun_with_restart rsyncd.service
125%endif
126
127
128%files
129%defattr(-,root,root)
130%license COPYING
131%doc README* tech_report.tex support/
132%doc NEWS* TODO
133%{_bindir}/%{name}
134%{_bindir}/%{name}-ssl
135%config(noreplace) %{_sysconfdir}/rsyncd.conf
136%{_mandir}/man1/%{name}.1*
137%{_mandir}/man1/%{name}-ssl.1*
138%{_mandir}/man5/rsyncd.conf.5*
139
140%files daemon
141%if %{with systemd}
142%{_unitdir}/rsyncd.socket
143%{_unitdir}/rsyncd.service
144%{_unitdir}/rsyncd@.service
145%config(noreplace) %{_sysconfdir}/sysconfig/rsyncd
146%else
147%config(noreplace) /etc/xinetd.d/rsync
148%endif
149
150
151%changelog
152* Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.3-1
153- updated to 3.2.3.
154- re-impoerted all patches from rawhide.
155- added systemd support (disabled as default).
156
157* Wed Oct 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.3-1
158- updated to 3.1.2.
159- imported Patch1-3 from rawhide.
160- dropped Patch100-130.
161
162* Sat Jan 13 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.2-1
163- update to 3.1.2
164- add patch100-130 to fix security issue from debian
165- use make reconfigure in build section
166
167* Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.1-2
168- added Patch100 to fix CVE-2014-9512
169
170* Fri Nov 07 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.1-1
171- new upstream release
172- deleted Patch100 to merge source
173
174* Wed Jun 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.1.0-2
175- add Patch100 to fix CVE-2014-2855
176
177* Sat Nov 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.0-1
178- new upstream release
179
180* Fri Jan 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.9-1
181- new upstream release
182
183* Sun May 22 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.8-1
184- new upstream release with security fixes
185- drop patch100 (is included in new release)
186
187* Sat Apr  2 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.7-2
188- add Patch100 for fix CVE-2011-1097 (filelist)
189- change specfile name (-vl)
190
191* Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.7-1
192- new upstream release
193
194* Thu Oct 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.6-1
195- new upstream release
196- changed License tag
197- added Patch0 from Debian
198- added BuildRequires: libattr-devel popt-devel
199- added patch -p1 -i patches/copy-devices.diff in %setup
200  (to enable --copy-devices parameter)
201
202* Sun Sep 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.4-2
203- added BuildRequires: libacl-devel (to enable ACL)
204
205* Tue Sep 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1
206- new upstream release
207- add rsync-patches (replaces patch1,2)
208  use xattr.patch and acls.patch for backword compatibility
209
210* Sun Apr 13 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.2-1
211- new upstream release
212- add patch1,2 for backward compatibility from fc
213- new versioning policy
214
215* Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.9-0vl2
216- add Patch10 for CVE-2007-4091
217  (rsync "f_name()" Function Directory Name Handling Off-By-One Vulnerability)
218
219* Wed Jan 10 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.9-0vl1
220- new upstream release
221- add Vendor/Distribution tag
222
223* Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-0vl1
224- new upstream release
225
226* Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-0vl1
227- new upstream release
228- drop obsolete patch1 which is merged in upstream.
229
230* Tue Aug 17 2004 SATO Masakiyo <info@pocomoco.net> 2.6.2-0vl2
231- added patch1 for a path-sanitizing bug
232
233* Wed May  5 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
234- new upstream release
235
236* Fri Apr 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
237- new upstream release
238
239* Fri Dec 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.7-0vl1
240- new upstream release
241- security fix
242
243* Mon Apr 21 2003 IWAI Masaharu <iwai@alib.jp> 2.5.6-0vl1
244- new upstream release
245
246* Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl1
247- new upstream release
248
249* Wed Mar 13 2002 Toru Sagami <sagami@vinelinux.org> 2.5.4-0vl1
250- updated to 2.5.4, which contains additional fix for zlib double-free bug.
251
252* Tue Mar 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 2.5.3-0vl1
253- upstream release
254
255* Sat Jan 26 2002 Toru Sagami <sagami@vinelinux.org> 2.5.2-0vl1
256- SECURITY FIXES:
257    * Signedness security patch from Sebastian Krahmer
258- added more docs
259
260* Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org>
261- 2.5.1-0vl1
262
263* Sun Dec  2 2001 Yoichi Imai <yoichi@silver-forest.com>
264- 2.5.0-0vl1
265- update to 2.5.0
266- edit maxdel.patch for 2.5.0
267
268* Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
269- 2.4.6-2vl1
270- based on 2.4.6-2 from Rawhide
271- added Japanese summary and description
272
273* Sat Sep 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
274- add xinetd configuration
275
276* Tue Sep 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
277- 2.4.6
278
279* Mon Jul 31 2000 Bill Nottingham <notting@redhat.com>
280- update to 2.4.4 - fixes yet another problem with rsh transport
281
282* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
283- automatic rebuild
284
285* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
286- rebuild in new build env.
287
288* Mon Apr 10 2000 Bill Nottingham <notting@redhat.com>
289- update to 2.4.3
290
291* Tue Apr  4 2000 Bill Nottingham <notting@redhat.com>
292- update to 2.4.2
293
294* Tue Mar  7 2000 Bill Nottingham <notting@redhat.com>
295- fix maxdelete behavior so it isn't sent to older servers.
296
297* Mon Jan 31 2000 Jeff Johnson <jbj@redhat.com>
298- update to 2.4.1.
299
300* Fri Dec 17 1999 Bill Nottingham <notting@redhat.com>
301- update to 2.3.2
302
303* Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
304- add "max. delete" patch to limit damage when server is hosed.
305
306* Wed Apr 07 1999 Bill Nottingham <notting@redhat.com>
307- update to 2.3.1.
308
309* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
310- auto rebuild in the new build environment (release 2)
311
312* Tue Mar 16 1999 Jeff Johnson <jbj@redhat.com>
313- update to 2.3.0.
314
315* Sat Mar 13 1999 Jeff Johnson <jbj@redhat.com>
316- update to 2.3.0 beta.
317
318* Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
319- update to 2.2.1
320
321* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
322- updated to 2.1.1
323
324* Mon Aug 17 1998 Erik Troan <ewt@redhat.com>
325- updated to 2.1.0
326
327* Thu Aug 06 1998 Erik Troan <ewt@redhat.com>
328- buildrooted and attr-rophied
329- removed tech-report.ps; the .tex should be good enough
330
331* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
332- Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
333  was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
334  showing no packager nor signature but giving
335  "Source RPM: rsync-1.6.3-1.src.rpm".
336- Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
337  to '%build', removed '%prefix'.
338
339* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
340- rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
341  previous package(s).)
Note: See TracBrowser for help on using the repository browser.