[Buildroot] [PATCH 1/1] package/libspdm: bump version to 3.3.0

Wilfred Mallawa wilfred.opensource at gmail.com
Sun Jun 2 23:33:17 UTC 2024


On Fri, 2024-05-31 at 16:03 +0200, Yann E. MORIN wrote:
> Wilfred, All,
> 
> On 2024-05-31 13:19 +1000, Wilfred Mallawa via buildroot spake
> thusly:
> > Add pending upstream patch that fixes the incorrect parsing of
> > certificates with `id-DMTF-hardware-identity OID` tags.
> > 
> > Signed-off-by: Wilfred Mallawa <wilfred.mallawa at wdc.com>
> [--SNIP--]
> > diff --git a/package/libspdm/libspdm.mk
> > b/package/libspdm/libspdm.mk
> > index 2ec35be0ac..341a98ebf5 100644
> > --- a/package/libspdm/libspdm.mk
> > +++ b/package/libspdm/libspdm.mk
> > @@ -4,7 +4,7 @@
> >  #
> >  ##################################################################
> > ##############
> >  
> > -LIBSPDM_VERSION = 3.2.0
> > +LIBSPDM_VERSION = 3.3.0
> >  LIBSPDM_SITE = $(call github,DMTF,libspdm,$(LIBSPDM_VERSION))
> >  LIBSPDM_LICENSE = BSD-3-Clause
> >  LIBSPDM_LICENSE_FILES = LICENSE.md
> > @@ -27,7 +27,9 @@ LIBSPDM_CONF_OPTS = \
> >  	-DCOMPILED_LIBSSL_PATH=/usr/lib/ \
> >  	-DDISABLE_TESTS=1 \
> >  	-DDISABLE_EDDSA=1 \
> > -	-DLINK_FLAGS=$(STAGING_DIR)
> > +	-DDISABLE_LTO=1 \
> > +	-DLINK_FLAGS=$(STAGING_DIR) \
> > +	-DCMAKE_C_FLAGS="-DLIBSPDM_ENABLE_CAPABILITY_EVENT_CAP=0"
> > ..
> 
> Why do you have to explicitly disable LTO?
Ah this is actually not required! I think this was from debugging an
issue for an ARM build. Will remove in V2. Thanks for pointing this
out.
> 
> Can you also explain in a few words what that new optoin
> LIBSPDM_ENABLE_CAPABILITY_EVENT_CAP=0 means?
This flag disables an SPDM feature called EVENTS, "The SPDM event
mechanism provides a framework for the asynchronous notification of
events over a secure session" - SPDM 1.3, 10.28.

However, it requires some additional functions to be implemented at
link time. So it is disabled for the time being, as it is an optional
feature.

> 
> Regards,
> Yann E. MORIN.
> 
> >  define LIBSPDM_INSTALL_STAGING_CMDS
> >  	mkdir -p $(STAGING_DIR)/usr/lib
> > -- 
> > 2.45.1
> > 
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
> 



More information about the buildroot mailing list