[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
Fri Sep 12 08:09:19 UTC 2008
Bugs item #310626, was opened at 2008-02-28 11:01
>Status: Closed
Priority: 2
Submitted By: Nobody (None)
>Assigned to: Y Giridhar Appaji Nag (appaji-guest)
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: Y Giridhar Appaji Nag (appaji-guest)
Date: 2008-09-12 13:39
Message:
Indeed, and fix for #310880 committed to svn
----------------------------------------------------------------------
Comment By: Philipp Hagemeister (phihag-guest)
Date: 2008-09-12 04:48
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 20:21
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