mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: [ptxdist] [PATCH v2 1/1] boost: Rework version and add matching CPE identfiers
Date: Mon, 21 Sep 2026 12:47:55 +0200	[thread overview]
Message-ID: <20260921104755.534119-2-ada@thorsis.com> (raw)
In-Reply-To: <20260921104755.534119-1-ada@thorsis.com>

The version format with dots is the one matched by CPE.  This way it is
not necessary to override with <PKG>_CVE_VERSION.  The dotted variant is
also better suited in SBOM for later use in CVE scanning tools.  Bonus:
the changed download URL has less HTTP redirects.

Link: https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:boost:boost
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---

Notes:
    v2:
    - set version to the dotted variant and use subst on the filename instead
    - extended commit message

 rules/boost.make | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rules/boost.make b/rules/boost.make
index a3b453efb..013351972 100644
--- a/rules/boost.make
+++ b/rules/boost.make
@@ -15,15 +15,16 @@ PACKAGES-$(PTXCONF_BOOST) += boost
 #
 # Paths and names
 #
-BOOST_VERSION	:= 1_89_0
+BOOST_VERSION	:= 1.89.0
 BOOST_SHA256	:= 85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a
-BOOST		:= boost_$(BOOST_VERSION)
+BOOST		:= boost_$(subst .,_,$(BOOST_VERSION))
 BOOST_SUFFIX	:= tar.bz2
-BOOST_URL	:= $(call ptx/mirror, SF, boost/$(BOOST).$(BOOST_SUFFIX))
+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
 
 # ----------------------------------------------------------------------------
 # Prepare
-- 
2.47.3




      reply	other threads:[~2026-09-21 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 10:47 [ptxdist] [PATCH v2 0/1] Add matching CPE identifiers Alexander Dahl via ptxdist
2026-09-21 10:47 ` Alexander Dahl via ptxdist [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=20260921104755.534119-2-ada@thorsis.com \
    --to=ptxdist@pengutronix.de \
    --cc=ada@thorsis.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