Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dev-java/gradle: Fixing access violation with IPv6

  • Loading branch information...
commit def897d7afb951385eedc4b0abbbe1174c99237d 1 parent a0a16a2
Kevin Decherf authored August 13, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  packages/dev-java/gradle/gradle.exlib
4  packages/dev-java/gradle/gradle.exlib
@@ -329,10 +329,14 @@ src_compile() {
329 329
         unset DISPLAY
330 330
         esandbox allow_net --connect "inet:127.0.0.1@1024-65535"
331 331
         esandbox allow_net "inet:0.0.0.0@0"
  332
+        esandbox allow_net --connect "inet6:::1@1024-65535"
  333
+        esandbox allow_net "inet6:::@0"
332 334
         export GRADLE_USER_HOME="${WORK}/.gradle"
333 335
         export ORG_GRADLE_PROJECT_localMavenRepo="${M2_REPOSITORY}"
334 336
         export ORG_GRADLE_PROJECT_localFiles="file://${WORK}/tempfiles/"
335 337
         egradle assemble
  338
+        esandbox disallow_net --connect "inet6:::1@1024-65535"
  339
+        esandbox disallow_net "inet6:::@0"
336 340
         esandbox disallow_net --connect "inet:127.0.0.1@1024-65535"
337 341
         esandbox disallow_net "inet:0.0.0.0@0"
338 342
     fi

0 notes on commit def897d

Please sign in to comment.
Something went wrong with that request. Please try again.