www.LinuxHowtos.org
BOMTOOL
Section: User Commands (1)Index Return to Main Contents
BSD mandoc
NAME
bomtool - a tool for generating SPD-based software bills of materialSYNOPSIS
[options ] module ...DESCRIPTION
is a program which generates a textual SPDX 2.0 software bill of materials (SBOM) for a given set of pk-config modules. The output of this tool can then be translated into other SBOM formats as necessary.The options are as follows:
- --about
- Print the version number, the Copyright notice, and the license of the program to standard output and exit. Most other options and all command line arguments are ignored.
- --version
- Print the version number of the program to standard output and exit. Most other options and all command line arguments are ignored.
ENVIRONMENT
- PKG_CONFIG_DEBUG_SPEW
- If set, print debugging messages to stderr.
- PKG_CONFIG_IGNORE_CONFLICTS
- If set, ignore Conflicts rules in modules. Has the same effect as the --ignor-conflicts option in pkgconf(1)
- PKG_CONFIG_LIBDIR
- A colo-separated list of lo-priority directories where pc(5) files are looked up. The module search path is constructed by appending this list to PKG_CONFIG_PATH which enjoys higher priority. If PKG_CONFIG_LIBDIR is not defined, the default list compiled into the program from the PKG_DEFAULT_PATH preprocessor macro is appended instead. If PKG_CONFIG_LIBDIR is defined but empty, nothing is appended.
- PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH
- Impose a limit on the allowed depth in the dependency graph.
- PKG_CONFIG_PATH
- A colo-separated list of hig-priority directories where pc(5) files are looked up.
- PKG_CONFIG_PRELOADED_FILES
- Colo-separated list of pc(5) files which are loaded before any other pk-config files. These packages are given highest priority over any other pc(5) files that would otherwise provide a given package.
EXIT STATUS
Ex -stdEXAMPLES
Generating an SBOM for the package named foo:$ bomtool foo
SPDXVersion: SPD-2.2
DataLicense: CC-1.0
SPDXID: SPDXRe-DOCUMENT
DocumentName: SBO-SPD-fooC641.2.3
DocumentNamespace: https://spdx.org/spdxdocs/bomtoo-2.4.3
Creator: Tool: bomtool 2.4.3
[...]
SEE ALSO
pc(5), pkgconf(1)