mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Dennis Herbrich <dennis.herbrich@hytera.de>
To: ptxdist@pengutronix.de
Cc: Dennis Herbrich <dennis.herbrich@hytera.de>
Subject: [ptxdist] [PATCH 2/2] ptxdist: Added HTTPS proxy and exception configuration
Date: Tue, 12 Mar 2013 17:12:19 +0100	[thread overview]
Message-ID: <1363104739-26416-2-git-send-email-dennis.herbrich@hytera.de> (raw)
In-Reply-To: <1363104739-26416-1-git-send-email-dennis.herbrich@hytera.de>


Signed-off-by: Dennis Herbrich <dennis.herbrich@hytera.de>
---
 bin/ptxdist          |    7 +++++++
 config/setup/Kconfig |   21 +++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/bin/ptxdist b/bin/ptxdist
index a28681d..95382e6 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -2155,10 +2155,17 @@ setup_config() {
 		export http_proxy="${PTXCONF_SETUP_HTTP_PROXY}"
 	fi
 
+	if [ -n "${PTXCONF_SETUP_HTTPS_PROXY}" ]; then
+		export https_proxy="${PTXCONF_SETUP_HTTPS_PROXY}"
+	fi
+
 	if [ -n "${PTXCONF_SETUP_FTP_PROXY}" ]; then
 		export ftp_proxy="${PTXCONF_SETUP_FTP_PROXY}"
 	fi
 
+	if [ -n "${PTXCONF_SETUP_NO_PROXY}" ]; then
+		export no_proxy="${PTXCONF_SETUP_NO_PROXY}"
+	fi
 
 	#
 	# setup PARALLELMFLAGS
diff --git a/config/setup/Kconfig b/config/setup/Kconfig
index 266e942..508c89b 100644
--- a/config/setup/Kconfig
+++ b/config/setup/Kconfig
@@ -56,6 +56,27 @@ config SETUP_HTTP_PROXY
 
 	              http://your.proxy.org:80
 
+config SETUP_HTTPS_PROXY
+	prompt "HTTPS Proxy"
+	string
+	default ""
+	help
+	  If you have to use a proxy for HTTPS transfers, please add the
+	  proxy URL here. Example:
+
+	              https://your.proxy.org:80
+
+config SETUP_NO_PROXY
+	prompt "Proxy Exceptions"
+	string
+	default ""
+	help
+	  If you generally require a proxy, but need to add exceptions for
+	  certain hosts, please add those as a comma-separated list here.
+	  Example:
+
+	              .localdomain,127.0.0.1
+
 endmenu
 
 menu "Project Searchpath"
-- 
1.7.9.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2013-03-12 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 16:12 [ptxdist] [PATCH 1/2] ptxdist: Keep https_proxy and no_proxy in environment Dennis Herbrich
2013-03-12 16:12 ` Dennis Herbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363104739-26416-2-git-send-email-dennis.herbrich@hytera.de \
    --to=dennis.herbrich@hytera.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox