package/libtpms: add host package

Libtpms is a library that targets the integration of TPM functionality
into hypervisors, primarily into Qemu. Libtpms provides a very narrow
public API for this purpose so that integration is possible. Only the
minimum of necessary APIs are made publicly available.

Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Jarkko Sakkinen 2024-06-06 02:35:02 +03:00 committed by Yann E. MORIN
parent 1608313eff
commit b2eec8c626
3 changed files with 21 additions and 0 deletions

View File

@ -1517,6 +1517,7 @@ N: Jared Bents <jared.bents@rockwellcollins.com>
F: package/libvirt/
N: Jarkko Sakkinen <jarkko@kernel.org>
F: package/libtpms/
F: package/quota/
N: Jason Pruitt <jrspruitt@gmail.com>

View File

@ -0,0 +1,2 @@
sha256 2807466f1563ebe45fdd12dd26e501e8a0c4fbb99c7c428fbb508789efd221c0 libtpms-0.9.6.tar.gz
sha256 82f1e6bae374bb6a9d4f4596767fd33e499718d560de140fd9f3d402cc5e41fb LICENSE

View File

@ -0,0 +1,18 @@
################################################################################
#
# libtpms
#
################################################################################
LIBTPMS_VERSION = 0.9.6
LIBTPMS_SITE = $(call github,stefanberger,libtpms,v$(LIBTPMS_VERSION))
LIBTPMS_LICENSE = BSD-4-Clause
LIBTPMS_LICENSE_FILES = LICENSE
LIBTPMS_INSTALL_STAGING = YES
# Required because a plain Git clone is used:
HOST_LIBTPMS_AUTORECONF = YES
HOST_LIBTPMS_DEPENDENCIES = host-pkgconf host-openssl
HOST_LIBTPMS_CONF_OPTS = --with-openssl -with-tpm2
$(eval $(host-autotools-package))