diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2024-12-26 17:31:16 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-12-26 11:12:37 -0800 |
commit | 30580f909a545389a041740295693457c4333e41 (patch) | |
tree | b57293c96c3f18eaec8f4d2ab0116802d8d85b7d /meta-networking/recipes-support | |
parent | a3c4d70afb542e08ec69572b4d249091e8f557be (diff) | |
download | meta-openembedded-30580f909a545389a041740295693457c4333e41.tar.gz |
strongswan: upgrade 5.9.14 -> 6.0.0
ChangeLog:
https://github.com/strongswan/strongswan/releases/tag/6.0.0
The aes, curve25519, des, fips-prf, gmp, hmac, md5, pkcs12, rc2, sha1,
sha2 plugins are not enabled by default[1]. Remove these plugins from
RDEPENDS and add PACKAGECONFIG for them.
[1] https://github.com/strongswan/strongswan/blob/6.0.0/NEWS#L38
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_6.0.0.bb (renamed from meta-networking/recipes-support/strongswan/strongswan_5.9.14.bb) | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.9.14.bb b/meta-networking/recipes-support/strongswan/strongswan_6.0.0.bb index 2e2da8274b..5cf456990b 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.9.14.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_6.0.0.bb | |||
@@ -11,7 +11,7 @@ DEPENDS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', ' tpm2-tss', | |||
11 | SRC_URI = "https://download.strongswan.org/strongswan-${PV}.tar.bz2 \ | 11 | SRC_URI = "https://download.strongswan.org/strongswan-${PV}.tar.bz2 \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "728027ddda4cb34c67c4cec97d3ddb8c274edfbabdaeecf7e74693b54fc33678" | 14 | SRC_URI[sha256sum] = "72fe58b7523155703b65b08c3cc559c2c9a5c96da54afebd8136f6623e7dda82" |
15 | 15 | ||
16 | UPSTREAM_CHECK_REGEX = "strongswan-(?P<pver>\d+(\.\d+)+)\.tar" | 16 | UPSTREAM_CHECK_REGEX = "strongswan-(?P<pver>\d+(\.\d+)+)\.tar" |
17 | 17 | ||
@@ -22,24 +22,33 @@ EXTRA_OECONF = " \ | |||
22 | 22 | ||
23 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 23 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
24 | 24 | ||
25 | PACKAGECONFIG ?= "curl gmp openssl sqlite3 swanctl curve25519\ | 25 | PACKAGECONFIG ?= "curl openssl sqlite3 swanctl \ |
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-charon', 'charon', d)} \ | 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-charon', 'charon', d)} \ |
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'tpm2', '', d)} \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imc imc-hcd imc-os imc-scanner imc-attestation', '', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imc imc-hcd imc-os imc-scanner imc-attestation', '', d)} \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imv imv-hcd imv-os imv-scanner imv-attestation', '', d)} \ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'tnc-imv imv-hcd imv-os imv-scanner imv-attestation', '', d)} \ |
30 | " | 30 | " |
31 | 31 | ||
32 | PACKAGECONFIG[aes] = "--enable-aes,--disable-aes,,${PN}-plugin-aes" | ||
32 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni" | 33 | PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni" |
33 | PACKAGECONFIG[bfd] = "--enable-bfd-backtraces,--disable-bfd-backtraces,binutils" | 34 | PACKAGECONFIG[bfd] = "--enable-bfd-backtraces,--disable-bfd-backtraces,binutils" |
34 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," | 35 | PACKAGECONFIG[charon] = "--enable-charon,--disable-charon," |
35 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,${PN}-plugin-curl" | 36 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,${PN}-plugin-curl" |
37 | PACKAGECONFIG[des] = "--enable-des,--disable-des,,${PN}-plugin-des" | ||
36 | PACKAGECONFIG[eap-identity] = "--enable-eap-identity,--disable-eap-identity,,${PN}-plugin-eap-identity" | 38 | PACKAGECONFIG[eap-identity] = "--enable-eap-identity,--disable-eap-identity,,${PN}-plugin-eap-identity" |
37 | PACKAGECONFIG[eap-mschapv2] = "--enable-eap-mschapv2,--disable-eap-mschapv2,,${PN}-plugin-eap-mschapv2" | 39 | PACKAGECONFIG[eap-mschapv2] = "--enable-eap-mschapv2,--disable-eap-mschapv2,,${PN}-plugin-eap-mschapv2" |
40 | PACKAGECONFIG[fips-prf] = "--enable-fips-prf,--disable-fips-prf,,${PN}-plugin-fips-prf" | ||
38 | PACKAGECONFIG[gmp] = "--enable-gmp,--disable-gmp,gmp,${PN}-plugin-gmp" | 41 | PACKAGECONFIG[gmp] = "--enable-gmp,--disable-gmp,gmp,${PN}-plugin-gmp" |
42 | PACKAGECONFIG[hmac] = "--enable-hmac,--disable-hmac,,${PN}-plugin-hmac" | ||
39 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap,${PN}-plugin-ldap" | 43 | PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap,${PN}-plugin-ldap" |
44 | PACKAGECONFIG[md5] = "--enable-md5,--disable-md5,,${PN}-plugin-md5" | ||
40 | PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5,${PN}-plugin-mysql" | 45 | PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5,${PN}-plugin-mysql" |
41 | PACKAGECONFIG[nm] = "--enable-nm,--disable-nm,networkmanager,${PN}-nm" | 46 | PACKAGECONFIG[nm] = "--enable-nm,--disable-nm,networkmanager,${PN}-nm" |
42 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl,${PN}-plugin-openssl" | 47 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl,${PN}-plugin-openssl" |
48 | PACKAGECONFIG[pkcs12] = "--enable-pkcs12,--disable-pkcs12,,${PN}-plugin-pkcs12" | ||
49 | PACKAGECONFIG[rc2] = "--enable-rc2,--disable-rc2,,${PN}-plugin-rc2" | ||
50 | PACKAGECONFIG[sha1] = "--enable-sha1,--disable-sha1,,${PN}-plugin-sha1" | ||
51 | PACKAGECONFIG[sha2] = "--enable-sha2,--disable-sha2,,${PN}-plugin-sha2" | ||
43 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4,${PN}-plugin-soup" | 52 | PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4,${PN}-plugin-soup" |
44 | PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3,${PN}-plugin-sqlite" | 53 | PACKAGECONFIG[sqlite3] = "--enable-sqlite,--disable-sqlite,sqlite3,${PN}-plugin-sqlite" |
45 | PACKAGECONFIG[stroke] = "--enable-stroke,--disable-stroke,,${PN}-plugin-stroke" | 54 | PACKAGECONFIG[stroke] = "--enable-stroke,--disable-stroke,,${PN}-plugin-stroke" |
@@ -144,34 +153,23 @@ PACKAGESPLITFUNCS:prepend = "split_strongswan_plugins " | |||
144 | # Install some default plugins based on default strongSwan ./configure options | 153 | # Install some default plugins based on default strongSwan ./configure options |
145 | # See https://wiki.strongswan.org/projects/strongswan/wiki/Pluginlist | 154 | # See https://wiki.strongswan.org/projects/strongswan/wiki/Pluginlist |
146 | RDEPENDS:${PN} += "\ | 155 | RDEPENDS:${PN} += "\ |
147 | ${PN}-plugin-aes \ | ||
148 | ${PN}-plugin-attr \ | 156 | ${PN}-plugin-attr \ |
149 | ${PN}-plugin-cmac \ | 157 | ${PN}-plugin-cmac \ |
150 | ${PN}-plugin-constraints \ | 158 | ${PN}-plugin-constraints \ |
151 | ${PN}-plugin-des \ | ||
152 | ${PN}-plugin-dnskey \ | 159 | ${PN}-plugin-dnskey \ |
153 | ${PN}-plugin-drbg \ | 160 | ${PN}-plugin-drbg \ |
154 | ${PN}-plugin-fips-prf \ | ||
155 | ${PN}-plugin-gcm \ | ||
156 | ${PN}-plugin-hmac \ | ||
157 | ${PN}-plugin-kdf \ | 161 | ${PN}-plugin-kdf \ |
158 | ${PN}-plugin-kernel-netlink \ | 162 | ${PN}-plugin-kernel-netlink \ |
159 | ${PN}-plugin-md5 \ | ||
160 | ${PN}-plugin-mgf1 \ | ||
161 | ${PN}-plugin-nonce \ | 163 | ${PN}-plugin-nonce \ |
162 | ${PN}-plugin-pem \ | 164 | ${PN}-plugin-pem \ |
163 | ${PN}-plugin-pgp \ | 165 | ${PN}-plugin-pgp \ |
164 | ${PN}-plugin-pkcs1 \ | 166 | ${PN}-plugin-pkcs1 \ |
165 | ${PN}-plugin-pkcs7 \ | 167 | ${PN}-plugin-pkcs7 \ |
166 | ${PN}-plugin-pkcs8 \ | 168 | ${PN}-plugin-pkcs8 \ |
167 | ${PN}-plugin-pkcs12 \ | ||
168 | ${PN}-plugin-pubkey \ | 169 | ${PN}-plugin-pubkey \ |
169 | ${PN}-plugin-random \ | 170 | ${PN}-plugin-random \ |
170 | ${PN}-plugin-rc2 \ | ||
171 | ${PN}-plugin-resolve \ | 171 | ${PN}-plugin-resolve \ |
172 | ${PN}-plugin-revocation \ | 172 | ${PN}-plugin-revocation \ |
173 | ${PN}-plugin-sha1 \ | ||
174 | ${PN}-plugin-sha2 \ | ||
175 | ${PN}-plugin-socket-default \ | 173 | ${PN}-plugin-socket-default \ |
176 | ${PN}-plugin-sshkey \ | 174 | ${PN}-plugin-sshkey \ |
177 | ${PN}-plugin-updown \ | 175 | ${PN}-plugin-updown \ |