From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Stefan Berger <stefanb@linux.ibm.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 3/3] package/swtpm: add host package
Date: Fri, 17 May 2024 21:23:46 +0200 [thread overview]
Message-ID: <ZkeuwstEmdZjIC3h@landeda> (raw)
In-Reply-To: <20240517173140.24531-4-jarkko@kernel.org>
Jarkko, All,
On 2024-05-17 20:31 +0300, Jarkko Sakkinen spake thusly:
> 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>
> ---
[--SNIP--]
> diff --git a/package/swtpm/Config.in.host b/package/swtpm/Config.in.host
> new file mode 100644
> index 0000000000..79a9aa28af
> --- /dev/null
> +++ b/package/swtpm/Config.in.host
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_HOST_SWTPM
> + bool "host swtpm"
> + select BR2_PACKAGE_LIBTOOL
host-swtpm is a host package, so it should not select target packages,
like libtool. And the host variant for libtool has no Kconfig symbol.
> + 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
> diff --git a/package/swtpm/swtpm.hash b/package/swtpm/swtpm.hash
> new file mode 100644
> index 0000000000..934d3b6ee0
> --- /dev/null
> +++ b/package/swtpm/swtpm.hash
> @@ -0,0 +1,2 @@
> +sha256 b281b4e8c39f68e1928675f788abc70072e4081152e129144359a8c5c304c06b swtpm-0.8.2.tar.gz
> +sha256 19d27d6e96d07022e5e688f75c974f1ceb9aae9e90e0fccae68666d02099cc4b LICENSE
> diff --git a/package/swtpm/swtpm.mk b/package/swtpm/swtpm.mk
> new file mode 100644
> index 0000000000..1d42d72e71
> --- /dev/null
> +++ b/package/swtpm/swtpm.mk
> @@ -0,0 +1,23 @@
> +################################################################################
> +#
> +# swtpm
> +#
> +################################################################################
> +
> +SWTPM_VERSION = 0.8.2
> +SWTPM_SITE = $(call github,stefanberger,swtpm,v$(SWTPM_VERSION))
> +SWTPM_LICENSE = BSD-4-Clause
> +SWTPM_LICENSE_FILES = LICENSE
> +SWTPM_AUTORECONF = YES
# Straight out of the git repository
SWTPM_AUTORECONF = YES
Almost there! ;-)
Regards,
Yann E. MORIN.
> +HOST_SWTPM_DEPENDENCIES = \
> + host-json-glib \
> + host-libopenssl \
> + host-libtasn1 \
> + host-libtool \
> + host-libtpms \
> + host-pkgconf
> +
> +HOST_SWTPM_CONF_OPTS = --with-openssl --without-seccomp
> +
> +$(eval $(host-autotools-package))
> --
> 2.45.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-05-17 19:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 17:31 [Buildroot] [PATCH v2 0/3] swtpm and libtpms host packages Jarkko Sakkinen
2024-05-17 17:31 ` [Buildroot] [PATCH v2 1/3] package/json-glib: add host build Jarkko Sakkinen
2024-05-17 18:35 ` Yann E. MORIN
2024-05-17 17:31 ` [Buildroot] [PATCH v2 2/3] package/libtpms: add host package Jarkko Sakkinen
2024-05-17 18:44 ` Yann E. MORIN
2024-05-17 17:31 ` [Buildroot] [PATCH v2 3/3] package/swtpm: " Jarkko Sakkinen
2024-05-17 19:23 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZkeuwstEmdZjIC3h@landeda \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=jarkko@kernel.org \
--cc=stefanb@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox