diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-10-14 17:29:57 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-10-15 21:15:03 -0700 |
commit | 0a07bf8046d0686554433980b31c22aecc69cef4 (patch) | |
tree | 0f2172108d3ebfdd1e8f43d02dfe0ce8fa216f8f | |
parent | 02b62b859d2137346eaf7549cf000210227ef53c (diff) | |
download | meta-security-0a07bf8046d0686554433980b31c22aecc69cef4.tar.gz |
tpm2-pkcs11: update to 1.4.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-pkcs11/files/0001-remove-local-binary-checkes.patch | 77 | ||||
-rw-r--r-- | meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.4.0.bb (renamed from meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.3.0.bb) | 7 |
2 files changed, 82 insertions, 2 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/0001-remove-local-binary-checkes.patch b/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/0001-remove-local-binary-checkes.patch new file mode 100644 index 0000000..9d3f073 --- /dev/null +++ b/meta-tpm/recipes-tpm2/tpm2-pkcs11/files/0001-remove-local-binary-checkes.patch | |||
@@ -0,0 +1,77 @@ | |||
1 | From 9e3ef6f253f9427596baf3e7d748a79854cadfa9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Armin Kuster <akuster808@gmail.com> | ||
3 | Date: Wed, 14 Oct 2020 08:55:33 -0700 | ||
4 | Subject: [PATCH] remove local binary checkes | ||
5 | |||
6 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
7 | |||
8 | Upsteam-Status: Inappropriate | ||
9 | These are only needed to run on the tartget so we add an RDPENDS. | ||
10 | Not needed for building. | ||
11 | |||
12 | --- | ||
13 | configure.ac | 48 ------------------------------------------------ | ||
14 | 1 file changed, 48 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 50e7d4b..2b9abcf 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -219,54 +219,6 @@ AX_PROG_JAVAC() | ||
21 | AX_PROG_JAVA() | ||
22 | m4_popdef([AC_MSG_ERROR]) | ||
23 | |||
24 | -AC_CHECK_PROG([tpm2_createprimary], [tpm2_createprimary], [yes], [no]) | ||
25 | - AS_IF([test "x$tpm2_createprimary" != "xyes"], | ||
26 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_createprimary, but executable not found.])]) | ||
27 | - | ||
28 | -AC_CHECK_PROG([tpm2_create], [tpm2_create], [yes], [no]) | ||
29 | - AS_IF([test "x$tpm2_create" != "xyes"], | ||
30 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_create, but executable not found.])]) | ||
31 | - | ||
32 | -AC_CHECK_PROG([tpm2_evictcontrol], [tpm2_evictcontrol], [yes], [no]) | ||
33 | - AS_IF([test "x$tpm2_evictcontrol" != "xyes"], | ||
34 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_evictcontrol, but executable not found.])]) | ||
35 | - | ||
36 | -AC_CHECK_PROG([tpm2_readpublic], [tpm2_readpublic], [yes], [no]) | ||
37 | - AS_IF([test "x$tpm2_readpublic" != "xyes"], | ||
38 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_readpublic, but executable not found.])]) | ||
39 | - | ||
40 | -AC_CHECK_PROG([tpm2_load], [tpm2_load], [yes], [no]) | ||
41 | - AS_IF([test "x$tpm2_load" != "xyes"], | ||
42 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_load, but executable not found.])]) | ||
43 | - | ||
44 | -AC_CHECK_PROG([tpm2_loadexternal], [tpm2_loadexternal], [yes], [no]) | ||
45 | - AS_IF([test "x$tpm2_loadexternal" != "xyes"], | ||
46 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_loadexternal, but executable not found.])]) | ||
47 | - | ||
48 | -AC_CHECK_PROG([tpm2_unseal], [tpm2_unseal], [yes], [no]) | ||
49 | - AS_IF([test "x$tpm2_unseal" != "xyes"], | ||
50 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_unseal, but executable not found.])]) | ||
51 | - | ||
52 | -AC_CHECK_PROG([tpm2_encryptdecrypt], [tpm2_encryptdecrypt], [yes], [no]) | ||
53 | - AS_IF([test "x$tpm2_encryptdecrypt" != "xyes"], | ||
54 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_encryptdecrypt, but executable not found.])]) | ||
55 | - | ||
56 | -AC_CHECK_PROG([tpm2_sign], [tpm2_sign], [yes], [no]) | ||
57 | - AS_IF([test "x$tpm2_sign" != "xyes"], | ||
58 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_sign, but executable not found.])]) | ||
59 | - | ||
60 | -AC_CHECK_PROG([tpm2_getcap], [tpm2_getcap], [yes], [no]) | ||
61 | - AS_IF([test "x$tpm2_getcap" != "xyes"], | ||
62 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_getcap, but executable not found.])]) | ||
63 | - | ||
64 | -AC_CHECK_PROG([tpm2_import], [tpm2_import], [yes], [no]) | ||
65 | - AS_IF([test "x$tpm2_import" != "xyes"], | ||
66 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_import, but executable not found.])]) | ||
67 | - | ||
68 | -AC_CHECK_PROG([tpm2_changeauth], [tpm2_changeauth], [yes], [no]) | ||
69 | - AS_IF([test "x$tpm2_changeauth" != "xyes"], | ||
70 | - [AC_MSG_ERROR([tpm2_ptool requires tpm2_changeauth, but executable not found.])]) | ||
71 | - | ||
72 | AC_DEFUN([integration_test_checks], [ | ||
73 | |||
74 | PKG_CHECK_MODULES([OPENSC_PKCS11],[opensc-pkcs11],, | ||
75 | -- | ||
76 | 2.17.1 | ||
77 | |||
diff --git a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.3.0.bb b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.4.0.bb index ce2dac0..4865733 100644 --- a/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.3.0.bb +++ b/meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.4.0.bb | |||
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fc19f620a102768d6dbd1e7166e78ab" | |||
7 | DEPENDS = "autoconf-archive pkgconfig dstat sqlite3 openssl libtss2-dev tpm2-tools libyaml" | 7 | DEPENDS = "autoconf-archive pkgconfig dstat sqlite3 openssl libtss2-dev tpm2-tools libyaml" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/tpm2-software/tpm2-pkcs11.git;branch=1.X \ | 9 | SRC_URI = "git://github.com/tpm2-software/tpm2-pkcs11.git;branch=1.X \ |
10 | file://bootstrap_fixup.patch " | 10 | file://bootstrap_fixup.patch \ |
11 | file://0001-remove-local-binary-checkes.patch" | ||
11 | 12 | ||
12 | SRCREV = "8d8f137f65f1d61d66cc191947b59c378f23e97d" | 13 | SRCREV = "78bbf6a0237351830d0c3923b25ba0b57ae0b7e9" |
13 | 14 | ||
14 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
15 | 16 | ||
@@ -18,3 +19,5 @@ inherit autotools-brokensep pkgconfig | |||
18 | do_configure_prepend () { | 19 | do_configure_prepend () { |
19 | ${S}/bootstrap | 20 | ${S}/bootstrap |
20 | } | 21 | } |
22 | |||
23 | RDEPNDS_${PN} = "tpm2-tools" | ||