Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*Solved* esniper SSL certificate problem concerning curl
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
khippy
n00b
n00b


Joined: 29 Aug 2002
Posts: 69
Location: Braunschweig - Germany

PostPosted: Mon May 28, 2012 12:07 am    Post subject: *Solved* esniper SSL certificate problem concerning curl Reply with quote

I like using esniper, current version I use is v2.26.0. Out of a sudden I was involved in the SSL certificate problem and the solution I have was based on the information from the Bug-ID 3480530 at the bug tracker at http://esniper.sf.net I'd like to share with you.

It is very simple.

Curl is using openssl as default. Simply change it to use gnutls by adding a line
Code:
CURL_SSL="gnutls"

to your /etc/make.conf and recompile net-misc/curl and esniper afterwards.

esniper is running again.

It doesn't hurt to run revdep-rebuild finally, too.
_________________
--
there are no silly questions
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 157
Location: Australia

PostPosted: Sun Aug 05, 2012 1:58 am    Post subject: Re: *Solved* esniper SSL certificate problem concerning curl Reply with quote

I prefer something like the following in /etc/portage/package.use
Code:
=net-misc/curl-7.24.0 gnutls
.
Thanks for this khippy, I'd still be deep inside Google had it not been for your post.
Back to top
View user's profile Send private message
khippy
n00b
n00b


Joined: 29 Aug 2002
Posts: 69
Location: Braunschweig - Germany

PostPosted: Sun Aug 05, 2012 11:57 am    Post subject: Reply with quote

My pleasure! :D

Thanks for your note and additionial way on how to do it.
_________________
--
there are no silly questions
Back to top
View user's profile Send private message
solamour
Guru
Guru


Joined: 21 Dec 2004
Posts: 491
Location: San Diego, CA

PostPosted: Sat Feb 09, 2013 5:15 pm    Post subject: Reply with quote

Adding "net-misc/curl gnutls" to "/etc/portage/package.use" didn't work for me, possibly because we need to add "gnutls" to CURL_SSL, not USE.

Code:
[ebuild   R    ] net-misc/curl-7.26.0  USE="ipv6 ssl -ares -idn -kerberos -ldap -ssh -static-libs {-test} -threads" CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" 2,366 kB

Adding CURL_SSL="gnutls" to "/etc/portage/make.conf" did work.
__
sol
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8828

PostPosted: Sat Feb 09, 2013 5:48 pm    Post subject: Reply with quote

solamour wrote:
Adding "net-misc/curl gnutls" to "/etc/portage/package.use" didn't work for me, possibly because we need to add "gnutls" to CURL_SSL, not USE.

Code:
[ebuild   R    ] net-misc/curl-7.26.0  USE="ipv6 ssl -ares -idn -kerberos -ldap -ssh -static-libs {-test} -threads" CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" 2,366 kB

Adding CURL_SSL="gnutls" to "/etc/portage/make.conf" did work.
When this thread was written, the advice before you was correct. The situation changed sometime between August 2012 and now.
Back to top
View user's profile Send private message
solamour
Guru
Guru


Joined: 21 Dec 2004
Posts: 491
Location: San Diego, CA

PostPosted: Sat Feb 09, 2013 7:09 pm    Post subject: Reply with quote

Then I believe adding CURL_SSL="gnutls" to "/etc/portage/make.conf" is the correct way, because something like "/etc/portage/package.curl_ssl" would look funny, right?
__
sol
Back to top
View user's profile Send private message
thenextdon13
n00b
n00b


Joined: 26 Sep 2012
Posts: 9

PostPosted: Wed Apr 24, 2013 11:58 pm    Post subject: Reply with quote

(edit to remove extraneous code tag )
Worked for me, after some finagling. Thank you for posting!!!!

First tried just re-emerging curl after adding "CURL_SSL="gnutls" to /etc/portage/make.conf as listed here

Ended up with this error:
Code:

dylan@BigBox ~/esniper/esniper $ sudo emerge curl

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  NS    ] sys-devel/automake-1.12.6 [1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6]
[ebuild   R    ] net-misc/curl-7.29.0-r1  CURL_SSL="gnutls* -openssl*"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-misc/curl:0

  (net-misc/curl-7.29.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (net-misc/curl-7.29.0-r1::gentoo, installed) pulled in by
    net-misc/curl[curl_ssl_gnutls=,curl_ssl_nss=,curl_ssl_openssl=,-curl_ssl_axtls,-curl_ssl_cyassl,-curl_ssl_polarssl] required by (dev-python/pycurl-7.19.0-r1::gentoo, installed)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


Had to rebuild pycurl with new dependencies first.

Then emerge of curl went off without a hitch.
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