summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-11-10 20:55:40 +0000
committerHans de Graaff <graaff@gentoo.org>2014-11-10 20:55:40 +0000
commit1d292a21cc7c17555fccbfe41d3e82cbcdf9baaa (patch)
tree91c22f5d9cf59f75bb7a6b3ed4e5fb096ba9b9ac /dev-lang/rubinius
parentRemove redundant _BSD_SOURCE macro causing warnings with glibc 2.20. (diff)
downloadgentoo-2-1d292a21cc7c17555fccbfe41d3e82cbcdf9baaa.tar.gz
gentoo-2-1d292a21cc7c17555fccbfe41d3e82cbcdf9baaa.tar.bz2
gentoo-2-1d292a21cc7c17555fccbfe41d3e82cbcdf9baaa.zip
Fix sandbox violations by logging to /dev/null during build and install.
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-lang/rubinius')
-rw-r--r--dev-lang/rubinius/ChangeLog5
-rw-r--r--dev-lang/rubinius/rubinius-2.3.0.ebuild8
2 files changed, 8 insertions, 5 deletions
diff --git a/dev-lang/rubinius/ChangeLog b/dev-lang/rubinius/ChangeLog
index 2db17e05f884..f643cd59de76 100644
--- a/dev-lang/rubinius/ChangeLog
+++ b/dev-lang/rubinius/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/rubinius
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.17 2014/11/04 19:09:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/ChangeLog,v 1.18 2014/11/10 20:55:40 graaff Exp $
+
+ 10 Nov 2014; Hans de Graaff <graaff@gentoo.org> rubinius-2.3.0.ebuild:
+ Fix sandbox violations by logging to /dev/null during build and install.
*rubinius-2.3.0 (04 Nov 2014)
diff --git a/dev-lang/rubinius/rubinius-2.3.0.ebuild b/dev-lang/rubinius/rubinius-2.3.0.ebuild
index 9414b7ad17e8..d07496d37eab 100644
--- a/dev-lang/rubinius/rubinius-2.3.0.ebuild
+++ b/dev-lang/rubinius/rubinius-2.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-2.3.0.ebuild,v 1.1 2014/11/04 19:09:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rubinius/rubinius-2.3.0.ebuild,v 1.2 2014/11/10 20:55:40 graaff Exp $
EAPI=5
inherit eutils flag-o-matic multilib versionator
@@ -61,7 +61,7 @@ src_configure() {
}
src_compile() {
- rake build || die "Compilation failed"
+ RBXOPT="-Xsystem.log=/dev/null" rake build || die "Compilation failed"
}
src_test() {
@@ -76,11 +76,11 @@ src_install() {
local minor_version=$(get_version_component_range 1-2)
local librbx="usr/$(get_libdir)/rubinius"
- DESTDIR="${D}" rake install || die "Installation failed"
+ RBXOPT="-Xsystem.log=/dev/null" DESTDIR="${D}" rake install || die "Installation failed"
dosym /${librbx}/${minor_version}/bin/rbx /usr/bin/rbx || die "Couldn't make rbx symlink"
insinto /${librbx}/${minor_version}/site
doins "${FILESDIR}/auto_gem.rb" || die "Couldn't install rbx auto_gem.rb"
- RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb"
+ RBXOPT="-Xsystem.log=/dev/null" RBX_RUNTIME="${S}/runtime" RBX_LIB="${S}/lib" bin/rbx compile "${D}/${librbx}/${minor_version}/site/auto_gem.rb" || die "Couldn't bytecompile auto_gem.rb"
}