Skip to content

Add PURL support

Thomas Perale via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7package/pkg-generic.mk: add PURL package variablepackage/pkg-generic.mk+53 -00 replies
2/7package/pkg-download: add 'owner' macropackage/pkg-download.mk+3 -00 replies
2/7package/pkg-download: add repository macropackage/pkg-download.mk+3 -00 replies
3/7package/pkg-golang: support PURL generationpackage/pkg-golang.mk+16 -00 replies
4/7package/pkg-cargo: support PURL generationpackage/pkg-cargo.mk+8 -00 replies
5/7package/pkg-perl: support PURL generationpackage/pkg-perl.mk+24 -00 replies
6/7package/pkg-python: support PURL generationpackage/pkg-python.mk+16 -00 replies
7/7package/pkg-utils: add PURL to show-info outputpackage/pkg-utils.mk utils/generate-cyclonedx+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/7] Add PURL support

This patch series add support for the PURL.

https://github.com/package-url/purl-spec

PURL are a software identifier similar to CPE.
More information on PURL can be found in the first patch of the series.

After testing the usage of PURL with DependencyTrack and
https://ossindex.sonatype.org I can see that it improves the tracking of CVEs and version bump. Since it's easy to automate the PURL generation in buildroot I wrote this patch that I use to add PURL to CycloneDX SBOM.

The series includes support for PURL for these 'ecosystems':
- pypi
- cargo
- cpan
- golang

The tracking of CPAN packages is not supported by OSSIndex but these changes were proposed by François Perrad in the following series:

https://lore.kernel.org/buildroot/[email protected]/

Thomas Perale (7):
package/pkg-generic.mk: add PURL package variable package/pkg-download: add 'owner' macro package/pkg-golang: support PURL generation package/pkg-cargo: support PURL generation package/pkg-perl: support PURL generation package/pkg-python: support PURL generation package/pkg-utils: add PURL to show-info output

 package/pkg-cargo.mk     |  8 ++++++
 package/pkg-download.mk  |  3 +++
 package/pkg-generic.mk   | 53 ++++++++++++++++++++++++++++++++++++++++
 package/pkg-golang.mk    | 16 ++++++++++++
 package/pkg-perl.mk      | 24 ++++++++++++++++++
 package/pkg-python.mk    | 16 ++++++++++++
 package/pkg-utils.mk     |  3 +++
 utils/generate-cyclonedx |  3 +++
 8 files changed, 126 insertions(+)
Signature · 6 lines
2.49.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot