ports-mgmt/pkg-graph: New port to visualize package dependencies

Sponsored by:	The FreeBSD Foundation

Differential Revision:	https://reviews.freebsd.org/D34003
This commit is contained in:
Joseph Mingrone 2022-01-21 23:41:17 -04:00
parent 1ea5aa93b9
commit 1c634c300b
No known key found for this signature in database
GPG key ID: 36A40C83B0D6EF9E
4 changed files with 56 additions and 0 deletions

View file

@ -25,6 +25,7 @@
SUBDIR += pchecker
SUBDIR += pkg
SUBDIR += pkg-devel
SUBDIR += pkg-graph
SUBDIR += pkg-provides
SUBDIR += pkg-rmleaf
SUBDIR += pkg_cleanup

View file

@ -0,0 +1,27 @@
PORTNAME= pkg-graph
DISTVERSION= g20180614
CATEGORIES= ports-mgmt
MAINTAINER= gnn@FreeBSD.org
COMMENT= Graphviz generator for pkg
LICENSE= BSD2CLAUSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= neosmart
GH_TAGNAME= 3b16898
CARGO_CRATES= dtoa-0.4.2 \
itoa-0.4.1 \
proc-macro2-0.4.6 \
quote-0.6.3 \
serde-1.0.66 \
serde_derive-1.0.66 \
serde_json-1.0.20 \
syn-0.14.2 \
unicode-xid-0.1.0
PLIST_FILES= bin/pkg-graph
.include <bsd.port.mk>

View file

@ -0,0 +1,21 @@
TIMESTAMP = 1642822353
SHA256 (rust/crates/dtoa-0.4.2.crate) = 09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab
SIZE (rust/crates/dtoa-0.4.2.crate) = 14227
SHA256 (rust/crates/itoa-0.4.1.crate) = c069bbec61e1ca5a596166e55dfe4773ff745c3d16b700013bcaff9a6df2c682
SIZE (rust/crates/itoa-0.4.1.crate) = 10563
SHA256 (rust/crates/proc-macro2-0.4.6.crate) = effdb53b25cdad54f8f48843d67398f7ef2e14f12c1b4cb4effc549a6462a4d6
SIZE (rust/crates/proc-macro2-0.4.6.crate) = 27767
SHA256 (rust/crates/quote-0.6.3.crate) = e44651a0dc4cdd99f71c83b561e221f714912d11af1a4dff0631f923d53af035
SIZE (rust/crates/quote-0.6.3.crate) = 14154
SHA256 (rust/crates/serde-1.0.66.crate) = e9a2d9a9ac5120e0f768801ca2b58ad6eec929dc9d1d616c162f208869c2ce95
SIZE (rust/crates/serde-1.0.66.crate) = 71947
SHA256 (rust/crates/serde_derive-1.0.66.crate) = 0a90213fa7e0f5eac3f7afe2d5ff6b088af515052cc7303bd68c7e3b91a3fb79
SIZE (rust/crates/serde_derive-1.0.66.crate) = 45894
SHA256 (rust/crates/serde_json-1.0.20.crate) = fc97cccc2959f39984524026d760c08ef0dd5f0f5948c8d31797dbfae458c875
SIZE (rust/crates/serde_json-1.0.20.crate) = 64905
SHA256 (rust/crates/syn-0.14.2.crate) = c67da57e61ebc7b7b6fff56bb34440ca3a83db037320b0507af4c10368deda7d
SIZE (rust/crates/syn-0.14.2.crate) = 133756
SHA256 (rust/crates/unicode-xid-0.1.0.crate) = fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc
SIZE (rust/crates/unicode-xid-0.1.0.crate) = 16000
SHA256 (neosmart-pkg-graph-g20180614-3b16898_GH0.tar.gz) = 1fa3f5247a5e8a2598a1d31528a788bd80e70c54064e924a2652f46e7f99f756
SIZE (neosmart-pkg-graph-g20180614-3b16898_GH0.tar.gz) = 4988

View file

@ -0,0 +1,7 @@
pkg-graph is a command-line utility to generate a dependency graph in
DOT syntax (for use with graphviz and others) to represent the
dependency tree of installed packages. It can be used to visually
analyze the package dependency chain and understand why certain packages
are pulled in.
WWW: https://github.com/neosmart/pkg-graph