From: Dennis.Herbrich@hytera.de
To: ptxdist@pengutronix.de
Subject: [ptxdist] Adding support for no-proxy option in URLs (patch)
Date: Tue, 26 Feb 2013 10:47:22 +0100 [thread overview]
Message-ID: <OF349BB72B.1B195BA2-ONC1257B1E.00354713-C1257B1E.0035C766@hytera.de> (raw)
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
next reply other threads:[~2013-02-26 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 9:47 Dennis.Herbrich [this message]
2013-02-26 9:56 ` Marc Kleine-Budde
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=OF349BB72B.1B195BA2-ONC1257B1E.00354713-C1257B1E.0035C766@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