mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/swtpm: add host package
The SWTPM package provides TPM emulators with different front-end interfaces to libtpms. TPM emulators provide socket interfaces (TCP/IP and Unix) and the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices. Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> [yann.morin.1998@free.fr: disable tests] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
b2eec8c626
commit
87b9b126d2
@@ -1519,6 +1519,7 @@ F: package/libvirt/
|
||||
N: Jarkko Sakkinen <jarkko@kernel.org>
|
||||
F: package/libtpms/
|
||||
F: package/quota/
|
||||
F: package/swtpm/
|
||||
|
||||
N: Jason Pruitt <jrspruitt@gmail.com>
|
||||
F: package/librtlsdr/
|
||||
|
||||
@@ -107,6 +107,7 @@ menu "Host utilities"
|
||||
source "package/starfive-spltool/Config.in.host"
|
||||
source "package/sunxi-tools/Config.in.host"
|
||||
source "package/swig/Config.in.host"
|
||||
source "package/swtpm/Config.in.host"
|
||||
source "package/swugenerator/Config.in.host"
|
||||
source "package/systemd/Config.in.host"
|
||||
source "package/tegrarcm/Config.in.host"
|
||||
|
||||
11
package/swtpm/Config.in.host
Normal file
11
package/swtpm/Config.in.host
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_SWTPM
|
||||
bool "host swtpm"
|
||||
help
|
||||
Compiles SWTPM software TPM emulator for the host.
|
||||
|
||||
The SWTPM package provides TPM emulators with different
|
||||
front-end interfaces to libtpms. TPM emulators provide socket
|
||||
interfaces (TCP/IP and Unix) and the Linux CUSE interface for
|
||||
the creation of multiple native /dev/vtpm* devices.
|
||||
|
||||
https://github.com/stefanberger/swtpm/wiki
|
||||
2
package/swtpm/swtpm.hash
Normal file
2
package/swtpm/swtpm.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
sha256 b281b4e8c39f68e1928675f788abc70072e4081152e129144359a8c5c304c06b swtpm-0.8.2.tar.gz
|
||||
sha256 19d27d6e96d07022e5e688f75c974f1ceb9aae9e90e0fccae68666d02099cc4b LICENSE
|
||||
28
package/swtpm/swtpm.mk
Normal file
28
package/swtpm/swtpm.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# swtpm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SWTPM_VERSION = 0.8.2
|
||||
SWTPM_SITE = $(call github,stefanberger,swtpm,v$(SWTPM_VERSION))
|
||||
SWTPM_LICENSE = BSD-4-Clause
|
||||
SWTPM_LICENSE_FILES = LICENSE
|
||||
|
||||
HOST_SWTPM_DEPENDENCIES = \
|
||||
host-json-glib \
|
||||
host-libopenssl \
|
||||
host-libtasn1 \
|
||||
host-libtool \
|
||||
host-libtpms \
|
||||
host-pkgconf
|
||||
|
||||
# Required because a plain Git clone is used:
|
||||
HOST_SWTPM_AUTORECONF = YES
|
||||
|
||||
HOST_SWTPM_CONF_OPTS = \
|
||||
--disable-tests \
|
||||
--with-openssl \
|
||||
--without-seccomp
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user