diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-03-16 20:45:44 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-03-17 15:39:01 -0700 |
commit | 73e5fb5f4c243c4f07d69b5aef466395e42f38a0 (patch) | |
tree | 2251a605ca3d6ef595ac4a7c85e3faf104f6af14 | |
parent | dda3e09e5bab1e8e17631024814ae92502998deb (diff) | |
download | meta-security-73e5fb5f4c243c4f07d69b5aef466395e42f38a0.tar.gz |
tpm2-pkcs11: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-pkcs11/files/bootstrap_fixup.patch | 12 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb | 21 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/bootstrap_fixup.patch b/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/bootstrap_fixup.patch new file mode 100644 index 0000000..d38e237 --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/bootstrap_fixup.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Upstream-Status: OE specific | ||
2 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
3 | |||
4 | Index: git/bootstrap | ||
5 | =================================================================== | ||
6 | --- git.orig/bootstrap | ||
7 | +++ git/bootstrap | ||
8 | @@ -27,4 +27,3 @@ echo "Generating file lists: ${VARS_FILE | ||
9 | ) > ${VARS_FILE} | ||
10 | |||
11 | mkdir -p m4 | ||
12 | -${AUTORECONF} --install --sym $@ | ||
diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb new file mode 100644 index 0000000..c24fd8f --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_0.9.9.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "A PKCS#11 interface for TPM2 hardware" | ||
2 | DESCRIPTION = "PKCS #11 is a Public-Key Cryptography Standard that defines a standard method to access cryptographic services from tokens/ devices such as hardware security modules (HSM), smart cards, etc. In this project we intend to use a TPM2 device as the cryptographic token." | ||
3 | SECTION = "security/tpm" | ||
4 | LICENSE = "BSD-2-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b748af41ef1300c98e105b3b7ec4ecc1" | ||
6 | |||
7 | DEPENDS = "autoconf-archive pkgconfig dstat sqlite3 openssl libtss2-dev tpm2.0-tools" | ||
8 | |||
9 | SRC_URI = "git://github.com/tpm2-software/tpm2-pkcs11.git \ | ||
10 | file://bootstrap_fixup.patch \ | ||
11 | " | ||
12 | |||
13 | SRCREV = "3107d89b406ecd9c007884613733c9a344ef6d39" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit autotools-brokensep pkgconfig | ||
18 | |||
19 | do_configure_prepend () { | ||
20 | ${S}/bootstrap | ||
21 | } | ||