1 |
commit: 13e68826557ccc22b6968814066f5442ccf67b3c |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 3 21:24:39 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 15:48:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/g-sorcery.git/commit/?id=13e68826 |
7 |
|
8 |
g-sorcery.eclass: Add live property |
9 |
|
10 |
This will disable the network-sandbox during the unpack phase. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/734080 |
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
g_sorcery/data/g-sorcery.eclass | 7 +++++-- |
16 |
1 file changed, 5 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/g_sorcery/data/g-sorcery.eclass b/g_sorcery/data/g-sorcery.eclass |
19 |
index 68635e0..2967ec9 100644 |
20 |
--- a/g_sorcery/data/g-sorcery.eclass |
21 |
+++ b/g_sorcery/data/g-sorcery.eclass |
22 |
@@ -1,6 +1,6 @@ |
23 |
-# Copyright 1999-2013 Gentoo Foundation |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: $ |
27 |
+# |
28 |
# automatically generated by g-sorcery |
29 |
# please do not edit this file |
30 |
# |
31 |
@@ -30,6 +30,9 @@ GSORCERY_FETCH_CMD="wget" |
32 |
|
33 |
EXPORT_FUNCTIONS src_unpack |
34 |
|
35 |
+# The live property will disable Portage's network-sandbox in src_unpack() |
36 |
+PROPERTIES+=" live" |
37 |
+ |
38 |
g-sorcery_fetch() { |
39 |
addwrite "${GSORCERY_STORE_DIR}" |
40 |
pushd "${GSORCERY_STORE_DIR}" >/dev/null || die "can't chdir to ${GSORCERY_STORE_DIR}" |