From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 23 Apr 2026 09:50:13 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFopB-00FPmD-2Z for lore@lore.pengutronix.de; Thu, 23 Apr 2026 09:50:13 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1wFopB-0005wu-LL; Thu, 23 Apr 2026 09:50:13 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1wFooz-0005wa-K3; Thu, 23 Apr 2026 09:50:01 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFooz-006nIy-1P; Thu, 23 Apr 2026 09:50:01 +0200 Received: from sha by pty.whiteo.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1wFooz-0000000ASUL-1S68; Thu, 23 Apr 2026 09:50:01 +0200 Date: Thu, 23 Apr 2026 09:50:01 +0200 From: Sascha Hauer To: ptxdist@pengutronix.de Message-ID: References: <20260422-code-signing-provider-v1-0-ce986114c54d@pengutronix.de> <20260422-code-signing-provider-v1-2-ce986114c54d@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260422-code-signing-provider-v1-2-ce986114c54d@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 2/3] Add host-pkcs11-provider X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Wed, Apr 22, 2026 at 04:58:40PM +0200, Sascha Hauer wrote: > Add host-pkcs11-provider in preparation to add provider support to the > ptxdist code signing infrastructure. > > Signed-off-by: Sascha Hauer > --- > rules/host-pkcs11-provider.in | 10 ++++++++++ > rules/host-pkcs11-provider.make | 33 +++++++++++++++++++++++++++++++++ > 2 files changed, 43 insertions(+) > > diff --git a/rules/host-pkcs11-provider.in b/rules/host-pkcs11-provider.in > new file mode 100644 > index 000000000..7d37f401c > --- /dev/null > +++ b/rules/host-pkcs11-provider.in > @@ -0,0 +1,10 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_PKCS11_PROVIDER > + tristate > + default y if ALLYES > + select HOST_MESON > + select HOST_OPENSSL > + > + > +# vim: ft=kconfig tw=80 > diff --git a/rules/host-pkcs11-provider.make b/rules/host-pkcs11-provider.make > new file mode 100644 > index 000000000..658ee177d > --- /dev/null > +++ b/rules/host-pkcs11-provider.make > @@ -0,0 +1,33 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2026 by Sascha Hauer > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_PKCS11_PROVIDER) += host-pkcs11-provider > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +HOST_PKCS11_PROVIDER_CONF_ENV := \ > + $(HOST_ENV) > + > +# > +# meson > +# > +HOST_PKCS11_PROVIDER_CONF_TOOL := meson > +HOST_PKCS11_PROVIDER_CONF_OPT := \ > + $(HOST_MESON_OPT) > + > +$(STATEDIR)/host-pkcs11-provider.prepare: > + @$(call targetinfo) > + $(call world/prepare, HOST_PKCS11_PROVIDER) > + @$(call touch) These four lines can be removed, only had them for debugging and forgot to remove. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |