Home | History | Annotate | Download | only in sets
History log of /src/distrib/sets/culldeps
RevisionDateAuthorComments
 1.6  08-Jan-2006  apb branches: 1.6.20;
Document input and output format for syspkgdeps and culldeps.

Approved by christos
 1.5  08-Jan-2006  apb When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos
 1.4  04-Jan-2006  apb . "${rundir}/sets.subr", overlooked in previous commit.
 1.3  03-Jan-2006  apb Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc
 1.2  03-Jan-2006  apb Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*. This is intended to be useful when cross
building. Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
 1.1  23-Jun-2003  dyoung For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
on directory containment. I.e., if package A contains
path /p/q, and package B contains path /p, then B is
considered a dependency of A. As Jim Wise remarks,
this is not quite right: system-package dependencies
should indicate a functional dependency. Nevertheless,
these naive dependencies protect us from orphaning
files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
from a dependencies table. Essentially does the opposite
of a transitive closure on a dependencies table: if
the table contains A depends-on B, B depends-on C, and
A depends-on C, then A depends-on C is removed because
it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
 1.6.20.1  05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed