commit:     13e68826557ccc22b6968814066f5442ccf67b3c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May  3 21:24:39 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue May  4 15:48:09 2021 +0000
URL:        https://gitweb.gentoo.org/proj/g-sorcery.git/commit/?id=13e68826

g-sorcery.eclass: Add live property

This will disable the network-sandbox during the unpack phase.

Bug: https://bugs.gentoo.org/734080
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 g_sorcery/data/g-sorcery.eclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/g_sorcery/data/g-sorcery.eclass b/g_sorcery/data/g-sorcery.eclass
index 68635e0..2967ec9 100644
--- a/g_sorcery/data/g-sorcery.eclass
+++ b/g_sorcery/data/g-sorcery.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+#
 # automatically generated by g-sorcery
 # please do not edit this file
 #
@@ -30,6 +30,9 @@ GSORCERY_FETCH_CMD="wget"
 
 EXPORT_FUNCTIONS src_unpack
 
+# The live property will disable Portage's network-sandbox in src_unpack()
+PROPERTIES+=" live"
+
 g-sorcery_fetch() {
        addwrite "${GSORCERY_STORE_DIR}"
        pushd "${GSORCERY_STORE_DIR}" >/dev/null || die "can't chdir to 
${GSORCERY_STORE_DIR}"

Reply via email to