1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/usr.sbin/pkg_install
Jordan K. Hubbard 6c5325bf0e 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.
1995-04-09 15:05:01 +00:00
..
add Add true support for dependency lists. 1995-04-09 15:05:01 +00:00
create Add true support for dependency lists. 1995-04-09 15:05:01 +00:00
delete Whoops! How embarassing. Just now noticed that I forget to update the .Os 1995-01-05 10:37:13 +00:00
info Whoops! How embarassing. Just now noticed that I forget to update the .Os 1995-01-05 10:37:13 +00:00
lib Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
+COMMENT Added files necessary for automating packing of distributions. 1993-10-10 20:24:47 +00:00
+CONTENTS Added files necessary for automating packing of distributions. 1993-10-10 20:24:47 +00:00
+DESC Added files necessary for automating packing of distributions. 1993-10-10 20:24:47 +00:00
Makefile Delete obsoleted *dist targets. 1994-09-13 10:20:37 +00:00
Makefile.inc Make this stop trying to go into /usr/local and inherit the settings 1994-09-13 10:20:02 +00:00
pkg Added Rich's wish front-end. 1993-09-04 17:06:09 +00:00
README Many of John T. Kohl's patches from NetBSD. Thanks, John! 1994-12-06 00:51:50 +00:00
tkpkg Many of John T. Kohl's patches from NetBSD. Thanks, John! 1994-12-06 00:51:50 +00:00

This is the pkg_install suite of tools for doing maintainance of
software "packages".  More documentation is available in the man pages
for each individual command.

This code was written by Jordan Hubbard for FreeBSD, snatched and
mildly reshaped by John Kohl in NetBSD and the changes taken back into
FreeBSD again by Jordan.  Whee! :-)