Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "The tpm2-tss-engine project implements a cryptographic engine for OpenSSL." |
| 2 | DESCRIPTION = "The tpm2-tss-engine project implements a cryptographic engine for OpenSSL for Trusted Platform Module (TPM 2.0) using the tpm2-tss software stack that follows the Trusted Computing Groups (TCG) TPM Software Stack (TSS 2.0). It uses the Enhanced System API (ESAPI) interface of the TSS 2.0 for downwards communication. It supports RSA decryption and signatures as well as ECDSA signatures." |
| 3 | |
Andrew Geissler | 064f75b | 2020-06-27 00:14:46 -0500 | [diff] [blame] | 4 | LICENSE = "BSD-3-Clause" |
Andrew Geissler | 9d3cc05 | 2021-03-31 13:36:22 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b3ab643b9ce041de515d1ed092a36d4" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | |
| 7 | SECTION = "security/tpm" |
| 8 | |
| 9 | DEPENDS = "autoconf-archive-native bash-completion libtss2 libgcrypt openssl" |
| 10 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 11 | SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz" |
| 12 | |
| 13 | SRC_URI[sha256sum] = "ea2941695ac221d23a7f3e1321140e75b1495ae6ade876f2f4c2ed807c65e2a5" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame^] | 15 | UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" |
| 16 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 17 | inherit autotools-brokensep pkgconfig systemd |
| 18 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 19 | # It uses the API deprecated since the OpenSSL 3.0 |
| 20 | CFLAGS:append = ' -Wno-deprecated-declarations -Wno-unused-parameter' |
| 21 | |
| 22 | do_configure:prepend() { |
| 23 | # do not extract the version number from git |
| 24 | sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac |
| 25 | } |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | |
| 27 | PACKAGES += "${PN}-engines ${PN}-engines-staticdev ${PN}-bash-completion" |
| 28 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 29 | FILES:${PN}-dev = "${libdir}/engines-3/tpm2tss.so ${includedir}/*" |
| 30 | FILES:${PN}-engines = "${libdir}/engines-3/lib*.so*" |
| 31 | FILES:${PN}-engines-staticdev = "${libdir}/engines-3/libtpm2tss.a" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions" |