cvs-vl.spec 11 KB

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