ChangeLog

# ChangeLog for dev-lang/ruby
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.347 2008/08/29 06:25:34 graaff Exp $

*ruby-1.8.6_p287-r1 (29 Aug 2008)

29 Aug 2008; Hans de Graaff
+files/ruby-1.8.6_p287-entity_expansion_limit.diff,
+ruby-1.8.6_p287-r1.ebuild:
Fix REXML security issues, bug #236060.

23 Aug 2008; Jeroen Roovers metadata.xml:
Add GLEP 56 USE flag descriptions.

*ruby-1.8.7_p72 (15 Aug 2008)

15 Aug 2008; Caleb Tennis -ruby-1.8.7_p22.ebuild,
+ruby-1.8.7_p72.ebuild:
bump 1.8.7 to latest patch release

*ruby-1.8.6_p287 (11 Aug 2008)

11 Aug 2008; Hans de Graaff +ruby-1.8.6_p287.ebuild:
Version bump for brown paper bag relelease.

10 Aug 2008; Hans de Graaff
-files/ruby-1.8.6-revert-r15856.patch, -ruby-1.8.6_p230.ebuild:
Remove broken version in favor of the just-added 1.8.6_p286

*ruby-1.8.6_p286 (10 Aug 2008)

10 Aug 2008; Hans de Graaff +ruby-1.8.6_p286.ebuild:
Version bump to latest released version of ruby 1.8.6. This version fixes the
security issues reported in #225465 and #234224. The cjk USE flag has been
dropped since no compatible patches have been released yet.

25 Jul 2008; Michael Sterrett
ruby-1.8.6_p230.ebuild:
drop cjk from SRC_URI as well

15 Jul 2008; Hans de Graaff ruby-1.8.6_p230.ebuild:
Drop cjk support since the most recent oniguruma patches no longer apply to
this version, #230111.

29 Jun 2008; Hans de Graaff
+files/ruby-1.8.6-revert-r15856.patch, +ruby-1.8.6_p230.ebuild:
Try to fix the security issues reported in #225465 for ruby 1.8.6.
Unfortunately the official p230 has a change which causes segmentation faults
for applications like Rails and RSpec, so we are reverting that specific
change.

*ruby-1.8.7_p22 (29 Jun 2008)

29 Jun 2008; Caleb Tennis -ruby-1.8.7.ebuild,
+ruby-1.8.7_p22.ebuild:
bump 1.8.7 for security fix

20 Jun 2008; Caleb Tennis -ruby-1.8.6_p230.ebuild:
nevermind, don't bump this yet

*ruby-1.8.6_p230 (20 Jun 2008)

20 Jun 2008; Caleb Tennis +ruby-1.8.6_p230.ebuild:
version bump

*ruby-1.8.7 (10 Jun 2008)

10 Jun 2008; Caleb Tennis -ruby-1.8.7_pre2.ebuild,
+ruby-1.8.7.ebuild:
bump 1.8.7 to final

*ruby-1.8.7_pre2 (21 Apr 2008)

21 Apr 2008; Richard Brown -ruby-1.8.7_pre1.ebuild,
+ruby-1.8.7_pre2.ebuild:
Version Bump

*ruby-1.8.7_pre1 (16 Apr 2008)

16 Apr 2008; Richard Brown +ruby-1.8.7_pre1.ebuild:
Version bump. Drop cjk until a new version of oniguruma appears.

06 Mar 2008; Steve Dibb ruby-1.8.6_p114.ebuild:
amd64 stable, bug 212264

06 Mar 2008; Jeroen Roovers ruby-1.8.6_p114.ebuild:
Stable for HPPA (bug #212264).

05 Mar 2008; Tobias Scherbaum
ruby-1.8.6_p114.ebuild:
ppc stable, bug #212264

05 Mar 2008; Raúl Porcel ruby-1.8.6_p114.ebuild:
alpha/ia64 stable wrt #212264

05 Mar 2008; Christian Faulhammer
ruby-1.8.6_p114.ebuild:
stable x86, security bug 212264

05 Mar 2008; Ferris McCormick ruby-1.8.6_p114.ebuild:
Sparc stable, Security Bug #212264, builds and installs, initial tests run
as expected.

05 Mar 2008; Brent Baude ruby-1.8.6_p114.ebuild:
Marking ruby-1.8.6_p114 ppc64 for bug 212264

*ruby-1.8.6_p114 (05 Mar 2008)

05 Mar 2008; Richard Brown
-files/ruby-1.8.4-glibc24-eaccess.diff, -files/ruby-1.8.4-yaml.diff,
-files/ruby-1.8.5_p113-net-http-p114.patch, -ruby-1.8.4-r3.ebuild,
-ruby-1.8.5_p113.ebuild, +ruby-1.8.6_p114.ebuild:
Version bump for #212264. Remove old ebuilds.

17 Feb 2008; Raúl Porcel ruby-1.8.6_p111-r1.ebuild:
alpha/ia64 stable wrt #208916

17 Feb 2008; nixnut ruby-1.8.6_p111-r1.ebuild:
Stable on ppc wrt bug 208916

16 Feb 2008; Markus Meier ruby-1.8.6_p111-r1.ebuild:
x86 stable, bug #208916

16 Feb 2008; Ferris McCormick
ruby-1.8.6_p111-r1.ebuild:
Sparc stable --- Bug #208916 --- working well for about 6 weeks.

15 Feb 2008; Richard Brown
-files/ruby-1.8.6-exit-status.patch,
-files/ruby-1.8.6_p110-net-http-p111.patch,
-files/ruby-1.8.6_p36-rb_thread_status_prototype.patch,
-ruby-1.8.5_p2-r1.ebuild, -ruby-1.8.6-r1.ebuild,
-ruby-1.8.6_p110-r1.ebuild, -ruby-1.8.6_p110-r2.ebuild:
Remove old versions

05 Feb 2008; Markus Rothe ruby-1.8.6_p111-r1.ebuild:
Stable on ppc64

26 Dec 2007; Peter Weller ruby-1.8.6_p111.ebuild:
Stable on amd64; bug 199191

24 Dec 2007; Raúl Porcel ruby-1.8.6_p111.ebuild:
alpha/ia64/sparc stable wrt #199191

24 Dec 2007; Hans de Graaff ruby-1.8.6_p111-r1.ebuild:
Remove now-obsolete warning about coreutils versions, #203156.

24 Dec 2007; Jeroen Roovers ruby-1.8.6_p111-r1.ebuild:
Stable for HPPA (bug #199191).

*ruby-1.8.6_p111-r1 (23 Dec 2007)

23 Dec 2007; Richard Brown +ruby-1.8.6_p111-r1.ebuild:
Remove dependencies on system packages. Add berkdb (bug #199705), gdbm and
ssl USE flags. Patch to p113.

23 Dec 2007; Brent Baude ruby-1.8.6_p111.ebuild:
Marking ruby-1.8.6_p111 ppc and ppc64 for bug 199191

23 Dec 2007; Markus Meier ruby-1.8.6_p111.ebuild:
x86 stable, security bug #199191

*ruby-1.8.6_p111 (23 Dec 2007)

23 Dec 2007; Richard Brown
+files/ruby-1.8.6_p111-r13657.patch, +ruby-1.8.6_p111.ebuild:
Version bump with patch for bug #199191

14 Dec 2007; Ulrich Mueller ruby-1.8.6_p110-r2.ebuild:
Move dependency on (X)Emacs modes to PDEPEND.

25 Oct 2007; Hans de Graaff ruby-1.8.6_p110-r2.ebuild:
Add back ~hppa keyword now that XEmacs support files have been keyworded,
bug 196413

*ruby-1.8.6_p110-r2 (21 Oct 2007)

21 Oct 2007; Hans de Graaff
+ruby-1.8.6_p110-r2.ebuild:
Add emacs and xemacs USE flags and use them to pull in the correct editing
mode for each. Had to drop several arch keywords as reported on bug 196413.

13 Oct 2007; Steve Dibb ruby-1.8.6_p110-r1.ebuild:
amd64 stable, security bug 194236

11 Oct 2007; Markus Rothe ruby-1.8.5_p113.ebuild,
ruby-1.8.6_p110-r1.ebuild:
Stable on ppc64; bug #194236

09 Oct 2007; Steve Dibb ruby-1.8.6-r1.ebuild:
amd64 stable, security bug 194236

08 Oct 2007; Jeroen Roovers ruby-1.8.6_p110-r1.ebuild:
Stable for HPPA (bug #194236).

08 Oct 2007; Raúl Porcel ruby-1.8.6_p110-r1.ebuild:
alpha/ia64/sparc stable wrt security #194236

07 Oct 2007; Tobias Scherbaum
ruby-1.8.6_p110-r1.ebuild:
ppc stable, bug #194236

07 Oct 2007; Christian Faulhammer
ruby-1.8.6_p110-r1.ebuild:
stable x86, security bug 194236

07 Oct 2007; Christian Faulhammer
ruby-1.8.5_p113.ebuild:
stable x86, security bug 194236

07 Oct 2007; Richard Brown -ruby-1.8.5_p35.ebuild,
-ruby-1.8.6_p36-r3.ebuild, -ruby-1.8.6_p36-r4.ebuild,
-ruby-1.8.6_p110.ebuild:
Remove old versions

*ruby-1.8.6_p110-r1 (30 Sep 2007)
*ruby-1.8.5_p113 (30 Sep 2007)

30 Sep 2007; Richard Brown
+files/ruby-1.8.5_p113-net-http-p114.patch,
+files/ruby-1.8.6_p110-net-http-p111.patch, +ruby-1.8.5_p113.ebuild,
+ruby-1.8.6_p110-r1.ebuild:
Fix bug #194236. Bump 1.8.6 to p111 as p110-r1. Bump 1.8.5 to p114 as p113,
using 1.8.6-p110 as base ebuild.

24 Sep 2007; Richard Brown ruby-1.8.6_p110.ebuild:
More fixes from gentoo-dev and graaff

24 Sep 2007; Richard Brown ruby-1.8.6_p110.ebuild:
Implement suggestions from http://archives.gentoo.org/gentoo-dev/msg_147875.xml

*ruby-1.8.6_p110 (24 Sep 2007)

24 Sep 2007; Richard Brown +ruby-1.8.6_p110.ebuild:
Version bump

*ruby-1.8.6_p36-r4 (26 Aug 2007)

26 Aug 2007; Nguyễn Thái Ngọc Duy
+ruby-1.8.6_p36-r4.ebuild:
Use user LDFLAGS, #181436

17 Aug 2007; Hans de Graaff ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2-r1.ebuild, ruby-1.8.5_p35.ebuild:
MANIFEST was already gone in ruby 1.8.4, so remove it also from the old
ebuilds, including the currently stable 1.8.5_p2-r1, #189241.

17 Aug 2007; Hans de Graaff -ruby-1.8.5_p2.ebuild,
-ruby-1.8.5_p12.ebuild, -ruby-1.8.6_p36-r1.ebuild,
-ruby-1.8.6_p36-r2.ebuild:
Remove some older versions that will not be promoted to stable, keeping at
least one version of each release.

05 Jul 2007; Piotr Jaroszyński
ruby-1.8.6_p36-r3.ebuild:
(QA) RESTRICT clean up.

*ruby-1.8.6_p36-r3 (04 Jul 2007)

04 Jul 2007; Mike Doty
+files/ruby-1.8.6-memory-leak.diff, +ruby-1.8.6_p36-r3.ebuild:
fixed memory leak loading .so bug #182946

02 Jul 2007; Piotr Jaroszyński ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p2-r1.ebuild, ruby-1.8.5_p12.ebuild,
ruby-1.8.5_p35.ebuild, ruby-1.8.6-r1.ebuild, ruby-1.8.6_p36-r1.ebuild,
ruby-1.8.6_p36-r2.ebuild:
(QA) RESTRICT clean up.

21 Jun 2007; Fernando J. Pereda ruby-1.8.6-r1.ebuild:
Re-add stable keyword for alpha as per bug #181110

21 Jun 2007; Christoph Mende ruby-1.8.6-r1.ebuild:
Back to ~amd64 wrt bug 181110

21 Jun 2007; Raúl Porcel ruby-1.8.6-r1.ebuild:
Mark 1.8.6 unstable on alpha/ia64/x86 wrt #181110

*ruby-1.8.6_p36-r2 (20 Jun 2007)

20 Jun 2007; Richard Brown +ruby-1.8.6_p36-r2.ebuild:
Re-add cjk USE flag, thanks to Hannes Wyss, bug #182671

*ruby-1.8.6_p36-r1 (18 Jun 2007)

18 Jun 2007; Richard Brown
+files/ruby-1.8.6_p36-rb_thread_status_prototype.patch,
-ruby-1.8.6_p36.ebuild, +ruby-1.8.6_p36-r1.ebuild:
Add prototype fix from ruby -r12567 [ruby-list:43615]. Thanks to peper and
spbecker

14 Jun 2007; Christoph Mende ruby-1.8.6-r1.ebuild:
Stable on amd64 wrt bug 181110

*ruby-1.8.6_p36 (12 Jun 2007)

12 Jun 2007; Richard Brown +ruby-1.8.6_p36.ebuild:
Version Bump. Bug #181379

10 Jun 2007; Joshua Kinard ruby-1.8.6-r1.ebuild:
Stable on mips, per #181110.

09 Jun 2007; nixnut ruby-1.8.6-r1.ebuild:
Stable on ppc wrt bug 181110

09 Jun 2007; Jeroen Roovers ruby-1.8.6-r1.ebuild:
Stable for HPPA (bug #181110).

09 Jun 2007; Raúl Porcel ruby-1.8.6-r1.ebuild:
alpha/ia64/x86 stable wrt #181110

07 Jun 2007; Gustavo Zacarias ruby-1.8.6-r1.ebuild:
Stable on sparc wrt #181110

06 Jun 2007; Brent Baude ruby-1.8.6-r1.ebuild:
Marking ruby-1.8.6-r1 ppc64 stable for bug#181110

24 May 2007; Richard Brown ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p2-r1.ebuild, ruby-1.8.5_p12.ebuild,
ruby-1.8.5_p35.ebuild:
Add RESTRICT="test" to ebuilds that have no hope of passing.

24 May 2007; Lars Weiler ruby-1.8.5_p2-r1.ebuild:
Stable on ppc; bug #178346.

19 May 2007; Markus Rothe ruby-1.8.5_p2-r1.ebuild:
Stable on ppc64; bug #178346

18 May 2007; Fernando J. Pereda
ruby-1.8.5_p2-r1.ebuild:
Stable on alpha as per bug #178346

17 May 2007; Richard Brown ruby-1.8.6-r1.ebuild:
Fix bug #128837, ruby-talk:183494

16 May 2007; Richard Brown -ruby-1.8.6_pre1.ebuild,
-ruby-1.8.6_pre3.ebuild, -ruby-1.8.6.ebuild:
Remove old 1.8.6 versions

16 May 2007; Steve Dibb ruby-1.8.5_p2-r1.ebuild:
amd64 stable, bug 178346

13 May 2007; Jeroen Roovers ruby-1.8.5_p2-r1.ebuild:
Stable for HPPA (bug #178346).

13 May 2007; Ferris McCormick ruby-1.8.5_p2-r1.ebuild:
Stable on sparc --- Bug #178346 --- fixes Bug #159922 (uses
/usr/bin/install).

13 May 2007; Raúl Porcel ruby-1.8.5_p2-r1.ebuild:
ia64 + x86 stable wrt bug 178346

*ruby-1.8.5_p2-r1 (13 May 2007)

13 May 2007; Hans de Graaff +ruby-1.8.5_p2-r1.ebuild:
Bump to get people to recompile ruby now that coreutils-6.7-r1 is stable
on most arches so that ruby properly picks up new location of /bin/install.
See #159922 for details.

*ruby-1.8.6-r1 (01 May 2007)

01 May 2007; Richard Brown
+files/ruby-1.8.6-exit-status.patch, +ruby-1.8.6-r1.ebuild:
Add new src_test, and add return code patch from [ruby-core:10609] and
[ruby-core:10760]

24 Apr 2007; Richard Brown ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p12.ebuild, ruby-1.8.5_p35.ebuild,
ruby-1.8.6_pre1.ebuild, ruby-1.8.6_pre3.ebuild, ruby-1.8.6.ebuild:
Fix $ROOT usage. Bug #167271

07 Apr 2007; Nguyễn Thái Ngọc Duy
ruby-1.8.4-r3.ebuild, ruby-1.8.5_p2.ebuild, ruby-1.8.5_p12.ebuild,
ruby-1.8.5_p35.ebuild, ruby-1.8.6_pre1.ebuild, ruby-1.8.6_pre3.ebuild,
ruby-1.8.6.ebuild:
Added warning, bug #159922

*ruby-1.8.6 (13 Mar 2007)

13 Mar 2007; Caleb Tennis +ruby-1.8.6.ebuild:
version bump

*ruby-1.8.5_p35 (13 Mar 2007)

13 Mar 2007; Caleb Tennis +ruby-1.8.5_p35.ebuild:
bump

06 Mar 2007; Hans de Graaff ruby-1.8.6_pre3.ebuild:
MANIFEST is no longer distributed, but NEWS is: update dodoc accordingly.

*ruby-1.8.6_pre3 (04 Mar 2007)

04 Mar 2007; Caleb Tennis +ruby-1.8.6_pre3.ebuild:
1.8.6 pre 3

*ruby-1.8.6_pre1 (17 Feb 2007)

17 Feb 2007; Diego Pettenò
+ruby-1.8.6_pre1.ebuild:
Bump to the preview version, but without CJK support for now because
Onigurama hasn't been updated yet. Thanks to M. Edward Borasky in bug
#167364.

11 Feb 2007; Fabian Groffen ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild:
Dropped ppc-macos keyword, see you in prefix

11 Feb 2007; Christian Faulhammer ruby-1.8.4-r3.ebuild:
moved from USE flag tcltk to tk, see bug 17808

31 Jan 2007; Marius Mauch ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p12.ebuild:
Replacing einfo with elog

28 Jan 2007; Nguyễn Thái Ngọc Duy
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p12.ebuild:
ruby-1.8.5 should use >=ruby-config-0.3.1 for ri symlink, #164136

04 Jan 2007; Diego Pettenò ruby-1.8.4-r3.ebuild:
Get rid of debug.eclass usage.

01 Jan 2007; Fabian Groffen ruby-1.8.4-r3.ebuild,
ruby-1.8.5_p2.ebuild, ruby-1.8.5_p12.ebuild:
Dropped ppc-macos keyword, see you in prefix

29 Dec 2006; Nguyễn Thái Ngọc Duy
ruby-1.8.5_p12.ebuild:
keepdir /usr/lib/ruby/site_ruby, #90510

25 Dec 2006; Diego Pettenò
-files/ruby-1.8.5-cgi-dos-1.patch, -files/oniguruma-2.3.1-gentoo.patch,
-ruby-1.8.4-r1.ebuild, -ruby-1.8.5.ebuild, -ruby-1.8.5-r1.ebuild,
-ruby-1.8.5-r2.ebuild, -ruby-1.8.5-r3.ebuild:
Cleanup old versions.

*ruby-1.8.5_p12 (25 Dec 2006)

25 Dec 2006; Diego Pettenò +ruby-1.8.5_p12.ebuild:
Version bump, thanks to M. Edward Borasky in bug #158458.

14 Dec 2006; Nguyễn Thái Ngọc Duy
ruby-1.8.5_p2.ebuild:
Fixed undefined variable MY_PV causing origuruma silently failed to install.
Also upgrade to origuruma 2.5.7. Patch by Hannes Wyss (bug
#147333)

05 Dec 2006; Christian Faulhammer ruby-1.8.5_p2.ebuild:
stable x86, security bug #157048

04 Dec 2006; Jeroen Roovers ruby-1.8.5_p2.ebuild:
Stable for HPPA (bug #157048).

04 Dec 2006; Tobias Scherbaum
ruby-1.8.5_p2.ebuild:
ppc stable, bug #157048

04 Dec 2006; Alexander H. Færøy ruby-1.8.5_p2.ebuild:
Stable on Alpha; bug #157048

04 Dec 2006; Brent Baude ruby-1.8.5_p2.ebuild:
Marking ruby-1.8.5_p2 ppc64 stable for bug 157048

04 Dec 2006; Gustavo Zacarias ruby-1.8.5_p2.ebuild:
Stable on sparc wrt security #157048

04 Dec 2006; Luis Medinas ruby-1.8.5_p2.ebuild:
Stable on amd64. See security bug #157048.

*ruby-1.8.5_p2 (04 Dec 2006)

04 Dec 2006; Diego Pettenò +ruby-1.8.5_p2.ebuild:
Version bump to fix the new security issue with cgi.rb. Bug #157048.

25 Nov 2006; Bryan Østergaard ruby-1.8.5-r3.ebuild:
Stable on ia64.

15 Nov 2006; Markus Rothe ruby-1.8.5-r3.ebuild:
Stable on ppc64; bug #153497

13 Nov 2006; René Nussbaumer ruby-1.8.5-r3.ebuild:
Stable on hppa. See bug #153497.

08 Nov 2006; Danny van Dyk ruby-1.8.5-r3.ebuild:
Marked stable on amd64.

08 Nov 2006; Tobias Scherbaum
ruby-1.8.5-r3.ebuild:
ppc stable, bug #153497

08 Nov 2006; Joshua Jackson ruby-1.8.5-r3.ebuild:
Stable x86; bug #153497

07 Nov 2006; Alexander H. Færøy ruby-1.8.5-r3.ebuild:
Stable on Alpha. Bug 153497

07 Nov 2006; Ferris McCormick ruby-1.8.5-r3.ebuild:
Stable on sparc --- security Bug #153497 --- builds and runs my verification
programs.

*ruby-1.8.5-r3 (07 Nov 2006)

07 Nov 2006; Diego Pettenò
+files/ruby-1.8.5-cgi-dos-1.patch, +ruby-1.8.5-r3.ebuild:
Revision bump adding the patch for CVE-2006-5467. See bug #153497.

07 Nov 2006; Diego Pettenò ruby-1.8.4-r3.ebuild,
ruby-1.8.5.ebuild, ruby-1.8.5-r1.ebuild, ruby-1.8.5-r2.ebuild:
Add WANT_AUTO* variables.

20 Oct 2006; Aron Griffis ruby-1.8.5-r2.ebuild:
Mark 1.8.5-r2 stable on ia64

20 Oct 2006; Aron Griffis ruby-1.8.5-r2.ebuild:
Mark 1.8.5-r2 stable on alpha

18 Oct 2006; Roy Marples ruby-1.8.5-r2.ebuild:
Added ~sparc-fbsd keyword.

13 Oct 2006; Diego Pettenò ruby-1.8.4-r1.ebuild,
ruby-1.8.4-r3.ebuild, ruby-1.8.5.ebuild, ruby-1.8.5-r1.ebuild,
ruby-1.8.5-r2.ebuild:
Remove autoconf dependencies, and leave them to autotools eclass.

12 Oct 2006; Diego Pettenò ruby-1.8.4-r1.ebuild,
ruby-1.8.4-r3.ebuild, ruby-1.8.5.ebuild, ruby-1.8.5-r1.ebuild,
ruby-1.8.5-r2.ebuild:
Remove again gnuconfig calls, please don't add them back again.

*ruby-1.8.5-r2 (09 Oct 2006)

09 Oct 2006; Diego Pettenò +ruby-1.8.5-r2.ebuild:
Mask again -fomit-frame-poointer as per bug #150413 and #148965

*ruby-1.8.5-r1 (06 Oct 2006)

06 Oct 2006; Caleb Tennis +ruby-1.8.5-r1.ebuild:
version bump to get rid of fomit-frame-pointer filtering, per bug #148965

05 Oct 2006; Emanuele Giaquinta ruby-1.8.5.ebuild:
tcltk -> tk, acked by Flameeyes.

28 Sep 2006; Gustavo Zacarias ruby-1.8.5.ebuild:
Stable on sparc wrt security #142038

27 Sep 2006; Tobias Scherbaum ruby-1.8.5.ebuild:
hppa&&ppc stable, bug #142038

27 Sep 2006; Fernando J. Pereda ruby-1.8.5.ebuild:
Stable on alpha wrt bug #145524

27 Sep 2006; Joshua Jackson ruby-1.8.5.ebuild:
Stable x86; bug #142038

26 Sep 2006; Markus Rothe ruby-1.8.5.ebuild:
Stable on ppc64; bug #142038

26 Sep 2006; Simon Stelling ruby-1.8.5.ebuild:
stable on amd64; bug 142038

05 Sep 2006; Joshua Kinard ruby-1.8.4-r3.ebuild:
Marked stable on mips.

02 Sep 2006; Diego Pettenò ruby-1.8.5.ebuild:
Remove findutils dependency, again.

02 Sep 2006; Diego Pettenò ruby-1.8.5.ebuild:
Re-add ~x86-fbsd keyword that was removed somehow.

30 Aug 2006; Caleb Tennis -ruby-1.8.4.20060529.ebuild,
-ruby-1.8.5_pre1.ebuild, -ruby-1.8.5_pre4.ebuild:
remove old versions

30 Aug 2006; Caleb Tennis ruby-1.8.4-r3.ebuild,
ruby-1.8.5.ebuild:
Add debug use flag to use debug symbols

*ruby-1.8.5 (28 Aug 2006)

28 Aug 2006; +ruby-1.8.5.ebuild:
Version bump. +1.8.5

*ruby-1.8.5_pre4 (21 Aug 2006)

21 Aug 2006; Caleb Tennis +ruby-1.8.5_pre4.ebuild:
version bump

07 Aug 2006; Ferris McCormick ruby-1.8.4-r3.ebuild:
Stable on sparc --- Bug #133002 --- builds and runs fine. (But notice
Comments 2, 16, and 20 on the referenced bug: they apply as well to sparc.)

21 Jul 2006; Chris Gianelloni ruby-1.8.4-r3.ebuild:
Stable on amd64 and x86 wrt bug #133002.

20 Jul 2006; Markus Rothe ruby-1.8.4-r3.ebuild:
Stable on ppc64; bug #133002

09 Jul 2006; Lars Weiler ruby-1.8.4-r3.ebuild:
Stable on ppc; bug #133002.

02 Jul 2006; Daniel Black Manifest:
regen Manifest to not contain missing ruby-1.8.5_pre1.ebuild.orig

26 Jun 2006; Diego Pettenò ruby-1.8.5_pre1.ebuild:
Cleanup by removing deprecated gnuconfig, call autoconf explicitely, update
dependencies, add -fno-strict-aliasing.

*ruby-1.8.5_pre1 (26 Jun 2006)

26 Jun 2006; Caleb Tennis ruby-1.8.4-r3.ebuild,
+ruby-1.8.5_pre1.ebuild:
new preview

06 Jun 2006; Caleb Tennis -ruby-1.8.4.20060226.ebuild:
remove a snapshot

*ruby-1.8.4.20060529 (30 May 2006)

30 May 2006; Caleb Tennis +ruby-1.8.4.20060529.ebuild:
Snapshot bump

28 May 2006; Diego Pettenò
ruby-1.8.4.20060226.ebuild:
Respect LDFLAGS but filter -Bdirect for some libraries.

28 May 2006; Diego Pettenò
ruby-1.8.4.20060226.ebuild:
Fix quoting.

27 May 2006; Diego Pettenò
ruby-1.8.4.20060226.ebuild:
Drop dependency over findutils to avoid dependency on FreeBSD (it's in system).

22 May 2006; Caleb Tennis -files/ruby-1.8.2-soap.diff,
-files/ruby-1.8.2-unittest.diff,
-files/ruby-1.8.2-xmlrpc-ipimethods-fix.diff, -files/re.c.182.patch,
-files/ruby-rdoc-gentoo.diff, -ruby-1.8.2-r2.ebuild, -ruby-1.8.3.ebuild,
-ruby-1.8.4.ebuild, -ruby-1.8.4-r2.ebuild:
remove old versions, particularly < 1.8.3 for GLSA 200510-05

01 May 2006; Rene Nussbaumer ruby-1.8.4-r3.ebuild:
Stable on hppa. See bug #130657.

29 Apr 2006; Simon Stelling ruby-1.8.4-r1.ebuild:
stable on amd64 wrt bug 130657

31 Mar 2006; Diego Pettenò
ruby-1.8.4.20060226.ebuild:
Add ~x86-fbsd keyword.

*ruby-1.8.4-r3 (31 Mar 2006)

31 Mar 2006; Caleb Tennis +ruby-1.8.4-r3.ebuild,
ruby-1.8.4.20060226.ebuild:
Add ipv6 support per bug #128026

31 Mar 2006; Caleb Tennis ruby-1.8.4-r2.ebuild:
Fix Ruby 1.8.4's oniguruma per bug #127860

*ruby-1.8.4-r2 (21 Mar 2006)

21 Mar 2006; Caleb Tennis
+files/ruby-1.8.4-glibc24-eaccess.diff, +ruby-1.8.4-r2.ebuild:
Version bump for a patch that handles eaccess with new glibc2.4 (bug #126886)

*ruby-1.8.4.20060226 (27 Feb 2006)

27 Feb 2006; Caleb Tennis +ruby-1.8.4.20060226.ebuild:
Adding a new 1.8.4 snapshot as of today, see if it helps with some YAML and
other bugs

26 Feb 2006; Joshua Kinard ruby-1.8.4-r1.ebuild:
Marked stable on mips.

22 Feb 2006; Caleb Tennis ruby-1.8.2-r2.ebuild,
ruby-1.8.3.ebuild, ruby-1.8.4.ebuild, ruby-1.8.4-r1.ebuild:
adding RESTRICT=confcache to ebuilds per bug #122966

04 Feb 2006; Diego Pettenò ruby-1.8.4-r1.ebuild:
Remove GNUish cp -d call.

31 Jan 2006; Aron Griffis ruby-1.8.4-r1.ebuild:
Mark 1.8.4-r1 stable on ia64

31 Jan 2006; Aron Griffis ruby-1.8.4-r1.ebuild:
Mark 1.8.4-r1 stable on alpha

21 Jan 2006; Markus Rothe ruby-1.8.4-r1.ebuild:
Stable on ppc64

21 Jan 2006; Michael Hanselmann ruby-1.8.4-r1.ebuild:
Stable on ppc.

19 Jan 2006; Gustavo Zacarias ruby-1.8.4-r1.ebuild:
Stable on sparc

18 Jan 2006; Caleb Tennis -ruby-1.8.2.ebuild,
-ruby-1.8.2-r1.ebuild:
Remove old versions

18 Jan 2006; Caleb Tennis ruby-1.8.4-r1.ebuild:
I think this is now a good candidate for x86 stable

12 Jan 2006; Caleb Tennis ruby-1.8.4-r1.ebuild:
Install the sample directory into DOCDIR if the examples use flag is on -
bug #118181

02 Jan 2006; Caleb Tennis ruby-1.8.3.ebuild,
ruby-1.8.4.ebuild, ruby-1.8.4-r1.ebuild:
add blocker on dev-ruby/rexml

27 Dec 2005; Caleb Tennis -files/ruby-1.8.4-yaml.diff,
-ruby-1.8.4_pre2.ebuild, -ruby-1.8.4_pre2-r1.ebuild,
-ruby-1.8.4_pre3.ebuild:
Remove _pre versions

*ruby-1.8.4 (27 Dec 2005)

27 Dec 2005; Caleb Tennis +ruby-1.8.4.ebuild:
Bump to 1.8.4 final

*ruby-1.8.4_pre3 (22 Dec 2005)

22 Dec 2005; Caleb Tennis +ruby-1.8.4_pre3.ebuild:
Version bump

*ruby-1.8.4_pre2-r1 (14 Dec 2005)

14 Dec 2005; Caleb Tennis +files/ruby-1.8.4-yaml.diff,
+ruby-1.8.4_pre2-r1.ebuild:
Revbump and add YAML patch from bug #115388

11 Dec 2005; Caleb Tennis ruby-1.8.2-r2.ebuild,
ruby-1.8.3.ebuild, ruby-1.8.4_pre2.ebuild:
Patch ebuilds to install ri docs if doc use flag is installed

07 Dec 2005; Diego Pettenò ruby-1.8.4_pre2.ebuild:
Make it multilib-strict capable. It might not be 100% complete for
non-symlinked profiles, yet, as it installs arch-independent extensions in
lib64, but currently there's no other way to improve this (sharing the
site-independent directory would trigger collision-protect when two
different ABI are installed for the same package, for the independent files,
like headers). Closes bug #89985. No-change for non-multilib users.

04 Dec 2005; Mamoru KOMACHI ruby-1.8.3.ebuild,
ruby-1.8.4_pre2.ebuild:
Removed epatch to oniguruma (not necessary anymore)

*ruby-1.8.4_pre2 (02 Dec 2005)

02 Dec 2005; Caleb Tennis -ruby-1.8.4_pre1.ebuild,
+ruby-1.8.4_pre2.ebuild:
Version bump

*ruby-1.8.4_pre1 (01 Nov 2005)

01 Nov 2005; Caleb Tennis +ruby-1.8.4_pre1.ebuild:
Pre-release version bump

29 Oct 2005; Mamoru KOMACHI ruby-1.8.3.ebuild:
Added cjk USE flag back. This closes bug #106293.

08 Oct 2005; Fabian Groffen ruby-1.8.2.ebuild:
Dropping ppc-macos keyword to ~ppc-macos for bug #106996

07 Oct 2005; Caleb Tennis -ruby-1.6.8-r12.ebuild:
Hope I got the 1.6 deps cleared out now

05 Oct 2005; Michael Sterrett
+files/ruby-1.6.8-20040728-20041024.diff,
+files/ruby-1.6.8-fix-x86_64.patch, +ruby-1.6.8-r12.ebuild:
resurrect ruby-1.6 until the deps are cleaned out first

05 Oct 2005; Caleb Tennis
-files/ruby-1.6.8-20040728-20041024.diff,
-files/ruby-1.6.8-fix-x86_64.patch, -ruby-1.6.8-r12.ebuild:
Removing ruby 1.6

02 Oct 2005; MATSUU Takuto ruby-1.8.3.ebuild:
Stable on sh.

02 Oct 2005; Bryan Østergaard ruby-1.8.3.ebuild:
Stable on ia64, bug 106996.

02 Oct 2005; Hardave Riar ruby-1.8.3.ebuild:
Stable on mips, bug #106996.

30 Sep 2005; Simon Stelling ruby-1.8.3.ebuild:
stable on amd64 wrt bug 106996

29 Sep 2005; Jose Luis Rivero ruby-1.8.3.ebuild:
Stable on alpha wrt security bug #106996

28 Sep 2005; Markus Rothe ruby-1.8.3.ebuild:
Stable on ppc64

28 Sep 2005; Andrej Kacian ruby-1.8.3.ebuild:
Stable on x86, bug #106996.

27 Sep 2005; Michael Hanselmann ruby-1.8.3.ebuild:
Stable on ppc.

27 Sep 2005; Ferris McCormick ruby-1.8.3.ebuild:
Add sparc keyword (Security Bug #106996); concerns expressed in the bug's
comments are cured by upgrading rubygems, activesupport.

27 Sep 2005; Rene Nussbaumer ruby-1.8.3.ebuild:
Stable on hppa. bug #106996

23 Sep 2005; Sven Wegener ruby-1.8.3.ebuild:
${D}${ROOT} is bad. dosym doesn't use the cwd for symlinking, so we don't need
to cd here.

23 Sep 2005; Caleb Tennis ruby-1.8.3.ebuild:
Use relative link over absolute one

23 Sep 2005; Caleb Tennis ruby-1.8.2-r2.ebuild,
ruby-1.8.3.ebuild:
Add a blocker against dev-ruby/rdoc, as its now provided in ruby itself

*ruby-1.8.3 (23 Sep 2005)

23 Sep 2005; Caleb Tennis -ruby-1.8.3_pre1.ebuild,
-ruby-1.8.3_pre2.ebuild, +ruby-1.8.3.ebuild:
Verison bump

*ruby-1.8.3_pre2 (17 Sep 2005)

17 Sep 2005; Caleb Tennis +ruby-1.8.3_pre2.ebuild:
Version bump

23 Jul 2005; MATSUU Takuto ruby-1.8.2-r2.ebuild:
Stable on sh.

*ruby-1.8.2-r2 (09 Jul 2005)

09 Jul 2005; Caleb Tennis
+files/ruby-1.8.2-xmlrpc-ipimethods-fix.diff, +ruby-1.8.2-r2.ebuild:
Bump with patch for GLSA Bug #96784

03 Jul 2005; Bryan Østergaard ruby-1.8.2-r1.ebuild:
Stable on alpha.

01 Jul 2005; Danny van Dyk ruby-1.8.2-r1.ebuild,
ruby-1.8.3_pre1.ebuild:
Disabled previous patch due to a strange breakage wrt to rubygems.

26 Jun 2005; Danny van Dyk ruby-1.8.2-r1.ebuild,
ruby-1.8.3_pre1.ebuild:
Fixed multlib-strict BUG #89985.

28 May 2005; Aron Griffis ruby-1.8.3_pre1.ebuild:
Change ia64 to ~ia64, looks like a bump was done without running ekeyword
~all ruby-1.8.3_pre1.ebuild

*ruby-1.8.3_pre1 (21 May 2005)

21 May 2005; Mamoru KOMACHI +files/re.c.182.patch,
-ruby-1.6.8-r11.ebuild, +ruby-1.8.3_pre1.ebuild:
Added preview release.

19 May 2005; Guy Martin ruby-1.6.8-r12.ebuild:
Stable on hppa.

18 May 2005; Markus Rothe ruby-1.8.2-r1.ebuild:
Stable on ppc64

07 May 2005; Aron Griffis ruby-1.8.2-r1.ebuild:
stable on ia64

01 May 2005; Guy Martin ruby-1.8.2-r1.ebuild:
Stable on hppa.

24 Apr 2005; Tom Martin ruby-1.8.2-r1.ebuild:
Stable on amd64.

22 Apr 2005; Alin Nastac ruby-1.8.2.ebuild,
ruby-1.8.2-r1.ebuild:
net-misc/dante -> net-proxy/dante

20 Apr 2005; Herbie Hopkins ruby-1.8.2-r1.ebuild:
Fix my sed statement... bug #89736.

19 Apr 2005; Herbie Hopkins ruby-1.8.2-r1.ebuild:
Correct a hard-coded lib path in the configure script to close bug #76111
(for real this time)

18 Apr 2005; Michael Hanselmann ruby-1.8.2-r1.ebuild:
Stable on ppc.

18 Apr 2005; Gustavo Zacarias ruby-1.8.2-r1.ebuild:
Stable on sparc

17 Apr 2005; Tom Martin ruby-1.8.2-r1.ebuild:
Add multilib handling. Resolves bug 76111. All the dev-ruby packages
should install on multilibbed systems now.

14 Apr 2005; Caleb Tennis
-files/ruby-1.8.0-CGI::Session.patch, -ruby-1.8.0-r7.ebuild,
-ruby-1.8.1-r7.ebuild, -ruby-1.8.2_pre3.ebuild, -ruby-1.8.2_pre4.ebuild:
Remove older versions

14 Apr 2005; Caleb Tennis ruby-1.8.2-r1.ebuild:
marking x86 stable

08 Apr 2005; Markus Rothe ruby-1.8.2.ebuild:
Stable on ppc64

01 Apr 2005; Simon Stelling ruby-1.8.2.ebuild:
stable on amd64

*ruby-1.8.2-r1 (23 Mar 2005)

23 Mar 2005; Caleb Tennis +files/ruby-1.8.2-soap.diff,
+files/ruby-1.8.2-unittest.diff, +ruby-1.8.2-r1.ebuild:
Rev bump adding two bug fix patches (Bugs #83127 and #85905)

18 Mar 2005; Aron Griffis ruby-1.8.2.ebuild:
Stable on ia64

06 Feb 2005; Joshua Kinard ruby-1.8.2.ebuild:
Marked stable on mips.

21 Jan 2005; Gustavo Zacarias ruby-1.8.2.ebuild:
Stable on sparc

21 Jan 2005; Mamoru KOMACHI ruby-1.8.2.ebuild:
Stable on alpha, ppc, ppc-macos and x86.

*ruby-1.8.2 (02 Jan 2005)

02 Jan 2005; Mamoru KOMACHI +ruby-1.8.2.ebuild:
Version bumped.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

*ruby-1.8.2_pre4 (22 Dec 2004)

22 Dec 2004; Mamoru KOMACHI -ruby-1.8.2_pre2.ebuild,
+ruby-1.8.2_pre4.ebuild:
Version bumped.

15 Nov 2004; Hardave Riar ruby-1.6.8-r12.ebuild:
Stable on mips, bug #69985.

12 Nov 2004; Joshua Kinard ruby-1.8.2_pre3.ebuild:
Marked stable on mips.

13 Nov 2004; Mamoru KOMACHI
files/ruby-rdoc-gentoo.diff, ruby-1.8.2_pre2.ebuild,
ruby-1.8.2_pre3.ebuild:
Fixed ri installation; bug #62003.

11 Nov 2004; Olivier Crete ruby-1.8.2_pre3.ebuild:
Stable on x86, bug 69985

11 Nov 2004; Ferris McCormick ruby-1.6.8-r12.ebuild:
Stable for sparc wrt Bug 69985. Builds, installs, and runs tests.

10 Nov 2004; Kito ruby-1.8.2_pre3.ebuild:
stable on ppc-macos re: bug 69985

10 Nov 2004; Markus Rothe ruby-1.8.2_pre3.ebuild:
Stable on ppc64; bug #69985

10 Nov 2004; Bryan Østergaard ruby-1.8.2_pre3.ebuild:
Stable on alpha, bug 69985.

10 Nov 2004; ruby-1.8.2_pre3.ebuild:
stable on ppc gsla: 69985

09 Nov 2004; Simon Stelling ruby-1.6.8-r12.ebuild,
ruby-1.8.2_pre3.ebuild:
stable on amd64. bug #69985

09 Nov 2004; Ferris McCormick ruby-1.8.2_pre3.ebuild:
Stable for sparc wrt security Bug 69985. My tests and applications work as
expected.

10 Nov 2004; Mamoru KOMACHI
-files/oniguruma-2.3.1-fix-ppc.patch, +files/oniguruma-2.3.1-gentoo.patch,
ruby-1.6.8-r11.ebuild, ruby-1.6.8-r12.ebuild, ruby-1.8.0-r7.ebuild,
ruby-1.8.1-r7.ebuild, ruby-1.8.2_pre2.ebuild, ruby-1.8.2_pre3.ebuild:
Apply oniguruma fix patch on all arches.

09 Nov 2004; Aron Griffis ruby-1.8.2_pre3.ebuild:
On ia64 we need to build without optimization #48824. Add ~ia64

*ruby-1.8.2_pre3 (09 Nov 2004)

09 Nov 2004; Aron Griffis +ruby-1.8.2_pre3.ebuild:
Version bumped.

*ruby-1.6.8-r12 (05 Nov 2004)

05 Nov 2004; Mamoru KOMACHI
+files/ruby-1.6.8-20040728-20041024.diff, +ruby-1.6.8-r12.ebuild:
Added a patch to fix CGI issue; bug #69985.

27 Oct 2004; Mamoru KOMACHI ruby-1.8.2_pre2.ebuild:
Fixed bug #68901.

20 Oct 2004; files/ruby-rdoc-gentoo.diff:
Fix rdoc patch to build all documentation instead of just part of it. This is
actually an upstream bug...

19 Oct 2004; Guy Martin ruby-1.6.8-r11.ebuild:
Stable on hppa.

17 Oct 2004; Hardave Riar ruby-1.6.8-r11.ebuild:
Stable on mips, bug #60525.

10 Oct 2004; Mamoru KOMACHI
+files/oniguruma-2.3.1-fix-ppc.patch, ruby-1.6.8-r11.ebuild,
ruby-1.8.0-r7.ebuild, ruby-1.8.1-r7.ebuild, ruby-1.8.2_pre2.ebuild:
Fixed compilation failure on ppc with cjk USE flag.

09 Oct 2004; Tom Gall ruby-1.8.2_pre2.ebuild:
stable on ppc64, bug #60525

06 Oct 2004; Mamoru KOMACHI -ruby-1.6.8-r6.ebuild,
ruby-1.8.2_pre2.ebuild:
Added threads local USE flag (if you compile tk with threads, you will
also need to compile ruby with threads). This will close bug #65858.

03 Oct 2004; Mamoru KOMACHI -ruby-1.8.1-r3.ebuild,
-ruby-1.8.1-r6.ebuild, -ruby-1.8.0-r6.ebuild, ruby-1.6.8-r11.ebuild,
ruby-1.8.1-r7.ebuild, ruby-1.8.2_pre2.ebuild:
Removed old ebuilds. Updated oniguruma patch.

21 Sep 2004; Danny van Dyk ruby-1.8.2_pre2.ebuild:
Marked stable on amd64.

01 Sep 2004; Mamoru KOMACHI +files/ruby-rdoc-gentoo.diff,
ruby-1.8.2_pre2.ebuild:
Fixed build failure when installing ruby +doc for the first time.
Thanks to Phil Pennock , closing bug #62369.

31 Aug 2004; Mamoru KOMACHI -ruby-1.6.8-r10.ebuild,
ruby-1.6.8-r11.ebuild, ruby-1.8.2_pre2.ebuild:
Added doc IUSE flag to 1.8.2_pre2. Thanks to Charles Comstock
, closing bug #62003. Disabled maketest for
1.6.8-r11 if cjk is set. Removed old ebuild.

25 Aug 2004; Danny van Dyk ruby-1.6.8-r11.ebuild:
Marked stable on amd64.

22 Aug 2004; Joshua Kinard ruby-1.8.1-r7.ebuild,
ruby-1.8.2_pre2.ebuild:
Marked stable on mips.

21 Aug 2004; Jason Wever ruby-1.6.8-r11.ebuild,
ruby-1.8.2_pre2.ebuild:
Stable on sparc wrt security bug #60525.

20 Aug 2004; Bryan Østergaard ruby-1.6.8-r11.ebuild,
ruby-1.8.2_pre2.ebuild:
Stable on alpha, bug 60525.

20 Aug 2004; Mamoru KOMACHI ruby-1.6.8-r11.ebuild,
ruby-1.8.0-r7.ebuild, ruby-1.8.2_pre2.ebuild:
Stable on x86 for the fix of CGI::Session's insecure permission issue.
See bug #60525.

*ruby-1.8.0-r7 (19 Aug 2004)

19 Aug 2004; Mamoru KOMACHI
+files/ruby-1.8.0-CGI::Session.patch, +ruby-1.8.0-r7.ebuild,
ruby-1.8.2_pre2.ebuild:
Applied a patch to set safer permission when using CGI::Session and
PStore. See bug #60525.

*ruby-1.6.8-r11 (19 Aug 2004)

19 Aug 2004; Mamoru KOMACHI +ruby-1.6.8-r11.ebuild,
-ruby-1.8.2_pre1.ebuild:
New snapshot and oniguruma patch. Removed previous prerelease ebuild.

08 Aug 2004; Tom Gall ruby-1.8.1-r7.ebuild:
stable on ppc64, bug #57676

*ruby-1.8.2_pre2 (01 Aug 2004)

01 Aug 2004; Mamoru KOMACHI +ruby-1.8.2_pre2.ebuild:
Version bumped.

21 Jul 2004; Ferris McCormick ruby-1.8.1-r7.ebuild:
Marked stable for sparc.

20 Jul 2004; Mamoru KOMACHI ruby-1.8.2_pre1.ebuild:
Added to ~macos.

*ruby-1.8.2_pre1 (17 Jul 2004)

17 Jul 2004; Mamoru KOMACHI ruby-1.8.0-r6.ebuild,
ruby-1.8.1-r3.ebuild, ruby-1.8.1-r6.ebuild, ruby-1.8.1-r7.ebuild,
+ruby-1.8.2_pre1.ebuild:
Version bumped. Block dev-lang/ruby-cvs-1.8

19 Jun 2004; Mamoru KOMACHI ruby-1.8.1-r7.ebuild:
Fixed non-existent S

*ruby-1.8.1-r7 (19 Jun 2004)

19 Jun 2004; Mamoru KOMACHI ruby-1.6.8-r10.ebuild,
ruby-1.8.1-r2.ebuild, ruby-1.8.1-r7.ebuild:
Updated CVS snapshot

09 Jun 2004; Guy Martin ruby-1.8.1-r6.ebuild:
Marked stable on hppa.

03 Jun 2004; Aron Griffis ruby-1.6.8-r10.ebuild,
ruby-1.6.8-r6.ebuild, ruby-1.8.0-r6.ebuild, ruby-1.8.1-r2.ebuild,
ruby-1.8.1-r3.ebuild:
Fix use invocation

02 Jun 2004; Travis Tilley ruby-1.8.1-r6.ebuild:
stable on amd64

19 May 2004; Ferris McCormick ruby-1.8.1-r6.ebuild:
Marked stable for sparc, and changed line 33 from "-only" to just a
blank line (to keep repoman happy).

18 May 2004; Mamoru KOMACHI ruby-1.6.8-r10.ebuild,
ruby-1.6.8-r9.ebuild, ruby-1.8.0-r6.ebuild, ruby-1.8.1-r2.ebuild,
ruby-1.8.1-r3.ebuild, ruby-1.8.1-r5.ebuild, ruby-1.8.1-r6.ebuild,
files/oniguruma-20040202.diff:
Added autoconf dependancy, closing bug #51301. Marked 1.6.8-r10 and
1.8.1-r6 stable on x86, alpha and ppc.

*ruby-1.8.1-r6 (01 May 2004)
*ruby-1.6.8-r10 (01 May 2004)

01 May 2004; Mamoru KOMACHI ruby-1.6.8-r10.ebuild,
ruby-1.6.8-r8.ebuild, ruby-1.8.1-r4.ebuild, ruby-1.8.1-r6.ebuild:
Updated Oniguruma patch, removed old ebuilds.

26 Apr 2004; Aron Griffis ruby-1.6.8-r6.ebuild,
ruby-1.6.8-r8.ebuild, ruby-1.6.8-r9.ebuild:
Add die following econf for bug 48950

25 Apr 2004; Aron Griffis ruby-1.8.0-r6.ebuild,
ruby-1.8.1-r2.ebuild, ruby-1.8.1-r3.ebuild, ruby-1.8.1-r4.ebuild,
ruby-1.8.1-r5.ebuild:
Add die following econf for bug 48950

*ruby-1.8.1-r5 (24 Apr 2004)

24 Apr 2004; Mamoru KOMACHI ruby-1.8.1-r5.ebuild:
Redo of the last patch (rexml update)

23 Apr 2004; Aron Griffis ruby-1.8.1-r2.ebuild,
ruby-1.8.1-r3.ebuild, ruby-1.8.1-r4.ebuild:
Mark -ia64 until bug 48824 is resolved

*ruby-1.6.8-r9 (24 Apr 2004)
*ruby-1.8.1-r4 (24 Apr 2004)

24 Apr 2004; Mamoru KOMACHI ruby-1.6.8-r6.ebuild,
ruby-1.6.8-r8.ebuild, ruby-1.6.8-r9.ebuild, ruby-1.8.0-r6.ebuild,
ruby-1.8.1-r2.ebuild, ruby-1.8.1-r3.ebuild, ruby-1.8.1-r4.ebuild:
Updated snapshot and oniguruma patch. Closing bug #48426. Fixed ROOT.

22 Apr 2004; Travis Tilley ruby-1.8.1-r3.ebuild:
stable on amd64

18 Apr 2004; Mamoru KOMACHI ruby-1.6.8-r7.ebuild,
ruby-1.8.0-r5.ebuild, ruby-1.8.0-r6.ebuild, ruby-1.8.1-r3.ebuild:
Marked stable to fix rdoc (see bug #48127). Removed old ebuilds.

17 Apr 2004; Travis Tilley ruby-1.8.1-r3.ebuild:
added missing ~amd64 keyword

*ruby-1.6.8-r8 (12 Apr 2004)

12 Apr 2004; Mamoru KOMACHI ruby-1.6.8-r8.ebuild:
Updated to the latest CVS snapshot

12 Apr 2004; Mamoru KOMACHI ruby-1.6.8-r3.ebuild,
ruby-1.6.8-r6.ebuild, ruby-1.8.0-r1.ebuild, ruby-1.8.0-r5.ebuild,
ruby-1.8.1-r2.ebuild, files/ruby-config:
Marked 1.6.8-r6, 1.8.0-r5 and 1.8.1-r2 stable on all arches. Removed old
versions.

*ruby-1.6.8-r7 (10 Apr 2004)
*ruby-1.8.0-r6 (10 Apr 2004)
*ruby-1.8.1-r3 (10 Apr 2004)

10 Apr 2004; Mamoru KOMACHI ruby-1.6.8-r3.ebuild,
ruby-1.6.8-r6.ebuild, ruby-1.6.8-r7.ebuild, ruby-1.8.0-r1.ebuild,
ruby-1.8.0-r5.ebuild, ruby-1.8.0-r6.ebuild, ruby-1.8.1-r1.ebuild,
ruby-1.8.1-r2.ebuild, ruby-1.8.1-r3.ebuild:
Updated oniguruma patch (UTF-16 support). Added PROVIDE="virtual/ruby",
see bug #46968

07 Apr 2004; Brian Jackson ruby-1.8.1-r2.ebuild:
added s390 keyword

30 Mar 2004; Joshua Kinard ruby-1.6.8-r6.ebuild:
Marking stable on mips to remove a repoman dep.

25 Mar 2004; Joshua Kinard ruby-1.6.8-r3.ebuild,
ruby-1.8.0-r1.ebuild, ruby-1.8.0-r5.ebuild:
Marked stable on mips.

09 Mar 2004; ruby-1.8.0-r5.ebuild:
stable on alpha and ia64

29 Feb 2004; Ciaran McCreesh ruby-1.8.0-r5.ebuild:
Stable on sparc

29 Feb 2004; Mamoru KOMACHI ruby-1.6.8-r6.ebuild,
ruby-1.8.0-r5.ebuild:
Marked stable on x86 and alpha

*ruby-1.8.1-r2 (07 Feb 2004)

07 Feb 2004; Mamoru KOMACHI ruby-1.8.1-r2.ebuild,
ruby-1.8.1.ebuild, files/oniguruma-20040202.diff:
Added CVS snapshot

*ruby-1.6.8-r6 (30 Jan 2004)
*ruby-1.8.0-r5 (30 Jan 2004)
*ruby-1.8.1-r1 (30 Jan 2004)

30 Jan 2004; Mamoru KOMACHI ruby-1.6.8-r6.ebuild,
ruby-1.8.0-r5.ebuild, ruby-1.8.1-r1.ebuild:
Moved ruby-config script out to dev-ruby/ruby-config. Removed ruby16
IUSE flag and let ruby-config take care of dead symlinks.

*ruby-1.8.1 (25 Dec 2003)

25 Dec 2003; Mamoru KOMACHI ruby-1.6.8-r4.ebuild,
ruby-1.6.8-r5.ebuild, ruby-1.8.0-r3.ebuild, ruby-1.8.0-r4.ebuild,
ruby-1.8.1.ebuild, ruby-1.8.1_pre3.ebuild, ruby-1.8.1_pre4.ebuild:
Version bumped, upstream source and Oniguruma patch

*ruby-1.8.1_pre4 (22 Dec 2003)

22 Dec 2003; Mamoru KOMACHI ruby-1.8.1_pre4.ebuild:
Version bumped

*ruby-1.6.8-r4 (11 Dec 2003)

11 Dec 2003; Mamoru KOMACHI ruby-1.6.8-r3.ebuild,
ruby-1.6.8-r4.ebuild, ruby-1.8.0-r1.ebuild, ruby-1.8.0-r2.ebuild,
ruby-1.8.0-r3.ebuild, ruby-1.8.1_pre2-r1.ebuild,
files/ruby-1.6.8-oniguruma-gentoo.diff:
Added cjk IUSE flag. Changed ruby18 local USE flag to ruby16.
(You need to set ruby16 USE flag manually to have /usr/bin/ruby
as a symlink to /usr/bin/ruby16, otherwise ruby18 is used.)

*ruby-1.8.1_pre3 (06 Dec 2003)

06 Dec 2003; Mamoru KOMACHI ruby-1.6.8-r1.ebuild,
ruby-1.6.8-r2.ebuild, ruby-1.6.8-r3.ebuild, ruby-1.6.8.ebuild,
ruby-1.8.0-r2.ebuild, ruby-1.8.0.ebuild, ruby-1.8.1_pre2-r1.ebuild,
ruby-1.8.1_pre2.ebuild, ruby-1.8.1_pre3.ebuild, files/ruby-config:
Version bumeped. Removed old ebuilds.

23 Nov 2003; Aron Griffis ruby-1.6.8-r1.ebuild,
ruby-1.6.8-r2.ebuild:
Mark versions which don't build on ia64 as -ia64

*ruby-1.8.1_pre2-r1 (15 Nov 2003)
*ruby-1.6.8-r3 (15 Nov 2003)

15 Nov 2003; Mamoru KOMACHI ruby-1.6.8-r3.ebuild,
ruby-1.8.0-r2.ebuild, ruby-1.8.1_pre2-r1.ebuild, files/ruby-config:
Added ruby-config. Fixed erb symlink path in ruby-1.8.0-r1.ebuild
and ruby-1.8.1_pre2.ebuild.

12 Nov 2003; Aron Griffis ruby-1.8.0-r1.ebuild:
Mark this version stable on all arches since we've had almost-complete
coverage and want them to move forward at the same time. Additional motivation
is that 1.6.8 won't build on ia64 (see bug 33305)

03 Nov 2003; Mamoru KOMACHI ruby-1.8.0-r1.ebuild,
ruby-1.8.1_pre2.ebuild:
Make GC_MALLOC_LIMIT configurable. Added ruby18 IUSE flag. Fixed a
typo in pkg_postrm. NOTE: If you see 'N' when you run `emerge -uUp
world` please unmerge <=ruby-1.6.8-r1 or <=ruby-1.8.0, and then
emerge =ruby-1.6.8-r2 and/or >=ruby-1.8.0-r1. See also bug #32526.

*ruby-1.8.1_pre2 (01 Nov 2003)

01 Nov 2003; Mamoru KOMACHI ruby-1.8.1_pre2.ebuild:
New upstream preview release.

*ruby-1.8.0-r1 (12 Oct 2003)

01 Nov 2003; Mamoru KOMACHI ruby-1.6.8-r2.ebuild,
ruby-1.8.0-r1.ebuild:
Added warning beeps

12 Oct 2003; Mamoru KOMACHI ruby-1.6.8-r2.ebuild,
ruby-1.8.0-r1.ebuild:
Added SLOT support and ruby18 local IUSE flag to ruby-1.6.8-r2.

16 Aug 2003; Tom Payne ruby-1.8.0.ebuild :
Added all ~ARCHs to KEYWORDS. Bug # 26570.

10 Aug 2003; Aron Griffis ruby-1.8.0.ebuild:
Make vim message in pkg_postinst more clear

09 Aug 2003; Tom Payne ruby-1.8.0_pre*.ebuild :
Removed old versions.

*ruby-1.8.0 (05 Aug 2003)

05 Aug 2003; Aron Griffis ruby-1.8.0.ebuild:
Update to final 1.8.0 release

*ruby-1.8.0_pre2-r3 (31 Jul 2003)

31 Jul 2003; Aron Griffis ruby-1.6.8-r1.ebuild,
ruby-1.6.8.ebuild, ruby-1.8.0_pre2-r1.ebuild, ruby-1.8.0_pre2-r2.ebuild,
ruby-1.8.0_pre2-r3.ebuild, ruby-1.8.0_pre2.ebuild, ruby-1.8.0_pre3.ebuild,
ruby-1.8.0_pre4.ebuild, ruby-1.8.0_pre5.ebuild, ruby-1.8.0_pre6.ebuild:
Version bump and switch to ruby mirrors. This is due to Matz's comment on
ruby-talk that his company's server was becoming overloaded with the number
of downloads.

29 Jul 2003; Aron Griffis ruby-1.8.0_pre5.ebuild:
Add a warning about possibly needing to remerge vim

*ruby-1.8.0_pre5 (29 Jul 2003)

29 Jul 2003; Aron Griffis ruby-1.8.0_pre5.ebuild:
Version bump

*ruby-1.8.0_pre4 (26 Jul 2003)

26 Jul 2003; Tom Payne ruby-1.8.0_pre4.ebuild :
Version bump.

18 Jul 2003; root ruby-1.6.8-r1.ebuild,
files/ruby-1.6.8-fix-x86_64.patch:
Added x86_64 patch from redhat, marked stable

14 Jul 2003; Aron Griffis ruby-1.8.0_pre3.ebuild:
Fix compilation on newer alpha platforms

*ruby-1.8.0_pre3 (09 Jul 2003)

09 Jul 2003; Tom Payne ruby-1.8.0_pre3.ebuild :
Version bump. Bug # 24089.

28 May 2003; Rainer Groesslinger ruby-1.8.0_pre2-r2.ebuild:
Build shared library typo fix. See bug #21723

28 May 2003; Tom Payne ruby-1.8.0_pre2-r2.ebuild ruby-1.6.8-r1.ebuild :
Build shared library. Bug # 21723.

*ruby-1.8.0_pre2-r1 (26 May 2003)

26 May 2003; Aron Griffis ruby-1.8.0_pre2-r1.ebuild,
files/ruby-1.8.0_pre2-socks.patch:
Fix bug 21719 with a local patch. Pay attention to socks5 and tcltk USE flags.
Add ~alpha to KEYWORDS

14 May 2003; Luca Barbato ruby-1.6.8.ebuild :
Added ppc to keywords.

*ruby-1.8.0_pre2 (10 Apr 2003)

11 May 2003; Tom Payne ruby-1.8.0_pre2.ebuild :
Strip -fomit-frame-pointer using flag-o-matic. Bug # 8290.

10 Apr 2003; Tom Payne ruby-1.8.0_pre2.ebuild :
Version bump.

*ruby-1.6.8 (26 Dec 2002)

11 May 2003; Tom Payne ruby-1.6.8.ebuild :
Strip -fomit-frame-pointer using flag-o-matic. Bug # 8290.

16 Mar 2003; Guy Martin ruby-1.6.8.ebuild :
Added hppa to keywords.

30 Jan 2003; Jack Morgan ruby-1.6.8.ebuild :
Added sparc keywords as per bug #14430 (Thanks to Ferris McCormick)

22 Jan 2003; Will Woods ruby-1.6.8.ebuild :
changed ~alpha to alpha

07 Jan 2003; Aron Griffis ruby-1.6.8.ebuild :
Add ~alpha to KEYWORDS

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

30 Dec 2002; Ryan Phillips ruby-1.6.8.ebuild
Remove fomit-frame-pointer from CFLAGS. It causes crashes on the compile. Fixes #12930

26 Dec 2002; Ryan Phillips ruby-1.6.8.ebuild :
version bump

*ruby-1.6.7 (4 Mar 2002)

11 May 2003; Tom Payne ruby-1.6.7.ebuild :
Removed.

14 Aug 2002; Mark Guertin ruby-1.6.7.ebuild :
Added ppc to keywords

4 Mar 2002; Karl Trygve Kalleberg all:

Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text files
and to do system management tasks (as in Perl). It is simple,
straight-forward, extensible, and portable.

Moved from dev-lang/ruby to dev-ruby/ruby.

Ebuild submitted by Tuurlijk

07 Jul 2002; Aron Griffis ruby-1.6.7.ebuild:

Updated with LICENSE, KEYWORDS, SLOT.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ruby-1.8.6-memory-leak.diff 1351 RMD160 cba1335fcd52df26b4b2884dea14e0c74852b67a SHA1 184c1743592684abfc1cce8ffa38ae749fe0a1b1 SHA256 90dbc7b444ed936ed8a1fadb443240ec494a6c748d38ff089af423e50bdd9528
AUX ruby-1.8.6_p111-r13657.patch 1915 RMD160 9c135a4e779095127bf7e5d47d2ae3b703e8b41e SHA1 47428434aaa61b5fd11684d8faa8c7db4886b680 SHA256 0856f5987b74be29562e16b3dafc62cb6b874e5536bd73ba2c7fb1e4a4630e24
AUX ruby-1.8.6_p287-entity_expansion_limit.diff 3402 RMD160 aa437e3f52576a8bd04fad6525c805c518fe800a SHA1 e416f1e7ae6f6cc19eabc0223cabca984b68960e SHA256 5268c4f4a9b767bc4270f5af103aa78aa76057132e6ed9ce1e1dafc2824082f9
DIST onigd2_5_9.tar.gz 221355 RMD160 ceeee9a0221d431d6576a566621ba9badab6423d SHA1 41ca5b916ae1d3b1675fcc45181a0ed04e8726b7 SHA256 b24df7c0fa6fc72ce37fd1e203f378359f29f739a3f4c5b6bdd40ca5f7d25db0
DIST ruby-1.8.6-p111.tar.bz2 3919396 RMD160 8ff9b8592a80062742be61b2b4e1158282b61c4b SHA1 d85d25786e0ce30f8f54f5cfa36968ec0f6b9a5f SHA256 85c694678313818a5083bcfd66ae389fc053b506d93b5ad46f3764981c120fbb
DIST ruby-1.8.6-p114.tar.bz2 3920921 RMD160 332d6e98ef79ad8175ce699ed5293407763f769f SHA1 9929782935ebb77d040593a010b8d65b03ce6e23 SHA256 4ac0d0271324c54525210f775e5fcc9a37e3d8a10b96d68cdfeeb361c6f64a63
DIST ruby-1.8.6-p286.tar.bz2 3957979 RMD160 7a58ee2a1643d9e8efc9ac9c16f72128d7291329 SHA1 7396c70302aa4c76c98f90349114ce4627749f41 SHA256 d800552900e1157bbeaae39a4c253683b2444820a5d1ba0a207a13cc469168b7
DIST ruby-1.8.6-p287.tar.bz2 3956902 RMD160 df0950f1cdf9ea26b6d2f04756d9db89ae295de4 SHA1 29b02ccab3c1d6b4a71148ad960e65b5f892fe17 SHA256 ac15a1cb78c50ec9cc7e831616a143586bdd566bc865c6b769a0c47b3b3936ce
DIST ruby-1.8.6_p111-to-p113.patch.bz2 5823 RMD160 bee2dedd786450fb8008ced74af95c8e2401fa3b SHA1 0ed730d65593c828b1122c909900402f4d3d8f74 SHA256 cfe2d2e95ad708c5e00c274b9547e20076d31ccf7655860f7661be531dcdacc4
DIST ruby-1.8.7-p72.tar.bz2 4127450 RMD160 07bf0d6987ba111aed988093c569fb66ba54891b SHA1 462e990a724580e4dfeeac5a271b93f6cfcbf5c7 SHA256 a8f8a28e286dd76747d8e97ea5cfe7a315eb896906ab8c8606d687d9f6f6146e
EBUILD ruby-1.8.6_p111-r1.ebuild 5025 RMD160 0b8b8d252ee486386a42b5b4ff239f15c392ec26 SHA1 1051a2cf6185b0162ef87b0e1d8d22ab5e412bfa SHA256 13b7a3e6e74fe37c2e1d8965e85b3c9d23ba3bf06b4b4cf17d828719f2591359
EBUILD ruby-1.8.6_p111.ebuild 4981 RMD160 a348a5aa534ea01b0a1dd8bba1c9d6b14e07642e SHA1 f7695b286891594eb9e7658e8ba3e1ebb3d6e73f SHA256 b1fc4edaf3001027c3f1a8dfc75ee470687b76db32f233080287c99f9c51be90
EBUILD ruby-1.8.6_p114.ebuild 4953 RMD160 6d2ad78573307e2cae18468153882ba9cc905de0 SHA1 cdecf63a4da8228558e7814aa7c28ef83033d835 SHA256 30e3fba77636ad3affa17c8b3e9ea4ddef32f7b910187bae6656cfa9e9b57d1c
EBUILD ruby-1.8.6_p286.ebuild 4616 RMD160 3ea44cc9a14233f72bd7c30444dda6c99e9a9f4a SHA1 784065fe4d98894cabf4915be6edd232e0cab163 SHA256 e782422da356cc3d9d34348656f8fcf7b6929795472870f0e2ccc9160130245e
EBUILD ruby-1.8.6_p287-r1.ebuild 4675 RMD160 baa8293f5585ad71a442f49077cb6ccffe735d5b SHA1 4dea592bf2fabee979d5f823ebabacd480299899 SHA256 a109f65f74049706f1b9529da901f0b50a02b1fc3ee1784fe8a1beb9e387d379
EBUILD ruby-1.8.6_p287.ebuild 4616 RMD160 a21c9872b55757d1c34349db29bc735db3d35ffe SHA1 f1c42f4c23bc9df299af5c0ead28a73464b87e5d SHA256 ddf1a76dd9c1813a633d693605a88b373687e700b98445c44d6c87f9065c8c29
EBUILD ruby-1.8.7_p72.ebuild 4932 RMD160 86511af8519c43d9287dc7e26fc6fb4c2da3a97e SHA1 479eec46a21a5836028ba3290b7b3c6294d77503 SHA256 8ccdd7e1dae398669298ac42b29ba37387204d0d8de64c7039121e26b57d8fd8
MISC ChangeLog 51183 RMD160 eed67ffd2ed231142e8739495fc9c6ef6a3040d7 SHA1 9290063e2a97d525f955eb908ac06d095d549237 SHA256 060271a143c04cf13eb64a55cdfbd35ce1b06348b6e744ab5099c51e35ac59a0
MISC metadata.xml 262 RMD160 f8642aa78425fe09dc0e0660cb20a5bd4233d5bb SHA1 64def0369477ecf76b9285fb9c1cf0e6a4f334e5 SHA256 5ee3c0cfedcb966505e4fafcfc5321a8ee20c128da9bbcafff5aa268df588d59
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAki3lmsACgkQCzgcb6sPj48ACwCfTHvkKC2rp0NFpIm2leHPJBR9
Z64AnivcumzI4KngMVw3oV5CDzFUli9Z
=agcR
-----END PGP SIGNATURE-----

files

metadata.xml




ruby
Install ruby tests that can only be run after ruby is installed

ruby-1.8.6_p111-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p111-r1.ebuild,v 1.8 2008/02/17 12:19:21 armin76 Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2
mirror://gentoo/${P}-to-p113.patch.bz2
cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )"

LICENSE="Ruby"
KEYWORDS="alpha ~amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb cjk debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

if use cjk ; then
einfo "Applying ${ONIGURUMA}"
pushd "${WORKDIR}/oniguruma"
econf --with-rubydir="${S}" || die "oniguruma econf failed"
emake $MY_SUFFIX || die "oniguruma emake failed"
popd
fi

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

epatch "${FILESDIR}/${P}-r13657.patch"
epatch "${WORKDIR}/${P}-to-p113.patch"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.6_p111.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p111.ebuild,v 1.6 2008/01/10 08:56:40 vapier Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2
cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )"

LICENSE="Ruby"
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="cjk debug doc emacs examples ipv6 rubytests socks5 threads tk xemacs"

RDEPEND=">=sys-libs/gdbm-1.8.0
>=sys-libs/readline-4.1
>=sys-libs/ncurses-5.2
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

if use cjk ; then
einfo "Applying ${ONIGURUMA}"
pushd "${WORKDIR}/oniguruma"
econf --with-rubydir="${S}" || die "oniguruma econf failed"
emake $MY_SUFFIX || die "oniguruma emake failed"
popd
fi

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

epatch "${FILESDIR}/${P}-r13657.patch"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

ewarn "If you upgrade to >=sys-apps/coreutils-6.7-r1,"
ewarn "you should re-emerge ruby again."
ewarn "See bug #159922 for details"
ewarn
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.6_p114.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p114.ebuild,v 1.8 2008/03/06 13:45:06 beandog Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2
cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )"

LICENSE="Ruby"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb cjk debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

if use cjk ; then
einfo "Applying ${ONIGURUMA}"
pushd "${WORKDIR}/oniguruma"
econf --with-rubydir="${S}" || die "oniguruma econf failed"
emake $MY_SUFFIX || die "oniguruma emake failed"
popd
fi

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

epatch "${FILESDIR}/${PN}-1.8.6_p111-r13657.patch"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.6_p286.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p286.ebuild,v 1.1 2008/08/10 14:10:34 graaff Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2"

LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.6_p287-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r1.ebuild,v 1.1 2008/08/29 06:25:34 graaff Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2"

LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

epatch "${FILESDIR}/${P}-entity_expansion_limit.diff"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.6_p287.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287.ebuild,v 1.1 2008/08/11 05:54:10 graaff Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.bz2"

LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs"

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}

ruby-1.8.7_p72.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p72.ebuild,v 1.1 2008/08/15 12:52:53 caleb Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

#PATCHES APPLY, DOESN'T COMPILE THOUGH
#ONIGURUMA="onigd2_5_9"

inherit autotools eutils flag-o-matic multilib versionator

SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})

MY_P="${PN}-$(replace_version_separator 3 '-')"
S=${WORKDIR}/${MY_P}

DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2"
# cjk? ( http://www.geocities.jp/kosako3/oniguruma/archive/${ONIGURUMA}.tar.gz )"

LICENSE="Ruby"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb debug doc emacs examples gdbm ipv6 rubytests socks5 ssl threads tk xemacs" #cjk

RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? ( dev-lang/tk )
>=dev-ruby/ruby-config-0.3.1
!=dev-lang/ruby-cvs-${SLOT}*
!dev-ruby/rdoc
!dev-ruby/rexml"
DEPEND="${RDEPEND}"
PDEPEND="emacs? ( app-emacs/ruby-mode )
xemacs? ( app-xemacs/ruby-modes )"

PROVIDE="virtual/ruby"

src_unpack() {
unpack ${A}

# if use cjk ; then
# einfo "Applying ${ONIGURUMA}"
# pushd "${WORKDIR}/oniguruma"
# econf --with-rubydir="${S}" || die "oniguruma econf failed"
# emake $MY_SUFFIX || die "oniguruma emake failed"
# popd
# fi

cd "${S}/ext/dl"
epatch "${FILESDIR}/${PN}-1.8.6-memory-leak.diff"
cd "${S}"

# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"

eautoreconf
}

src_compile() {
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing

# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi

# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi

econf --program-suffix=$MY_SUFFIX --enable-shared \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
$(use_enable threads pthread) \
$(use_enable ipv6) \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
${myconf} \
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|| die "econf failed"

emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}

src_test() {
emake -j1 test || die "make test failed"

elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}

src_install() {
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)"
RUBYLIB="${S}:${LD_LIBRARY_PATH}/ruby/${SLOT}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB

emake DESTDIR="${D}" install || die "make install failed"

MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")

if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi

if use examples; then
dodir /usr/share/doc/${PF}
cp -pPR sample "${D}/usr/share/doc/${PF}"
fi

dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%.*})
dosym libruby$MY_SUFFIX$(get_libname ${PV%_*}) /usr/$(get_libdir)/libruby$(get_libname ${PV%_*})

dodoc ChangeLog NEWS README* ToDo

if use rubytests; then
dodir /usr/share/${PN}-${SLOT}
cp -pPR test "${D}/usr/share/${PN}-${SLOT}"
fi
}

pkg_postinst() {

if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
elog
elog "You can change the default ruby interpreter by ${ROOT}usr/sbin/ruby-config"
elog
}

pkg_postrm() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
"${ROOT}usr/sbin/ruby-config" ruby$MY_SUFFIX
fi
}