rsync-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. Summary: A program for synchronizing files over a network.
  2. Summary(ja): ネットワーク越しにファイルを同期させるプログラム
  3. Name: rsync
  4. Version: 3.1.2
  5. Release: 1%{_dist_release}
  6. Group: Applications/Internet
  7. License: GPLv3+
  8. URL: http://rsync.samba.org
  9. Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
  10. Source1: ftp://rsync.samba.org/pub/rsync/rsync-patches-%{version}.tar.gz
  11. Source2: rsync.xinetd
  12. Patch0: ssh-6-option.diff
  13. # security fixes
  14. Patch100: 0001-Enforce-trailing-0-when-receiving-xattr-name-values.patch
  15. Patch110: 0002-Check-fname-in-recv_files-sooner.patch
  16. Patch120: 0003-Sanitize-xname-in-read_ndx_and_attrs.patch
  17. Patch130: 0004-Check-daemon-filter-against-fnamecmp-in-recv_files.patch
  18. Prefix: %{_prefix}
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: libacl-devel libattr-devel popt-devel
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: daisuke
  24. %description
  25. Rsync uses a quick and reliable algorithm to very quickly bring
  26. remote and host files into sync. Rsync is fast because it just
  27. sends the differences in the files over the network (instead of
  28. sending the complete files). Rsync is often used as a very powerful
  29. mirroring process or just as a more capable replacement for the
  30. rcp command. A technical report which describes the rsync algorithm
  31. is included in this package.
  32. Install rsync if you need a powerful mirroring program.
  33. %description -l ja
  34. rsync は高速で信頼性の高いアルゴリズムを使い,遠隔ホスト上のファイルと
  35. 高速に同期させることが出来ます.rsync が高速に動作するのは,ネットワーク
  36. 上に流れるデータがファイルの差分だけだからです (ファイル全体をやりとり
  37. するのではなく).rsync は強力なミラリングツールとしても,rcp コマンドの
  38. 代替としても使うことが出来ます.rsync のアルゴリズムに関する技術情報は
  39. このパッケージに同梱されています.
  40. 強力なミラープログラムが必要ならば rsync をインストールして下さい.
  41. %prep
  42. %setup -q -b 1
  43. # backword compatibility fix patches
  44. patch -p1 -i patches/acls.diff
  45. patch -p1 -i patches/xattrs.diff
  46. #Enable --copy-devices parameter
  47. patch -p1 -i patches/copy-devices.diff
  48. %patch0 -p1 -b .man
  49. # security fixes
  50. %patch100 -p1
  51. %patch110 -p1
  52. %patch120 -p1
  53. %patch130 -p1
  54. %build
  55. autoreconf
  56. # %configure
  57. make reconfigure
  58. make %{?_smp_mflags} CCOPTFLAGS="$RPM_OPT_FLAGS"
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. %makeinstall
  62. mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d
  63. install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/xinetd.d/rsync
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root)
  68. %doc COPYING README tech_report.tex
  69. %doc NEWS OLDNEWS TODO
  70. /etc/xinetd.d/rsync
  71. %{_prefix}/bin/rsync
  72. %{_mandir}/man1/rsync.1*
  73. %{_mandir}/man5/rsyncd.conf.5*
  74. %changelog
  75. * Sat Jan 13 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.2-1
  76. - update to 3.1.2
  77. - add patch100-130 to fix security issue from debian
  78. - use make reconfigure in build section
  79. * Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.1-2
  80. - added Patch100 to fix CVE-2014-9512
  81. * Fri Nov 07 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.1-1
  82. - new upstream release
  83. - deleted Patch100 to merge source
  84. * Wed Jun 11 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.1.0-2
  85. - add Patch100 to fix CVE-2014-2855
  86. * Sat Nov 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.1.0-1
  87. - new upstream release
  88. * Fri Jan 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.9-1
  89. - new upstream release
  90. * Sun May 22 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.8-1
  91. - new upstream release with security fixes
  92. - drop patch100 (is included in new release)
  93. * Sat Apr 2 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.7-2
  94. - add Patch100 for fix CVE-2011-1097 (filelist)
  95. - change specfile name (-vl)
  96. * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.7-1
  97. - new upstream release
  98. * Thu Oct 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.6-1
  99. - new upstream release
  100. - changed License tag
  101. - added Patch0 from Debian
  102. - added BuildRequires: libattr-devel popt-devel
  103. - added patch -p1 -i patches/copy-devices.diff in %setup
  104. (to enable --copy-devices parameter)
  105. * Sun Sep 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 3.0.4-2
  106. - added BuildRequires: libacl-devel (to enable ACL)
  107. * Tue Sep 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.4-1
  108. - new upstream release
  109. - add rsync-patches (replaces patch1,2)
  110. use xattr.patch and acls.patch for backword compatibility
  111. * Sun Apr 13 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.0.2-1
  112. - new upstream release
  113. - add patch1,2 for backward compatibility from fc
  114. - new versioning policy
  115. * Tue Aug 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.9-0vl2
  116. - add Patch10 for CVE-2007-4091
  117. (rsync "f_name()" Function Directory Name Handling Off-By-One Vulnerability)
  118. * Wed Jan 10 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.6.9-0vl1
  119. - new upstream release
  120. - add Vendor/Distribution tag
  121. * Mon Mar 28 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-0vl1
  122. - new upstream release
  123. * Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-0vl1
  124. - new upstream release
  125. - drop obsolete patch1 which is merged in upstream.
  126. * Tue Aug 17 2004 SATO Masakiyo <info@pocomoco.net> 2.6.2-0vl2
  127. - added patch1 for a path-sanitizing bug
  128. * Wed May 5 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
  129. - new upstream release
  130. * Fri Apr 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
  131. - new upstream release
  132. * Fri Dec 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.7-0vl1
  133. - new upstream release
  134. - security fix
  135. * Mon Apr 21 2003 IWAI Masaharu <iwai@alib.jp> 2.5.6-0vl1
  136. - new upstream release
  137. * Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl1
  138. - new upstream release
  139. * Wed Mar 13 2002 Toru Sagami <sagami@vinelinux.org> 2.5.4-0vl1
  140. - updated to 2.5.4, which contains additional fix for zlib double-free bug.
  141. * Tue Mar 12 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 2.5.3-0vl1
  142. - upstream release
  143. * Sat Jan 26 2002 Toru Sagami <sagami@vinelinux.org> 2.5.2-0vl1
  144. - SECURITY FIXES:
  145. * Signedness security patch from Sebastian Krahmer
  146. - added more docs
  147. * Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org>
  148. - 2.5.1-0vl1
  149. * Sun Dec 2 2001 Yoichi Imai <yoichi@silver-forest.com>
  150. - 2.5.0-0vl1
  151. - update to 2.5.0
  152. - edit maxdel.patch for 2.5.0
  153. * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  154. - 2.4.6-2vl1
  155. - based on 2.4.6-2 from Rawhide
  156. - added Japanese summary and description
  157. * Sat Sep 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  158. - add xinetd configuration
  159. * Tue Sep 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  160. - 2.4.6
  161. * Mon Jul 31 2000 Bill Nottingham <notting@redhat.com>
  162. - update to 2.4.4 - fixes yet another problem with rsh transport
  163. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  164. - automatic rebuild
  165. * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
  166. - rebuild in new build env.
  167. * Mon Apr 10 2000 Bill Nottingham <notting@redhat.com>
  168. - update to 2.4.3
  169. * Tue Apr 4 2000 Bill Nottingham <notting@redhat.com>
  170. - update to 2.4.2
  171. * Tue Mar 7 2000 Bill Nottingham <notting@redhat.com>
  172. - fix maxdelete behavior so it isn't sent to older servers.
  173. * Mon Jan 31 2000 Jeff Johnson <jbj@redhat.com>
  174. - update to 2.4.1.
  175. * Fri Dec 17 1999 Bill Nottingham <notting@redhat.com>
  176. - update to 2.3.2
  177. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  178. - add "max. delete" patch to limit damage when server is hosed.
  179. * Wed Apr 07 1999 Bill Nottingham <notting@redhat.com>
  180. - update to 2.3.1.
  181. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  182. - auto rebuild in the new build environment (release 2)
  183. * Tue Mar 16 1999 Jeff Johnson <jbj@redhat.com>
  184. - update to 2.3.0.
  185. * Sat Mar 13 1999 Jeff Johnson <jbj@redhat.com>
  186. - update to 2.3.0 beta.
  187. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  188. - update to 2.2.1
  189. * Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
  190. - updated to 2.1.1
  191. * Mon Aug 17 1998 Erik Troan <ewt@redhat.com>
  192. - updated to 2.1.0
  193. * Thu Aug 06 1998 Erik Troan <ewt@redhat.com>
  194. - buildrooted and attr-rophied
  195. - removed tech-report.ps; the .tex should be good enough
  196. * Mon Aug 25 1997 John A. Martin <jam@jamux.com>
  197. - Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
  198. was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
  199. showing no packager nor signature but giving
  200. "Source RPM: rsync-1.6.3-1.src.rpm".
  201. - Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
  202. to '%build', removed '%prefix'.
  203. * Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
  204. - rsync-1.6.2-1 packaged. (This entry by jam to credit Michael for the
  205. previous package(s).)