summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2008-01-21 11:30:38 +0000
committerRichard Brown <rbrown@gentoo.org>2008-01-21 11:30:38 +0000
commit0657dc15fc68a75868958b497e3670de45270bd9 (patch)
tree0c3017df3d141f0fc0631e43eeabecd1e0bc647d /dev-ruby
parentAdding dev-ruby/rubygems server because dev-ruby/builder is not ~mips. (diff)
downloadhistorical-0657dc15fc68a75868958b497e3670de45270bd9.tar.gz
historical-0657dc15fc68a75868958b497e3670de45270bd9.tar.bz2
historical-0657dc15fc68a75868958b497e3670de45270bd9.zip
Fix sandbox violations on first install, thanks to caster, bug #202109
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rubygems/ChangeLog5
-rw-r--r--dev-ruby/rubygems/Manifest16
-rw-r--r--dev-ruby/rubygems/rubygems-1.0.1.ebuild7
3 files changed, 17 insertions, 11 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
index 09e38fcc2038..ef5f3b83d13e 100644
--- a/dev-ruby/rubygems/ChangeLog
+++ b/dev-ruby/rubygems/ChangeLog
@@ -1,6 +1,9 @@
# 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.81 2008/01/13 07:12:34 redhatter Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.82 2008/01/21 11:30:38 rbrown Exp $
+
+ 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
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index ac1917cb0f23..7f9ea65fbfd9 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -65,14 +65,14 @@ EBUILD rubygems-0.9.4.ebuild 2753 RMD160 62d3725c309778184b5639bf80d0a3277b7be75
MD5 9fb8a7f4eb4b434f2716b2ea712a7f9b rubygems-0.9.4.ebuild 2753
RMD160 62d3725c309778184b5639bf80d0a3277b7be752 rubygems-0.9.4.ebuild 2753
SHA256 0466e321185e2bef8b796c0de744ef58de27a64cb98f65651b1e0e1cd659df35 rubygems-0.9.4.ebuild 2753
-EBUILD rubygems-1.0.1.ebuild 2844 RMD160 0dae7a8861a853113f67548fa2a50d6d1a798946 SHA1 0f10e11e4c4f98f7e1ff1f84b1ee4caaed9d9e09 SHA256 852c4234dd3c8e2e460f0c33440eab40a16ac7690d0296e3f45989cbd84915d2
-MD5 0a03bccaeec0586d5828d366d0a8f52a rubygems-1.0.1.ebuild 2844
-RMD160 0dae7a8861a853113f67548fa2a50d6d1a798946 rubygems-1.0.1.ebuild 2844
-SHA256 852c4234dd3c8e2e460f0c33440eab40a16ac7690d0296e3f45989cbd84915d2 rubygems-1.0.1.ebuild 2844
-MISC ChangeLog 12085 RMD160 cb3e049dae946819d8144ae258aa554ffd2aa653 SHA1 6d10fc2060644551e649783157bfdb3f217da4ad SHA256 9f6861c9285292f0de65100762cbb7b2e7647b25d3920e062716249e9f477317
-MD5 4f2160cb61a4180f166c082c497d94e4 ChangeLog 12085
-RMD160 cb3e049dae946819d8144ae258aa554ffd2aa653 ChangeLog 12085
-SHA256 9f6861c9285292f0de65100762cbb7b2e7647b25d3920e062716249e9f477317 ChangeLog 12085
+EBUILD rubygems-1.0.1.ebuild 2938 RMD160 9d1fc60532fa1fe65d426f57a498795256134c39 SHA1 574a4886f79931d11854ae2d48ce730d996c0c77 SHA256 f461fbec8b2fe97be5a11ee6e57062f62473abc2d9c356662f37107ca8c8ab55
+MD5 ab97c60cf61c6c34b59b411f37c9d748 rubygems-1.0.1.ebuild 2938
+RMD160 9d1fc60532fa1fe65d426f57a498795256134c39 rubygems-1.0.1.ebuild 2938
+SHA256 f461fbec8b2fe97be5a11ee6e57062f62473abc2d9c356662f37107ca8c8ab55 rubygems-1.0.1.ebuild 2938
+MISC ChangeLog 12228 RMD160 3c550e5bd159ab34f80fc0c8f9c6643e555f645e SHA1 78ad15344a944aa865790c158c3ef25f75bdd8b4 SHA256 549818db86b1ed7d5994c2012140ac7659459d56ac589f0b5c566188a9d75318
+MD5 f72a5895190da7d9225b63e5517af724 ChangeLog 12228
+RMD160 3c550e5bd159ab34f80fc0c8f9c6643e555f645e ChangeLog 12228
+SHA256 549818db86b1ed7d5994c2012140ac7659459d56ac589f0b5c566188a9d75318 ChangeLog 12228
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157
diff --git a/dev-ruby/rubygems/rubygems-1.0.1.ebuild b/dev-ruby/rubygems/rubygems-1.0.1.ebuild
index 46ce4fb83973..9c02674b6b43 100644
--- a/dev-ruby/rubygems/rubygems-1.0.1.ebuild
+++ b/dev-ruby/rubygems/rubygems-1.0.1.ebuild
@@ -1,6 +1,6 @@
# 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.0.1.ebuild,v 1.3 2008/01/13 07:12:34 redhatter Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.0.1.ebuild,v 1.4 2008/01/21 11:30:38 rbrown Exp $
inherit ruby
@@ -44,7 +44,10 @@ src_install() {
export RUBYOPT="${GENTOO_RUBYOPT}"
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
- export GEM_HOME="/usr/$(get_libdir)/ruby/gems/${ver}"
+
+ # 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="--no-ri"