Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412445 - net-libs/libmicrohttpd: should adopt curl's new CURL_SSL use expand flags
Summary: net-libs/libmicrohttpd: should adopt curl's new CURL_SSL use expand flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 412431
  Show dependency tree
 
Reported: 2012-04-17 22:41 UTC by Anthony Basile
Modified: 2012-06-09 22:36 UTC (History)
0 users

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


Attachments
add CURL_SSL use expand to libmicrohttpd-0.9.19.ebuild (libmicrohttpd-0.9.19.patch,741 bytes, patch)
2012-04-18 18:59 UTC, André Erdmann
Details | Diff

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:41:55 UTC
Currenlty libmicrohttpd use-deps on net-misc/curl[ssl,-nss] and other combinations of the use flags.   But as of curl-7.25.0-r1, backend ssl providers are chosen via CURL_SSL use expand flag, so, moving forward, these dependency should change nss -> curl_ssl_nss, etc. when depending on >=curl-7.25.0-r1.

See bug #412431 for more details.

Reproducible: Always
Comment 1 André Erdmann 2012-04-18 18:59:40 UTC
Created attachment 309441 [details, diff]
add CURL_SSL use expand to libmicrohttpd-0.9.19.ebuild

Added a small patch that addresses this issue.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-18 23:54:25 UTC
The suggestions from comment 0 and 1 seem a bit complex to me. EAPI=4 USE conditionals would allow a more elegant solution

-			>=net-misc/curl-7.21[ssl,-nss]
			>=net-misc/curl-7.21[ssl,gnutls]
+			>=net-misc/curl-7.21[ssl,-nss(-),-curl_ssl_nss(-)]
			>=net-misc/curl-7.21[ssl,gnutls]
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-09 22:36:04 UTC
Fixed in 0.9.20