View previous topic :: View next topic |
Author |
Message |
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1557 Location: Adelaide/Australia
|
Posted: Wed Dec 07, 2011 11:30 pm Post subject: [Solved] emerge - svn update behind proxy failing (overlay) |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Wed Dec 07, 2011 11:52 pm Post subject: |
|
|
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 |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1557 Location: Adelaide/Australia
|
Posted: Thu Dec 08, 2011 12:18 am Post subject: |
|
|
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 |
|
|
linuxale n00b
Joined: 11 Jan 2006 Posts: 34
|
Posted: Thu Nov 22, 2012 9:44 am Post subject: |
|
|
Thanks Guys
It works for me |
|
Back to top |
|
|
|