我已经用弃用的strongswan版本成功地编译了我的strongswan版本(使用笔划和charon)。现在尝试用swanctl配置它并启用charon-systemd插件,但没有得到与简单charon插件相同的功能,但徒劳无功
--without-lib-prefix " EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" #include pacakge name here if you want install it PACKAGECONFIG ??= "charon curl gmp openssl sqlite3 \ ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'systemd', 'swanctl', d)}" PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni," PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," PACKAGECONFIG[gmp] = "--enable-gmp,--disable-gmp,gmp," PACKAGECONFIG[vici] = "--enable-vici,--disable-vici,vici," PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap," PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5," PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl," PACKAGECONFIG[scep] = "--enable-scepclient,--disable-scepclient," PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4," PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3," PACKAGECONFIG[stroke] = "--enable-stroke,--disable-stroke," PACKAGECONFIG[swanctl] = "--enable-swanctl,--disable-swanctl,,libgcc" #requires swanctl PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" inherit autotools systemd pkgconfig RRECOMMENDS_${PN} = "kernel-module-ipsec" FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS} ${libdir}/ipsec/plugins/*.so" FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug" FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la ${libdir}/ipsec/plugins/*.la" FILES_${PN}-staticdev += "${libdir}/ipsec/*.a ${libdir}/ipsec/plugins/*.a"