[axel-devel] [axel-Bugs][310626] Axel does not respect proxy settings in /etc/make.conf

axel-bugs at alioth.debian.org axel-bugs at alioth.debian.org
Thu Sep 11 23:18:29 UTC 2008


Bugs item #310626, was opened at 2008-02-28 05:31
Status: Open
Priority: 2
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Axel does not respect proxy settings in /etc/make.conf 


Initial Comment:
Im using axel on various gentoo system to download my distfiles. Some of them (eg. my notebook) have to use a http-proxy to get sth. from ftp/http. Setting http_proxy in /etc/make.conf works with wget but not with axel.
Also axel has no cmdline parameter to set the proxy (just --no-proxy to use no proxy). 

Setting proxy settings everytime the location changes (and therefore the proxy settings), is very annoying..

The default FETCHCOMMAND suggested by the gentoo ebuild is:
 FETCHCOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE} \${URI}"


----------------------------------------------------------------------

Comment By: Philipp Hagemeister (phihag-guest)
Date: 2008-09-11 23:18

Message:
According to the Gentoo documentation (http://de.gentoo-wiki.com/MAN_makeconf), gentoo just sets http_proxy when using wget. Therefore, this looks like a duplicate of #310880.

----------------------------------------------------------------------

Comment By: Y Giridhar Appaji Nag  (appaji-guest)
Date: 2008-02-29 14:51

Message:
axel uses the http_proxy variable in /etc/axelrc or ~/.axelrc

Alternatively, it can also use the HTTP_PROXY env variable.  I don't know how this works in Gentoo, but you would want to change the FETCHCOMMAND to add that.

Is the FETCHCOMMAND specified in the /etc/make.conf make-includeable file?  If it is, you should be able to prefix HTTP_PROXY=$(http_proxy) or something like that there and use it.

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413085&aid=310626&group_id=100070



More information about the axel-devel mailing list