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

Bug 509138

Summary: git-r3.eclass - add proxy support
Product: Gentoo Linux Reporter: Przemysław Borkowski <xperience>
Component: EclassesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=406639
Whiteboard:
Package list:
Runtime testing required: ---

Description Przemysław Borkowski 2014-04-30 07:59:23 UTC
I have a box with only socks proxy to outer world. When I need to emerge packages like development versions sometimes portage uses git to fetch updates. I have correctly set global configuration for git and when I try to manually fetch things from git it works perfectly. But when I try to emerge ie metasploit-9999 git tries to fetch directly not using socks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-30 14:25:46 UTC
Looks like bug #406639 but I can't tell if anything changed in two years time.
Comment 2 Przemysław Borkowski 2014-05-01 16:01:47 UTC
Yep it looks similar, but for now I can use git through proxy, but when I run it through command line. I have configured proxy in git via:
git config --global http.proxy 'socks://127.0.0.1:8080/'
Works realy nice,
but when I try to run emerge -9999 package it looks like it doesn't honour global git settings at all.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-28 14:08:36 UTC
Would appreciate any suggestions on how to solve this.