Update buildroot 2020.02.01 (#622)
* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
23
buildroot/package/tpm2-totp/Config.in
Normal file
23
buildroot/package/tpm2-totp/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_TPM2_TOTP
|
||||
bool "tpm2-totp"
|
||||
depends on !BR2_STATIC_LIBS # tpm2-tss
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM # glibc < 2.20
|
||||
select BR2_PACKAGE_LIBQRENCODE
|
||||
select BR2_PACKAGE_TPM2_TSS
|
||||
help
|
||||
This is a reimplementation of Matthew Garrett's tpmtotp
|
||||
software for TPM 2.0 using the tpm2-tss software stack. Its
|
||||
purpose is to attest the trustworthiness of a device against
|
||||
a human using time-based one-time passwords (TOTP),
|
||||
facilitating the Trusted Platform Module (TPM) to bind the
|
||||
TOTP secret to the known trustworthy system state. In
|
||||
addition to the original tpmtotp, given the new capabilities
|
||||
of in-TPM hmac calculation, the tpm2-totp's secret HMAC keys
|
||||
do not have to be exported from the TPM to the CPU's RAM on
|
||||
boot anymore.
|
||||
|
||||
https://github.com/tpm2-software/tpm2-totp
|
||||
|
||||
comment "tpm2-totp needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
|
||||
3
buildroot/package/tpm2-totp/tpm2-totp.hash
Normal file
3
buildroot/package/tpm2-totp/tpm2-totp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 0b2b63cc7ea74f5a6952f2cd689896c08f6b94ee6865f48af609f9a8ac247dc1 tpm2-totp-0.2.1.tar.gz
|
||||
sha256 67bc21a0bff2b0890307cfaa883bd3f5337f461eb6d8a612a015cea6d704e9ed LICENSE
|
||||
25
buildroot/package/tpm2-totp/tpm2-totp.mk
Normal file
25
buildroot/package/tpm2-totp/tpm2-totp.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# tpm2-totp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TPM2_TOTP_VERSION = 0.2.1
|
||||
TPM2_TOTP_SITE = https://github.com/tpm2-software/tpm2-totp/releases/download/v$(TPM2_TOTP_VERSION)
|
||||
TPM2_TOTP_LICENSE = BSD-3-Clause
|
||||
TPM2_TOTP_LICENSE_FILES = LICENSE
|
||||
TPM2_TOTP_DEPENDENCIES = libqrencode tpm2-tss host-pkgconf
|
||||
TPM2_TOTP_CONF_OPTS = \
|
||||
--disable-defaultflags \
|
||||
--disable-doxygen-doc \
|
||||
--disable-plymouth \
|
||||
--without-initramfstoolsdir \
|
||||
--without-mkinitcpiodir
|
||||
|
||||
# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used
|
||||
TPM2_TOTP_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
||||
|
||||
# do not build man pages
|
||||
TPM2_TOTP_CONF_ENV += ac_cv_path_PANDOC=''
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user