mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Adding support for no-proxy option in URLs (patch)
@ 2013-02-26  9:47 Dennis.Herbrich
  2013-02-26  9:56 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis.Herbrich @ 2013-02-26  9:47 UTC (permalink / raw)
  To: ptxdist

Greetings!

I was missing the --no-proxy option for wget to download sources
from a server in the LAN. Admittedly that's not something one *should*
need, but find a simple patch attached, anyway, in case someone
needs it. Let's hope my MUA doesn't munge it too badly.

Best regards,
Dennis Herbrich

Hytera Mobilfunk GmbH
Fritz-Hahne-Str. 7
31848 Bad Münder/ Germany
Abteilung E

Tel.: + 49 (0) 5042 998 339
Fax: + 49 (0) 5042 998 305
mailto:dennis.herbrich@hytera.de

------------------------------------------------------------
Geschäftsführer / President:  Matthias Klausing,  Sitz der Gesellschaft / 
Company's Place of Business: Bad Muender,  Registereintrag / Commercial 
Register No.  Amtsgericht / Local Court Hannover: HRB  100300, 
Umsatzsteuer-Identifikationsnummer (USt-IdNr.) / VAT Identification No.: 
DE 115 447 987,  Elektro-Altgeräte Register (EAR) / WEEE Register No.: DE 
187 048 87

-----
Add support for wget --no-proxy option in URLs.

--- ptxdist-2013.01.90/scripts/lib/ptxd_make_get.sh.orig        2013-02-26 
11:33:30.000000000 +0100
+++ ptxdist-2013.01.90/scripts/lib/ptxd_make_get.sh     2013-02-26 
11:34:32.000000000 +0100
@@ -30,6 +30,9 @@
                        no-check-certificate)
                                opts[${#opts[@]}]="--${opt}"
                                ;;
+                       no-proxy)
+                               opts[${#opts[@]}]="--${opt}"
+                               ;;
                        *)
                                ptxd_bailout "invalid option '${opt}' to 
${FUNCNAME}"
                                ;;
@@ -112,6 +115,7 @@
 #
 # valid options:
 # - no-check-certificate       don't check server certificate (https 
only)
+# - no-proxy                   don't use proxy server even if defined
 #
 ptxd_make_get() {
        local -a argv

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-26  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26  9:47 [ptxdist] Adding support for no-proxy option in URLs (patch) Dennis.Herbrich
2013-02-26  9:56 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox