ruby-vl.spec 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624
  1. %define rubyxver 1.8
  2. %define rubyyver 7
  3. %define rubypl 370
  4. %define rubyver %{rubyxver}.%{rubyyver}-p%{rubypl}
  5. %define rpmver %{rubyxver}.%{rubyyver}.%{rubypl}
  6. %define rpmrel 1%{?_dist_release}
  7. %define rubysrcdir %{rubyxver}.%{rubyyver}-p%{rubypl}
  8. %define emacsen_pkg 1
  9. %{?without_emacsen: %define emacsen_pkg 0}
  10. %if %{emacsen_pkg}
  11. %undefine without_emacsen
  12. %else
  13. %define without_emacsen 1
  14. %endif
  15. %define rbmode ruby-mode
  16. %define rbmode_el ruby-mode
  17. %define rb_lib %{_prefix}/lib/ruby/%{rubyxver}
  18. %ifarch ppc
  19. %define rb_arch powerpc-%{_target_os}
  20. %else
  21. %define rb_arch %{_target_cpu}-%{_target_os}
  22. %endif
  23. %define rb_prefix %{_prefix}
  24. %define rb_mandir %(echo %{_mandir} | sed -e 's!^%{_prefix}!${prefix}!')
  25. %define rb_locallib local/%{_lib}
  26. %define rb_site %{rb_locallib}/site_ruby
  27. %define rb_sitebase %{rb_prefix}/%{rb_site}
  28. %define rb_sitedir %{rb_sitebase}/%{rubyxver}
  29. %define rb_sitearch %{rb_sitedir}/%{rb_arch}
  30. Summary: An interpreter of object-oriented scripting language
  31. Summary(ja): オブジェクト指向言語 Ruby インタプリタ
  32. Name: ruby
  33. Version: %{rpmver}
  34. Release: %{rpmrel}
  35. License: Ruby or GPLv2
  36. Group: Development/Languages
  37. Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{rubyver}.tar.bz2
  38. Source2: http://elbereth-hp.hp.infoseek.co.jp/files/ruby/refm/ruby-refm-rdp-1.9.0-ja-html.tar.gz
  39. Source5: irb.1
  40. %if %{emacsen_pkg}
  41. Source6: %{rbmode_el}-install.sh
  42. Source7: %{rbmode_el}-remove.sh
  43. Source8: %{rbmode_el}-init.el
  44. %endif
  45. Patch803: ruby-1.8.6.111-soap-massmem.patch
  46. Patch808: ruby-1.8.6.287-rexml-document-transitive.patch
  47. Patch901: ruby-1.8.6.111-ri-pager.patch
  48. Patch903: ruby-1.8.6.111-rdoc-documents.patch
  49. Patch950: ruby-1.8.7-p358-multilib.patch
  50. Patch960: ruby-1.8.7-rubyprefix.patch
  51. # patches from debian package
  52. Patch1005: 090812_openssl_x509_warning.dpatch
  53. # to build with glibc-2.14
  54. Patch1100: ruby-1.8.7-p358-stdout-rouge-fix.patch
  55. URL: http://www.ruby-lang.org/
  56. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  57. BuildRequires: sed autoconf bison unzip
  58. BuildRequires: readline-devel
  59. BuildRequires: ncurses-devel
  60. BuildRequires: db4-devel
  61. BuildRequires: gdbm-devel
  62. BuildRequires: glibc-devel
  63. BuildRequires: tcl tk
  64. BuildRequires: libX11-devel
  65. BuildRequires: openssl-devel
  66. BuildRequires: zlib-devel
  67. Requires: libruby = %{version}-%{release}
  68. Vendor: Project Vine
  69. Distribution: Vine Linux
  70. Packager: daisuke, akira
  71. %description
  72. Ruby is the interpreted scripting language for quick and easy
  73. object-oriented programming. It has many features to process text files
  74. and to do system management tasks (as in Perl). It is simple,
  75. straight-forward, and extensible.
  76. %description -l ja
  77. Rubyはシンプルかつ強力なオブジェクト指向スクリプト言語です.Rubyは最初
  78. から純粋なオブジェクト指向言語として設計されていますから,オブジェクト
  79. 指向プログラミングを手軽に行う事が出来ます.もちろん通常の手続き型のプ
  80. ログラミングも可能です.
  81. Rubyはテキスト処理関係の能力などに優れ,Perlと同じくらい強力です.さら
  82. にシンプルな文法と,例外処理やイテレータなどの機構によって,より分かり
  83. やすいプログラミングが出来ます.
  84. %package -n libruby
  85. Summary: Libraries necessary to run Ruby.
  86. Summary(ja): Ruby の動作に必要なライブラリ群
  87. Group: System Environment/Libraries
  88. URL: http://www.ruby-lang.org/
  89. Obsoletes: drb erb ruby-csv ruby-optparse ruby-rexml ruby-strscan rubyunit racc-runtime
  90. %description -n libruby
  91. This package includes the libruby, necessary to run Ruby.
  92. %description -n libruby -l ja
  93. このパッケージには Ruby を利用するために必要となるライブラリが含まれ
  94. ています.
  95. %package -n ruby-devel
  96. Summary: A Ruby development environment.
  97. Group: Development/Languages
  98. Requires: libruby = %{version}-%{release}
  99. URL: http://www.ruby-lang.org/
  100. %description -n ruby-devel
  101. Header files and libraries for building a extension library for the
  102. Ruby or an application embedded Ruby.
  103. %description -n ruby-devel -l ja
  104. Rubyのための拡張ライブラリやRubyを組み込んだアプリケーションを作るため
  105. に必要となるへッダファイルやライブラリです.
  106. %package -n ruby-openssl
  107. Summary: OpenSSL interface for scripting language Ruby.
  108. Group: Development/Languages
  109. Requires: libruby = %{version}-%{release}
  110. URL: http://www.ruby-lang.org/
  111. %description -n ruby-openssl
  112. OpenSSL interface for the object-oriented scripting language Ruby.
  113. %description -n ruby-openssl -l ja
  114. RubyにOpenSSLライブラリへのインタフェースを提供する拡張ライブラリです.
  115. %package -n ruby-tcltk
  116. Summary: Tcl/Tk interface for scripting language Ruby.
  117. Group: Development/Languages
  118. Requires: libruby = %{version}-%{release}
  119. URL: http://www.ruby-lang.org/
  120. %description -n ruby-tcltk
  121. Tcl/Tk interface for the object-oriented scripting language Ruby.
  122. %description -n ruby-tcltk -l ja
  123. RubyにTcl/Tkライブラリへのインタフェースを提供する拡張ライブラリです.
  124. %package -n irb
  125. Summary: The Intaractive Ruby.
  126. Group: Development/Languages
  127. Requires: ruby = %{version}-%{release}
  128. URL: http://www.ruby-lang.org/
  129. %description -n irb
  130. The irb is acronym for Interactive RuBy. It evaluates ruby expression
  131. from the terminal.
  132. %description -n irb -l ja
  133. irbとはInteractive RuByの略で,対話的にRubyの式を入力し,評価させるこ
  134. とが可能です.
  135. %package -n rdoc
  136. Summary: Generate documentation from ruby source files
  137. Group: Development/Languages
  138. Requires: ruby = %{version}-%{release}, irb = %{version}-%{release}
  139. URL: http://www.ruby-lang.org/
  140. %description -n rdoc
  141. RDoc - Documentation from Ruby Source Files
  142. - Generates structured HTML and XML documentation from Ruby source and C
  143. extensions.
  144. - Automatically extracts class, module, method, and attribute definitions.
  145. These can be annonated using inline comments.
  146. - Analyzes method visibility.
  147. - Handles aliasing.
  148. - Uses non-intrusive and implicit markup in the comments. Readers
  149. of the original source needn't know that it is marked up at all.
  150. %description -n rdoc -l ja
  151. RDocはRubyのソースコードからドキュメントを生成するツールです.
  152. - RubyおよびC言語で書かれた拡張ライブラリのソースコードからHTML/XML形式の
  153. ドキュメントを生成できます.
  154. - クラス,モジュール,メソッド,アトリビュートを自動的に取り出します.それ
  155. らの説明はコメントの形で記述できます.
  156. - メソッドの可視性を判別できます.
  157. - エイリアスを適切に処理できます.
  158. %package -n ruby-docs
  159. Summary: Manuals and FAQs for scripting language Ruby.
  160. Summary(ja): Ruby のマニュアルと FAQ
  161. Group: Applications/Documentation
  162. URL: http://www.ruby-lang.org/
  163. %description -n ruby-docs
  164. Manuals and FAQs for the object-oriented scripting language Ruby.
  165. %description -n ruby-docs -l ja
  166. オブジェクト指向スクリプト言語Rubyについてのマ二ュアルとFAQです.
  167. %if %{emacsen_pkg}
  168. %package -n %{rbmode_el}
  169. Summary: Emacs-lisp ruby-mode for the scripting language Ruby
  170. Group: Applications/Editors/Emacs
  171. Requires(post): emacsen, emacsen-common >= 0.1
  172. Requires(preun): emacsen, emacsen-common >= 0.1
  173. URL: http://www.ruby-lang.org/
  174. %description -n %{rbmode_el}
  175. Emacs-lisp ruby-mode for the object-oriented scripting language Ruby.
  176. %description -n %{rbmode_el} -l ja
  177. Emacs上でRubyスクリプトを書くのに便利なモードです.
  178. %endif
  179. %prep
  180. %setup -q -c
  181. mkdir %{name}-refm-ja
  182. cd %{name}-refm-ja
  183. tar xzf %{SOURCE2}
  184. cd ..
  185. cd %{name}-%{rubysrcdir}
  186. %patch803 -p1
  187. %patch808 -p1
  188. %patch901 -p1
  189. %patch903 -p1
  190. %ifarch x86_64 ppc64
  191. %patch950 -p1
  192. %endif
  193. %patch960 -p1
  194. %patch1005 -p1
  195. %patch1100 -p1
  196. cd ../../..
  197. %build
  198. cd %{name}-%{rubysrcdir}
  199. autoconf
  200. CFLAGS="${CFLAGS:-%{optflags}}" ./configure \
  201. %ifarch i386 i486
  202. --enable-frame-address \
  203. %endif
  204. --prefix='%{rb_prefix}' \
  205. --mandir='%{rb_mandir}' \
  206. --sysconfdir='/etc' \
  207. --libdir='%{_libdir}' \
  208. --localstatedir='/var' \
  209. --with-sitedir='${prefix}/%{rb_site}' \
  210. --with-ruby-prefix='%{_prefix}/lib' \
  211. %ifarch x86_64 ppc64
  212. --with-search-path='%{_libdir}/ruby/%{rubyxver}' \
  213. %endif
  214. --with-default-kcode=none \
  215. --with-dbm-type=db \
  216. --with-bundled-sha1 \
  217. --with-bundled-md5 \
  218. --with-bundled-rmd160 \
  219. --enable-shared \
  220. --enable-pthread \
  221. --enable-ipv6 \
  222. --with-lookup-order-hack=INET \
  223. --target='%{rb_arch}'
  224. make %{?_smp_mflags}
  225. make test
  226. cd ..
  227. %install
  228. rm -rf ${RPM_BUILD_ROOT}
  229. %if %{emacsen_pkg}
  230. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
  231. mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/install
  232. mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/remove
  233. %endif
  234. #
  235. # installing documents and exapmles...
  236. #
  237. mkdir tmp-ruby-docs
  238. cd tmp-ruby-docs
  239. mkdir ruby libruby ruby-devel ruby-openssl ruby-tcltk ruby-docs irb
  240. # for ruby.rpm
  241. cd ruby
  242. %if !%{emacsen_pkg}
  243. (cd ../../%{name}-%{rubysrcdir} && tar cf - misc) | tar xvf -
  244. %endif
  245. (cd ../../%{name}-%{rubysrcdir} && tar cf - sample) | tar xvf -
  246. cd ..
  247. # for libruby.rpm
  248. cd libruby
  249. (cd ../../%{name}-%{rubysrcdir} && tar cf - lib/README*) | tar xvf -
  250. (cd ../../%{name}-%{rubysrcdir}/doc && tar cf - .) | tar xvf -
  251. (cd ../../%{name}-%{rubysrcdir} &&
  252. tar cf - `find ext \
  253. -mindepth 1 \
  254. \( -path '*/sample/*' -o -path '*/demo/*' \) -o \
  255. \( -name '*.rb' -not -path '*/lib/*' -not -name extconf.rb \) -o \
  256. \( -name 'README*' -o -name '*.txt*' -o -name 'MANUAL*' \)`) | tar xvf -
  257. rm -rf ext/openssl
  258. cd ..
  259. # for irb.rpm
  260. cd irb
  261. mv ../libruby/irb/* .
  262. rmdir ../libruby/irb
  263. cd ..
  264. # for ruby-devel.rpm
  265. cd ruby-devel
  266. cd ..
  267. # for ruby-openssl.rpm
  268. cd ruby-openssl
  269. mv ../ruby/sample/openssl sample
  270. cd ..
  271. # for ruby-tcltk.rpm
  272. cd ruby-tcltk
  273. mv ../libruby/ext/tk/MANUAL* .
  274. mv ../libruby/ext/tk/README.* .
  275. mv ../libruby/ext/tk/lib/README README.lib
  276. mv ../libruby/ext/tk/lib/tkextlib .
  277. mv ../libruby/ext/tk/sample .
  278. mv ../libruby/ext/tk/old-extconf.rb .
  279. rmdir ../libruby/ext/tk/lib
  280. rmdir ../libruby/ext/tk
  281. cd ..
  282. # for ruby-docs.rpm
  283. cd ruby-docs
  284. mkdir refm-ja
  285. (cd ../../%{name}-refm-ja && tar cf - .) | (cd refm-ja && tar xvf -)
  286. cd ..
  287. # fixing `#!' paths
  288. for f in `find . -type f`
  289. do
  290. sed -e 's,^#![ ]*\([^ ]*\)/\(ruby\|with\|perl\|env\),#!/usr/bin/\2,' < $f > $f.n
  291. if ! cmp $f $f.n
  292. then
  293. mv -f $f.n $f
  294. else
  295. rm -f $f.n
  296. fi
  297. done
  298. # done
  299. cd ..
  300. #
  301. # installing files ...
  302. #
  303. cd %{name}-%{rubysrcdir}
  304. make DESTDIR=${RPM_BUILD_ROOT} install install-doc
  305. make test
  306. cd ..
  307. # installing irb.1
  308. install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/
  309. # installing ruby-mode
  310. %if %{emacsen_pkg}
  311. cd %{name}-%{rubysrcdir}
  312. cp misc/*.el %{SOURCE8} $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
  313. cd ..
  314. %{?emacsen_pkg: %_installemacsenscript %{rbmode} %{SOURCE6}}
  315. %{?emacsen_pkg: %_removeemacsenscript %{rbmode} %{SOURCE7}}
  316. %endif
  317. # listing all files in ruby.files
  318. (find $RPM_BUILD_ROOT%{_bindir} \
  319. $RPM_BUILD_ROOT%{_datadir} \
  320. $RPM_BUILD_ROOT%{_libdir} \
  321. %ifarch x86_64 ppc64
  322. $RPM_BUILD_ROOT%{_prefix}/lib \
  323. %endif
  324. $RPM_BUILD_ROOT%{_mandir} \
  325. -type f -o -type l) |
  326. sort | uniq | sed -e "s,^$RPM_BUILD_ROOT,," \
  327. -e "s,\(/man/man./.*\)$,\1*," > ruby.files
  328. egrep '(\.[ah]|libruby\.so)$' ruby.files > ruby-devel.files
  329. sort ruby.files ruby-devel.files | uniq -u > tmp.files
  330. mv -f tmp.files ruby.files
  331. # for ruby-openssl.rpm
  332. cp /dev/null ruby-openssl.files
  333. for f in `cd %{name}-%{rubysrcdir}/ext/openssl && find lib -type f -name '*.rb'`
  334. do
  335. grep "`echo $f | sed -e 's,^lib/,/%{rubyxver}/,'`$" ruby.files >> ruby-openssl.files
  336. done
  337. fgrep %{rb_arch}/openssl.so ruby.files >> ruby-openssl.files
  338. fgrep %{rb_lib}/net/https.rb ruby.files >> ruby-openssl.files
  339. fgrep %{rb_lib}/drb/ssl.rb ruby.files >> ruby-openssl.files
  340. fgrep %{rb_lib}/webrick/ssl.rb ruby.files >> ruby-openssl.files
  341. sort ruby.files ruby-openssl.files | uniq -u > tmp.files
  342. mv -f tmp.files ruby.files
  343. # for ruby-tcltk.rpm
  344. cp /dev/null ruby-tcltk.files
  345. for f in `cd %{name}-%{rubysrcdir}/ext/tk && find lib -type f -name '*.rb'`
  346. do
  347. grep "`echo $f | sed -e 's,^lib/,/%{rubyxver}/,'`$" ruby.files >> ruby-tcltk.files
  348. done
  349. fgrep tkextlib/SUPPORT_STATUS ruby.files >> ruby-tcltk.files
  350. fgrep %{rb_arch}/tcltklib.so ruby.files >> ruby-tcltk.files
  351. fgrep %{rb_arch}/tkutil.so ruby.files >> ruby-tcltk.files
  352. sort ruby.files ruby-tcltk.files | uniq -u > tmp.files
  353. mv -f tmp.files ruby.files
  354. # for rdoc.rpm
  355. cp /dev/null rdoc.files
  356. fgrep 'rdoc' ruby.files >> rdoc.files
  357. fgrep %{_bindir}/ri ruby.files >> rdoc.files
  358. ridatadir=`%{name}-%{rubysrcdir}/miniruby \
  359. -I %{name}-%{rubysrcdir} -I %{name}-%{rubysrcdir}/lib \
  360. -r rdoc/ri/ri_paths.rb \
  361. -e 'puts RI::Paths::SYSDIR'`
  362. fgrep "${ridatadir}" ruby.files >> rdoc.files
  363. sort ruby.files rdoc.files | uniq -u > tmp.files
  364. mv -f tmp.files ruby.files
  365. # for irb.rpm
  366. cp /dev/null irb.files
  367. fgrep 'irb' ruby.files >> irb.files
  368. sort ruby.files irb.files | uniq -u > tmp.files
  369. mv -f tmp.files ruby.files
  370. # for libruby
  371. cp /dev/null libruby.files
  372. fgrep '%{_prefix}/lib' ruby.files | fgrep -v 'emacsen-common' | \
  373. sort | uniq -u >> libruby.files
  374. sort ruby.files libruby.files | uniq -u > tmp.files
  375. mv -f tmp.files ruby.files
  376. # for ruby-mode-el
  377. cp /dev/null %{rbmode_el}.files
  378. %if %{emacsen_pkg}
  379. fgrep '.el' ruby.files >> %{rbmode_el}.files
  380. fgrep 'emacsen-common' ruby.files >> %{rbmode_el}.files
  381. sort ruby.files %{rbmode_el}.files | uniq -u > tmp.files
  382. mv -f tmp.files ruby.files
  383. %endif
  384. strip ${RPM_BUILD_ROOT}%{_bindir}/%{name}
  385. %clean
  386. rm -rf ${RPM_BUILD_ROOT}
  387. rm -f *.files
  388. rm -rf tmp-ruby-docs
  389. %post -n libruby
  390. /sbin/ldconfig
  391. if [ -w %{rb_prefix}/%{rb_locallib} -a ! -e %{rb_sitedir} ]; then
  392. mkdir -p %{rb_sitedir} %{rb_sitearch}
  393. chown root:root %{rb_sitedir} %{rb_sitearch}
  394. chmod 775 %{rb_sitedir} %{rb_sitearch}
  395. fi
  396. %preun -n libruby
  397. if [ "$1" = 0 ]; then
  398. if [ -w %{rb_sitedir} -a -e %{rb_sitearch} ]; then
  399. rmdir %{rb_sitearch} 2>/dev/null || true
  400. fi
  401. if [ -w %{rb_prefix}/%{rb_locallib} -a -e %{rb_sitedir} ]; then
  402. rmdir %{rb_sitedir} 2>/dev/null || true
  403. fi
  404. fi
  405. %postun -n libruby
  406. /sbin/ldconfig
  407. %if %{emacsen_pkg}
  408. %post -n %{rbmode_el}
  409. if [ "$1" = 2 ]; then
  410. %{?emacsen_pkg: %_emacsenPackageRemove %{rbmode}}
  411. fi
  412. %{?emacsen_pkg: %_addemacsenlist %{rbmode}}
  413. %{?emacsen_pkg: %_emacsenPackageInstall %{rbmode}}
  414. %preun -n %{rbmode_el}
  415. if [ "$1" = 0 ]; then
  416. %{?emacsen_pkg: %_emacsenPackageRemove %{rbmode}}
  417. %{?emacsen_pkg: %_removeemacsenlist %{rbmode}}
  418. fi
  419. %endif
  420. %files -f ruby.files -n ruby
  421. %defattr(-, root, root)
  422. %doc %{name}-%{rubysrcdir}/README
  423. %lang(ja) %doc %{name}-%{rubysrcdir}/README.ja
  424. %doc %{name}-%{rubysrcdir}/COPYING
  425. %lang(ja) %doc %{name}-%{rubysrcdir}/COPYING.ja
  426. %doc %{name}-%{rubysrcdir}/ChangeLog
  427. %doc %{name}-%{rubysrcdir}/LEGAL
  428. %doc %{name}-%{rubysrcdir}/ToDo
  429. %doc %{name}-%{rubysrcdir}/doc/ChangeLog-1.8.0
  430. %doc %{name}-%{rubysrcdir}/doc/NEWS-1.8.0
  431. %doc tmp-ruby-docs/ruby/*
  432. %files -f ruby-devel.files -n ruby-devel
  433. %defattr(-, root, root)
  434. %doc %{name}-%{rubysrcdir}/README.EXT
  435. %lang(ja) %doc %{name}-%{rubysrcdir}/README.EXT.ja
  436. %files -f libruby.files -n libruby
  437. %defattr(-, root, root)
  438. %doc %{name}-%{rubysrcdir}/README
  439. %lang(ja) %doc %{name}-%{rubysrcdir}/README.ja
  440. %doc %{name}-%{rubysrcdir}/COPYING
  441. %lang(ja) %doc %{name}-%{rubysrcdir}/COPYING.ja
  442. %doc %{name}-%{rubysrcdir}/ChangeLog
  443. %doc %{name}-%{rubysrcdir}/LEGAL
  444. %doc tmp-ruby-docs/libruby/*
  445. %files -f ruby-openssl.files -n ruby-openssl
  446. %defattr(-, root, root)
  447. %doc tmp-ruby-docs/ruby-openssl/*
  448. %files -f ruby-tcltk.files -n ruby-tcltk
  449. %defattr(-, root, root)
  450. %doc tmp-ruby-docs/ruby-tcltk/*
  451. %doc %{name}-%{rubysrcdir}/ext/tk/lib/tkextlib/SUPPORT_STATUS
  452. %files -f rdoc.files -n rdoc
  453. %defattr(-, root, root)
  454. %doc %{name}-%{rubysrcdir}/lib/rdoc/README
  455. %files -f irb.files -n irb
  456. %defattr(-, root, root)
  457. %doc tmp-ruby-docs/irb/*
  458. %files -n ruby-docs
  459. %defattr(-, root, root)
  460. %doc tmp-ruby-docs/ruby-docs/*
  461. %if %{emacsen_pkg}
  462. %files -f %{rbmode_el}.files -n %{rbmode_el}
  463. %defattr(-, root, root)
  464. %doc %{name}-%{rubysrcdir}/misc/README
  465. %endif
  466. %changelog
  467. * Sat Jun 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-1
  468. - update to 1.8.7-p370
  469. * Sun May 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.358-1
  470. - update to 1.8.7-p358
  471. - add patch1100 to build with glibc-2.14
  472. * Mon Feb 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.334-1
  473. - update to 1.8.7-p334
  474. * Tue Jan 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.330-1
  475. - update to 1.8.7-p330
  476. - change License tag (Ruby or GPLv2)
  477. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.249-1
  478. - update to 1.8.7-p249
  479. - rebuild with db4-4.8.0
  480. - drop unneccesary patches: 809, 1001, 1002, 1003, 1004
  481. * Tue Sep 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-3
  482. - move noarch ruby libraries to /usr/lib/ruby.
  483. - add Patch960
  484. - add --with-ruby-prefix=%%{_prefix}/lib
  485. - add deprecated search path for 64bit arch.
  486. - --with-search-path=%%{_libdir}/ruby/%%{rubyxver}
  487. * Wed Aug 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-2
  488. - import Patch100[12345] from debian package
  489. * Added debian/patches/090811_thread_and_select.dpatch:
  490. threads may hangup when IO.select called from two or more threads.
  491. * Added debian/patches/090812_finalizer_at_exit.dpatch:
  492. finalizers should be run at exit (Closes: #534241)
  493. * Added debian/patches/090812_class_clone_segv.dpatch:
  494. avoid segv when an object cloned. (Closes: #533329)
  495. * Added debian/patches/090812_eval_long_exp_segv.dpatch:
  496. fix segv when eval a long expression. (Closes: #510561)
  497. * Added debian/patches/090812_openssl_x509_warning.dpatch:
  498. suppress warning from OpenSSL::X509::ExtensionFactory. (Closes: #489443)
  499. * Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-1
  500. - new upstream release 1.8.7-p174
  501. - fix CVE-2009-1904
  502. http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
  503. * Mon Jun 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.160-1
  504. - new upstream version 1.8.7-p160.
  505. - drop unneccesary patches: Patch807, Patch1010
  506. * Mon Sep 22 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.7.72-2
  507. - updated Patch950: ruby-1.8.7-p72-multilib.patch
  508. * Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.7.72-1
  509. - new upstream version 1.8.7-p72.
  510. - droped unnecessary patches: Patch802.
  511. * Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.6.287-1
  512. - new upstream version 1.8.6-p287.
  513. - droped unnecessary patches: Patch805, Patch1000.
  514. - updated Patch808 for 1.8.6-p287.
  515. - added Patch809: rcov may crash because of backwards incompatibility.
  516. (backported r14826:15141 of trunk).
  517. - added Patch1010 to fix CVE-2008-3790.
  518. * Sat Sep 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.6.111-1
  519. - applied new versioning policy
  520. - spec in UTF-8
  521. - removed BuildRequires: XOrg-devel
  522. * Wed Oct 24 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl2
  523. - added ruby-1.8.6.111-rexml-document-transitive.patch:
  524. - fixed: Document#write undefined local variable or method `transitive'.
  525. * Tue Oct 23 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl1
  526. - new upstream version 1.8.6.111.
  527. - added ruby-1.8.6.111-CVE-2007-5162.patch:
  528. - security fixes for CVE-2007-5162. It is backported r13657 from ruby_1_8
  529. branch.
  530. - added ruby-1.8.6.111-ruby-bugs-11507.patch:
  531. - ConditionVariable#wait may raise "not owner" exceptions.
  532. - added ruby-1.8.6.111-sync_try_lock_always_fail.patch:
  533. - Sync#try_lock always fails due to wrong variable name.
  534. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-0vl4
  535. - rebuild with new openssl
  536. * Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.6-0vl3
  537. - rebuilt with new toolchain and db4-4.3.x
  538. * Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.6-0vl2
  539. - modified emacsen-common path
  540. * Mon Mar 19 2007 akira yamada <akira@vinelinux.org> 1.8.6-0vl1
  541. - new upstream version 1.8.6.
  542. * Mon Dec 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.5-0vl1.1
  543. - add pacth1000 for fix cgi.rb issue (JVN#84798830)
  544. * Wed Nov 1 2006 akira yamada <akira@ruby-lang.org> 1.8.5-0vl1
  545. - new upstream version 1.8.5.
  546. - added ruby-1.8.5-rexml_encoding.patch:
  547. - REXML should accept UTF-16. [ruby-list:42737]
  548. - added ruby-1.8.5-rdoc.patch:
  549. - Don't unescape HTML in HtmlFormatter. Submitted by Kent Sibilev <ksruby
  550. at gmail.com>. [ruby-core:08392].
  551. - lib/rdoc/generators/ri_generator.rb: do not chdir twice.
  552. - added ruby-1.8.5-hash_memory_reak.patch:
  553. - hash.c (rb_hash_s_create): fixed memory leak, based on the patch by Kent
  554. Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233]
  555. - added ruby-1.8.5-top_cref.patch:
  556. - eval.c (ruby_init): rename top_cref to ruby_top_cref and export, along
  557. with ruby_cref, for use by the sandbox. [ruby-core:08762]
  558. - added ruby-1.8.5-tcltk.patch:
  559. - ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't work
  560. properly on some versions of BLT (wrong description on the manual of
  561. `blt::bgexec'?).
  562. - ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work on
  563. Tcl/Tk8.x.
  564. - ext/tk/lib/tk.rb: update RELEASE_DATE.
  565. - added ruby-1.8.5-acl.patch:
  566. - patterns which include '*' should not cause getaddress() call.
  567. [ruby-dev:29406]
  568. - added ruby-1.8.5-socket.patch:
  569. - ext/socket/extconf.rb: check arpa/inet.h for ntohs.
  570. - ext/socket/socket.c: include arpa/inet.h if available.
  571. - ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
  572. - added ruby-1.8.5-exec_vs_nullbyte.patch:
  573. - io.c (pipe_open): null character should be saved for command name.
  574. [ruby-dev:29421]
  575. - process.c (proc_spawn): ditto.
  576. - process.c (proc_spawn_n): ditto.
  577. - process.c (rb_f_system): ditto.
  578. - added ruby-1.8.5-mimedec.patch:
  579. - CGI#out should not decode base64 strings. [ruby-dev:29284]
  580. - Kconv::toeuc should decode base64 strings. (reverted to old behaviour for
  581. compatibility.) [ruby-dev:29505]
  582. - corrected regexp for EUC-JP (Kconv::RegexpEucjp). [ruby-dev:29344]
  583. - added ruby-1.8.5-strftime_nullbyte.patch:
  584. - Time#strftime should save null character. [ruby-dev:29422]
  585. - added ruby-1.8.5-dbm_extconf.patch:
  586. - ext/dbm/extconf.rb: create makefile according to the result of check for
  587. dbm header. fixed: [ruby-dev:29445]
  588. - ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
  589. - added ruby-1.8.5-check_sticky_bit.patch:
  590. - file.c (path_check_0): check if sticky bit is set on parent directories
  591. for executable path. fixed: [ruby-dev:29415]
  592. - Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529.
  593. [ruby-core:08725]
  594. - added ruby-1.8.5-float_hash.patch:
  595. - improve hash collision of Float objects. [ruby-dev:29352]
  596. - added ruby-1.8.5-time_vardecl.patch:
  597. - time.c (time_to_s): variable declaration after an execution statement.
  598. - added ruby-1.8.5-bignum.patch:
  599. - numeric.c (fix_plus): addition in Fixnum will never overflow long. a
  600. patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08794]
  601. - numeric.c (fix_minus): ditto.
  602. - bignum.c (rb_big_pow): eagerly truncate resulting bignum.
  603. [ruby-core:08794]
  604. - added ruby-1.8.5-migration_macro.patch:
  605. - ruby.h (RSTRING_PTR): add migration macro.
  606. - ruby.h (RARRAY_PTR): ditto.
  607. - added ruby-1.8.5-webrick_cookie.patch:
  608. - lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new method to
  609. parse multiple cookies per Set-Cookie header. Thanks to Aaron Patterson
  610. <aaron_patterson at speakeasy.net>. [ruby-core:08802]
  611. - added ruby-1.8.5-suppress_warnings.patch:
  612. - mkconfig.rb, ext/extmk.rb, lib/mkmf.rb: suppress warnings with $VERBOSE.
  613. - ext/extmk.rb: Proc#call does not pass the block in 1.8.
  614. - Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
  615. - added ruby-1.8.5-pstore_binmode.patch:
  616. - lib/pstore.rb: open all in binary mode, and get rid of the quirk of
  617. msvcrt. fixed: [ruby-dev:29518]
  618. - added ruby-1.8.5-testunit_rescue.patch:
  619. - Rescue Exception in Test::Unit::TestCase#run. [ruby-core:08783]
  620. - added ruby-1.8.5-prevent_loading_twice.patch:
  621. - eval.c (rb_require_safe): prevent loading twice from extensions. fixed:
  622. [ruby-dev:29523]
  623. - added ruby-1.8.5-prohibit_intern_tainted_string.patch:
  624. - string.c (rb_str_intern): prohibit interning tainted string.
  625. - added ruby-1.8.5-ruby_mode.patch:
  626. - misc/ruby-mode.el (ruby-parse-partial): better here-doc support. a patch
  627. from Marshall T. Vandegrift <llasram at gmail.com>. [ruby-core:08804]
  628. - added ruby-1.8.5-readme_ext.patch:
  629. - README.EXT: English adjustment. [ruby-core:08851] [ruby-core:08852]
  630. [ruby-core:08855]
  631. - added ruby-1.8.5-check_safe_level_for_str_intern.patch:
  632. - string.c (rb_str_intern): raise SecurityError only when $SAFE level is
  633. greater than zero. [ruby-core:08862]
  634. - parse.y (rb_interned_p): new function to check if a string is already
  635. interned.
  636. - object.c (str_to_id): use rb_str_intern().
  637. - added ruby-1.8.5-pty.patch:
  638. - ext/pty/pty.c (establishShell): parent pid is not used.
  639. - ext/pty/pty.c (freeDevice): not used.
  640. - ext/pty/pty.c (get_device_once): removed garbage right brace.
  641. - ext/pty/pty.c (establishShell): remove remaining unused line.
  642. - added ruby-1.8.5-imap_extraspace.patch:
  643. - net/imap can accept extra space in server responses. The patch from Tom
  644. Soderlund.
  645. - added ruby-1.8.5-rdoc_nameerror.patch:
  646. - rdoc/ri/ri_options.rb should require 'rdoc/ri/ri_paths'.
  647. - added ruby-1.8.5-gdbm_docs.patch and updated ruby-1.8.5-.document.patch:
  648. - added GDBM documents.
  649. - added ruby-1.8.5-etc_uid_t.patch:
  650. - etc.c should use uid_t instead of int. [ruby-core:08897]
  651. - added ruby-1.8.5-cgi_empty_content.patch:
  652. - invalid multipart data can make cgi.rb infinite loop and CPU consumption.
  653. (CVE-2006-5467)
  654. - added ruby-1.8.5-sandbox.patch:
  655. - added Thread#kill!. [ruby-core:08768]
  656. - added ruby-1.8.5-update_docs.patch:
  657. - small fixes and updates for rdocs.
  658. - added ruby-1.8.5-array.patch:
  659. - fixed a potential leaks caused by shift. [ruby-talk:216055]
  660. [ruby-core:08922] [ruby-list:42907]
  661. - added ruby-1.8.5-dir_checkdir.patch:
  662. - internal existence test for "/" fails anytime. [ruby-core:08913]
  663. - added ruby-1.8.5-mkmf.patch:
  664. - set default $LDFLAGS. [ruby-talk:216256]
  665. - check function pointer first and macro next. [ruby-core:08949]
  666. - fixed the bug of handling COMMON_MACROS.
  667. - added ruby-1.8.5-jcode.patch:
  668. - succ! in jcode.rb doesn't work on $KCODE == 'n'. [ruby-talk:216845]
  669. - added ruby-1.8.5-eval.patch:
  670. - check protected visibility based on real self, not ruby_frame->self.
  671. [ruby-talk:217822]
  672. - added ruby-1.8.5-include_module.patch:
  673. - remove unnecessary check. [ruby-talk:218402]
  674. - added ruby-1.8.5-bignum_shift.patch:
  675. - a bug in right shift of negative bignums. [ruby-core:09020]
  676. - added ruby-1.8.5-rexml_enc.patch:
  677. - spaces are allowed around equal sign. [ruby-core:09032]
  678. - added ruby-1.8.5-wrong_id_check.patch:
  679. - wrong id check. [ruby-core:09158]
  680. - typo fixed. [ruby-core:09168]
  681. - added ruby-1.8.5-rb_warning.patch:
  682. - some error message may contain format specifiers. [ruby-dev:29657]
  683. - added ruby-1.8.5-parse.y.patch.patch:
  684. - no need to re-create NODE_SELF() again. [ruby-core:09177]
  685. - use particular enums. [ruby-core:09221]
  686. - added ruby-1.8.5-signal.patch:
  687. - handle SIGTERM. [ruby-list:42895]
  688. - don't set SA_RESTART. a backport from the HEAD. [ruby-talk:220937]
  689. [ruby-talk:147220]
  690. - added ruby-1.8.5-string_tainted.patch:
  691. - should be infected with only original string, but not the shared string.
  692. [ruby-core:09152]
  693. - strnig.c (rb_str_new4): keep shared string untainted when orignal string
  694. is tainted. [ruby-dev:29672]
  695. - added ruby-1.8.5-configure_alloca.patch:
  696. - alloca is broken; use C_ALLOCA instead. [ruby-dev:29416]
  697. - added ruby-1.8.5-openssl.patch:
  698. - ossl_pkcs7_verify, ossl_spki_initialize: should clear error.
  699. - Use digest/md5 instead of obsolete md5.
  700. - added ruby-1.8.5-imap_nomodseq.patch:
  701. - net/imap chokes on NOMODSEQ response. [ruby-Bugs#6026]
  702. - added ruby-1.8.5-soap.patch:
  703. - huge memory usage with the Ebay API.
  704. <http://dev.ctor.org/soap4r/ticket/224>
  705. - applied debian/patches/149_bignum_to_s.patch
  706. - should preserve leading zero information for negative %b and %x.
  707. [ruby-talk:221347]
  708. - applied debian/patches/150_time_dup.patch
  709. - duplicate the class of original time. [ruby-core:09357]
  710. - applied debian/patches/151_super.patch
  711. - fixed bug of zsuper with both of opt and rest. [ruby-list:42928]
  712. - applied debian/patches/152_dir_glob.patch
  713. - get rid of possible memory leak.
  714. * Tue Sep 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.4-0vl5
  715. - changed ruby-mode Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
  716. - changed ruby-doc Group to Appliations/Documentation <BTS:VineLinux:163>
  717. - changed libruby Group to System Environment/Libraries
  718. - rebuilt with openssl-0.9.7k
  719. * Sat Jul 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.4-0vl4
  720. - x86_64 architecture support
  721. - added ruby-1.8.4-multilib.patch
  722. - added ruby-1.8.4-tcltk-multilib.patch
  723. - modified emacsen-common path
  724. * Fri Jul 14 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl3
  725. - added ruby-1.8.4-135.patch:
  726. - should check if chars are multibyte for regexp-i option.
  727. [ruby-dev:28598] [ruby-list:42096]
  728. - added ruby-1.8.4-136.patch:
  729. - jcode.rb breaks String#tr_s. [ruby-list:42090]
  730. - added ruby-1.8.4-137.patch:
  731. - Array#pack supports CRLF newlines. [ruby-dev:28601]
  732. - added ruby-1.8.4-138.patch:
  733. - should initialize variables first. [ruby-core:07785] [ruby-core:07810]
  734. - avoid accessing uninitialized array element. [ruby-core:07809]
  735. - added ruby-1.8.4-139.patch:
  736. - Numeric#div should use floor rather than Interger. [ruby-dev:28589]
  737. - the first element of Float#divmod should be an integer.
  738. [ruby-dev:28589]
  739. - added ruby-1.8.4-140.patch:
  740. - avoids memory leak of YAML. [ruby-core:7808]
  741. - added ruby-1.8.4-141.patch:
  742. - fixes out of bounds array access. [ruby-core:07823]
  743. - added ruby-1.8.4-142.patch:
  744. - use AF_INET6 for nameservers containing colons.
  745. - added ruby-1.8.4-143.patch:
  746. - should not modify untainted objects in safe levels higher than 3.
  747. - should not allow modifying literal regexps.
  748. - added ruby-1.8.4-144.patch:
  749. - should not close untainted dir stream in $SAVE >= 4.
  750. - should not call a vararg function rb_sys_warning() indirectly.
  751. [ruby-core:07886]
  752. - added ruby-1.8.4-145.patch:
  753. - should round for usec floating number. [ruby-core:07896]
  754. - added ruby-1.8.4-146.patch:
  755. - constant in Fixnum access with instance_eval dumps core.
  756. [ruby-dev:28327]
  757. - inspect for overriden method. [ruby-dev:28636]
  758. - set_trace_func dumps core. [ruby-dev:28632]
  759. - set_trace_func: binding has wrong self value for return events.
  760. [ruby-core:07928]
  761. - added ruby-1.8.4-147.patch:
  762. - fixed typo of openssl/ssl.rb.
  763. - added ruby-1.8.4-148.patch:
  764. - fixed memory leak and alignment bug of the dl library. [ruby-dev:28665]
  765. - added ruby-1.8.4-149.patch:
  766. - new method: IO#read_nonblock, IO#write_nonblock,
  767. Socket#connect_nonblock, Socket#accept_nonblock and
  768. Socket#recvfrom_nonblock. [ruby-core:7917]
  769. - use rb_read_pending instead of rb_io_read_pending. [ruby-dev:28663]
  770. - new method: IPSocket#recvfrom_nonblock, TCPServer#accept_nonblock,
  771. UNIXServer#accept_nonblock.
  772. - reject non-AF_UNIX sockaddr. [ruby-dev:28691]
  773. - added ruby-1.8.4-mkconfig.rb.patch:
  774. - mkconfig.rb should remove "|#_!!_#|" and unquote commas generated by
  775. autoconf > 2.59 (CVS).
  776. * Wed May 10 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.4-0vl2
  777. - dirty fix to rb_arch macro for ppc
  778. (_target_cpu should be powerpc, but rpm macro will translate to ppc anyhow)
  779. this fix will be removed after rpm-4.4 macro issue is cleared up.
  780. * Sun Apr 23 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl1
  781. - new upstream version 1.8.4.
  782. - updated ruby-refm-rdp.
  783. - applied following bug-fix-patches.
  784. - added ruby-1.8.4-100.patch:
  785. - fixed a bug in constant reference during instance_eval for some type of
  786. objects. [yarv-dev:707]
  787. - added ruby-1.8.4-101.patch:
  788. - allow dynamic symbols (:"...") to undef and alias. [ruby-dev:28105]
  789. - added ruby-1.8.4-102.patch:
  790. - (openssl) treat wildcard character in commonName. [ruby-dev:28121]
  791. - (openssl) should use "rb_str_new(0, 0)" to make empty string.
  792. - added ruby-1.8.4-103.patch:
  793. - callcc or thread may leak memory [ruby-Bugs:1364] [ruby-dev:28154]
  794. [ruby-dev:28172]
  795. - mark objects refered from aborting threads. [ruby-dev:28190]
  796. - added ruby-1.8.4-104.patch:
  797. - avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.
  798. - declare rb_gc_abort_threads.
  799. - added ruby-1.8.4-105.patch:
  800. - should not recycle scope object used in a thread. [ruby-dev:28177]
  801. - added ruby-1.8.4-106.patch (urgency medium):
  802. - get rid of segfault on syntax error. [ruby-core:07070]
  803. - added ruby-1.8.4-107.patch:
  804. - fixed typo in webrick/httpservlet/filehandler.rb: fixed typo.
  805. [ruby-core:7075]
  806. - added ruby-1.8.4-108.patch (urgency medium):
  807. - YAML loading of quoted Symbols broken. [ruby-Bugs:2535]
  808. - YAML could not load Bignum in ruby 1.8.3/1.8.4. [ruby-core:6115]
  809. - YAML could not dump Subclass of Numeric properly. [ruby-core:7047]
  810. - should be able to load "!ruby/object:Bignum" syntax 1.8.3 dumped.
  811. [ruby-core:6159]
  812. - workaround for SEGV. ex: YAML.load("!map:B {}"). [ruby-core:7217]
  813. - fixed a typo in yaml.rb. [ruby-talk:165285] [ruby-core:6995]
  814. - YAML should output complex key mark even if map's key is empty seq/map.
  815. [ruby-core:7129]
  816. - added ruby-1.8.4-109.patch:
  817. - fixed possibility of memmory corruption.
  818. - added ruby-1.8.4-111.patch:
  819. - don't clobber %l7 of SPARC if enable-shared.
  820. - workaround for FreeBSD/i386 getcontext/setcontext bug. [ruby-dev:28263]
  821. - added ruby-1.8.4-112.patch:
  822. - FileUtils#mv should remove file after copying. [ruby-dev:28223]
  823. - added ruby-1.8.4-113.patch:
  824. - avoids compile error (use system routine if provided).
  825. [ruby-core:07195]
  826. - added ruby-1.8.4-114.patch:
  827. - need not to protect $SAFE value. [ruby-core:07177]
  828. - added ruby-1.8.4-115.patch:
  829. - (2**32).to_s(2) fails with exception where sizeof(int) == 4 <
  830. sizeof(long). [ruby-core:7300] [ruby-Bugs:3438]
  831. - added ruby-1.8.4-116.patch:
  832. - PStore#fetch should return default value if name is not found.
  833. [ruby-core:7304]
  834. - added ruby-1.8.4-117.patch:
  835. - defined RSTRUCT_LEN and RSTRUCT_PTR for source level compatibility with
  836. ruby 1.9.
  837. - alias RbConfig for Config for compatibility with ruby 1.9.
  838. - added ruby-1.8.4-118.patch:
  839. - should not access ruby objects in finalizer of Zlib. [ruby-dev:28286]
  840. - added ruby-1.8.4-119.patch:
  841. - no need to push ruby_class. [ruby-dev:28176] [ruby-dev:28580]
  842. - check if ruby_cbase is nil (during instance_eval for objects cannot have
  843. singleton classes, e.g. fixnums and symbols). [ruby-dev:28178]
  844. [ruby-dev:28580] [ruby-dev:28582]
  845. - argument update propagation. [ruby-dev:28044]
  846. - avoid unnecessary extra argument. [ruby-core:07366] [ruby-dev:28583]
  847. [ruby-dev:28583]
  848. - added ruby-1.8.4-120.patch:
  849. - support non 32bit time_t environments.
  850. - added ruby-1.8.4-121.patch:
  851. - zsuper (with define_method) dumps core. [ruby-dev:28181]
  852. - added ruby-1.8.4-122.patch:
  853. - should no singleton classes for true, false, and nil. [ruby-dev:28186]
  854. - added ruby-1.8.4-124.patch:
  855. - sleep should always sleep for specified amount of time.
  856. [ruby-talk:180067]
  857. - added ruby-1.8.4-125.patch:
  858. - unpack("l") did not work where sizeof(long) != 4. [ruby-talk:180024]
  859. - fixed integer overflow on template "w" of pack. [ruby-talk:180126]
  860. - added ruby-1.8.4-126.patch:
  861. - removed unnecessary MY_FILE_NAME constant. [ruby-core:07376]
  862. - added ruby-1.8.4-127.patch:
  863. - odd break behavior. [ruby-talk:180420]
  864. - added ruby-1.8.4-128.patch:
  865. - unexpected syntax error. [ruby-talk:180648]
  866. - added ruby-1.8.4-129.patch:
  867. - fixed that irb can't parse /\^/. [ruby-dev:28404] [ruby-Bugs:3302]
  868. - rdoc could not handle /\^/. [ruby-talk:181631] [ruby-dev:28404]
  869. - added ruby-1.8.4-130.patch:
  870. - symbols overlap ordinary objects. [ruby-core:07414]
  871. - heap_slots may overflow.
  872. - align VALUE with sizeof(RVALUE) globally. [ruby-talk:178364]
  873. [ruby-core:7305]
  874. - added ruby-1.8.4-131.patch:
  875. - should not re-schedule output from KILLED thread.
  876. - added ruby-1.8.4-133.patch:
  877. - reports aliased method names in a generated backtrace. [ruby-dev:28471]
  878. - insecure calling should be checked for non NODE_SCOPE method invocations
  879. too.
  880. - should preserve the current safe level as well as method definition.
  881. - added ruby-1.8.4-134.patch:
  882. - (bignum) second operand may be too big even if it's a Fixnum.
  883. [ruby-talk:187984]
  884. - libruby1.8-dbg: applied a patch from Matthew Palmer to provide detached
  885. symbols.
  886. * Wed Nov 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-0vl22
  887. - added BuildRequires: zlib-devel
  888. * Sat Jul 2 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.8.1-0vl21
  889. - rebuild for VineSeed
  890. - rename BuildRequires: XFree86-devel to XOrg-devel
  891. * Thu Jun 23 2005 akira yamada <akira@vinelinux.org> 1.8.1-0vl20.1
  892. - added ruby-1.8.2pre2-xmlrpc-util.rb.patch:
  893. - fixed arbitrary command execution on XMLRPC server.
  894. (CAN-2005-1992) [ruby-core:5237]
  895. * Wed Nov 03 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl20
  896. - increased release number to avoid discrepancy against 3.0/errata package
  897. * Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl19
  898. - updated and enabled ruby-1.8.2pre2-cvs-update-104.patch.
  899. - added ruby-1.8.2pre2-io-open.patch:
  900. - (important) additional changes for "open dumps core again^2."
  901. [ruby-dev:24656]
  902. - added ruby-1.8.2pre2-array-uniq.patch:
  903. - Array#uniq should not freeze elements. [ruby-dev:24695]
  904. * Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl18
  905. - added ruby-1.8.2pre2-cvs-update-104.patch:
  906. - (important) Enumerable#grep dumps core. [ruby-dev:24671]
  907. - (important) open dumps core again^2. [ruby-dev:24656]
  908. - added ruby-1.8.2pre2-ostruct-revert.patch and removed
  909. ruby-1.8.2pre2-ostruct-marshal.patch:
  910. - reverted lib/ostruct.rb.
  911. * Sun Oct 31 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl17
  912. - added ruby-1.8.2pre2-cvs-updates-103.patch:
  913. - (important) temporarily frozen string causes core dump. [ruby-dev:24552]
  914. - removed ruby-1.8.2pre2-cgi.rb-macie.patch,
  915. ruby-1.8.2pre2-ostruct-marshal.patch,
  916. ruby-1.8.2pre2-zlib-flush_next_in.patch and
  917. ruby-1.8.2pre2-ruby_finalize_1-segv.patch: they ware included into the
  918. above patch.
  919. * Sat Oct 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl16
  920. - added ruby-1.8.2pre2-eval.c-memory-leak.patch:
  921. - (important) another memory leak in ruby_1_8. [ruby-core:03619]
  922. - added ruby-1.8.2pre2-io-path.patch:
  923. - (important) IO#path may cause segv. [ruby-talk:118234]
  924. - added ruby-1.8.2pre2-enum-sort_by.patch:
  925. - (important) Enumerable#sort_by dumps core again^4. [ruby-dev:24642]
  926. * Thu Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl15
  927. - added ruby-1.8.2pre2-cvs-updates-100.patch:
  928. - minor bug fix.
  929. - added ruby-1.8.2pre2-cvs-updates-101.patch:
  930. - (important) "IO.allocate.reopen('/nothing')" on irb causes SEGV.
  931. [ruby-core:03288]
  932. - YAML fails to load/dump non-printable characters. [ruby-core:03280]
  933. [ruby-core:03286]
  934. - Bug#265429: IO.select() mysteriously hangs [ruby-dev:24072]
  935. [ruby-dev:24075]
  936. - Pathological slowdown in 1.8 [ruby-core:02662]
  937. - added ruby-1.8.2pre2-cvs-updates-102.patch:
  938. - (important) fixed some segmentation fault bugs listed in
  939. - <URL:http://jp.rubyist.net/magazine/?0002-RubyCore>.
  940. - raise dumps core. [ruby-dev:24519]
  941. - unpack("p") dumps core. [ruby-dev:24594]
  942. - Enumerable#sort_by dumps core again. [ruby-dev:24386]
  943. - Enumerable#sort_by dumps core again(2). [ruby-dev:24399]
  944. - A class of return value of Array#*. [ruby-dev:24526]
  945. - Zlib::Deflate#deflate causes core dump. [ruby-dev:24530]
  946. - PStore#transaction may raise Errno::ENOENT. [ruby-dev:24561]
  947. - String#include? ?\x80. [ruby-dev:24558]
  948. - httpresponse.rb: ensure to close @body.
  949. - (important) fixed memory leak. [ruby-core:03549]
  950. - Zlib::GzipReader#ungetc does not work correctly.
  951. - (important) core dump with binding, eval, instance_eval and class
  952. variable. [ruby-dev:24120]
  953. - added ruby-1.8.2pre2-cgi.rb-macie.patch:
  954. - cgi.rb: workaround for Mac IE. [ruby-list:40136]
  955. - added ruby-1.8.2pre2-ostruct-marshal.patch:
  956. - ostruct.rb: OpenStruct can't be dumped. [ruby-dev:24625]
  957. - added ruby-1.8.2pre2-zlib-flush_next_in.patch:
  958. - (important) Zlib::Deflate#flush_next_in causes core dump.
  959. [ruby-dev:24621]
  960. - added ruby-1.8.2pre2-ruby_finalize_1-segv.patch:
  961. - (important) raising zlib dumps core again. [ruby-dev:24627]
  962. - removed ruby-1.8.2pre2-cgi-session-filename.patch and
  963. ruby-1.8.2pre2-cgi.rb-infinity-loop.patch: they ware included into the
  964. above patch.
  965. * Thu Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl14
  966. - added ruby-1.8.2pre2-cgi-session-filename.patch:
  967. - (important) CGI::Session::FilesStore and CGI::Session::PStore should not
  968. use a session id as a filename.
  969. - added ruby-1.8.2pre2-cgi.rb-infinity-loop.patch:
  970. - (security) cgi.rb: avoids infinity loop.
  971. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl13
  972. - rebuilt with db4-4.2.25
  973. * Fri Jul 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl12
  974. - new upstream source, ruby-1.8.2-preview2.
  975. - removed patches which is included into upstream:
  976. ruby-1.8.2pr1-sleep.patch, ruby-1.8.2pr1-version.h.patch,
  977. ruby-1.8.2pr1-yaml-rubytypes.rb.patch, ruby-1.8.2pr1-ruby-mode.patch,
  978. ruby-1.8.2pr1-yaml-load-exception.patch,
  979. ruby-1.8.2pr1-config.guess-revert.patch, ruby-1.8.2pr1-callcc.patch,
  980. ruby-1.8.2pr1-net-imap.patch, ruby-1.8.2pr1-uri-ldap.patch,
  981. ruby-1.8.2pr1-use-NULL.patch, ruby-1.8.2pr1-cgi-session.patch and
  982. ruby-1.8.2pr1-run-final.patch.
  983. - renamed to ruby-1.8.2pre2-delegate.rb.patch from
  984. ruby-1.8.2pr1-delegate.rb.patch.
  985. * Wed Jul 28 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl11
  986. - enabled Patch811(ruby-1.8.2pr1-cgi-session.patch).
  987. - added a patch:
  988. - ruby-1.8.2pr1-run-final.patch: ObjectSpace.define_finalizer may cause
  989. Segmentation falult. [ruby-dev:23957]
  990. * Wed Jul 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl10
  991. - new upstream source, ruby-1.8.2-preview1.
  992. - removed patches which included into upstream:
  993. ruby-1.8.1-{100..108}-cvs-updates.patch,
  994. ruby-1.8.1-ia64-stack-limit-hack.patch,
  995. ruby-1.8.1-zlib_64bit_gzfile_get32.patch,
  996. ruby-1.8.1-rdoc-parse.rb.patch.
  997. - updated patches:
  998. - ruby-1.8.1-sleep.patch -> ruby-1.8.2pr1-sleep.patch
  999. - ruby-1.8.1-yaml-rubytypes.rb.patch -> ruby-1.8.2pr1-yaml-rubytypes.rb.patch
  1000. - ruby-1.8.1-ruby-mode.patch -> ruby-1.8.2pr1-ruby-mode.patch
  1001. - ruby-1.8.1-delegate.rb.patch -> ruby-1.8.2pr1-delegate.rb.patch
  1002. - ruby-1.8.1-config.guess-revert.patch -> ruby-1.8.2pr1-config.guess-revert.patch
  1003. - ruby-1.8.1-ri-pager.patch -> ruby-1.8-ri-pager.patch
  1004. - added patches:
  1005. - ruby-1.8.2pr1-version.h.patch: added some constans.
  1006. - ruby-1.8.2pr1-yaml-load-exception.patch: YAML.load
  1007. couldn't load Exception objects. [ruby-talk:104405]
  1008. - ruby-1.8.2pr1-callcc.patch: callcc method may cause unknown data type
  1009. bug. [ruby-talk:106657]
  1010. - ruby-1.8.2pr1-net-imap.patch: wait command continuation requests before
  1011. sending octet data of literals.
  1012. - ruby-1.8.2pr1-uri-ldap.patch: method hierarchical? in uri/ldap.rb should
  1013. be in URI::LDAP.
  1014. - ruby-1.8.2pr1-use-NULL.patch: use NULL instead of 0.
  1015. - ruby-1.8.2pr1-cgi-session.patch: sets the permission of the session data
  1016. file to 0600. [ruby-dev:23952]
  1017. * Wed Jun 23 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl9
  1018. - added ruby-1.8.1-rdoc-parse.rb.patch:
  1019. - [ruby-talk:104190] %r{...} is a regular expression but RDoc prints it
  1020. as %{...}.
  1021. - added ruby-1.8.1-config.guess-revert.patch:
  1022. - [ruby-dev:23753] revert to original config.guess
  1023. <URL:ftp://ftp.gnu.org/pub/gnu/config/config.guess>.
  1024. * Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl8
  1025. - added ruby-1.8.1-yaml-rubytypes.rb.patch:
  1026. - backported from CVS HEAD.
  1027. * Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl7
  1028. - added ruby-1.8.1-106-cvs-updates.patch:
  1029. - [ruby-dev:23550] Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
  1030. dumps core.
  1031. - [ruby-core:02793] ruby -e 'a[*b]+=c' dups core.
  1032. - [ruby-dev:23487] core dump by delete_if on 1.8
  1033. - options for Net::Telnet::login can take regexps for login prompt
  1034. and/or password prompt.
  1035. - added ruby-1.8.1-107-cvs-updates.patch:
  1036. - upgraded to stable-snapshot (2004-06-05).
  1037. - added debian/patches/108_cvs_updates.patch:
  1038. - [ruby-dev:22631] should not dump singleton class.
  1039. - limit safe level.
  1040. - [ruby-dev:23713] allow changing $SAFE.
  1041. - added ruby-1.8.1-820_zlib_64bit_gzfile_get32.patch:
  1042. - the value in gzfile_get32 can accidentally be sign extended on 64 bit
  1043. systems. Thanks to Matthew Mueller. (see Debian Bug#255442)
  1044. - removed ruby-1.8.1-time.c.patch, ruby-1.8.1-find.rb.patch,
  1045. ruby-1.8.1-telnet.rb.patch, ruby-1.8.1-yaml.patch,
  1046. ruby-1.8.1-proc_eq.patch, ruby-1.8.1-misc-escape.patch and
  1047. ruby-1.8.1-parse.y-reverse.patch. they ware included into the above
  1048. patch.
  1049. - updated SOURCE2. [VineSeed:09109]
  1050. - removed unusable "Prefix:".
  1051. * Fri Feb 06 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl6
  1052. - configure with --with-bundled-{sha1,md5,rmd160}. it free libruby1.8 from
  1053. libssl.
  1054. - added ruby-1.8.1-105-cvs-updates.patch:
  1055. - "undef" for methods does not work. [ruby-list:39058]
  1056. - blocks in "#{}" makes syntax error. [ruby-list:39061]
  1057. - Net::IMAP accepts 8-bit characters in quoted strings for Novell
  1058. GroupWise Internet Agent.
  1059. - Socket#recvfrom makes an invalid argument error in non-blocking mode.
  1060. [ruby-talk:89962]
  1061. - util.c (mblen): fix overrun. (DJGPP ONLY) [ruby-dev:22672]
  1062. - delegate.rb should use Kernel::raise for Thread. [ruby-dev:22681]
  1063. [ruby-dev:22684]
  1064. - delegate.rb should not delegate singleton_method_added.
  1065. [ruby-dev:22685]
  1066. - added ruby-1.8.1-find.rb.patch:
  1067. - Find.find raises SecurityError in $SAFE>=1. [ruby-dev:22641]
  1068. - Find.find("xyz") will yield "xyz" even if no such file exists.
  1069. [ruby-core:02319]
  1070. - added ruby-1.8.1-telnet.rb.patch:
  1071. - net/telnet.rb accepts "Login" prompt.
  1072. - added ruby-1.8.1-yaml.patch:
  1073. - syck library does not dump tv_usec correctly. [ruby-core:02305]
  1074. - syck cannot dump a Range of strings. [ruby-core:02306]
  1075. - added ruby-1.8.1-ruby-mode.patch:
  1076. - font-lock could not treat %"..." correctry. [ruby-dev:22705]
  1077. - added ruby-1.8.1-proc_eq.patch:
  1078. - Proc with empty body may not be equal. [ruby-dev:22590]
  1079. [ruby-dev:22594][ruby-dev:22602]
  1080. - added ruby-1.8.1-misc-escape.patch:
  1081. - Here-document in lib/rexml/encodings/ISO-8859-1.rb requires quotation,
  1082. as in US-ASCII.rb. [ruby-talk:88650]
  1083. - avoid warnings in rdoc/parsers/parse_c.rb.
  1084. * Thu Jan 22 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl5
  1085. - changed the arguments when generating RI (in the %%install section)
  1086. against "ppc vs powerpc" issue (thanks Akira Yamada-san for helping)
  1087. * Wed Jan 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl4
  1088. - added ruby-1.8.1-104-cvs-updates.patch:
  1089. - removed O_NONBLOCK for a socket used by DRb.
  1090. - Net::IMAP accepts an NIL-envelope.
  1091. * Tue Jan 20 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl3
  1092. - added ruby-1.8.1-103-cvs-updates.patch:
  1093. - io.c: initializer of lineno should be "INT2FIX(0)".
  1094. - disabled optimization on ia64. (-O1/2 makes ruby unusable.)
  1095. - added ruby-1.8.1-ia64-stack-limit-hack.patch:
  1096. - disable IA64_MAGIC_STACK_LIMIT trick when optimization is disabled.
  1097. [ruby-dev:22650]
  1098. * Mon Jan 19 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl2
  1099. - added ruby-1.8.1-101-cvs-updates.patch:
  1100. - StringIO.new.sysread should raise EOFError. [ruby-core:2078]
  1101. - don't increment lineno when gzfile_read_all returns "". [ruby-core:2078]
  1102. - ARGF.readline should raise EOFError at EOF. [ruby-dev:22458]
  1103. - both of ARGF.read and ARGF.read(nil) should concatenate input files when
  1104. length argument is nil. [ruby-dev:22450]
  1105. - ARGF.lineno should return 0 even if ARGF have not been read.
  1106. [ruby-dev:22460]
  1107. - ARGF.each_byte should return self. [ruby-dev:22465]
  1108. - ARGF.eof? should not have any side effect. [ruby-dev:22469]
  1109. - should not abort when module_function is called for undefined method.
  1110. [ruby-dev:22498]
  1111. - ARGF.read(n) makes an error when it gets EOF. [ruby-bugs-ja:PR#585]
  1112. - synchronized with date2 library version 3.5. it includes fixes for
  1113. [ruby-talk:90063].
  1114. - added ruby-1.8.1-102-cvs-updates.patch:
  1115. - documents of methods of IO is missing.
  1116. - added ruby-1.8.1-sleep.patch:
  1117. - sleep is broken with --enable-pthread. [ruby-core:2133]
  1118. [ruby-core:2137]
  1119. - added ruby-1.8.1-time.c.patch:
  1120. - Time#usec should not return neither a negative number nor a number which
  1121. is larger than 1000000. [ruby-dev:22614], [ruby-dev:22617]
  1122. - added ruby-1.8.1-ri-pager.patch:
  1123. - changed pager search order: ENV['PAGER'], pager, ...
  1124. - put datafiles of ri into rdoc package.
  1125. * Sat Dec 27 2003 akira yamada <akira@vinelinux.org> 1.8.1-0vl1
  1126. - new upstream version.
  1127. - applied bugfix patch. ruby-1.8.1-100-cvs-updates.patch:
  1128. - Kernel::require searches actual file name once when no extension
  1129. specified.
  1130. - fixes Ruby/Tk crash bug. (but does not fix block bug.) [ruby-talk:88830]
  1131. - Array#pack checks sign for "i" and "I". [ruby-dev:22427]
  1132. - IO::readlines should return lines when record-separater is nil.
  1133. [ruby-core:02077][ruby-core:02078]
  1134. - ARGF.read accepts "nil" for argument. [ruby-dev:22433]
  1135. - updated ruby-refm-rdp-1.6.8-ja-html.tar.gz.
  1136. - added ruby-mode-init.el.
  1137. - updated ruby-mode-install.sh and ruby-mode-remove.sh.
  1138. * Mon Dec 08 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl5
  1139. - updated ruby-1.8.1pr3-cvs-updates.patch.
  1140. * Sat Dec 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl3
  1141. - updated to Ruby 1.8.1-preview3.
  1142. - applied patches from the CVS.
  1143. * Thu Oct 16 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl2
  1144. - libruby obsoletes drb, erb, ruby-csv, ruby-optparse, ruby-rexml,
  1145. ruby-strscan, rubyunit and racc-runtime.
  1146. * Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl1
  1147. - new upstream version.
  1148. - applied patches from the CVS.
  1149. - new sub-package: ruby-openssl.
  1150. * Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.6.8-0vl2
  1151. - rebuild with tcltk-8.4.2
  1152. * Tue Jan 21 2003 akira yamada <akira@vinelinux.org> 1.6.8-0vl1
  1153. - new upstream version.
  1154. - applied a patch:
  1155. - [ruby-dev:18702] [PATCH] .rb/.so with same feature name
  1156. - build with db4-devel. (dbm.so is linked with libdb-4.0.so.)
  1157. * Tue Mar 19 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl5
  1158. - applied bug fix patch:
  1159. - ruby-dev#16462: preserve reference for GC, but link should be cut.
  1160. (ruby-dev#16411: block local var.)
  1161. - RUBY_RELEASE_DATE "2002-03-19"
  1162. (ruby-1.6.7-103.patch)
  1163. * Sun Mar 17 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl4
  1164. - applied bug fix patch:
  1165. - ruby-dev#16274: patch for 'wm state' (tk.rb)
  1166. - PR#206ja: SEGV handle EXIT
  1167. - updated NEWS
  1168. - RUBY_RELEASE_DATE "2002-03-14"
  1169. (ruby-1.6.7-100.patch)
  1170. - ruby-list#34313: singleton should not be Marshal.dump'ed
  1171. - ruby-dev#16411: block local var
  1172. - RUBY_RELEASE_DATE "2001-03-15"
  1173. (ruby-1.6.7-101.patch)
  1174. - handling multibyte chars is partially broken.
  1175. - RUBY_RELEASE_DATE "2002-03-18"
  1176. (ruby-1.6.7-102.patch)
  1177. - removed ruby-1.6.7-500-marshal-proc.patch and
  1178. ruby-1.6.7-501-class-var.patch. they are included (or rewrited) into the
  1179. above patch.
  1180. - updated refm. (ruby-refm-rdp-1.6.7-ja-html.zip)
  1181. - prefixed %%lang(ja) to %%doc for Japanese documents.
  1182. * Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl3
  1183. - applied patch501.
  1184. * Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl2
  1185. - updated refm. (ruby-refm-rdp-1.6.7-jp-html.zip)
  1186. * Sun Mar 03 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl1
  1187. - new upstream version.
  1188. - uri library is included.
  1189. - time.rb is new.
  1190. - some bugs are fixed.
  1191. - added ruby-refm-rdp-1.6.6-jp-html.zip.
  1192. - applied bug fix patch:
  1193. - ruby-dev#16178: Marshal::dump shuld call Proc#call.
  1194. (ruby-1.6.7-500-marshal-proc.patch)
  1195. - ruby-talk#35157: class vars broken in 1.6.7
  1196. (ruby-1.6.7-501-class-var.patch)
  1197. - removed: ruby-1.6.6-10[12].patch, ruby-1.6.6-502-net_pop.patch.
  1198. * Mon Feb 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl5
  1199. - applied bug fix patch:
  1200. - ruby-dev#15684: reject prefix followed by spaces only.
  1201. - PR#183: SEGV on remove_class_variable
  1202. (ruby-1.6.6-101.patch)
  1203. - PR#184: Net::APOP.auth_only is not usable
  1204. (ruby-1.6.6-502-net_pop.patch)
  1205. - removed ruby-1.6.6-502-net_pop.patch. it is included by
  1206. 101_ruby-1.6.6.patch.
  1207. - site_ruby moved to under /usr/local/lib.
  1208. - added db1-devel to BuildRequires.
  1209. * Wed Jan 09 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl4
  1210. - added a bug fix patch: ruby-1.6.6-501-ruby-mode.patch
  1211. - ruby-talk#30479: ruby-mode.el disables font-lock coloring
  1212. * Tue Jan 08 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl3
  1213. - added a bug fix patch: ruby-1.6.6-100.patch
  1214. - ruby-talk#30203: Ruby 1.6.6 bug and fix
  1215. - ruby-list#33047: regex bug
  1216. - PR#230: problem with -d in 1.6.6
  1217. - removed patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch.
  1218. included into ruby-1.6.6-100.patch.
  1219. * Fri Jan 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl2
  1220. - added a patch:
  1221. - ruby-1.6.6-901-sparc.patch: PR#225: sparc linux needs different
  1222. FLUSH_REGISTER_WINDOWS
  1223. - renamed to ruby-mode from ruby-mode-el.
  1224. * Wed Dec 26 2001 akira yamada <akira@vinelinux.org> 1.6.6-0vl1
  1225. - new upstream version.
  1226. * Sun Nov 18 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6.5-0vl3
  1227. - rebuilt with new tcl/tk packages
  1228. - added patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch
  1229. * Wed Oct 10 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl2
  1230. - applied bug fix patch from upstrem cvs repository.
  1231. - ruby-dev#14810, ruby-dev#14813 (ruby-1.6.5-100.patch)
  1232. - applied bug fix patch:
  1233. - ruby-list#31570 for net/pop.rb (ruby-1.6.5-501-net-pop.rb.patch)
  1234. - %%{_mandir} hack.
  1235. - emacsen_pkg hack. (very dirty for %%_foo() in %%if-%%endif. but it is
  1236. wrong of spec-specification... sigh.)
  1237. * Wed Sep 19 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl1
  1238. - new upstream version.
  1239. - add XFree86-devel to BuildRequires. (tk.h requires X11/Xlib.h.)
  1240. * Mon Sep 03 2001 akira yamada <akira@vinelinux.org> 1.6.4-0vl8
  1241. - removed files related on emacsen-common from libruby.
  1242. - updated upstream URLs.
  1243. * Tue Aug 07 2001 akira yamada <akira@vinelinux.org>
  1244. - 1.6.4-0vl7
  1245. - added ruby-1.6.4-108.patch.
  1246. - fixed: causes segv to mod_ruby.
  1247. - do not recurse if method_missing is undefined.
  1248. - m68k work around.
  1249. * Fri Aug 03 2001 akira yamada <akira@vinelinux.org>
  1250. - 1.6.4-0vl5
  1251. - new sub-package ruby-mode-el. it provides ruby-mode for emacsen.
  1252. * Thu Aug 01 2001 akira yamada <akira@vinelinux.org>
  1253. - 1.6.4-0vl4
  1254. - added ruby-1.6.4-10[67].patch.
  1255. - remove ruby-1.6.4-501.patch. (fixed on upstream.)
  1256. - marshal verbose warning bug.
  1257. - ruby-1.6-2001.07.31.
  1258. - packages except libruby and irb requires libruby = %%{version}-%%{release}.
  1259. - irb requires ruby = %%{version}-%%{release}.
  1260. * Thu Jul 26 2001 akira yamada <akira@vinelinux.org>
  1261. - 1.6.4-0vl3
  1262. - added ruby-1.6.4-10[345].patch and ruby-1.6.4-501.patch.
  1263. - tilde expansion problem and PR#158.
  1264. - some documents moved to libruby.rpm from ruby.rpm.
  1265. - stopped using %%configure macros, because it breaks
  1266. Config::CONFIG["libdir"] variable: %%configure sets
  1267. it to "/usr/lib" but it should be
  1268. "$(exec_prefix)/lib" for some packages which uses
  1269. ruby.
  1270. * Tue Jul 17 2001 akira yamada <akira@vinelinux.org>
  1271. - 1.6.4-0vl2
  1272. - added ruby-1.6.4-10[12].patch.
  1273. - fixed a bug around order of "$:".
  1274. - updated config.{guess,sub}.
  1275. - eval.c bug.
  1276. - marshal version 4.6.
  1277. * Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
  1278. - 1.6.4-0vl1
  1279. - upgrade to nwe upstream version 1.6.4.
  1280. * Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
  1281. - applied patch:
  1282. - fixed method cache bug. etc. (Patch103, Patch104)
  1283. * Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
  1284. - applied patch:
  1285. - fixed marshal for bignum bug.
  1286. - fixed scope of constant variables bug.
  1287. * Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
  1288. - upgraded to new upstream version 1.6.3.
  1289. * Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
  1290. - fixed bad group for libruby.
  1291. - Applied patch: upgraded to cvs version (2001-02-08):
  1292. fixed minor bugs.
  1293. * Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
  1294. - Applied patch: upgraded to cvs version (2001-01-15):
  1295. fixed minor bugs(e.g. ruby makes extention librares too large...).
  1296. * Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
  1297. - Applied patch: upgraded to cvs version (2001-01-09):
  1298. fixed minor bugs.
  1299. * Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
  1300. - Applied bug fix patch.
  1301. * Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
  1302. - Updated to new upstream version 1.6.2.
  1303. * Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
  1304. - Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
  1305. (upgraded ruby to latest cvs version, 1.6.2-preview4).
  1306. * Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
  1307. - Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
  1308. (upgraded ruby to latest cvs version).
  1309. - new package: libruby
  1310. * Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
  1311. - Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
  1312. (upgraded ruby to latest cvs version).
  1313. - Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
  1314. and ruby-dev.11268.patch (included into above patch).
  1315. * Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
  1316. - build on gcc-2.95.3
  1317. * Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
  1318. - Added ruby-dev.11268.patch.
  1319. * Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
  1320. - Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
  1321. (upgraded ruby to latest cvs version).
  1322. - Added ruby-dev.11262.patch.
  1323. - Added ruby-dev.11265.patch.
  1324. * Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
  1325. - Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
  1326. (upgraded ruby to latest cvs version).
  1327. * Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
  1328. - Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
  1329. (upgraded ruby to latest cvs version).
  1330. * Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
  1331. - Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
  1332. (upgraded ruby to latest cvs version).
  1333. * Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
  1334. - Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
  1335. (upgraded ruby to latest cvs version).
  1336. * Thu Sep 27 2000 akira yamada <akira@vinelinux.org>
  1337. - Updated to upstream version 1.6.1.
  1338. - Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
  1339. (upgraded ruby to latest cvs version).
  1340. * Tue Aug 29 2000 akira yamada <akira@redhat.com>
  1341. - Updated to version 1.4.6.
  1342. - removed ruby-dev.10123.patch(included into ruby-1.4.6).
  1343. - Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
  1344. * Tue Jun 27 2000 akira yamada <akira@redhat.com>
  1345. - Updated manuals to version 1.4.5.
  1346. * Sun Jun 25 2000 akira yamada <akira@redhat.com>
  1347. - Added ruby-dev.10123.patch.
  1348. * Sat Jun 24 2000 akira yamada <akira@redhat.com>
  1349. - Updated to version 1.4.5.
  1350. - Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
  1351. * Thu Jun 22 2000 akira yamada <akira@redhat.com>
  1352. - Updated to version 1.4.4(06/22/2000 CVS).
  1353. - Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
  1354. * Thu Jun 22 2000 akira yamada <akira@redhat.com>
  1355. - Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
  1356. * Tue Jun 20 2000 akira yamada <akira@redhat.com>
  1357. - Updated to version 1.4.4(06/20/2000 CVS).
  1358. - Removed ruby-list.23190.patch(included into ruby_cvs.patch).
  1359. - Added ruby-dev.10054.patch.
  1360. * Tue Jun 15 2000 akira yamada <akira@redhat.com>
  1361. - Updated to version 1.4.4(06/12/2000 CVS).
  1362. - Added manuals and FAQs.
  1363. - Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
  1364. * Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
  1365. - Updated to version 1.4.4
  1366. * Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1367. - Updated to version 1.4.3
  1368. * Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1369. - Updated to version 1.4.2 (Sep 18)
  1370. * Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1371. - Updated to version 1.4.2
  1372. * Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1373. - Updated to version 1.4.0
  1374. * Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1375. - 2nd release
  1376. - Updated to version 1.2.6(15 Jul 1999)
  1377. - striped %{prefix}/bin/ruby
  1378. * Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1379. - Updated to version 1.2.6(21 Jun 1999)
  1380. * Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1381. - Updated to version 1.2.5
  1382. * Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
  1383. - Updated to version 1.2.4
  1384. * Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
  1385. - Version up to 1.2 stable.
  1386. * Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
  1387. - Version up to 1.1c9.
  1388. * Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
  1389. - Version up to 1.1c8, however it appear short life :-P
  1390. * Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
  1391. - Version up.
  1392. * Mon Sep 22 1998 Toru Hoshina <hoshina@best.com>
  1393. - To make a libruby.so.
  1394. * Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
  1395. - Modified SPEC in order to install libruby.a so that it should be used by
  1396. another ruby entention.
  1397. - 2nd release.
  1398. * Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
  1399. - Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>