From 13e68826557ccc22b6968814066f5442ccf67b3c Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 3 May 2021 23:24:39 +0200 Subject: g-sorcery.eclass: Add live property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will disable the network-sandbox during the unpack phase. Bug: https://bugs.gentoo.org/734080 Signed-off-by: Ulrich Müller --- 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}" -- cgit v1.2.3-65-gdbad