Signed-off-by: Dennis Herbrich <[email protected]>
---
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
[email protected]