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
Assignee: Dennis Eisele
URL: http://wiki.strongswan.org/projects/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-18 08:37 UTC by Enrico Tagliavini
Modified: 2025-01-15 09:22 UTC (History)
4 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
Comment 5 Larry the Git Cow gentoo-dev 2025-01-15 09:22:54 UTC
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(-)