5.2.0: Removing gnuTls from curl plugin for yocto based strongswan implementation
I am starting from a bitbake file located at https://git.congatec.com/yocto/meta-openembedded/blob/778ddba7010febf0b5c8029f09e83a3288eaa18b/meta-networking/recipes-support/strongswan/strongswan_5.2.0.bb for Windriver linux and currently only intend to use ipsec feature. It will also use CRL fetch feature over http for which I will need the curl plugin.
However when strongswan is included as a package, it includes gnutls, openssl and a bunch of other stuff (ca-certificates) that I can't seem to remove through proper compile time configuration. I looked at the autoconf and am trying different options to reduce the footprint of entire strongswan package that gets included in Windriver.
Is there any recommendation on configure option in 5.2.0 version that I can use to remove the above packages?
#1 Updated by Tobias Brunner over 3 years ago
- Status changed from New to Feedback
- Priority changed from High to Normal
Just remove the stuff you don't need from the file (like
--enable-openssl). And you might want to look into what other packages have dependencies on gnutls or ca-certificates as strongSwan certainly doesn't (and that bb file also has no direct dependency on either). Maybe libcurl does.