Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412573 - net-libs/libproxy-0.4.7 should use a pacrunner (webkit no longer crashes now)
Summary: net-libs/libproxy-0.4.7 should use a pacrunner (webkit no longer crashes now)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
Depends on:
Reported: 2012-04-18 21:15 UTC by Lucian Muresan
Modified: 2012-10-16 08:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

ebuild patch to libproxy-0.4.7 to enable webkit (libproxy-0.4.7-r1.ebuild_webkit.diff,1.54 KB, patch)
2012-04-18 21:17 UTC, Lucian Muresan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lucian Muresan 2012-04-18 21:15:25 UTC
I guess the problem described in #366791 no longer occurs with current net-libs/webkit-gtk-1.8.0, and right now libproxy has no ability to really show its strength, to get the "right" proxy for a given URL from a PAC file...

Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot libproxy

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/libproxy-0.4.7-r1::googoo  USE="-gnome -kde -mono -networkmanager -perl -python -test -webkit"

2.  _PX_DEBUG=1 ftp_proxy=pac+ftp://server/path/to/proxy.pac proxy

Actual Results:  
Using config: 23envvar_config_extension
Using ignore:
Config is: pac+http://server/path/to/proxy.pac
PAC received!
Unable to find a required pacrunner!

Expected Results:  
Config is: pac+http://server/path/to/proxy.pac
PAC received!
Using pacrunner: 26webkit_pacrunner_extension
Pacrunner returned: PROXY proxy-server-you-should-use:port
Comment 1 Lucian Muresan 2012-04-18 21:17:28 UTC
Created attachment 309463 [details, diff]
ebuild patch to libproxy-0.4.7 to enable webkit

Now, with net-libs/webkit-gtk-1.8.0:2 or net-libs/webkit-gtk-1.8.0:3 this no longer crashes with USE="-kde webkit", even with nvidia drivers. See also #366791
Comment 2 Lucian Muresan 2012-04-18 21:23:12 UTC
In my description above, please ignore the fact that I'm emerging my already modified ebuild from my overlay, it's with USE="-webkit" anyway so actually does the same as the one from the official tree.
Also, I a little typo/copy/paste error, allowed "pac+  " scheme is only "pac+http", not "pac+ftp", but the result is the same. I had to edit the output texts used to show how to reproduce, that's the reason for the typo.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-16 08:06:57 UTC
Fixed in libproxy-0.4.10; sorry for the long wait!

>*libproxy-0.4.10 (16 Oct 2012)
>  16 Oct 2012; Alexandre Rostovtsev <>
>  libproxy-0.4.6-r3.ebuild, libproxy-0.4.7.ebuild, +libproxy-0.4.10.ebuild,
>  +files/libproxy-0.4.10-disable-pac-test.patch,
>  +files/libproxy-0.4.10-mozjs185.pc.patch, metadata.xml:
>  Version bump; fixes buffer overflow (bug #438146, CVE-2012-4504, thanks to
>  Agostino Sarubbo). Re-add USE=webkit since it now works correctly (bug
>  #412573, thanks to Lucian Muresan) and it enable by default to provide PAC
>  and WPAD support. Alternatively, spidermonkey could be used for PAC instead
>  (but might lead to firefox crashes, see bug #373397). Update license.