Commit graph

15 commits

Author SHA1 Message Date
tv
8365241b72 Use Perl-based tflat, which is up to 90% faster than the awk-based one
(necause it was forking off "sort" subprocesses on every package).
2005-10-26 16:54:04 +00:00
tv
432b696c8e Correctly pass ${SORT} to tflat. Interix needs something other than the
OS-supplied one (currently, it will use gsort from coreutils).
2005-03-24 16:47:34 +00:00
jschauma
2cca9690d9 Commentary cleanup:
- 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-04-09 18:43:14 +00:00
grant
226bb2c88f shut up a warning from gawk. 2004-01-30 11:10:47 +00:00
jlam
841b57441b Merge pkgviews-mk branch into the HEAD by running:
cd pkgsrc/mk
	cvs update -Pd -A
	cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-09-02 06:59:37 +00:00
dmcmahill
30b1a989cb replace the -u and -d options to tflat with 'up' and 'down' as the former
causes problems with some awks.  Patch provided by Jonathan Perkin in
PR pkg/22246
2003-07-25 11:29:33 +00:00
grant
58657ac9cf portability fixes:
quote a shell test, and run ${AWK} -f tflat instead of using
#!/usr/bin/awk.
2003-07-11 23:54:32 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
dmcmahill
b89364002b fix typo in comment and an error in the usage output (position of
bar and libbar were swapped).
2002-10-06 20:15:05 +00:00
wiz
05546b57c7 Fix typo in usage. 2001-02-20 17:08:53 +00:00
wiz
45e53b4367 Fix 2 typos in comments. 2001-02-16 12:58:57 +00:00
dmcmahill
7774f864f9 finish incomplete sentence (who contributed the code) 2001-02-11 17:07:34 +00:00
dmcmahill
f0bcd612c4 fix a bug which causes a few pkgs to be dropped from the output of
tflat -u.  Causes by not fully initializing an array before looping over
the array.

Other minor code cleanup.
2001-02-06 17:57:11 +00:00
dmcmahill
be6dc59837 fix a bug which caused pkgs with no dependens to get dropped from the output
when looking up the tree.
2001-02-02 18:18:17 +00:00
dmcmahill
2d077a7db7 Initial commit.
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.
2001-01-28 20:58:50 +00:00