mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
bitbake: Add proxy support to CVS fetcher (patch from Cyril Chemparathy)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4192 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -102,7 +102,14 @@ class Cvs(Fetch):
|
|||||||
if method == "dir":
|
if method == "dir":
|
||||||
cvsroot = ud.path
|
cvsroot = ud.path
|
||||||
else:
|
else:
|
||||||
cvsroot = ":" + method + ":" + ud.user
|
cvsroot = ":" + method
|
||||||
|
cvsproxyhost = data.getVar('CVS_PROXY_HOST', d, True)
|
||||||
|
if cvsproxyhost:
|
||||||
|
cvsroot += ";proxy=" + cvsproxyhost
|
||||||
|
cvsproxyport = data.getVar('CVS_PROXY_PORT', d, True)
|
||||||
|
if cvsproxyport:
|
||||||
|
cvsroot += ";proxyport=" + cvsproxyport
|
||||||
|
cvsroot += ":" + ud.user
|
||||||
if ud.pswd:
|
if ud.pswd:
|
||||||
cvsroot += ":" + ud.pswd
|
cvsroot += ":" + ud.pswd
|
||||||
cvsroot += "@" + ud.host + ":" + cvs_port + ud.path
|
cvsroot += "@" + ud.host + ":" + cvs_port + ud.path
|
||||||
|
|||||||
Reference in New Issue
Block a user