Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9955 - Proxy spec in portage conflicts with lynx
Summary: Proxy spec in portage conflicts with lynx
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-30 06:34 UTC by Karl-Koenig Koenigsson
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Koenig Koenigsson 2002-10-30 06:34:27 UTC
Both lynx and portage use similarly named environment variables for specifying
proxies. The problem is that Portage uses the format "<host>:<port>", whereas
lynx uses "http://<host>:<port>".

This is annoying when installing through a proxy since if I specify the proxy as
per the installation manual, I have to either change the /etc/lynx/lynx.cfg file
or specify the new value explicitly on the command line

  gentoo # http_proxy="some.host.com:8080" lynx

when for instance downloading the latest Portage tree.
Comment 1 SpanKY gentoo-dev 2002-10-30 15:50:29 UTC
this is a 'bug' with wget and similar programs, not portage ...

in fact, i'm pretty sure the reason they're all named the same is so you dont
have 3 different environment variables for 3 different programs when all 3 vars
have the same exact value

/etc/make.conf says:
# If you need to set a proxy for wget or lukemftp, add the appropriate "export
# ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to /etc/profile if
# all users on your system should use them.
#
# Portage uses wget by default.

also, there is this:
root@rux0r app-games # strings /usr/bin/wget | grep http_proxy
http_proxy