Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412431 - [TRACKER] packages use-depending on curl[ssl] should adopt the new CURL_SSL use expand flags
Summary: [TRACKER] packages use-depending on curl[ssl] should adopt the new CURL_SSL u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: http://qa-reports.gentoo.org/output/g...
Whiteboard:
Keywords: Tracker
Depends on: 412433 412435 412437 412439 412441 412443 412445
Blocks:
  Show dependency tree
 
Reported: 2012-04-17 22:07 UTC by Anthony Basile
Modified: 2017-01-19 19:23 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2012-04-17 22:07:24 UTC
As the number of backend ssl providers for curl increased, it became more convenient to switch to use expand flags for them.  As of curl-7.25.0-r1, USE="ssl" means that one and only one of CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" must be chosen, with openssl being the default if none is given.

This means that packages that use depend on curl's ssl may have to change.  Packages which simply depend on net-misc/curl[ssl] are fine.  But those that wish to specify which of the ssl backends to use, must now do so in use expand form.  So for example, net-misc/curl[ssl,gnutls] should become net-misc/curl[ssl,curl_ssl_gnutls].

This is a tracker bug to alert maintainers of packages which use dep on curl[ssl] with some specific backend.

While I haven't looked, this might also be a good time to check if you really need to pick a particular backend ssl for your package because net-misc/curl[ssl] works fine and is backward compat.
Comment 1 Anthony Basile gentoo-dev 2012-04-17 22:09:44 UTC
Grepping through the tree shows the following packages are effected:

	dev-libs/libcaldav
	net-libs/liboauth
	sci-misc/boinc
	sys-auth/pam_pkcs11 
	www-client/firefox-bin
	net-im/centerim
	net-libs/libmicrohttpd
Comment 2 trogdog 2012-04-18 10:43:55 UTC
(In reply to comment #1)
> 	sci-misc/boinc

I maintain a local overlay for boinc, as boinc relies on curl with openssl but not gnutls, am I correct in assuming the ebuild should read

|| ( <net-misc/curl-7.25.0-r1[ssl,-gnutls] >=net-misc/curl-7.25.0-r1[ssl] )
Comment 3 Anthony Basile gentoo-dev 2012-04-18 11:54:45 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 	sci-misc/boinc
> 
> I maintain a local overlay for boinc, as boinc relies on curl with openssl
> but not gnutls, am I correct in assuming the ebuild should read
> 
> || ( <net-misc/curl-7.25.0-r1[ssl,-gnutls] >=net-misc/curl-7.25.0-r1[ssl] )

Yes, that should work.

As atracker, discussion for each particular packages should happen in their respective bug.  For boinc, bug #412437.
Comment 4 trogdog 2012-04-18 12:01:19 UTC
(In reply to comment #3)
> (In reply to comment #2)
> (In reply to comment #1)
> > 	sci-misc/boinc
> 
>
> I maintain a local overlay for boinc, as boinc relies on curl with openssl
>
> but not gnutls, am I correct in assuming the ebuild should read
> 
> || (
> <net-misc/curl-7.25.0-r1[ssl,-gnutls] >=net-misc/curl-7.25.0-r1[ssl] )

Yes,
> that should work.

As atracker, discussion for each particular packages
> should happen in their respective bug.  For boinc, bug #412437.

Apologies, I didn't see that bug until after I had replied - and then instantly I guessed I had done wrong but couldn't see a delete button - [chatter ended]
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-19 00:03:36 UTC
I think EAPI=4 allows a more elegant solution than what is suggested in the various bugs.

A package which works exclusively with openssl uses now
 net-misc/curl[ssl,-gnutls,-nss]
and could use in the future
 net-misc/curl[ssl,-gnutls(-),-nss(-),curl_ssl_openssl(+)]
without resorting to multiple versioned dependencies.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2013-01-12 18:22:46 UTC
  02 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> +pam_pkcs11-0.6.8.ebuild,
  -pam_pkcs11-0.6.6.ebuild:
  Version bump (new EAPI, new curl dependencies, more documentation installed,
  silent build introduced upstream and disabled in ebuild). Remove old.