BOMTOOL(1)
π BOMTOOL π
okay bestie, so this is the manual page for bomtool β it lives in the General Commands Manual section of the manual, and it's about to become your new fave. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
bomtool β a tool for generating SPDX-based software bills of material
π¦ SYNOPSIS π¦
bomtool [options] module ...
πΈ DESCRIPTION πΈ
so like, bomtool is a program which generates a textual SPDX 2.0 software bill of materials (SBOM) for a given set of pkg-config modules. the output of this tool can then be translated into other SBOM formats as necessary. it's giving β¨supply chain transparencyβ¨, no cap.
The options are as follows:
--aboutβ Print the version number, the Copyright notice, and the license of thebomtoolprogram to standard output and exit. Most other options and all command line arguments are ignored. she said "not today, I'm doing my own thing π "--versionβ Print the version number of thebomtoolprogram to standard output and exit. Most other options and all command line arguments are ignored. same energy, smaller fit.--define-variable=varname=valueβ Define varname as value. Variables are used in query output, and some modules' results may change based on the presence of a variable definition. lowkey powerful.--creation-time timeβ Use time as the value of theCreatedfield in the generated SBOM instead of the current time. SPDX recommends using an ISO 8601-formatted time, which is:YYYY-MM-DDThh:mm:ssZ. This takes precedence over theSOURCE_DATE_EPOCHenvironment variable. main character time stamp, honestly.--output fileβ Write the generated SBOM to file instead of standard output. redirecting but make it ~intentional~ π
π ENVIRONMENT π
PKG_CONFIG_DEBUG_SPEWβ If set, print debugging messages tostderr. she's loud and she's proud π£οΈPKG_CONFIG_IGNORE_CONFLICTSβ If set, ignoreConflictsrules in modules. Has the same effect as the--ignore-conflictsoption inpkgconf(1).PKG_CONFIG_LIBDIRβ A colon-separated list of low-priority directories wherepc(5)files are looked up. The module search path is constructed by appending this list toPKG_CONFIG_PATH, which enjoys higher priority. IfPKG_CONFIG_LIBDIRis not defined, the default list compiled into thebomtoolprogram from thePKG_DEFAULT_PATHpreprocessor macro is appended instead. IfPKG_CONFIG_LIBDIRis defined but empty, nothing is appended. (yes, empty and unset are two different girls π)PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTHβ Impose a limit on the allowed depth in the dependency graph. bestie said "know your limits".PKG_CONFIG_PATHβ A colon-separated list of high-priority directories wherepc(5)files are looked up.PKG_CONFIG_PRELOADED_FILESβ Colon-separated list ofpc(5)files which are loaded before any other pkg-config files. These packages are given highest priority over any otherpc(5)files that would otherwise provide a given package. front of the line privileges, periodt.SOURCE_DATE_EPOCHβ If set, and the--creation-timeoption is not given, theCreatedfield in the generated SBOM is derived from this UNIX timestamp instead of the current time, allowing for reproducible SBOM generation. iconic reproducible-queen behaviour π₯
π EXIT STATUS π
The bomtool utility exits 0 on success, and >0 if an error occurs.
π§ EXAMPLES π§
Generating an SBOM for the package named foo:
$ bomtool foo
SPDXVersion: SPDX-2.2
DataLicense: CC0-1.0
SPDXID: SPDXRef-DOCUMENT
DocumentName: SBOM-SPDX-fooC641.2.3
DocumentNamespace: https://spdx.org/spdxdocs/bomtool
Creator: Tool: bomtool
[...]
look at her go. ate and left no crumbs π β¨
π SEE ALSO π
fr fr, that's the whole page. go generate some SBOMs, bestie, you got this π«Ά
this cutie dropped from Debian, dated June 24, 2026 β mwah, love that for her ππ
π¦ where this page comes from
- arch rolling: pkgconf 3.0.10-1 Β· ISC
- arch rolling: pkgconf 3.0.7-1
- Copyright (c) 2025 pkgconf authors (see AUTHORS)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms