Summary: | net-misc/vpnc - use REQUIRED_USE="bindist? ( !openssl )" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitri Bogomolov <4glitch> |
Component: | Current packages | Assignee: | Lori <lori> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | fauli, mmokrejs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
vpnc-0.5.3_p514.ebuild.diff
vpnc-0.5.3_p514.ebuild.patch vpnc-0.5.3_p514.ebuild.patch |
Created attachment 305037 [details, diff]
vpnc-0.5.3_p514.ebuild.patch
Sorry, this one.
Created attachment 305041 [details, diff]
vpnc-0.5.3_p514.ebuild.patch
); this
Dmitrij, thank you for your input. I tested it with: [ebuild U ] net-misc/vpnc-0.5.3_p514 [0.5.3] USE="-bindist -openssl% -resolvconf (-hybrid-auth%)" 0 kB [ebuild R ] net-misc/vpnc-0.5.3_p514 USE="openssl* -bindist -resolvconf" 0 kB # USE="bindist openssl" emerge =net-misc/vpnc-0.5.3_p514 -pv These are the packages that would be merged, in order: Calculating dependencies \ !!! Problem resolving dependencies for =net-misc/vpnc-0.5.3_p514 ... done! !!! The ebuild selected to satisfy "=net-misc/vpnc-0.5.3_p514" has unmet requirements. - net-misc/vpnc-0.5.3_p514::gentoo USE="bindist (multilib) openssl -resolvconf" The following REQUIRED_USE flag constraints are unsatisfied: bindist? ( !openssl ) # USE="bindist -openssl" emerge =net-misc/vpnc-0.5.3_p514 -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/vpnc-0.5.3_p514 USE="bindist* -openssl -resolvconf" 0 kB + 06 Feb 2013; Justin Lecher <jlec@gentoo.org> vpnc-0.5.3_p514.ebuild, + metadata.xml: + Use REQUIRED_USE to sanitize *DEPENDS, thanks Dmitri Bogomolov for the + initial patch, #407965 + |
Created attachment 305035 [details] vpnc-0.5.3_p514.ebuild.diff As I see, today a new ebuilds with EAPI=4 tends to specify conflict of USE-flags instead of ignoring the obvious meaning (such as link with libcrypto.so if USE="+openssl"). Please check out included ebuild patch with that logic.