Re: ports/133794: x11/gnome2: No go with automatic proxy configuration

[ Available lists | Index of freebsd-gnome | Month of Apr 2009 | Week of 26 Apr 2009 | Raw email | View thread | Wrap long lines | Reply ]
From
Joe Marcus Clarke <marcus@marcuscom.com>
Date
26 Apr 2009 21:17:43
Subject
Re: ports/133794: x11/gnome2: No go with automatic proxy configuration
Message-ID
1240780673.58743.169.camel@shumai.marcuscom.com

In reply to

[ Hide this part ]
On Sun, 2009-04-26 at 22:07 +0200, Andreas Wetzel wrote:
> Joe Marcus Clarke wrote:
> > On Sun, 2009-04-26 at 14:40 +0000, Andreas Wetzel wrote:
> >> The following reply was made to PR ports/133794; it has been noted by GNATS.
> >>
> >> From: Andreas Wetzel <mickey242@gmx.net>
> >> To: bug-followup@FreeBSD.org, mickey242@gmx.net
> >> Cc:
> >> Subject: Re: ports/133794: x11/gnome2: No go with automatic proxy configuration
> >> Date: Sun, 26 Apr 2009 16:38:49 +0200
> >>
> >> The output is always the same for all three scenarios: direct connection,
> >> manual proxy configuration, auto proxy configuration:
> >>
> >> http://www.freebsd.org
> >> *** Unable to locate valid config! Falling back to auto-detection...
> >> *** PAC found, but no active PAC runner! Falling back to direct...
> >> direct://
> >>
> >>
> >> The PAC file looks like this, and is served as content-type
> >> 'application/x-ns-proxy-autoconfig':
> >>
> >> function FindProxyForURL(url, host)
> >> {
> >> if(isPlainHostName(host) || dnsDomainIs(host, ".mydomain.tld"))
> >> return "DIRECT";
> >>
> >> return "PROXY 10.1.1.1:3128; DIRECT";
> >> }
> >
> > Looks like you need to install one of libproxy-mozjs or libproxy-webkit
> > to get a PAC runner (i.e. a JavaScript engine). Try installing one of
> > those, and see if you can use the PAC.
>
> I have now installed libproxy-webkit, which seems to do the job:
>
> http://www.freebsd.org
> http://10.6.6.1:3128 direct://
>
> Well, despite the fact, that proxy still dumps core, when i press ^D

Did you capture a back trace with symbols?

>
> libproxy-mozjs wants to install firefox2, which i was finally glad to get rid
> of after all, so thanks, but no thanks :)

At the time, all we had was firefox. Try adding libxul to the USE_GECKO
line, and see if you can build with libxul instead.

>
> Maybe it is interesting, that there has been a change between Gnome 2.26.0 and
> Gnome 2.26.1. With 2.26.0 and automatic proxy configuration enabled, the
> weather applet was not able to retrieve data at all. With 2.26.1 it was.
> Though i could not tell, whether it would have used the proxy, either
> voluntarily or involuntarily.

There were changes to libgweather and libsoup. I haven't looked at them
in detail, but it is possible that some proxy related changes were made.

Joe

>
--
PGP Key : http://www.marcuscom.com/pgp.asc


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.250 seconds