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
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).
Fixed in 5.2.0-r1 , thanks for helping :)
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!
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
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c904828baee73971e49ace6b99d6170778813330 commit c904828baee73971e49ace6b99d6170778813330 Author: Dennis Eisele <kernlpanic@dennis-eisele.de> AuthorDate: 2024-04-06 00:01:52 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2025-01-15 09:21:33 +0000 net-vpn/strongswan: add new use flags for plugins to ebuild Signed-off-by: Dennis Eisele <kernlpanic@dennis-eisele.de> Bug: https://bugs.gentoo.org/504942 Closes: https://github.com/gentoo/gentoo/pull/36129 Signed-off-by: Florian Schmaus <flow@gentoo.org> net-vpn/strongswan/metadata.xml | 54 +++++++++++++++++++++----- net-vpn/strongswan/strongswan-5.9.14-r1.ebuild | 10 +++-- 2 files changed, 51 insertions(+), 13 deletions(-)