diff options
author | jkh <jkh@FreeBSD.org> | 1995-04-09 15:05:01 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-04-09 15:05:01 +0000 |
commit | e8ff66af03039a32b2bdf2f4bba9843809a54cd2 (patch) | |
tree | f273cc944338bcf02c0c1057a024d5fdbf75658e /usr.bin/netstat | |
parent | dbdb475f26b4d6f6d822f6bc625b0a9fc81e4b4c (diff) | |
download | FreeBSD-src-e8ff66af03039a32b2bdf2f4bba9843809a54cd2.zip FreeBSD-src-e8ff66af03039a32b2bdf2f4bba9843809a54cd2.tar.gz |
Add true support for dependency lists.
1. pkg_create now has a -P argument for specifying dependencies on the
command line.
2. pkg_add will honor dependencies and chain-load them automatically if
it finds the required package(s) in the same directory as the package
that is being loaded. For best results, install packages from a directory
containing all the packages you'll possibly need
(like /usr/ports/packages/all).
2 remaining flaws:
1. pkg_add looks in one place (where you were when you loaded the primary
pkg) for depended packages. If you can come up with a search path scheme
that's not a total hack - be my guest!
2. Recursive dependency expansion can result in the name of a dep being
listed more than once. This doesn't bother pkg_add since it checks
for package existance with pkg_info and will skip already-loaded packages.
I don't know how/if pkg_delete handles this yet, however. I need to look
into it.
Diffstat (limited to 'usr.bin/netstat')
0 files changed, 0 insertions, 0 deletions