summaryrefslogtreecommitdiff
path: root/mk/bulk/tflat
AgeCommit message (Collapse)AuthorFilesLines
2002-10-06fix typo in comment and an error in the usage output (position ofdmcmahill1-3/+3
bar and libbar were swapped).
2001-02-20Fix typo in usage.wiz1-2/+2
2001-02-16Fix 2 typos in comments.wiz1-4/+4
2001-02-11finish incomplete sentence (who contributed the code)dmcmahill1-2/+2
2001-02-06fix a bug which causes a few pkgs to be dropped from the output ofdmcmahill1-7/+25
tflat -u. Causes by not fully initializing an array before looping over the array. Other minor code cleanup.
2001-02-02fix a bug which caused pkgs with no dependens to get dropped from the outputdmcmahill1-6/+13
when looking up the tree.
2001-01-28Initial commit.dmcmahill1-0/+178
tflat is a small awk script used to flatten a dependency tree. It can process a tsort(1) compatible input file and produce a flattened list showing all packages which depend on a particular package or all packages which are depended upon by a package. This is used by the bulk pkgsrc build system. Written by Dan McMahill after careful study of a perl program that does the same function in a nicer way written by Thomas Klausner <wiz@netbsd.org>. The reason for rewriting it without perl was to make it work with only in-tree utilities.