The net-misc/strongswan ebuild is missing the option to compile EAP-TLS support. In the econf section in the ebuild the line $(use_enable eap eap-tls) \ should be added. Reproducible: Always
Created attachment 350936 [details] strongswan-5.0.4.ebuild with eap-tls enabled with eap flag This is my updated ebuild with the eap-tls option, i've been using it successfully since strongswan-5.0.3 without any problems.
Comment on attachment 350936 [details] strongswan-5.0.4.ebuild with eap-tls enabled with eap flag --- strongswan-5.0.4.ebuild 2013-05-12 17:43:30.042375792 +0200 +++ - 2013-06-15 16:49:08.007660670 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.0.4.ebuild,v 1.5 2013/05/11 11:18:38 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/strongswan/strongswan-5.0.4.ebuild,v 1.1 2013/04/09 22:13:24 gurligebis Exp $ EAPI=2 inherit eutils linux-info user @@ -11,7 +11,7 @@ LICENSE="GPL-2 RSA DES" SLOT="0" -KEYWORDS="amd64 arm ppc ~ppc64 x86" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" IUSE="+caps curl debug dhcp eap farp gcrypt ldap mysql +non-root +openssl sqlite pam" COMMON_DEPEND="!net-misc/openswan @@ -82,10 +82,6 @@ fi } -src_prepare() { - epatch_user -} - src_configure() { local myconf="" @@ -127,6 +123,7 @@ $(use_enable eap eap-aka-3gpp2) \ $(use_enable eap eap-mschapv2) \ $(use_enable eap eap-radius) \ + $(use_enable eap eap-tls) \ $(use_enable openssl) \ $(use_enable gcrypt) \ $(use_enable mysql) \ @@ -249,9 +246,10 @@ elog "user \"ipsec\" the appropriate rights." elog "For example (the default case):" elog "/etc/sudoers:" - elog " ipsec ALL=(ALL) NOPASSWD: SETENV: /usr/sbin/ipsec" + elog " Defaults:ipsec always_set_home,!env_reset" + elog " ipsec ALL=(ALL) NOPASSWD: /usr/sbin/ipsec" elog "Under the specific connection block in /etc/ipsec.conf:" - elog " leftupdown=\"sudo -E ipsec _updown iptables\"" + elog " leftupdown=\"sudo ipsec _updown\"" elog fi elog @@ -263,3 +261,4 @@ elog " http://wiki.strongswan.org/" elog } +
I have added it to 5.0.4-r1 :-)