BSD Ports

pkgtools/depgraph 20260320 NetBSD

Print dependency graph for packages

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
pkgtools
Package size
5.6 KiB, 8.6 KiB installed

Description

This is depgraph, which prints a dependency graph of packages installed in a system, and can be used for reporting on individual packages, or on all user-installed -- see pkg_info(1) -- packages on a system. This is intended to aid in SBOM reporting.

% depgraph libxml2 libxml2 |--xmlcatmgr % depgraph -v libxml2 libxml2-2.14.6nb2 |--xmlcatmgr-2.2nb1 % depgraph -v -l libxml2 libxml2-2.14.6nb2 (modified-bsd) |--xmlcatmgr-2.2nb1 (modified-bsd) % depgraph -j libxml2 | jq . { "package": "libxml2", "prereq0": { "package": "xmlcatmgr" } } %

Install

Binary package:

pkgin install depgraph

From pkgsrc:

cd /usr/pkgsrc/pkgtools/depgraph && make install clean

Dependencies

No port depends on this one.