aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-27 15:00:10 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-27 15:00:10 +0100
commit899b4eb439a9defd9b65444c00662ebb943dfd49 (patch)
treeb654e0dfcf3d4b56a0aac5203a0de5eb1c9db3bc
parent4b9abbe51e5d3b8981c9e5356947af9820eeafcd (diff)
downloadpaludis-899b4eb439a9defd9b65444c00662ebb943dfd49.tar.gz
paludis-899b4eb439a9defd9b65444c00662ebb943dfd49.tar.xz
allow networking in fetch_extra
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 1c061fa..7e2b78f 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -581,7 +581,7 @@ ebuild_main()
export ${PALUDIS_EBUILD_PHASE_VAR}="${action}"
perform_hook ebuild_${action}_pre
# Restrict network access to local if running under sydbox
- if [[ $action != unpack ]]; then
+ if [[ $action != unpack ]] && [[ $action != fetch_extra ]] ; then
if sydboxcheck 2>/dev/null; then
sydboxcmd sandbox/net || ebuild_notice "warning" "sydboxcmd sandbox/net returned failure"
sydboxcmd net/local || ebuild_notice "warning" "sydboxcmd net/local returned failure"
@@ -589,7 +589,7 @@ ebuild_main()
fi
fi
if ! ${PALUDIS_F_FUNCTION_PREFIX:-ebuild_f}_${action} ; then
- if [[ $action != unpack ]]; then
+ if [[ $action != unpack ]] && [[ $action != fetch_extra ]] ; then
if sydboxcheck 2>/dev/null; then
sydboxcmd sandunbox/net || ebuild_notice "warning" "sydboxcmd sandunbox/net returned failure"
sydboxcmd net/allow || ebuild_notice "warning" "sydboxcmd net/allow returned failure"
@@ -599,7 +599,7 @@ ebuild_main()
perform_hook ebuild_${action}_fail
die "${action} failed"
fi
- if [[ $action != unpack ]]; then
+ if [[ $action != unpack ]] && [[ $action != fetch_extra ]] ; then
if sydboxcheck 2>/dev/null; then
sydboxcmd sandunbox/net || ebuild_notice "warning" "sydboxcmd sandunbox/net returned failure"
sydboxcmd net/allow || ebuild_notice "warning" "sydboxcmd net/allow returned failure"