Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504942

Summary: net-misc/strongswan missing USE flags for plugins
Product: Gentoo Linux Reporter: Enrico Tagliavini <enrico.tagliavini>
Component: Current packagesAssignee: Dennis Eisele <kernlpanic>
Status: CONFIRMED ---    
Severity: normal CC: gurligebis, perfinion, proxy-maint, rndxelement
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.strongswan.org/projects/strongswan/wiki/PluginList
See Also: https://bugs.gentoo.org/show_bug.cgi?id=481740
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for strongswan-5.2.0-r1.ebuild

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