[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759264: apt: Please help with PAC support - proxy autoconfiguration files



Package: apt
Version: 1.0.4ubuntu6
Severity: wishlist

Dear Maintainer,

It would be useful to support PAC (proxy autoconfiguration files) with
apt. Specifically, PAC files are simple javascript files that given a
URL and HOST output a proxy setting. This can be trivially hooked up
with Acquire::http::Proxy-Auto-Detect, however Proxy-Auto-Detect is
called only once, instead of per-host, hence one cannot easily mix
repositories that require different proxies or proxy only for some
repositories. Extending Proxy-Auto-Detect to pass host parameter and
calling that for each host/repository would be beneficial to integrate
(optionally) pac file support with apt. (Similar to how deb squid proxy
support is done).

Regards,

Dimitri.


Reply to: