summaryrefslogtreecommitdiff
path: root/mk/bulk/tflat
AgeCommit message (Collapse)AuthorFilesLines
2005-10-26Use Perl-based tflat, which is up to 90% faster than the awk-based onetv1-150/+67
(necause it was forking off "sort" subprocesses on every package).
2005-03-24Correctly pass ${SORT} to tflat. Interix needs something other than thetv1-2/+2
OS-supplied one (currently, it will use gsort from coreutils).
2004-04-09Commentary cleanup:jschauma1-14/+16
- If it's a full sentence, start capitalize first letter and end with a period. - Break comments at ~80 chars so it fits into a terminal.[*] (* This should be done for the code as well, but then it'll need testing. I'll do this at another point in time.)
2004-01-30shut up a warning from gawk.grant1-2/+2
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam1-1/+1
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-07-25replace the -u and -d options to tflat with 'up' and 'down' as the formerdmcmahill1-8/+8
causes problems with some awks. Patch provided by Jonathan Perkin in PR pkg/22246
2003-07-11portability fixes:grant1-2/+1
quote a shell test, and run ${AWK} -f tflat instead of using #!/usr/bin/awk.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-5/+5
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.