648fa44a28
When invoked with 'pkg_add -u ...', and the package to be installed is found already being installed, the old (installed) package is removed with pkg_delete, and the new one is installed. A very crude handling of dependencies is done (by moving the +REQUIRED_BY file aside before pkg_delete, and back into place after the new pkg is installed). This needs a lot more work to TRT, but it's a first start. |
||
---|---|---|
.. | ||
add | ||
admin | ||
create | ||
delete | ||
info | ||
lib | ||
Makefile | ||
Makefile.inc | ||
README | ||
tkpkg |
# $NetBSD: README,v 1.5 2001/03/05 16:53:12 wiz Exp $ # Original from FreeBSD, no rcs id. 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, who then proceeded to add another couple of dozen features on top. Whee! :-) In another round of enhancements, NetBSD changes were added by Alistair Crooks and Hubert Feyrer, Thorsten Frueauf and Christian E. Hopps. When making snapshots, please increase PKGTOOLS_VERSION in lib/version.h to that day's date.