Allow network access during pbuilder builds
[git-tools-moved-to-github.git] / id-deb-build / pbuilderrc
index 998f895..0f85ecf 100644 (file)
@@ -16,6 +16,9 @@ APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
 ALLOWUNTRUSTED=yes
 CCACHEDIR=
 
+# See https://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg445261.html  --malc
+USENETWORK=yes
+
 # http://releases.ubuntu.com/releases/
 case "$DIST" in
     trusty|saucy|raring|quantal|precise|oneiric|natty|maverick|lucid|karmic) # ubuntu specific
@@ -23,7 +26,7 @@ case "$DIST" in
        MIRRORSITE="http://mirrors.dotsrc.org/ubuntu/"
         # MIRRORSITE="http://mirrors.kernel.org/ubuntu/"
         COMPONENTS="main restricted universe multiverse"
-       # OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main"
+       OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main"
         ;;
     jessie|wheezy|squeeze|lenny|etch) # debian specific
         MIRRORSITE="http://ftp.se.debian.org/debian/"