Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541066 - <dev-crypt/qca-2.1: USE=gpg,openssl,pkcs11,... reintroduction
Summary: <dev-crypt/qca-2.1: USE=gpg,openssl,pkcs11,... reintroduction
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 18:13 UTC by Michał Górny
Modified: 2015-02-23 03:07 UTC (History)
2 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-22 18:13:39 UTC
Creating a bug to keep track of what is done here.

The problem (pointed out in [1]) is that in:

  || ( qca-ossl qca[openssl] )

Portage always chooses the easier path. So if user has qca with USE=-openssl installed, it will try to install qca-ossl even if qca is new enough to block it.

Instead of doing something fancy and more broken, we're choosing the simple solution:

1. introduce a revbumped version of <qca-2.1 with USE flags for all plugins, and make those flags PDEPEND on plugins [2,3],

2. update deps in all ebuilds [4] to just qca:2[openssl] etc.

The advantage of this solution is that it is simple. It adds needless rebuild and runtime-only USE flags but only for the old ebuild. The net result is that:

a. on ~arch, Portage always wants new qca with USE flags for plugins,

b. on stable, Portage tells user to enable USE flags -- which he will eventually have to do anyway -- and pulls in plugins implicitly.

[1]:https://bugs.funtoo.org/browse/FL-2119
[2]:https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/27
[3]:https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/32
[4]:https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/44
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-22 18:43:51 UTC
And all committed!