Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/rust: add CPE_ID_VENDOR
@ 2025-07-28 10:29 Titouan Christophe via buildroot
  2025-07-28 20:45 ` Thomas Petazzoni via buildroot
  2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
  0 siblings, 2 replies; 6+ messages in thread
From: Titouan Christophe via buildroot @ 2025-07-28 10:29 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan

This gives a proper cpe-id string to the Rust buildroot package

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
---
 package/rust/rust.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/rust/rust.mk b/package/rust/rust.mk
index 22f3ca1455..d1298f5d3c 100644
--- a/package/rust/rust.mk
+++ b/package/rust/rust.mk
@@ -11,6 +11,7 @@ RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz
 RUST_SITE = https://static.rust-lang.org/dist
 RUST_LICENSE = Apache-2.0 or MIT
 RUST_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+RUST_CPE_ID_VENDOR = "rust-lang"
 
 HOST_RUST_PROVIDES = host-rustc
 
-- 
2.50.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH] package/rust: add CPE_ID_VENDOR
  2025-07-28 10:29 [Buildroot] [PATCH] package/rust: add CPE_ID_VENDOR Titouan Christophe via buildroot
@ 2025-07-28 20:45 ` Thomas Petazzoni via buildroot
  2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-07-28 20:45 UTC (permalink / raw)
  To: Titouan Christophe via buildroot; +Cc: Titouan Christophe, Eric Le Bihan

Hello Titouan,

On Mon, 28 Jul 2025 12:29:56 +0200
Titouan Christophe via buildroot <buildroot@buildroot.org> wrote:

> This gives a proper cpe-id string to the Rust buildroot package
> 
> Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>

We typically want some kind of proof/evidence that this string is
correct, like:

    package/python-future: add CPE identifier
    
    The cpe:2.3:a:pythoncharmers:python-future:*:*:*:*:*:*:*:* is
    valid for this package.
    
    See https://nvd.nist.gov/products/cpe/detail/6E3F033B-5565-461B-8450-D23E68419313

> +RUST_CPE_ID_VENDOR = "rust-lang"

Doubles quotes around the variable value are not needed.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2] package/rust: add CPE_ID_VENDOR
  2025-07-28 10:29 [Buildroot] [PATCH] package/rust: add CPE_ID_VENDOR Titouan Christophe via buildroot
  2025-07-28 20:45 ` Thomas Petazzoni via buildroot
@ 2025-07-29  9:47 ` Titouan Christophe via buildroot
  2025-07-29 12:20   ` Thomas Petazzoni via buildroot
                     ` (2 more replies)
  1 sibling, 3 replies; 6+ messages in thread
From: Titouan Christophe via buildroot @ 2025-07-29  9:47 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan, Thomas Petazzoni

This gives a proper cpe-id string to the Rust buildroot package,
as it can be found in the NVD database:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:rust-lang:rust

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
---
Changes v1->v2:
    - Add link to CPE listing on NVD
    - Remove useless quotes in Make variable
---
 package/rust/rust.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/rust/rust.mk b/package/rust/rust.mk
index 22f3ca1455..9999475c35 100644
--- a/package/rust/rust.mk
+++ b/package/rust/rust.mk
@@ -11,6 +11,7 @@ RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz
 RUST_SITE = https://static.rust-lang.org/dist
 RUST_LICENSE = Apache-2.0 or MIT
 RUST_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+RUST_CPE_ID_VENDOR = rust-lang
 
 HOST_RUST_PROVIDES = host-rustc
 
-- 
2.50.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2] package/rust: add CPE_ID_VENDOR
  2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
@ 2025-07-29 12:20   ` Thomas Petazzoni via buildroot
  2025-07-29 23:40   ` Julien Olivain via buildroot
  2025-08-07 18:24   ` Thomas Perale via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-07-29 12:20 UTC (permalink / raw)
  To: Titouan Christophe; +Cc: buildroot, Eric Le Bihan

On Tue, 29 Jul 2025 11:47:32 +0200
Titouan Christophe <titouan.christophe@mind.be> wrote:

> This gives a proper cpe-id string to the Rust buildroot package,
> as it can be found in the NVD database:
> https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:rust-lang:rust
> 
> Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>

Thanks for the updated version:

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2] package/rust: add CPE_ID_VENDOR
  2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
  2025-07-29 12:20   ` Thomas Petazzoni via buildroot
@ 2025-07-29 23:40   ` Julien Olivain via buildroot
  2025-08-07 18:24   ` Thomas Perale via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-29 23:40 UTC (permalink / raw)
  To: Titouan Christophe; +Cc: buildroot, Eric Le Bihan, Thomas Petazzoni

On 29/07/2025 11:47, Titouan Christophe via buildroot wrote:
> This gives a proper cpe-id string to the Rust buildroot package,
> as it can be found in the NVD database:
> https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:rust-lang:rust
> 
> Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2] package/rust: add CPE_ID_VENDOR
  2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
  2025-07-29 12:20   ` Thomas Petazzoni via buildroot
  2025-07-29 23:40   ` Julien Olivain via buildroot
@ 2025-08-07 18:24   ` Thomas Perale via buildroot
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Perale via buildroot @ 2025-08-07 18:24 UTC (permalink / raw)
  To: Titouan Christophe; +Cc: Thomas Perale, buildroot

In reply of:
> This gives a proper cpe-id string to the Rust buildroot package,
> as it can be found in the NVD database:
> https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:rust-lang:rust
> 
> Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>

Applied to 2025.02.x & 2025.05.x. Thanks

> ---
> Changes v1->v2:
>     - Add link to CPE listing on NVD
>     - Remove useless quotes in Make variable
> ---
>  package/rust/rust.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/rust/rust.mk b/package/rust/rust.mk
> index 22f3ca1455..9999475c35 100644
> --- a/package/rust/rust.mk
> +++ b/package/rust/rust.mk
> @@ -11,6 +11,7 @@ RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz
>  RUST_SITE = https://static.rust-lang.org/dist
>  RUST_LICENSE = Apache-2.0 or MIT
>  RUST_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
> +RUST_CPE_ID_VENDOR = rust-lang
>  
>  HOST_RUST_PROVIDES = host-rustc
>  
> -- 
> 2.50.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-07 18:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 10:29 [Buildroot] [PATCH] package/rust: add CPE_ID_VENDOR Titouan Christophe via buildroot
2025-07-28 20:45 ` Thomas Petazzoni via buildroot
2025-07-29  9:47 ` [Buildroot] [PATCH v2] " Titouan Christophe via buildroot
2025-07-29 12:20   ` Thomas Petazzoni via buildroot
2025-07-29 23:40   ` Julien Olivain via buildroot
2025-08-07 18:24   ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox