From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Dennis.Herbrich@hytera.de
Subject: Re: [ptxdist] Adding support for no-proxy option in URLs (patch)
Date: Tue, 26 Feb 2013 10:56:52 +0100 [thread overview]
Message-ID: <512C86E4.1020305@pengutronix.de> (raw)
In-Reply-To: <OF349BB72B.1B195BA2-ONC1257B1E.00354713-C1257B1E.0035C766@hytera.de>
[-- Attachment #1.1: Type: text/plain, Size: 2490 bytes --]
On 02/26/2013 10:47 AM, Dennis.Herbrich@hytera.de wrote:
> 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.
Use git send-email to send patches and please add Your Signed-of-by to
the patch. See comment inline...
>
> 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)
What about:
no-check-certificate|no-proxy)
Marc
> 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
>
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2013-02-26 9:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 9:47 Dennis.Herbrich
2013-02-26 9:56 ` Marc Kleine-Budde [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=512C86E4.1020305@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=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