cvs-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. %define version 1.12.13
  2. Summary: A version control system.
  3. Summary(ja): バージョン管理システム
  4. Name: cvs
  5. Version: %{version}
  6. Release: 8%{?_dist_release}
  7. License: GPL
  8. Group: Development/Tools
  9. URL: http://www.cvshome.org/
  10. Source0: http://ftp.cvshome.org/release/feature/cvs-%{version}/cvs-%{version}.tar.bz2
  11. Source100: filter-requires-getopts-pl.sh
  12. Patch2: cvs-1.12.13-authserver.patch
  13. Patch3: cvs-1.11.2-cvspass.patch
  14. Patch5: cvs-1.11.2-install.patch
  15. Patch101: can-2005-2693.patch
  16. Patch102: cvs-1.12.13_CVE-2012-0804.patch
  17. Requires(pre): install-info
  18. Prefix: %{_prefix}
  19. Buildroot: %{_tmppath}/%{name}-%{version}-root
  20. Requires: perl, zlib
  21. BuildRequires: zlib-devel
  22. BuildRequires: openssl-devel
  23. BuildRequires: vim
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. # for perl
  27. %define __find_requires %{SOURCE100}
  28. %description
  29. CVS (Concurrent Version System) is a version control system which can
  30. record the history of your files (usually, but not always, source
  31. code). CVS only stores the differences between versions, instead of
  32. every version of every file you've ever created. CVS also keeps a log
  33. of who, when and why changes occurred.
  34. CVS is very helpful for managing releases and controlling the
  35. concurrent editing of source files among multiple authors. Instead of
  36. providing version control for a collection of files in a single
  37. directory, CVS provides version control for a hierarchical collection
  38. of directories consisting of revision controlled files. These
  39. directories and files can then be combined together to form a software
  40. release.
  41. Install the cvs package if you need to use a version control system.
  42. #'
  43. %description -l ja
  44. CVS (Concurrent Version System) はバージョン管理システムで,
  45. ファイル (必ずしもそうとは限りませんが多くの場合ソースコード) の
  46. 変更履歴を記録することが出来ます.CVS はファイルの全バージョンを
  47. 保存しておくのではなく,バージョン間の変更差分だけを保存します.
  48. CVS はまた誰が何故変更を行ったのかのログも記録します.
  49. CVS は,ソースファイルを複数の開発者が同時に編集する際のリリース管理に
  50. 非常に役立ちます.
  51. バージョン管理システムが必要なら cvs パッケージをインストールして下さい.
  52. %prep
  53. %setup -q
  54. %patch2 -p1 -b .authserver
  55. %patch3 -p1 -b .cvspass
  56. %patch5 -p1 -b .install
  57. %patch101 -p1 -b .can-2005-2693
  58. %patch102 -p1 -b .CVE-2012-0804
  59. %build
  60. %configure --with-external-zlib
  61. make %{?_smp_mflags}
  62. make -C doc info
  63. %install
  64. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  65. %{makeinstall}
  66. gzip %{buildroot}%{_infodir}/cvs* || true
  67. rm -f %{buildroot}%{_infodir}/dir
  68. %clean
  69. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  70. %post
  71. /sbin/install-info /%{_infodir}/cvs.info.gz /%{_infodir}/dir
  72. /sbin/install-info /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir
  73. %preun
  74. if [ $1 = 0 ]; then
  75. /sbin/install-info --delete /%{_infodir}/cvs.info.gz /%{_infodir}/dir
  76. /sbin/install-info --delete /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir
  77. fi
  78. %files
  79. %defattr(-,root,root)
  80. %doc AUTHORS BUGS COPYING COPYING.LIB ChangeLog ChangeLog.zoo DEVEL-CVS HACKING FAQ INSTALL MINOR-BUGS NEWS PROJECTS TODO README README.VMS
  81. %doc doc/*.pdf
  82. %{_bindir}/cvs
  83. %{_bindir}/cvsbug
  84. %{_bindir}/rcs2log
  85. %{_mandir}/man1/cvs.1*
  86. %{_mandir}/man5/cvs.5*
  87. %{_mandir}/man8/cvsbug.8*
  88. %{_infodir}/cvs*
  89. %{_datadir}/cvs
  90. %changelog
  91. * Mon Nov 05 2018 Toshiaki Ara <ara_t@384.jp> 1.12.13-8
  92. - rebuild with openssl-1.1.1
  93. * Fri May 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.13-7
  94. - rebuild with openssl-1.0.2
  95. * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.12.13-6
  96. - build with current VineSeed
  97. * Fri Feb 10 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>1.12.13-5vl6
  98. - add patch102 for fix CVE-2012-0804 (heap overflow in the CVS client)
  99. - add Vendor / Distri Tags
  100. * Sat Apr 2 2011 IWAI, Masaharu <iwai@alib.jp> 1.12.13-4vl6
  101. - build with krb5-libs 1.8.2
  102. - add doc/*.pdf in %%doc
  103. * Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.13-3
  104. - rebuild with openssl-1.0.0c
  105. - add BuildRequires: openssl-devel, vim
  106. * Wed Apr 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12.13-2
  107. - spec in utf-8
  108. * Sat Apr 26 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 1.12.13-1
  109. - rebuild with perl-5.10.0-1vl5
  110. - add filter-requires-getopts-pl.sh (Source100)
  111. * Sun Jun 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12.13-0vl1
  112. - new upstream release
  113. - drop Patch100 which are merged in upstream.
  114. * Mon Jan 30 2006 Shu KONNO <owa@bg.wakwak.com> 1.12.9-0vl4
  115. - rebuilt with VineSeed
  116. * Fri Aug 26 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.12.9-0vl3.1
  117. - added a security patch for CAN-2005-2693 (CVS temporary file issue).
  118. * Wed Apr 27 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.12.9-0vl3
  119. - added a security patch for can-2005-0753 (Buffer Overflow and DoS).
  120. * Thu Jun 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12.9-0vl2
  121. - remove unneeded dependency
  122. - change Prereq: info to install-info
  123. - add %%{_smp_mflags} to make option
  124. * Thu Jun 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12.9-0vl1
  125. - new upstream release
  126. - security update
  127. This release fixes several serious security issues in the CVS server
  128. executable. It also contains one minor bug fix and the cvs log' and cvs ls'
  129. commands now output times in the client's local timezone.
  130. * Thu May 20 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.12.8-0vl1
  131. - new upstream release
  132. - security update
  133. This release fixes a serious security issue in the CVS server executable.
  134. * Mon Apr 19 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.12.7-0vl2
  135. - fixed typo in description
  136. * Mon Apr 19 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.12.7-0vl1
  137. - new upstream release
  138. - security update
  139. This release fixes serious security issues in both the client and
  140. server executables. It also contains many bug fixes and support for
  141. accessing CVS pservers via intervening HTTP proxies.
  142. - fixed broken description
  143. - changed Source0 URL
  144. * Sat Dec 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.12.5-0vl2
  145. - fixed typo in changelog
  146. * Fri Dec 19 2003 Satoshi MACHINO <machino@vinelinux.org> 1.12.5-0vl1
  147. - new upstream release
  148. - added "--with-external-zlib2" to configure option
  149. -- dropped patch4
  150. * Fri Dec 19 2003 Satoshi MACHINO <machino@vinelinux.org> 1.11.11-0vl1
  151. - new upstream release
  152. - security update
  153. pserver can no longer be configured to run as root via the
  154. $CVSROOT/CVSROOT/passwd file, so if your passwd file is compromised, it no
  155. longer leads directly to a root hack. Attempts to root will also be logged
  156. via the syslog.
  157. * Tue Dec 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.11.10-0vl1
  158. - new upstream release
  159. - security update
  160. This release fixes a security issue with no known exploits that could cause
  161. previous versions of CVS to attempt to create files and directories in the
  162. filesystem root.
  163. * Sat Oct 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11.9-0vl1
  164. - new upstream release
  165. * Wed Jan 22 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.11.5-0vl1
  166. - updated to new upstream release (security update)
  167. * Mon Dec 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.11.4-0vl1
  168. - new upstream version
  169. -- Some minor changes to allow the code to compile on Windows platforms.
  170. -- NEWS: Add dummy entry for since 1.11.3.
  171. -- configure.in: Update to dev version 1.11.3.
  172. -- configure: Regenerated.
  173. * Sat Dec 28 2002 Satoshi MACHINO <machino@vinelinux.org> 1.11.3-0vl1
  174. - new upstream version
  175. -- When waiting for another user's lock, the message timestamps are now
  176. in UTC rather than the server's local time.
  177. -- The options.h file is no longer used. This fixes a bug that occurred when 1.11.2 was compiled on Windows platforms.
  178. -- standardized on Automake version 1.6.3 and Autoconf version 2.53.
  179. - dropped kbr4 patch
  180. * Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 1.11.2-0vl2
  181. - clean up patch files
  182. - added some documents files
  183. * Tue May 07 2002 Satoshi MACHINO <machino@vinelinux.org> 1.11.2-0vl1
  184. - updated cvs-1.11.2
  185. -- updated cvs-1.11.2-mktemp.patch
  186. * Tue Mar 12 2002 Toru Sagami <sagami@vinelinux.org> 1.11.1p1-7vl1
  187. - paches are taken from RHSA-2002:026-35 1.11.1p1-7 with its fixes.
  188. The most notable feature is: build with an external zlib
  189. * Mon May 21 2001 Satoshi MACHINO <machino@vinelinux.org> 1.11.1p1-0vl1
  190. - updated cvs-1.11.1p1
  191. - removed some patches
  192. - changed contrib dir to /usr/share from /usr/lib
  193. * Thu Dec 28 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  194. - 1.11-0vl2
  195. - rebuilt with new %%{_mandir} definition
  196. - added Japanese summary and description
  197. * Tue Nov 21 2000 Satoshi MACHINO <machino@vinelinux.org> 1.11-0vl1
  198. - updated 1.11
  199. - removed auth.patch
  200. - added errno.patch from rawhide's cvs-1.11-1
  201. - partially used rpmmacros
  202. * Fri Sep 08 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  203. - 1.10.8-0vl3
  204. - fixed %post and %preun section
  205. - 1.10.8-0vl2
  206. - removed gzip and strip in %install
  207. * Tue Jul 04 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  208. - updated 1.10.8
  209. - switch to using the system's zlib instead of built-in
  210. - removed kerberos
  211. * Wed Mar 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  212. - make kerberos support conditional at build-time
  213. * Wed Mar 1 2000 Bill Nottingham <notting@redhat.com>
  214. - integrate kerberos support into main tree
  215. * Mon Feb 14 2000 Nalin Dahyabhai <nalin@redhat.com>
  216. - build with gssapi auth (--with-gssapi, --with-encryption)
  217. - apply patch to update libs to krb5 1.1.1
  218. * Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
  219. - fix the damn info pages too while we're at it.
  220. - fix description
  221. - man pages are compressed
  222. - make sure %post and %preun work okay
  223. * Sun Jan 9 2000 Jim Kingdon <http://bugzilla.redhat.com/bugzilla>
  224. - update to 1.10.7.
  225. * Wed Jul 14 1999 Jim Kingdon <http://developer.redhat.com>
  226. - add the patch to make 1.10.6 usable
  227. (http://www.cyclic.com/cvs/dev-known.html).
  228. * Tue Jun 1 1999 Jeff Johnson <jbj@redhat.com>
  229. - update to 1.10.6.
  230. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  231. - auto rebuild in the new build environment (release 2)
  232. * Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com>
  233. - updated text in spec file.
  234. * Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com>
  235. - update to 1.10.5.
  236. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  237. - update to 1.10.4.
  238. * Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com>
  239. - update to 1.10.3.
  240. * Mon Sep 28 1998 Jeff Johnson <jbj@redhat.com>
  241. - update to 1.10.2.
  242. * Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
  243. - remove trailing characters from rcs2log mktemp args
  244. * Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
  245. - update to 1.10.1
  246. * Mon Aug 31 1998 Jeff Johnson <jbj@redhat.com>
  247. - fix race conditions in cvsbug/rcs2log
  248. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  249. - update to 1.10.
  250. * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
  251. - update to 1.9.30.
  252. * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
  253. - translations modified for de, fr
  254. * Mon Jun 8 1998 Jeff Johnson <jbj@redhat.com>
  255. - build root
  256. - update to 1.9.28
  257. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  258. - translations modified for de, fr, tr
  259. * Wed Oct 29 1997 Otto Hammersmith <otto@redhat.com>
  260. - added install-info stuff
  261. - added changelog section