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
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://wiki.strongswan.org/projects/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments
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.

[1] http://wiki.strongswan.org/projects/strongswan/wiki/PluginList

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
Hi,

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:
http://devmanual.gentoo.org/general-concepts/use-flags/

Thanks!
Comment 4 SpanKY gentoo-dev 2014-10-18 05:59:04 UTC
Commit message: Add USE=gmp to control the gmp plugin
http://sources.gentoo.org/net-misc/strongswan/strongswan-5.2.0-r1.ebuild?r1=1.1&r2=1.2