Bug#305453: approx: would like to see outbound HTTP proxy support
Eric Cooper said: Can you try setting the http_proxy environment variable before starting approx and seeing if that works? I'll try to add more explicit support via approx.conf as well. That worked-- I set it in /etc/init.d/approx. (I'm not sure why I was thinking that the daemon wouldn't get a full copy of the environment.) Rather than reinventing the wheel, maybe it would be a better idea to source an /etc/defaults/approx file to get environment variables? That way, if libcurl adds other options, approx users could just change their defaults file. You could just point users to the libcurl documentation for proxy setup. -- Charles Lepple
Bug#305453: approx: would like to see outbound HTTP proxy support
Since approx uses libcurl as the backend, would it be possible to expose some of libcurl's proxy settings in approx.conf? According to the libcurl documentation, libcurl respects the environment variables http_proxy, ftp_proxy, all_proxy etc, if any of those is set. So it may work already I'll volunteer to test this functionality if needed. I can test packages from experimental, or even try to build from source (but I currently know next to nothing about ocaml). Can you try setting the http_proxy environment variable before starting approx and seeing if that works? I'll try to add more explicit support via approx.conf as well. -- Eric Cooper e c c @ c m u . e d u -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#305453: approx: would like to see outbound HTTP proxy support
Package: approx Version: 1.09 Severity: wishlist One feature that apt-proxy has that is useful in corporate networks is the ability to connect to a HTTP proxy server to retrieve files (when a direct HTTP connection is prohibited by a firewall). Granted, approx is a proxy itself, and this might seem redundant in the presence of a regular HTTP proxy, but not all HTTP proxy setups are smart enough to cache .deb files, and in those cases, having apt-proxy connect to a HTTP proxy is very handy. Since approx uses libcurl as the backend, would it be possible to expose some of libcurl's proxy settings in approx.conf? I'll volunteer to test this functionality if needed. I can test packages from experimental, or even try to build from source (but I currently know next to nothing about ocaml). -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: powerpc (ppc) Kernel: Linux 2.6.10-powerpc Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages approx depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libcurl37.13.2-2 Multi-protocol file transfer libra ii libidn110.5.13-1.0 GNU libidn library, implementation ii libpcre35.0-1Perl 5 Compatible Regular Expressi ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii zlib1g 1:1.2.2-4compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]