mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] [PATCH 02/21] boost: Add matching CPE identfiers
Date: Fri, 18 Sep 2026 11:01:47 +0200	[thread overview]
Message-ID: <aqz9-4BLlO3VDKyR@pengutronix.de> (raw)
In-Reply-To: <20260916-shortage-evoke-e3f406644b3f@thorsis.com>

On Wed, Sep 16, 2026 at 03:53:38PM +0200, Alexander Dahl via ptxdist wrote:
> Hello,
> 
> Am Mon, Sep 14, 2026 at 02:12:48PM +0200 schrieb Alexander Dahl via ptxdist:
> > Link: https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:boost:boost
> > Signed-off-by: Alexander Dahl <ada@thorsis.com>
> > ---
> >  rules/boost.make | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/rules/boost.make b/rules/boost.make
> > index a3b453efb..fbf6b477c 100644
> > --- a/rules/boost.make
> > +++ b/rules/boost.make
> > @@ -24,6 +24,8 @@ BOOST_SOURCE	:= $(SRCDIR)/$(BOOST).$(BOOST_SUFFIX)
> >  BOOST_DIR	:= $(BUILDDIR)/$(BOOST)
> >  BOOST_LICENSE	:= BSL-1.0
> >  BOOST_LICENSE_FILES := file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c
> > +BOOST_CVE_PRODUCT := boost:boost
> > +BOOST_CVE_VERSION := $(subst _,.,$(BOOST_VERSION))
> 
> Maybe it's better to set BOOST_VERSION to the variant with dots like
> 1.89.0 and use `subst` for $(BOOST)?

I like that better. In general I think we should avoid having a different
version and CVE_VERSION if possible. I think the only exception should be
things like openssh where the version is split into two parts.

> This way file and folder names
> stay the same as before like 1_89_0 and the variant in the usual
> format with dots ends up in for example SBOM files?

I don't think the folder name really matters, but the source file name
should stay the same.

> An alternative section would look like this:
> 
>     BOOST_VERSION   := 1.89.0
>     BOOST_MD5       := e7414f68f1cb3fd834fc155c7a009aa6
>     BOOST           := boost_$(subst .,_,$(BOOST_VERSION))
>     BOOST_SUFFIX    := tar.bz2
>     BOOST_URL       := $(call ptx/mirror, SF, boost/$(BOOST_VERSION)/$(BOOST).$(BOOST_SUFFIX))
>     BOOST_SOURCE    := $(SRCDIR)/$(BOOST).$(BOOST_SUFFIX)
>     BOOST_DIR       := $(BUILDDIR)/$(BOOST)
>     BOOST_LICENSE   := BSL-1.0
>     BOOST_LICENSE_FILES := file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c
>     BOOST_CVE_PRODUCT := boost:boost
> 
> Note, we can add the subfolder in BOOST_URL now, one less redirect.

That is a nice side effect.

> Not sure if I thought about all implications though. ^^

I don't think there are any other relevant effects, so please send a patch
that changes the BOOST_VERSION instead.

Regards,
Michael

-- 
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 |



  reply	other threads:[~2026-09-18  9:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 12:12 [ptxdist] [PATCH 00/21] Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 01/21] at91bootstrap2: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 02/21] boost: Add matching CPE identfiers Alexander Dahl via ptxdist
2026-09-16 13:53   ` Alexander Dahl via ptxdist
2026-09-18  9:01     ` Michael Olbrich [this message]
2026-09-14 12:12 ` [ptxdist] [PATCH 03/21] bzip2: Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 04/21] coreutils: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 05/21] ethtool: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 06/21] fcgi: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 07/21] flex: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 08/21] iperf3: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 09/21] libarchive: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 10/21] libgmp: " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 11/21] libmodbus: Add " Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 12/21] libnl3: Reorder variables and re-add section header comment Alexander Dahl via ptxdist
2026-09-14 12:12 ` [ptxdist] [PATCH 13/21] libnl3: Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 14/21] libpopt: " Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 15/21] ncurses: " Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 16/21] nlohmann-json: " Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 17/21] openssl: Pin down CPE vendor Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 18/21] sudo: Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 19/21] u-boot: Add matching CPE identities Alexander Dahl via ptxdist
2026-09-14 12:13 ` [ptxdist] [PATCH 20/21] u-boot-tools: Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-19  7:32   ` Michael Olbrich
2026-09-14 12:13 ` [ptxdist] [PATCH 21/21] zlib: Pin down CPE vendor Alexander Dahl via ptxdist

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=aqz9-4BLlO3VDKyR@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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