diff options
| -rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb b/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb index 2b63d95665..0466b1d62f 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb | |||
| @@ -27,7 +27,10 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-syst | |||
| 27 | PACKAGECONFIG ?= "curl gmp openssl sqlite3 swanctl curve25519\ | 27 | PACKAGECONFIG ?= "curl gmp openssl sqlite3 swanctl curve25519\ |
| 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-charon', 'charon', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-charon', 'charon', d)} \ |
| 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2', '', d)} \ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2', '', d)} \ |
| 30 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imc imc-hcd imc-os imc-scanner imc-attestation', '', d)} \ | ||
| 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imv imv-hcd imv-os imv-scanner imv-attestation', '', d)} \ | ||
| 30 | " | 32 | " |
| 33 | |||
| 31 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni" | 34 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni" |
| 32 | PACKAGECONFIG[bfd] = "--enable-bfd-backtraces,--disable-bfd-backtraces,binutils" | 35 | PACKAGECONFIG[bfd] = "--enable-bfd-backtraces,--disable-bfd-backtraces,binutils" |
| 33 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," | 36 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," |
| @@ -51,6 +54,33 @@ PACKAGECONFIG[systemd-charon] = "--enable-systemd,--disable-systemd,systemd," | |||
| 51 | # tpm needs meta-tpm layer | 54 | # tpm needs meta-tpm layer |
| 52 | PACKAGECONFIG[tpm2] = "--enable-tpm,--disable-tpm,,${PN}-plugin-tpm" | 55 | PACKAGECONFIG[tpm2] = "--enable-tpm,--disable-tpm,,${PN}-plugin-tpm" |
| 53 | 56 | ||
| 57 | |||
| 58 | # integraty configuration needs meta-integraty | ||
| 59 | #imc | ||
| 60 | PACKAGECONFIG[tnc-imc] = "--enable-tnc-imc,--disable-tnc-imc,, ${PN}-plugin-tnc-imc ${PN}-plugin-tnc-tnccs" | ||
| 61 | PACKAGECONFIG[imc-test] = "--enable-imc-test,--disable-imc-test,," | ||
| 62 | PACKAGECONFIG[imc-scanner] = "--enable-imc-scanner,--disable-imc-scanner,," | ||
| 63 | PACKAGECONFIG[imc-os] = "--enable-imc-os,--disable-imc-os,," | ||
| 64 | PACKAGECONFIG[imc-attestation] = "--enable-imc-attestation,--disable-imc-attestation,," | ||
| 65 | PACKAGECONFIG[imc-swima] = "--enable-imc-swima, --disable-imc-swima, json-c," | ||
| 66 | PACKAGECONFIG[imc-hcd] = "--enable-imc-hcd, --disable-imc-hcd,," | ||
| 67 | |||
| 68 | #imv set | ||
| 69 | PACKAGECONFIG[tnc-imv] = "--enable-tnc-imv,--disable-tnc-imv,, ${PN}-plugin-tnc-imv ${PN}-plugin-tnc-tnccs" | ||
| 70 | PACKAGECONFIG[imv-test] = "--enable-imv-test,--disable-imv-test,," | ||
| 71 | PACKAGECONFIG[imv-scanner] = "--enable-imv-scanner,--disable-imv-scanner,," | ||
| 72 | PACKAGECONFIG[imv-os] = "--enable-imv-os,--disable-imv-os,," | ||
| 73 | PACKAGECONFIG[imv-attestation] = "--enable-imv-attestation,--disable-imv-attestation,," | ||
| 74 | PACKAGECONFIG[imv-swima] = "--enable-imv-swima, --disable-imv-swima, json-c," | ||
| 75 | PACKAGECONFIG[imv-hcd] = "--enable-imv-hcd, --disable-imv-hcd,," | ||
| 76 | |||
| 77 | PACKAGECONFIG[tnc-ifmap] = "--enable-tnc-ifmap,--disable-tnc-ifmap, libxml2, ${PN}-plugin-tnc-ifmap" | ||
| 78 | PACKAGECONFIG[tnc-pdp] = "--enable-tnc-pdp,--disable-tnc-pdp,, ${PN}-plugin-tnc-pdp" | ||
| 79 | |||
| 80 | PACKAGECONFIG[tnccs-11] = "--enable-tnccs-11,--disable-tnccs-11,libxml2, ${PN}-plugin-tnccs-11" | ||
| 81 | PACKAGECONFIG[tnccs-20] = "--enable-tnccs-20,--disable-tnccs-20,, ${PN}-plugin-tnccs-20" | ||
| 82 | PACKAGECONFIG[tnccs-dynamic] = "--enable-tnccs-dynamic,--disable-tnccs-dynamic,,${PN}-plugin-tnccs-dynamic" | ||
| 83 | |||
| 54 | inherit autotools systemd pkgconfig | 84 | inherit autotools systemd pkgconfig |
| 55 | 85 | ||
| 56 | RRECOMMENDS:${PN} = "kernel-module-ah4 \ | 86 | RRECOMMENDS:${PN} = "kernel-module-ah4 \ |
| @@ -68,6 +98,12 @@ CONFFILES:${PN} = "${sysconfdir}/*.conf ${sysconfdir}/ipsec.d/*.conf ${sysconfdi | |||
| 68 | PACKAGES += "${PN}-plugins" | 98 | PACKAGES += "${PN}-plugins" |
| 69 | ALLOW_EMPTY:${PN}-plugins = "1" | 99 | ALLOW_EMPTY:${PN}-plugins = "1" |
| 70 | 100 | ||
| 101 | PACKAGE_BEFORE_PN = "${PN}-imcvs ${PN}-imcvs-dbg" | ||
| 102 | ALLOW_EMPTY:${PN}-imcvs = "1" | ||
| 103 | |||
| 104 | FILES:${PN}-imcvs = "${libdir}/ipsec/imcvs/*.so" | ||
| 105 | FILES:${PN}-imcvs-dbg += "${libdir}/ipsec/imcvs/.debug" | ||
| 106 | |||
| 71 | PACKAGES_DYNAMIC += "^${PN}-plugin-.*$" | 107 | PACKAGES_DYNAMIC += "^${PN}-plugin-.*$" |
| 72 | NOAUTOPACKAGEDEBUG = "1" | 108 | NOAUTOPACKAGEDEBUG = "1" |
| 73 | 109 | ||
