aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2008-09-09 12:04:01 +0000
committerAlex Legler <a3li@gentoo.org>2008-09-09 12:04:01 +0000
commit08e1f8cc30f0c14735f0dd9543f8678539c3eca1 (patch)
treefbc8b6c001886e2231ab113c5a5755f6331aadf6
parentAdded 18/19 aware ebuild for dev-ruby/rake (diff)
downloadruby-overlay-08e1f8cc30f0c14735f0dd9543f8678539c3eca1.tar.gz
ruby-overlay-08e1f8cc30f0c14735f0dd9543f8678539c3eca1.tar.bz2
ruby-overlay-08e1f8cc30f0c14735f0dd9543f8678539c3eca1.zip
New rubygems ebuilds, with fix for bug #230163 and 18/19 awareness
git-svn-id: https://overlays.gentoo.org/svn/proj/ruby@8 2a5f3910-e945-0410-a483-9de4ec4550eb
-rw-r--r--dev-ruby/rubygems/ChangeLog441
-rw-r--r--dev-ruby/rubygems/Manifest10
-rw-r--r--dev-ruby/rubygems/files/10rubygems1
-rw-r--r--dev-ruby/rubygems/files/auto_gem.rb7
-rw-r--r--dev-ruby/rubygems/files/conf.d-gem_server5
-rw-r--r--dev-ruby/rubygems/files/init.d-gem_server222
-rw-r--r--dev-ruby/rubygems/files/rubygems-1.2.0-setup.patch71
-rw-r--r--dev-ruby/rubygems/metadata.xml8
-rw-r--r--dev-ruby/rubygems/rubygems-1.2.0-r1.ebuild93
-rw-r--r--dev-ruby/rubygems/rubygems-1.2.0.ebuild92
-rw-r--r--profiles/package.mask5
11 files changed, 753 insertions, 2 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
new file mode 100644
index 0000000..33ea2a5
--- /dev/null
+++ b/dev-ruby/rubygems/ChangeLog
@@ -0,0 +1,441 @@
+# ChangeLog for dev-ruby/rubygems
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.101 2008/08/06 16:40:12 graaff Exp $
+
+ 09 Sep 2008; Alex Legler <gentoo@a3li.info>
+ +files/rubygems-1.2.0-setup.patch, +files/10rubygems, +files/auto_gem.rb,
+ +files/conf.d-gem_server, +files/init.d-gem_server2,
+ +rubygems-1.2.0.ebuild, +rubygems-1.2.0-r1.ebuild:
+ Added updated patch to fix bug #230163
+ Added eselect-ruby comatible ebuild (including the aforementioned fix)
+
+ 06 Aug 2008; Hans de Graaff <graaff@gentoo.org> metadata.xml,
+ rubygems-1.2.0.ebuild:
+ Add USE flag description to metadata wrt GLEP 56.
+
+ 04 Jul 2008; Jeroen Roovers <jer@gentoo.org> rubygems-1.1.1.ebuild:
+ Stable for HPPA (bug #229875).
+
+ 01 Jul 2008; Raúl Porcel <armin76@gentoo.org> rubygems-1.1.1.ebuild:
+ alpha/ia64/x86 stable wrt #229875
+
+ 30 Jun 2008; Brent Baude <ranger@gentoo.org> rubygems-1.1.1.ebuild:
+ stable ppc64, bug 229875
+
+ 30 Jun 2008; nixnut <nixnut@gentoo.org> rubygems-1.1.1.ebuild:
+ Stable on ppc wrt bug 229875
+
+ 29 Jun 2008; Friedrich Oslage <bluebird@gentoo.org> rubygems-1.1.1.ebuild:
+ Stable on sparc, bug #229875
+
+ 29 Jun 2008; Hans de Graaff <graaff@gentoo.org> +files/init.d-gem_server2,
+ rubygems-1.1.1.ebuild, rubygems-1.2.0.ebuild:
+ The syntax to start the gem server has changed slightly, as reflected in the
+ updated init.d file, fixing a problem reported in #229875.
+
+ 29 Jun 2008; Hans de Graaff <graaff@gentoo.org> rubygems-0.9.4-r2.ebuild,
+ rubygems-1.1.1.ebuild, rubygems-1.2.0.ebuild:
+ The distribution no longer contains dot files, so remove the (broken) find.
+ Thanks to Henning Schild in #229897 for finding this.
+
+ 28 Jun 2008; Thomas Anderson <gentoofan23@gentoo.org>
+ rubygems-1.1.1.ebuild:
+ stable amd64, bug 229875
+
+ 28 Jun 2008; Hans de Graaff <graaff@gentoo.org> -rubygems-0.9.4.ebuild,
+ -rubygems-0.9.4-r1.ebuild:
+ Remove old versions
+
+*rubygems-1.2.0 (28 Jun 2008)
+
+ 28 Jun 2008; Hans de Graaff <graaff@gentoo.org>
+ +files/rubygems-1.2.0-setup.patch, +rubygems-1.2.0.ebuild:
+ Version bump. Thanks to Greg Fitzgerald for providing an updated patch in
+ #229327.
+
+ 11 Apr 2008; Richard Brown <rbrown@gentoo.org> rubygems-1.1.0.ebuild:
+ Revert erroneous commit to rubygems-1.1.0.ebuild
+
+*rubygems-1.1.1 (11 Apr 2008)
+
+ 11 Apr 2008; Richard Brown <rbrown@gentoo.org>
+ +files/rubygems-1.1.1-setup.patch, rubygems-1.1.0.ebuild,
+ +rubygems-1.1.1.ebuild:
+ Version bump. Use mirror://rubyforge, examples aren't in tarball anymore,
+ stop using broken PATCHES var
+
+ 31 Mar 2008; Richard Brown <rbrown@gentoo.org> rubygems-1.1.0.ebuild:
+ Incorporate suggestions from Message-ID:
+ <20080330053631.GB24954@comet.had1.or.comcast.net>
+
+*rubygems-1.1.0 (30 Mar 2008)
+
+ 30 Mar 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +rubygems-1.1.0.ebuild, -rubygems-1.1.0-r0.ebuild:
+ rename rubygems-1.1.0-r0.ebuild to match ebuild howto guidelines
+
+*rubygems-1.1.0-r0 (29 Mar 2008)
+
+ 29 Mar 2008; Richard Brown <rbrown@gentoo.org>
+ +files/rubygems-1.1.0-dependency-installer-install-dir-fix.patch,
+ +files/rubygems-1.1.0-setup.patch, +rubygems-1.1.0-r0.ebuild:
+ Version bump. Fixes bug #215293
+
+ 25 Mar 2008; <ricmm@gentoo.org> rubygems-0.8.11-r6.ebuild:
+ Drop to ~mips due to unstable deps
+
+ 08 Feb 2008; Santiago M. Mola <coldwind@gentoo.org>
+ rubygems-0.9.4-r2.ebuild:
+ amd64 stable wrt #202608
+
+ 21 Jan 2008; Vlastimil Babka <caster@gentoo.org> rubygems-1.0.1.ebuild:
+ Fix {$D} to ${D}.
+
+ 21 Jan 2008; Richard Brown <rbrown@gentoo.org> rubygems-1.0.1.ebuild:
+ Fix sandbox violations on first install, thanks to caster, bug #202109
+
+ 13 Jan 2008; Stuart Longland <redhatter@gentoo.org> rubygems-1.0.1.ebuild:
+ Tested and working on MIPS: ~mips keyword added. (note to self: tested using
+ ebuild /path/to/rubygems-ver.ebuild unpack ; cd $WORKDIR ; rake test -- run
+ as user)
+
+ 21 Dec 2007; Richard Brown <rbrown@gentoo.org> rubygems-1.0.1.ebuild:
+ Fix ebuild to install gem command properly.
+
+*rubygems-1.0.1 (21 Dec 2007)
+
+ 21 Dec 2007; Richard Brown <rbrown@gentoo.org> -rubygems-0.9.5.ebuild,
+ +rubygems-1.0.1.ebuild:
+ Version bump, remove broken version.
+
+ 19 Dec 2007; Brent Baude <ranger@gentoo.org> rubygems-0.9.4-r2.ebuild:
+ Marking rubygems-0.9.4-r2.ebuild ppc and ppc64 stable for bug 202608
+
+ 19 Dec 2007; Raúl Porcel <armin76@gentoo.org> rubygems-0.9.4-r2.ebuild:
+ alpha/ia64/x86 stable wrt #202608
+
+ 17 Dec 2007; Jeroen Roovers <jer@gentoo.org> rubygems-0.9.4-r2.ebuild:
+ Stable for HPPA (bug #202608).
+
+ 17 Dec 2007; Ferris McCormick <fmccor@gentoo.org>
+ rubygems-0.9.4-r2.ebuild:
+ Sparc stable --- Bug #202608 --- running since 16 November.
+
+*rubygems-0.9.5 (15 Dec 2007)
+
+ 15 Dec 2007; Richard Brown <rbrown@gentoo.org> +rubygems-0.9.5.ebuild:
+ Adding a new version of rubygems
+
+ 01 Dec 2007; Markus Rothe <corsair@gentoo.org> rubygems-0.9.4-r1.ebuild:
+ Stable on ppc64
+
+*rubygems-0.9.4-r2 (18 Nov 2007)
+
+ 18 Nov 2007; Hans de Graaff <graaff@gentoo.org>
+ +files/rubygems-0.9.4-shebang-env-fix.patch, +rubygems-0.9.4-r2.ebuild:
+ Backport a patch from rubygems SVN to fix #199378.
+
+ 04 Nov 2007; Hans de Graaff <graaff@gentoo.org>
+ -files/rubygems-0.9.0-build-c-extensions.patch,
+ -files/rubygems-0.9.0-build-from-yaml.patch, -rubygems-0.9.0-r2.ebuild:
+ Remove old version that will never become stable
+
+ 03 Nov 2007; Raúl Porcel <armin76@gentoo.org> rubygems-0.9.4-r1.ebuild:
+ alpha/ia64/sparc/x86 stable
+
+*rubygems-0.9.4-r1 (03 Sep 2007)
+
+ 03 Sep 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/conf.d-gem_server, +files/init.d-gem_server,
+ +rubygems-0.9.4-r1.ebuild:
+ Add initscript for gem_server. The script was contributed by Henning Schild
+ <henning@wh9.tu-dresden.de>, #186937
+
+ 24 Aug 2007; Hans de Graaff <graaff@gentoo.org> rubygems-0.9.4.ebuild:
+ Fix silly typo, thanks to marc_alec
+
+ 25 Jul 2007; Raúl Porcel <armin76@gentoo.org> rubygems-0.9.4.ebuild:
+ Add ~alpha
+
+ 24 Jul 2007; Steve Dibb <beandog@gentoo.org> rubygems-0.9.4.ebuild:
+ amd64 stable, bug 181322
+
+ 21 Jul 2007; Hans de Graaff <graaff@gentoo.org> -rubygems-0.9.2.ebuild,
+ -rubygems-0.9.3.ebuild:
+ Remove older, unstable, versions
+
+ 11 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> rubygems-0.9.4.ebuild:
+ Stable on sparc wrt #181322
+
+ 10 Jul 2007; Raúl Porcel <armin76@gentoo.org> rubygems-0.9.4.ebuild:
+ ia64/x86 stable wrt #181322
+
+ 09 Jul 2007; Jeroen Roovers <jer@gentoo.org> rubygems-0.9.4.ebuild:
+ Stable for HPPA (bug #181322).
+
+ 08 Jul 2007; Lars Weiler <pylon@gentoo.org> rubygems-0.9.4.ebuild:
+ Stable on ppc; bug #181322.
+
+ 08 Jul 2007; Markus Rothe <corsair@gentoo.org> rubygems-0.9.4.ebuild:
+ Stable on ppc64; bug #181322
+
+ 23 Jun 2007; Joshua Kinard <kumba@gentoo.org> rubygems-0.8.11-r6.ebuild:
+ Stable on mips.
+
+ 21 Jun 2007; Richard Brown <rbrown@gentoo.org> rubygems-0.9.4.ebuild:
+ Quote $S, from peper
+
+*rubygems-0.9.4 (24 May 2007)
+
+ 24 May 2007; Richard Brown <rbrown@gentoo.org> +rubygems-0.9.4.ebuild:
+ Version Bump.
+
+*rubygems-0.9.3 (17 May 2007)
+
+ 17 May 2007; Richard Brown <rbrown@gentoo.org> +rubygems-0.9.3.ebuild:
+ Version bump.
+
+ 01 May 2007; Hans de Graaff <graaff@gentoo.org> -rubygems-0.9.1.ebuild:
+ Remove version that is known to cause problems when upgrading from older
+ versions of rubygems. See #162463 for details.
+
+ 01 May 2007; Hans de Graaff <graaff@gentoo.org>
+ -rubygems-0.8.11-r5.ebuild:
+ Remove old version
+
+*rubygems-0.9.2 (31 Mar 2007)
+
+ 31 Mar 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +rubygems-0.9.2.ebuild:
+ Version bump
+
+ 14 Feb 2007; Bryan Østergaard <kloeri@gentoo.org>
+ rubygems-0.8.11-r6.ebuild:
+ Stable on IA64, bug 163536.
+
+ 13 Feb 2007; Markus Rothe <corsair@gentoo.org> rubygems-0.8.11-r6.ebuild:
+ Stable on ppc64; bug #163536
+
+ 13 Feb 2007; Marcus D. Hanwell <cryos@gentoo.org>
+ rubygems-0.8.11-r6.ebuild:
+ Stable on amd64, bug 163536.
+
+ 12 Feb 2007; Jason Wever <weeve@gentoo.org> rubygems-0.8.11-r6.ebuild:
+ Stable on SPARC wrt bug #163536.
+
+ 11 Feb 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ rubygems-0.8.11-r6.ebuild:
+ Stable on ppc wrt bug #163536.
+
+ 11 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+ rubygems-0.8.11-r6.ebuild:
+ stable x86; security bug #163536
+
+ 28 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/no-system-rubygems.patch, rubygems-0.9.0-r2.ebuild,
+ rubygems-0.9.1.ebuild:
+ Skip system rubygems in favor of new rubygems source
+
+ 27 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ files/0.8.11-install.rb.extract_files.patch:
+ Fixed the patch not too sensitive about duplicated slashes, #163536
+
+ 26 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ rubygems-0.8.11-r5.ebuild, rubygems-0.8.11-r6.ebuild,
+ rubygems-0.9.0-r2.ebuild, rubygems-0.9.1.ebuild:
+ Fixed #159922
+
+*rubygems-0.8.11-r6 (26 Jan 2007)
+
+ 26 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/0.8.11-install.rb.extract_files.patch, +files/no-manage_gems.patch,
+ -rubygems-0.8.11.ebuild, rubygems-0.8.11-r5.ebuild,
+ +rubygems-0.8.11-r6.ebuild, -rubygems-0.9.0.ebuild,
+ -rubygems-0.9.0-r1.ebuild, rubygems-0.9.0-r2.ebuild:
+ Added 0.8.11-r6 (#163536)
+ Patched other ebuilds so that downgrading from rubygems-0.9.1 will not fail
+ Removed old ebuilds
+
+ 21 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ rubygems-0.8.11.ebuild, rubygems-0.9.0.ebuild, rubygems-0.9.0-r1.ebuild,
+ rubygems-0.9.1.ebuild:
+ Added examples use flag to ebuild, #145222
+
+*rubygems-0.9.1 (17 Jan 2007)
+
+ 17 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/rubygems-0.9.1-no_post_install.patch,
+ +files/rubygems-0.9.1-no_rdoc_install.patch, +rubygems-0.9.1.ebuild:
+ Version bump
+
+ 23 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ rubygems-0.9.0-r2.ebuild, rubygems-0.8.11-r5.ebuild:
+ Unset RUBYOPT before installing rubygems to prevent ruby from failing due to
+ missing auto_gem (bug #158455). Also warn people when rubygems is removed
+
+*rubygems-0.9.0-r2 (16 Dec 2006)
+
+ 16 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/rubygems-0.9.0-build-from-yaml.patch, +rubygems-0.9.0-r2.ebuild:
+ Added patch to fix "gem build gemspec.yaml" failure
+
+*rubygems-0.9.0-r1 (01 Nov 2006)
+
+ 01 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/rubygems-0.9.0-build-c-extensions.patch, +rubygems-0.9.0-r1.ebuild:
+ Add patch to fix building of C-based extensions, see bug #143974. Thanks to
+ John W Higgins for suggesting the course of action.
+
+ 16 Sep 2006; Rene Nussbaumer <killerfox@gentoo.org> rubygems-0.9.0.ebuild:
+ Added to ~hppa.
+
+*rubygems-0.9.0 (30 Jun 2006)
+
+ 30 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> +rubygems-0.9.0.ebuild:
+ Version bump, thanks to Steven Davidovitz in bug #138634.
+
+ 30 Apr 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ rubygems-0.8.11-r5.ebuild:
+ ppc stable
+
+ 30 Apr 2006; Simon Stelling <blubb@gentoo.org> rubygems-0.8.11-r5.ebuild:
+ stable on amd64
+
+ 25 Apr 2006; Jason Wever <weeve@gentoo.org> rubygems-0.8.11-r5.ebuild:
+ Stable on SPARC.
+
+ 17 Apr 2006; Caleb Tennis <caleb@gentoo.org> -rubygems-0.8.10.ebuild,
+ -rubygems-0.8.11-r3.ebuild, -rubygems-0.8.11-r4.ebuild:
+ remove old versions
+
+ 17 Apr 2006; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.11-r5.ebuild:
+ x86 stable
+
+ 17 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ rubygems-0.8.11-r5.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 03 Apr 2006; Aron Griffis <agriffis@gentoo.org> rubygems-0.8.11-r5.ebuild:
+ Mark 0.8.11-r5 stable on ia64
+
+*rubygems-0.8.11-r5 (31 Mar 2006)
+
+ 31 Mar 2006; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.11-r5.ebuild:
+ This version runs etc-update and source's /etc/profile after a package
+ remove to make sure the RUBYOPT variable gets cleared if it really needs to
+ be
+
+ 29 Mar 2006; Aron Griffis <agriffis@gentoo.org> rubygems-0.8.11-r4.ebuild:
+ Mark 0.8.11-r4 ~ia64
+
+ 19 Mar 2006; Markus Rothe <corsair@gentoo.org> rubygems-0.8.11-r4.ebuild:
+ Stable on ppc64; bug #116875
+
+*rubygems-0.8.11-r4 (22 Feb 2006)
+
+ 22 Feb 2006; Caleb Tennis <caleb@gentoo.org> files/10rubygems,
+ +files/auto_gem.rb, -rubygems-0.8.11-r1.ebuild,
+ -rubygems-0.8.11-r2.ebuild, +rubygems-0.8.11-r4.ebuild:
+ Okay, I think this is a good fix for the rubygems issue
+
+ 22 Feb 2006; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.11-r3.ebuild:
+ Remove ruby_with_gems and message saying it's a good idea to use
+
+*rubygems-0.8.11-r3 (02 Jan 2006)
+
+ 02 Jan 2006; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.11-r3.ebuild:
+ New version which adds a new configurable Ruby version that automatically
+ loads rubygems for you
+
+*rubygems-0.8.11-r2 (02 Jan 2006)
+
+ 02 Jan 2006; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.11-r1.ebuild,
+ +rubygems-0.8.11-r2.ebuild:
+ bump to not install RUBYOPT variable for now, as it breaks ruby-cvs 1.9
+
+ 26 Nov 2005; Tom Gall <tgall@gentoo.org> rubygems-0.8.11-r1:
+ added ~ppc64
+
+ 13 Nov 2005; Jason Wever <weeve@gentoo.org> rubygems-0.8.11.ebuild:
+ Stable on SPARC.
+
+*rubygems-0.8.11-r1 (20 Oct 2005)
+
+ 20 Oct 2005; Caleb Tennis <caleb@gentoo.org> +files/10rubygems,
+ +files/no_post_install.patch, +rubygems-0.8.11-r1.ebuild:
+ Don't do the stub removal check in the post-install. Also, install
+ 10rubygems environment file which contains RUBYOPT='-rubygems' so that gems
+ are automagically found
+
+ 12 Oct 2005; Michael Hanselmann <hansmi@gentoo.org>
+ rubygems-0.8.11.ebuild:
+ Stable on ppc.
+
+ 11 Oct 2005; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.11.ebuild:
+ x86 stable
+
+*rubygems-0.8.11 (23 Sep 2005)
+
+ 23 Sep 2005; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.11.ebuild:
+ Version bump
+
+ 17 Aug 2005; Fabian Groffen <grobian@gentoo.org> rubygems-0.8.10.ebuild:
+ Marking ~ppc-macos
+
+ 01 Aug 2005; Ferris McCormick <fmccor@gentoo.org> rubygems-0.8.10.ebuild:
+ Add ~sparc keyword (required for rails).
+
+ 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
+ rubygems-0.8.10.ebuild:
+ Stable on ppc.
+
+ 14 Apr 2005; Caleb Tennis <caleb@gentoo.org> -rubygems-0.8.6.ebuild:
+ Removing older version
+
+ 01 Apr 2005; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.10.ebuild:
+ x86 stable
+
+*rubygems-0.8.10 (28 Mar 2005)
+
+ 28 Mar 2005; Caleb Tennis <caleb@gentoo.org> -rubygems-0.8.1.ebuild,
+ +rubygems-0.8.10.ebuild, -rubygems-0.8.4-r1.ebuild, -rubygems-0.8.4.ebuild,
+ -rubygems-0.8.8.ebuild:
+ Version bump, remove older versions
+
+*rubygems-0.8.8 (25 Mar 2005)
+
+ 25 Mar 2005; Rob Cakebread <pythonhead@gentoo.org> +rubygems-0.8.8.ebuild:
+ Version bump.
+
+ 08 Mar 2005; Caleb Tennis <caleb@gentoo.org> rubygems-0.8.6.ebuild:
+ x86 stable
+
+ 06 Mar 2005; Joseph Jezak <josejx@gentoo.org> rubygems-0.8.6.ebuild:
+ Marked ~ppc for bug #83219.
+
+*rubygems-0.8.6 (28 Feb 2005)
+
+ 28 Feb 2005; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.6.ebuild:
+ Version bump
+
+ 21 Feb 2005; Simon Stelling <blubb@gentoo.org> rubygems-0.8.4-r1.ebuild:
+ added ~amd64
+
+*rubygems-0.8.4-r1 (15 Feb 2005)
+
+ 15 Feb 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +rubygems-0.8.4-r1.ebuild:
+ Added keepdir for doc dir, needed for gems.eclass
+
+*rubygems-0.8.4 (27 Jan 2005)
+
+ 27 Jan 2005; Caleb Tennis <caleb@gentoo.org> +rubygems-0.8.4.ebuild:
+ Adding a new version of rubygems
+
+*rubygems-0.8.1 (20 Nov 2004)
+
+ 20 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +files/rubygems-0.8.1-gentoo.diff, +rubygems-0.8.1.ebuild:
+ Initial import. Thanks to Alexander Kellett <lypanov@kde.org> and
+ Thomas Kirchner <gentoo@halffull.org>. This closes bug #71757.
+
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
new file mode 100644
index 0000000..4af1787
--- /dev/null
+++ b/dev-ruby/rubygems/Manifest
@@ -0,0 +1,10 @@
+AUX 10rubygems 21 RMD160 02441be7de6307bbb859fbc2bf5891809fe9ecf8 SHA1 3f98150bfb39a3f3f1dfabcf2d9bf80051960d81 SHA256 8c30de9ba7f327237af47f85d8f7f6701d34c9a8780ff7303244667568ca5833
+AUX auto_gem.rb 159 RMD160 fbf261e5cf0a8450c51c33a7ad4dafbab21bd518 SHA1 8dde3d73f65998f4c5552924ad49e1441e1b211d SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc
+AUX conf.d-gem_server 81 RMD160 8c5c57e989e009b87fcb345185f3f1e3acaf517d SHA1 4d43d760253a478adbce597148ff1c4e414e8eea SHA256 aa850780bebe0e31da9732d8707a748567ca72716fd91e294dc712e71f82db2f
+AUX init.d-gem_server2 502 RMD160 baf764bc5ad41adce73576b2376093744ddd3917 SHA1 ad332343eab53b4be8d796999063ec2018245a4b SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d9776d0dd5b99bf9a2cee
+AUX rubygems-1.2.0-setup.patch 1921 RMD160 514031631120221cd40d22cfce67b55661fba672 SHA1 460401b0c0c87059dc1beae812418745b325fa8b SHA256 de57ba7fd0db3c55cce75333c606c200aef8c0c768f63287878d27f8fd0c6f8b
+DIST rubygems-1.2.0.tgz 246920 RMD160 c66444cc3f372f7170ba1d8ef3c456052acb2bde SHA1 89f8e35f03e1e8057cc8e237f2df025642653dde SHA256 28af450a85fd74ae8bd315023cbeeff98a132720978fa009199f6c95f4bb372d
+EBUILD rubygems-1.2.0-r1.ebuild 2855 RMD160 355b624983c9f12acaec1fabaa6f1611791e6518 SHA1 11293269d18ac3de3f765abeb13854048909f27d SHA256 fe2a44a91025d3e50fccb3fe2201c78a1ec278c30f7add9305de3686a5814067
+EBUILD rubygems-1.2.0.ebuild 2844 RMD160 15b210b1df4699f8a68369293e8e90c328c85010 SHA1 20ce112e77f2a861bd9dad7735d11775aaf768a6 SHA256 ffb8756273a6aec2028e9e907081de82ee0a3bdb8f72e4072b38b71d31ff1257
+MISC ChangeLog 15554 RMD160 4228c24e96c5bfb3b7089f69931501fd6f856223 SHA1 5d40334d11c159f138518a00721b7dc19fa1b6ed SHA256 8abcb75046b519d205828b9802eff40143bdf4d10afd88427697c65cf9bef389
+MISC metadata.xml 247 RMD160 eb1d10b4366542ce2f232dcaf7317341b6b5608f SHA1 fcb6e2a1d6cda6d45640f9c5a5dfcc0fd4f3ab3b SHA256 633ae9912e8dd27f76b9cf53f5ad0d3222db85d9a19a76da7fd5e26f40b144e3
diff --git a/dev-ruby/rubygems/files/10rubygems b/dev-ruby/rubygems/files/10rubygems
new file mode 100644
index 0000000..f512216
--- /dev/null
+++ b/dev-ruby/rubygems/files/10rubygems
@@ -0,0 +1 @@
+RUBYOPT="-rauto_gem"
diff --git a/dev-ruby/rubygems/files/auto_gem.rb b/dev-ruby/rubygems/files/auto_gem.rb
new file mode 100644
index 0000000..5c4f540
--- /dev/null
+++ b/dev-ruby/rubygems/files/auto_gem.rb
@@ -0,0 +1,7 @@
+# This file is installed by Gentoo's rubygems package.
+# It's intended to help automate the loading of rubygems
+
+begin
+require 'rubygems'
+rescue LoadError
+end
diff --git a/dev-ruby/rubygems/files/conf.d-gem_server b/dev-ruby/rubygems/files/conf.d-gem_server
new file mode 100644
index 0000000..b9cfa3f
--- /dev/null
+++ b/dev-ruby/rubygems/files/conf.d-gem_server
@@ -0,0 +1,5 @@
+# /etc/conf.d/gem_server
+
+# See `gem_server --help` for more
+
+GEM_SERVER_OPTS=""
diff --git a/dev-ruby/rubygems/files/init.d-gem_server2 b/dev-ruby/rubygems/files/init.d-gem_server2
new file mode 100644
index 0000000..49af383
--- /dev/null
+++ b/dev-ruby/rubygems/files/init.d-gem_server2
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PID=/var/run/gem_server.pid
+
+depend() {
+ need localmount net
+}
+
+start() {
+ ebegin "Starting gem_server"
+ start-stop-daemon --start --chuid nobody --quiet --background --make-pidfile \
+ --pidfile ${PID} --exec /usr/bin/ruby -- /usr/bin/gem server ${GEM_SERVER_OPTS}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping gem_server"
+ start-stop-daemon --stop --pidfile ${PID}
+ eend ${?}
+}
diff --git a/dev-ruby/rubygems/files/rubygems-1.2.0-setup.patch b/dev-ruby/rubygems/files/rubygems-1.2.0-setup.patch
new file mode 100644
index 0000000..120f03f
--- /dev/null
+++ b/dev-ruby/rubygems/files/rubygems-1.2.0-setup.patch
@@ -0,0 +1,71 @@
+--- setup.vanilla.rb 2008-08-07 23:05:41.000000000 +0200
++++ setup.rb 2008-08-07 23:07:19.000000000 +0200
+@@ -97,7 +97,7 @@
+
+ require 'fileutils'
+ require 'rbconfig'
+-require 'tmpdir'
++#require 'tmpdir'
+
+ include FileUtils::Verbose
+
+@@ -128,8 +128,8 @@
+ lib_dir = Gem::ConfigMap[site_or_vendor]
+ bin_dir = Gem::ConfigMap[:bindir]
+ else
+- lib_dir = File.join prefix, 'lib'
+- bin_dir = File.join prefix, 'bin'
++ lib_dir = File.join prefix, Gem::ConfigMap[site_or_vendor]
++ bin_dir = File.join prefix, Gem::ConfigMap[:bindir]
+ end
+ end
+
+@@ -168,7 +168,7 @@
+ end
+
+ dest_file = File.join bin_dir, bin_file_formatted
+- bin_tmp_file = File.join Dir.tmpdir, bin_file
++ bin_tmp_file = File.join ENV['T'], bin_file
+
+ begin
+ cp bin_file, bin_tmp_file
+@@ -240,19 +240,6 @@
+ end
+ end
+
+-# Remove source caches
+-if install_destdir.empty?
+- require 'rubygems/source_info_cache'
+-
+- user_cache_file = File.join(install_destdir,
+- Gem::SourceInfoCache.user_cache_file)
+- system_cache_file = File.join(install_destdir,
+- Gem::SourceInfoCache.system_cache_file)
+-
+- rm_f user_cache_file if File.writable? File.dirname(user_cache_file)
+- rm_f system_cache_file if File.writable? File.dirname(system_cache_file)
+-end
+-
+ # install RDoc
+
+ gem_doc_dir = File.join Gem.dir, 'doc'
+@@ -262,10 +249,6 @@
+ if File.writable? gem_doc_dir and
+ (not File.exist? rubygems_doc_dir or
+ File.writable? rubygems_doc_dir) then
+- puts "Removing old RubyGems RDoc and ri"
+- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|
+- rm_rf dir
+- end
+
+ def run_rdoc(*args)
+ begin
+@@ -277,7 +260,7 @@
+
+ args << '--quiet'
+ args << '--main' << 'README'
+- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt'
++ args << '.' << 'README'
+
+ r = RDoc::RDoc.new
+ r.document args
diff --git a/dev-ruby/rubygems/metadata.xml b/dev-ruby/rubygems/metadata.xml
new file mode 100644
index 0000000..40d7274
--- /dev/null
+++ b/dev-ruby/rubygems/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <use>
+ <flag name='server'>Install support for the rubygems server</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-ruby/rubygems/rubygems-1.2.0-r1.ebuild b/dev-ruby/rubygems/rubygems-1.2.0-r1.ebuild
new file mode 100644
index 0000000..44c2008
--- /dev/null
+++ b/dev-ruby/rubygems/rubygems-1.2.0-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.2.0.ebuild,v 1.4 2008/08/06 16:40:12 graaff Exp $
+
+inherit ruby
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="http://rubyforge.org/projects/rubygems/"
+LICENSE="|| ( Ruby GPL-2 )"
+
+# Needs to be installed first
+RESTRICT="test"
+
+# The URL depends implicitly on the version, unfortunately. Even if you
+# change the filename on the end, it still downloads the same file.
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc server"
+DEPEND="=dev-lang/ruby-1.8*"
+PDEPEND="server? ( dev-ruby/builder )" # index_gem_repository.rb
+
+USE_RUBY="ruby18"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-setup.patch"
+}
+
+src_compile() {
+ # Allowing ruby_src_compile would be bad with the new setup.rb
+ :
+}
+
+src_install() {
+ # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
+ export RUBYOPT="${GENTOO_RUBYOPT}"
+ ewarn "RUBYOPT=${RUBYOPT}"
+
+ # Force ebuild to use Ruby 1.8
+ export RUBY="/usr/bin/ruby18"
+
+ ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
+
+ # rubygems tries to create GEM_HOME if it doesn't exist, upsetting sandbox,
+ # bug #202109
+ export GEM_HOME="${D}/usr/$(get_libdir)/ruby/gems/${ver}"
+ keepdir /usr/$(get_libdir)/ruby/gems/$ver/{doc,gems,cache,specifications}
+
+ myconf=""
+ if ! use doc; then
+ myconf="${myconf} --no-ri"
+ myconf="${myconf} --no-rdoc"
+ fi
+
+ ${RUBY} setup.rb $myconf --prefix="${D}" || die "setup.rb install failed"
+
+ dodoc README || die "dodoc README failed"
+
+ cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') || die "cp auto_gem.rb failed"
+ doenvd "${FILESDIR}/10rubygems" || die "doenvd 10rubygems failed"
+
+ if use server; then
+ newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed"
+ newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed"
+ fi
+}
+
+pkg_postinst()
+{
+ SOURCE_CACHE="/usr/$(get_libdir)/ruby/gems/$ver/source_cache"
+ if [[ -e "${SOURCE_CACHE}" ]]; then
+ rm "${SOURCE_CACHE}"
+ fi
+
+ ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this"
+ ewarn "package has removed that file and makes it unnecessary anymore."
+ ewarn "Please use ruby-config to revert back to ruby18."
+}
+
+pkg_postrm()
+{
+ ewarn "If you have uninstalled dev-ruby/rubygems. Ruby applications are unlikely"
+ ewarn "to run in current shells because of missing auto_gem."
+ ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby"
+ ewarn "or start new shells"
+ ewarn
+ ewarn "If you have not uninstalled dev-ruby/rubygems, please do not unset "
+ ewarn "RUBYOPT"
+}
diff --git a/dev-ruby/rubygems/rubygems-1.2.0.ebuild b/dev-ruby/rubygems/rubygems-1.2.0.ebuild
new file mode 100644
index 0000000..fcb36a0
--- /dev/null
+++ b/dev-ruby/rubygems/rubygems-1.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.2.0.ebuild,v 1.4 2008/08/06 16:40:12 graaff Exp $
+
+inherit ruby
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="http://rubyforge.org/projects/rubygems/"
+LICENSE="|| ( Ruby GPL-2 )"
+
+# Needs to be installed first
+RESTRICT="test"
+
+# The URL depends implicitly on the version, unfortunately. Even if you
+# change the filename on the end, it still downloads the same file.
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="doc server"
+DEPEND=">=dev-lang/ruby-1.8"
+PDEPEND="server? ( dev-ruby/builder )" # index_gem_repository.rb
+
+USE_RUBY="ruby18"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-setup.patch"
+}
+
+src_compile() {
+ # Allowing ruby_src_compile would be bad with the new setup.rb
+ :
+}
+
+src_install() {
+ # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
+ export RUBYOPT="${GENTOO_RUBYOPT}"
+ ewarn "RUBYOPT=${RUBYOPT}"
+
+ ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
+
+ # rubygems tries to create GEM_HOME if it doesn't exist, upsetting sandbox,
+ # bug #202109
+ export GEM_HOME="${D}/usr/$(get_libdir)/ruby/gems/${ver}"
+ keepdir /usr/$(get_libdir)/ruby/gems/$ver/{doc,gems,cache,specifications}
+
+ myconf=""
+ if ! use doc; then
+ myconf="${myconf} --no-ri"
+ myconf="${myconf} --no-rdoc"
+ fi
+
+ ${RUBY} setup.rb $myconf --prefix="${D}" || die "setup.rb install failed"
+
+ dosym gem18 /usr/bin/gem || die "dosym gem failed"
+
+ dodoc README || die "dodoc README failed"
+
+ cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') || die "cp auto_gem.rb failed"
+ doenvd "${FILESDIR}/10rubygems" || die "doenvd 10rubygems failed"
+
+ if use server; then
+ newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed"
+ newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed"
+ fi
+}
+
+pkg_postinst()
+{
+ SOURCE_CACHE="/usr/$(get_libdir)/ruby/gems/$ver/source_cache"
+ if [[ -e "${SOURCE_CACHE}" ]]; then
+ rm "${SOURCE_CACHE}"
+ fi
+
+ ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this"
+ ewarn "package has removed that file and makes it unnecessary anymore."
+ ewarn "Please use ruby-config to revert back to ruby18."
+}
+
+pkg_postrm()
+{
+ ewarn "If you have uninstalled dev-ruby/rubygems. Ruby applications are unlikely"
+ ewarn "to run in current shells because of missing auto_gem."
+ ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby"
+ ewarn "or start new shells"
+ ewarn
+ ewarn "If you have not uninstalled dev-ruby/rubygems, please do not unset "
+ ewarn "RUBYOPT"
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index d666220..6beacae 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -21,9 +21,10 @@
## End example
##
-# Alex Legler <gentoo@a3li.info> (05 Sep 2008)
-# Highly experimental ebuild for future usage with eselect-ruby
+# Alex Legler <gentoo@a3li.info> (09 Sep 2008)
+# Highly experimental ebuilds for future usage with eselect-ruby
>=dev-ruby/rake-0.8.1-r1
+>=dev-ruby/rubygems-1.2.0-r1
# Sven Schwyn <gentoo@bitcetera.com> (23 Jul 2008)
# Masked for test