Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548212 - net-misc/strongswan - missing ttls option
Summary: net-misc/strongswan - missing ttls option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-30 08:44 UTC by Alarig Le Lay
Modified: 2018-09-02 19:24 UTC (History)
3 users (show)

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


Attachments
/usr/local/portage/net-misc/strongswan/strongswan-5.2.2.ebuild with eap-ttls (file_548212.txt,9.44 KB, text/plain)
2015-04-30 08:44 UTC, Alarig Le Lay
Details
Patch to enable eap-ttls (file_548212.txt,419 bytes, patch)
2017-05-23 10:18 UTC, James Masson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alarig Le Lay 2015-04-30 08:44:02 UTC
Created attachment 402278 [details]
/usr/local/portage/net-misc/strongswan/strongswan-5.2.2.ebuild with eap-ttls

Hi,

I just noticed that the --enable-eap-ttls option is missing in the
strongswan ebuild:
	$ grep ttls /usr/portage/net-misc/strongswan/strongswan-5.*.ebuild
	$ 

This is resulting in missing files for ttls:
	$ equery files net-misc/strongswan | grep eap-ttls
	$ 

I just add this option in my ebuild and now I have the files for ttls:
	$ diff /usr/local/portage/net-misc/strongswan/strongswan-5.2.2.ebuild /usr/portage/net-misc/strongswan/strongswan-5.2.2.ebuild 
	163d162
	< 		$(use_enable eap eap-ttls) \
	$ equery files net-misc/strongswan | grep eap-ttls
	/etc/strongswan.d/charon/eap-ttls.conf
	/usr/lib64/ipsec/plugins/libstrongswan-eap-ttls.so
	/usr/share/strongswan/templates/config/plugins/eap-ttls.conf

I don’t know if it’s important for you but here is the complete output
of emerge: https://paste.swordarmor.fr/raw/Quco

Regards,
-- 
Alarig Le Lay
Comment 1 James Masson 2017-05-23 10:18:07 UTC
I can confirm this bug - seems the option is missing in both the versions available in portage.

I've attached a patch for 5.3.4
Comment 2 James Masson 2017-05-23 10:18:59 UTC
Created attachment 473844 [details, diff]
Patch to enable eap-ttls
Comment 3 Larry the Git Cow gentoo-dev 2018-09-02 19:24:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04bad22fe2e92f90cf9800043c1d68f80679b3a9

commit 04bad22fe2e92f90cf9800043c1d68f80679b3a9
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-09-02 18:56:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-09-02 19:23:50 +0000

    net-vpn/strongswan: bump to v5.6.3
    
    - EAPI bumped to EAPI=7.
    
    - Enable "eap-ttls" when USE=eap is set. [Bug 548212]
    
    - USE=strongswan_plugins_forecast added. [Bug 582444]
    
    - USE=systemd added to allow building of charon-systemd. [Bug 631748]
    
    - USE=strongswan_plugins_chapoly and USE=strongswan_plugins_newhope added.
      [Bug 643978]
    
    Closes: https://bugs.gentoo.org/548212
    Closes: https://bugs.gentoo.org/582444
    Closes: https://bugs.gentoo.org/631748
    Closes: https://bugs.gentoo.org/643978
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-vpn/strongswan/Manifest                |   1 +
 net-vpn/strongswan/metadata.xml            |   5 +
 net-vpn/strongswan/strongswan-5.6.3.ebuild | 303 +++++++++++++++++++++++++++++
 3 files changed, 309 insertions(+)