From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <512C86E4.1020305@pengutronix.de> Date: Tue, 26 Feb 2013 10:56:52 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: In-Reply-To: Subject: Re: [ptxdist] Adding support for no-proxy option in URLs (patch) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0902126612==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Dennis.Herbrich@hytera.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0902126612== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2ILKUMBSRTWAEMSBLPABU" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2ILKUMBSRTWAEMSBLPABU Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/26/2013 10:47 AM, Dennis.Herbrich@hytera.de wrote: > Greetings! >=20 > 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... >=20 > Best regards, > Dennis Herbrich >=20 > Hytera Mobilfunk GmbH > Fritz-Hahne-Str. 7 > 31848 Bad M=FCnder/ Germany > Abteilung E >=20 > Tel.: + 49 (0) 5042 998 339 > Fax: + 49 (0) 5042 998 305 > mailto:dennis.herbrich@hytera.de >=20 > ------------------------------------------------------------ > Gesch=E4ftsf=FChrer / President: Matthias Klausing, Sitz der Gesellsc= haft /=20 > Company's Place of Business: Bad Muender, Registereintrag / Commercial= =20 > Register No. Amtsgericht / Local Court Hannover: HRB 100300,=20 > Umsatzsteuer-Identifikationsnummer (USt-IdNr.) / VAT Identification No.= :=20 > DE 115 447 987, Elektro-Altger=E4te Register (EAR) / WEEE Register No.= : DE=20 > 187 048 87 >=20 > ----- > Add support for wget --no-proxy option in URLs. >=20 > --- ptxdist-2013.01.90/scripts/lib/ptxd_make_get.sh.orig 2013-02= -26=20 > 11:33:30.000000000 +0100 > +++ ptxdist-2013.01.90/scripts/lib/ptxd_make_get.sh 2013-02-26=20 > 11:34:32.000000000 +0100 > @@ -30,6 +30,9 @@ > no-check-certificate) What about: no-check-certificate|no-proxy) Marc > opts[${#opts[@]}]=3D"--${opt}" > ;; > + no-proxy) > + opts[${#opts[@]}]=3D"--${opt}" > + ;; > *) > ptxd_bailout "invalid option '${opt}' t= o=20 > ${FUNCNAME}" > ;; > @@ -112,6 +115,7 @@ > # > # valid options: > # - no-check-certificate don't check server certificate (https=20 > only) > +# - no-proxy don't use proxy server even if defined > # > ptxd_make_get() { > local -a argv >=20 --=20 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 | ------enig2ILKUMBSRTWAEMSBLPABU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEshucACgkQjTAFq1RaXHOa3gCdEI1crGiUnFO2fOTHKP8RT8B9 YT4An2Rjy+aKx+naNGy9RJdVrGPmUtsO =83G0 -----END PGP SIGNATURE----- ------enig2ILKUMBSRTWAEMSBLPABU-- --===============0902126612== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0902126612==--