It is very simple.
Curl is using openssl as default. Simply change it to use gnutls by adding a line
Code: Select all
CURL_SSL="gnutls"esniper is running again.
It doesn't hurt to run revdep-rebuild finally, too.

Code: Select all
CURL_SSL="gnutls"
Code: Select all
=net-misc/curl-7.24.0 gnutlsCode: Select all
[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 kBWhen this thread was written, the advice before you was correct. The situation changed sometime between August 2012 and now.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.
Adding CURL_SSL="gnutls" to "/etc/portage/make.conf" did work.Code: Select all
[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

Code: Select all
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.