[pbuilder] 02/03: checkparams: add a "--use-network yes|no" cmdline flag

Mattia Rizzolo mattia at debian.org
Fri May 27 21:48:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit e0dbaa5058c3e03e807da6fd70921459d90f3797
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri May 27 21:22:55 2016 +0000

    checkparams: add a "--use-network yes|no" cmdline flag
    
    Closes: #823408
---
 pbuilder-checkparams |  4 ++++
 pbuilder.8           | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 5a7add6..adc07ec 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -79,6 +79,10 @@ while [ -n "$1" ]; do
         export http_proxy="$2";
         shift; shift;
         ;;
+    --use-network)
+        USENETWORK="$2"
+        shift 2
+        ;;
     --distribution)
         DISTRIBUTION="$2";
         OVERRIDE_APTLINES_WARN=yes
diff --git a/pbuilder.8 b/pbuilder.8
index cfebece..3ab98cd 100644
--- a/pbuilder.8
+++ b/pbuilder.8
@@ -247,6 +247,16 @@ Specifies the http proxy URL. Something like
 should do.
 
 .TP
+.BI "\-\-use\-network [" "yes" "|" "no" "]"
+Specify
+.B yes
+when you do not want to disable network access during build.
+Network is not available on a Debian buildd, so you might
+want to keep the default of
+.BR no .
+Disabling network access currently only works on Linux.
+
+.TP
 .BI "\-\-aptcache [" "location of retrieved package files" "]"
 Specifies the location where the packages downloaded by apt should
 be cached. Use

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list