Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] emerge - svn update behind proxy failing (overlay)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1553
Location: Adelaide/Australia

PostPosted: Wed Dec 07, 2011 11:30 pm    Post subject: [Solved] emerge - svn update behind proxy failing (overlay) Reply with quote

I am trying to emerge net-wireless/spectools from the pentoo overlay.
I am behind a proxy and have updated /etc/subversion/servers to specify my proxy.
Problem is, the Pentoo overlay has an expired SSL certificate.
Not a problem, at the command line, I can use 'svn co https://www.kismetwireless.net/code/svn/tools/spectools' at the command line, no problems.
However, when I try do the 'emerge --update', the svn update simply hangs.
I have the sandbox enabled in my /etc/make.conf
I suspect that the pentoo overlay certificate exception I have acknowledged by hand, is not acknowledged in the emerge sandbox.
How can I 'acknowledge' this exception within the sandbox?
_________________
...Lyall


Last edited by lyallp on Thu Dec 08, 2011 12:36 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Wed Dec 07, 2011 11:52 pm    Post subject: Reply with quote

That sounds like a bug in the ebuild. It ought to immediately fail if user input is required. It looks like you should be able to set ESVN_OPTIONS to pass additional arguments to the svn command. If there is an option to blindly accept certificates, you could pass that option to make the ebuild proceed anyway.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1553
Location: Adelaide/Australia

PostPosted: Thu Dec 08, 2011 12:18 am    Post subject: Reply with quote

Excellent, solved it.
Thanks!

Code:

# export ESVN_OPTIONS="--config-option servers:global:http-proxy-host=proxy.example.com --config-option servers:global:http-proxy-port=8080 --non-interactive --trust-server-cert"
# emerge --update --deep --newuse --with-bdeps=y --verbose --tree world


Better yet, I placed the ESVN_OPTIONS in my /etc/env.d/99local file
_________________
...Lyall
Back to top
View user's profile Send private message
linuxale
n00b
n00b


Joined: 11 Jan 2006
Posts: 34

PostPosted: Thu Nov 22, 2012 9:44 am    Post subject: Reply with quote

Thanks Guys
It works for me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum