ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] nmake: Having problems with http_proxy setting in tools/win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Mon, 16 Aug 2004 23:44:40 +0200
From: Ulf Lamping

| Hi List!
|
| When trying to use the setup target in the Makefile.nmake, I'm
having
| problems to set the http_proxy.
|
| Even when defining http_proxy using an environment setting, it won't
use
| the proxy.

I added that piece of code in the shell script as I assumed we'd be
using WGET from CygWin. From the lynx time already, the *NIX shells
used the all-lowercase "http_proxy" shell variable. Maybe it's using
all-uppercase values for Win32 variants not running from the CygWin
bash shell?

| The only way to use a proxy, I had to change in tools/win32_setup.sh
the
| line 49:
|
|     if [ -z "$http_proxy" ] ; then
|
| to
|
|     if [ -z "$HTTP_PROXY" ] ; then
|
| so there seems to be a problem with upper/lower case comparison
string.

As mentioned earlier, that may be a win32-ism of wget. Feel free to
change the script if it fixes the issue (I no longer work for Siemens
where I had a corporate proxy I could test with).

Best regards,

Olivier