Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407965 - net-misc/vpnc - use REQUIRED_USE="bindist? ( !openssl )"
Summary: net-misc/vpnc - use REQUIRED_USE="bindist? ( !openssl )"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Lori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 21:03 UTC by Dmitri Bogomolov
Modified: 2013-02-06 15:24 UTC (History)
2 users (show)

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


Attachments
vpnc-0.5.3_p514.ebuild.diff (vpnc-0.5.3_p514.ebuild.diff,709 bytes, text/plain)
2012-03-12 21:03 UTC, Dmitri Bogomolov
Details
vpnc-0.5.3_p514.ebuild.patch (vpnc-0.5.3_p514.ebuild.patch,610 bytes, patch)
2012-03-12 21:09 UTC, Dmitri Bogomolov
Details | Diff
vpnc-0.5.3_p514.ebuild.patch (vpnc-0.5.3_p514.ebuild.patch,610 bytes, patch)
2012-03-12 21:14 UTC, Dmitri Bogomolov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2012-03-12 21:03:20 UTC
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.
Comment 1 Dmitri Bogomolov 2012-03-12 21:09:04 UTC
Created attachment 305037 [details, diff]
vpnc-0.5.3_p514.ebuild.patch

Sorry, this one.
Comment 2 Dmitri Bogomolov 2012-03-12 21:14:56 UTC
Created attachment 305041 [details, diff]
vpnc-0.5.3_p514.ebuild.patch

); this
Comment 3 Martin Mokrejš 2012-03-14 17:14:50 UTC
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
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-02-06 15:24:48 UTC
+  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
+