package/tpm2-openssl: new package
Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
23fd1f8554
commit
c624eee120
5 changed files with 41 additions and 0 deletions
|
|
@ -2834,6 +2834,7 @@ F: package/supertux/
|
|||
F: package/supertuxkart/
|
||||
F: package/terminology/
|
||||
F: package/tk/
|
||||
F: package/tpm2-openssl/
|
||||
F: package/upower/
|
||||
F: package/waffle/
|
||||
F: package/xenomai/
|
||||
|
|
|
|||
|
|
@ -1584,6 +1584,7 @@ menu "Crypto"
|
|||
source "package/pkcs11-helper/Config.in"
|
||||
source "package/rhash/Config.in"
|
||||
source "package/tinydtls/Config.in"
|
||||
source "package/tpm2-openssl/Config.in"
|
||||
source "package/tpm2-pkcs11/Config.in"
|
||||
source "package/tpm2-tss/Config.in"
|
||||
source "package/trousers/Config.in"
|
||||
|
|
|
|||
17
package/tpm2-openssl/Config.in
Normal file
17
package/tpm2-openssl/Config.in
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
config BR2_PACKAGE_TPM2_OPENSSL
|
||||
bool "tpm2-openssl"
|
||||
depends on !BR2_STATIC_LIBS # tpm2-tss
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_TPM2_TSS
|
||||
help
|
||||
Provider for integration of TPM 2.0 to OpenSSL 3.0.
|
||||
|
||||
tpm2-openssl is based on a major refactoring of the
|
||||
tpm2-tss-engine. The code is still there, but largely
|
||||
reshuffled to match the new OpenSSL API.
|
||||
|
||||
https://github.com/tpm2-software/tpm2-openssl
|
||||
|
||||
comment "tpm2-openssl needs a toolchain w/ dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/tpm2-openssl/tpm2-openssl.hash
Normal file
3
package/tpm2-openssl/tpm2-openssl.hash
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Locally computed:
|
||||
sha256 2ee15da2dceae1466ffba868e75a00b119d752babc1b6a2792286336a3324fb0 tpm2-openssl-1.2.0.tar.gz
|
||||
sha256 7ffba9d66226eb67abb9747ce1cd47477d566143a8ded597bbd974c6fb5fe9f5 LICENSE
|
||||
19
package/tpm2-openssl/tpm2-openssl.mk
Normal file
19
package/tpm2-openssl/tpm2-openssl.mk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
################################################################################
|
||||
#
|
||||
# tpm2-openssl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TPM2_OPENSSL_VERSION = 1.2.0
|
||||
TPM2_OPENSSL_SITE = https://github.com/tpm2-software/tpm2-openssl/releases/download/$(TPM2_OPENSSL_VERSION)
|
||||
TPM2_OPENSSL_LICENSE = BSD-3-Clause
|
||||
TPM2_OPENSSL_LICENSE_FILES = LICENSE
|
||||
TPM2_OPENSSL_INSTALL_STAGING = YES
|
||||
TPM2_OPENSSL_DEPENDENCIES = host-pkgconf openssl tpm2-tss
|
||||
|
||||
# Provide --with-modulesdir to avoid using abs_builddir and DESTDIR
|
||||
# (also defined as absolute path) at the same time to define modules
|
||||
# install path (am__installdirs).
|
||||
TPM2_OPENSSL_CONF_OPTS = --with-modulesdir="/usr/lib/ossl-modules"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Loading…
Add table
Reference in a new issue