Skip to contentSkip to conversation

package/strongswan: fix build without eap-sim

PATCH Applied Fabrice Fontaine 2 participants 2 messages Oct 16, 2021 – Oct 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/strongswan: fix build without eap-sim

Build of eap-sim-file or eap-simaka-reauth fails without eap-sim since commit 89f20c1c3f9d667ec0a40bcfe17db94ff098e6c0:

make[6]: *** No rule to make target '../../../../src/libsimaka/libsimaka.la', needed by 'libstrongswan-eap-sim-file.la'. Stop.

make[6]: *** No rule to make target '../../../../src/libsimaka/libsimaka.la', needed by 'libstrongswan-eap-simaka-reauth.la'. Stop.

So select eap-sim or eap-aka if needed to enable build of simaka library

Fixes:
- http://autobuild.buildroot.org/results/0c550721c20946e5b9d07951a9698b88e9c53e7f
- http://autobuild.buildroot.org/results/354a022f789067edfe7ebd464991d1695a697a7a

---
 package/strongswan/Config.in | 9 +++++++++
 1 file changed, 9 insertions(+)
package/strongswan/Config.in +9 -0
index 4f02efb79d..23334470fd 100644
@@ -86,11 +86,13 @@ config BR2_PACKAGE_STRONGSWAN_EAP_SIM
 config BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE
 	bool "Enable EAP-SIM file backend"
 	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
 config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC
 	bool "Enable EAP-SIM smart card backend"
 	depends on !BR2_STATIC_LIBS # pcsc-lite
 	select BR2_PACKAGE_PCSC_LITE
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
 config BR2_PACKAGE_STRONGSWAN_EAP_AKA
 	bool "Enable EAP-AKA"
@@ -100,18 +102,25 @@ config BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2
 	bool "Enable EAP-AKA 3GPP2 algorithms"
 	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
 	select BR2_PACKAGE_GMP
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
 
 config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL
 	bool "Enable EAP-SIM/AKA backend based on a triplet/quintuplet SQL database"
 	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
 config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM
 	bool "Enable EAP-SIM/AKA pseudonym storage"
 	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
 config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH
 	bool "Enable EAP-SIM/AKA reauthentication data storage"
 	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
 config BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY
 	bool "Enable EAP-Identity"
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Fabrice Fontaine

Build of eap-sim-file or eap-simaka-reauth fails without eap-sim since commit 89f20c1c3f9d667ec0a40bcfe17db94ff098e6c0:

make[6]: *** No rule to make target '../../../../src/libsimaka/libsimaka.la', needed by 'libstrongswan-eap-sim-file.la'. Stop.

make[6]: *** No rule to make target '../../../../src/libsimaka/libsimaka.la', needed by 'libstrongswan-eap-simaka-reauth.la'. Stop.

Quoted 7 lines

So select eap-sim or eap-aka if needed to enable build of simaka library

Fixes:
- http://autobuild.buildroot.org/results/0c550721c20946e5b9d07951a9698b88e9c53e7f
- http://autobuild.buildroot.org/results/354a022f789067edfe7ebd464991d1695a697a7a

Applied to master, thanks.

Regards,
Arnout

Quoted 39 lines
---
  package/strongswan/Config.in | 9 +++++++++
  1 file changed, 9 insertions(+)
package/strongswan/Config.in +6 -0
index 4f02efb79d..23334470fd 100644
@@ -86,11 +86,13 @@ config BR2_PACKAGE_STRONGSWAN_EAP_SIM
  config BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE
  	bool "Enable EAP-SIM file backend"
  	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
  config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC
  	bool "Enable EAP-SIM smart card backend"
  	depends on !BR2_STATIC_LIBS # pcsc-lite
  	select BR2_PACKAGE_PCSC_LITE
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
  config BR2_PACKAGE_STRONGSWAN_EAP_AKA
  	bool "Enable EAP-AKA"
@@ -100,18 +102,25 @@ config BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2
  	bool "Enable EAP-AKA 3GPP2 algorithms"
  	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
  	select BR2_PACKAGE_GMP
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
 
  config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL
  	bool "Enable EAP-SIM/AKA backend based on a triplet/quintuplet SQL database"
  	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
  config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM
  	bool "Enable EAP-SIM/AKA pseudonym storage"
  	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA

package/strongswan/Config.in config BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2 · line 126

Quoted 10 lines
package/strongswan/Config.in +3 -0
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
  config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH
  	bool "Enable EAP-SIM/AKA reauthentication data storage"
  	default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy
+	select BR2_PACKAGE_STRONGSWAN_EAP_AKA
+	select BR2_PACKAGE_STRONGSWAN_EAP_SIM
 
  config BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY
  	bool "Enable EAP-Identity"

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot