rsync-vl.spec 8.1 KB

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