Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27368

Summary: gentoo-stats script don't use system wide http_proxy variable
Product: Gentoo Linux Reporter: Denis Zaletov <dzaletov>
Component: Current packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED DUPLICATE    
Severity: normal CC: blizzy-keyword-gentoo_bugs3.075080
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Denis Zaletov 2003-08-26 10:52:47 UTC
Some users at forums.gentoo.org and myself has trouble with
gentoo-stats script and system wide standard http_proxy variable. This
is my solution to this problem.

sin ~ # diff /usr/sbin/gentoo-stats /usr/sbin/gentoo-stats-new
529c529
< elsif ($key eq 'HTTP_PROXY')
---
> elsif ($key eq 'HTTP_PROXY' and !$ENV{'http_proxy'})
531a532,534
> } else
> {
> %conf->{'HTTP_PROXY'} = $ENV{'http_proxy'}

Reproducible: Always
Steps to Reproduce:
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 13:11:01 UTC

*** This bug has been marked as a duplicate of 30923 ***