package/strongswan: fix broken dependency relation
authorMartin Elshuber <martin.elshuber@theobroma-systems.com>
Mon, 13 Sep 2021 14:26:50 +0000 (16:26 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 18 Sep 2021 21:06:44 +0000 (23:06 +0200)
commit363613a698ab1c6bab6b000e964f9c68ba4a552d
tree8db8b8978c93c518d36028f9f8bc3a628ea8f0e3
parentdeb6389ea7c47f646eae218c1eac1d015492864f
package/strongswan: fix broken dependency relation

The AKA backend for 3GPP2 requires libgmp (see
https://wiki.strongswan.org/projects/strongswan/wiki/Autoconf). Since
the AKA backend for 3GPP2 is included by BR2_PACKAGE_STRONGSWAN_EAP,
when selecting a crypto backend different from
BR2_PACKAGE_STRONGSWAN_GMP, there is no guarantee the gmp package is
selected as well. When doing so, make fails since the package is in the
dependency chain but not selected:

  $ make
  Makefile:585: *** gmp is in the dependency chain of strongswan that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.
  make: *** [Makefile:23: _all] Error 2

To fix this, select BR2_PACKAGE_GMP when selecting BR2_PACKAGE_STRONGSWAN_EAP.

Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/strongswan/Config.in