From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.hytera.de ([62.157.183.118]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UAH8D-0008Uf-Fn for ptxdist@pengutronix.de; Tue, 26 Feb 2013 10:47:30 +0100 Received: from domino.hytera.de ([172.21.102.22] helo=nbmx01.hytera.de) by mail.hytera.de with esmtp (Exim 4.72) (envelope-from ) id 1UAH87-0003gH-IS for ptxdist@pengutronix.de; Tue, 26 Feb 2013 10:47:23 +0100 MIME-Version: 1.0 Message-ID: From: Dennis.Herbrich@hytera.de Date: Tue, 26 Feb 2013 10:47:22 +0100 Subject: [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: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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=FCnder/ Germany Abteilung E Tel.: + 49 (0) 5042 998 339 Fax: + 49 (0) 5042 998 305 mailto:dennis.herbrich@hytera.de ------------------------------------------------------------ Gesch=E4ftsf=FChrer / 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=E4te 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[@]}]=3D"--${opt}" ;; + no-proxy) + opts[${#opts[@]}]=3D"--${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