Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504942 - net-misc/strongswan missing USE flags for plugins
Summary: net-misc/strongswan missing USE flags for plugins
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2014-03-18 08:37 UTC by Enrico Tagliavini
Modified: 2021-05-31 20:52 UTC (History)
2 users (show)

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

patch for strongswan-5.2.0-r1.ebuild (file_504942.txt,2.59 KB, patch)
2014-08-17 20:45 UTC, Jason Zaman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Tagliavini 2014-03-18 08:37:45 UTC
Strongswan has an horde of optional plugins, as can bee seen in [1]. Most, if not all, of them are not enabled by default. A possible solution is to add a USE flag for each plugin. An alternative can be to give a USE flag only to main plugins and hide all other behind an "extra" USE flag or something like this.


Reproducible: Always

Steps to Reproduce:
1. Try to use the (ssh-)agent plugin or unity plugin
2. Connection will fail because the plugin is missing
Comment 1 Jason Zaman gentoo-dev 2014-08-17 20:45:45 UTC
Created attachment 383046 [details, diff]
patch for strongswan-5.2.0-r1.ebuild

How about something like this?

I have added a USE_EXPAND for strongswan_plugins. It works for me but I have not tested unbound (dont use it) nor padlock (I dont have the crypto processor).
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-09-13 14:18:05 UTC
Fixed in 5.2.0-r1 , thanks for helping :)
Comment 3 Jason Zaman gentoo-dev 2014-09-14 14:42:56 UTC

This has been added to the ebuild but the strongswan_plugins has not been added as a USE_EXPAND variable.
it needs to be added to profiles/base/make.defaults.

At the bottom on:

Comment 4 SpanKY gentoo-dev 2014-10-18 05:59:04 UTC
Commit message: Add USE=gmp to control the gmp plugin