commit:     c3a3d6b0df1099c22461e3e26b632f09f8b45216
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Apr 26 22:19:44 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 22:19:44 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c3a3d6b0

sci-physics/root-9999: current master needs write access to /dev/random

Needed at runtime of the ROOT interpreter when JITting code,
thus also necessary to build examples (and the hsimple-target).
Further details upstream: https://sft.its.cern.ch/jira/browse/ROOT-8146
Since write-access needs to actually work, addpredict is insufficient.
Writing to /dev/random should not be a security concern
(entroy is unchanged).

 sci-physics/root/root-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-physics/root/root-9999.ebuild 
b/sci-physics/root/root-9999.ebuild
index 8bf3758..14d468a 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -397,6 +397,10 @@ cleanup_install() {
 }
 
 src_install() {
+       # Write access to /dev/random is required to run root.exe
+       # More information at https://sft.its.cern.ch/jira/browse/ROOT-8146
+       addwrite /dev/random
+
        DOCS=($(find README/* -maxdepth 1 -type f))
        default
        dodoc README.md

Reply via email to