diff options
Diffstat (limited to 'meta-oe/recipes-security/softhsm/softhsm_2.7.0.bb')
| -rw-r--r-- | meta-oe/recipes-security/softhsm/softhsm_2.7.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/softhsm/softhsm_2.7.0.bb b/meta-oe/recipes-security/softhsm/softhsm_2.7.0.bb new file mode 100644 index 0000000000..5d75cf0fb4 --- /dev/null +++ b/meta-oe/recipes-security/softhsm/softhsm_2.7.0.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "PKCS#11 HSM/Token Emulator" | ||
| 2 | HOMEPAGE = "https://www.opendnssec.org/softhsm/" | ||
| 3 | LICENSE = "BSD-2-Clause & ISC" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef3f77a3507c3d91e75b9f2bdaee4210" | ||
| 5 | |||
| 6 | DEPENDS = "sqlite3" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/softhsm/SoftHSMv2.git;protocol=https;branch=main;tag=${PV} \ | ||
| 9 | file://0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch \ | ||
| 10 | " | ||
| 11 | SRCREV = "13e6e86b83748fef74046dbf0c91f664b7acc1c3" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig siteinfo | ||
| 14 | |||
| 15 | EXTRA_OECONF += " --with-sqlite3=${STAGING_DIR_HOST}/usr" | ||
| 16 | EXTRA_OECONF += " --with-objectstore-backend-db" | ||
| 17 | EXTRA_OECONF += "${@oe.utils.conditional('SITEINFO_BITS', '64', ' --enable-64bit', '', d)}" | ||
| 18 | |||
| 19 | PACKAGECONFIG ?= "ecc eddsa pk11 openssl" | ||
| 20 | |||
| 21 | PACKAGECONFIG[npm] = ",--disable-non-paged-memory" | ||
| 22 | PACKAGECONFIG[ecc] = "--enable-ecc,--disable-ecc" | ||
| 23 | PACKAGECONFIG[gost] = "--enable-gost,--disable-gost" | ||
| 24 | PACKAGECONFIG[eddsa] = "--enable-eddsa, --disable-eddsa" | ||
| 25 | PACKAGECONFIG[fips] = "--enable-fips, --disable-fips" | ||
| 26 | PACKAGECONFIG[notvisable] = "--disable-visibility" | ||
| 27 | PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}/usr --with-crypto-backend=openssl, --without-openssl, openssl, openssl" | ||
| 28 | PACKAGECONFIG[botan] = "--with-botan=${STAGING_DIR_HOST}/usr --with-crypto-backend=botan, --without-botan, botan" | ||
| 29 | PACKAGECONFIG[migrate] = "--with-migrate" | ||
| 30 | PACKAGECONFIG[pk11] = "--enable-p11-kit --with-p11-kit=${datadir}/p11-kit/modules, --without-p11-kit, p11-kit, p11-kit" | ||
| 31 | |||
| 32 | FILES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'pk11', '${datadir}/p11-kit/modules/softhsm2.module', '', d)}" | ||
| 33 | |||
| 34 | RDEPENDS:${PN} = "sqlite3" | ||
| 35 | BBCLASSEXTEND = "native nativesdk" | ||
