NetBSD/usr.sbin/pkg_install
hubertf 648fa44a28 Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading:
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.
2001-03-18 03:20:28 +00:00
..
add Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading: 2001-03-18 03:20:28 +00:00
admin Add -V option to all pkgtools, which reports the version of the pkgtools. 2001-03-05 16:53:12 +00:00
create Add -V option to all pkgtools, which reports the version of the pkgtools. 2001-03-05 16:53:12 +00:00
delete Add -V option to all pkgtools, which reports the version of the pkgtools. 2001-03-05 16:53:12 +00:00
info Fix -r: Show REQ/+REQUIRE file for a package, if existing. Fixes pkg/12210. 2001-03-10 18:41:45 +00:00
lib Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading: 2001-03-18 03:20:28 +00:00
Makefile convert to using .WAIT 2001-01-09 03:13:39 +00:00
Makefile.inc Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
README Add -V option to all pkgtools, which reports the version of the pkgtools. 2001-03-05 16:53:12 +00:00
tkpkg Silly as it may be, update the #! line in this script to match the pkgsrc 2000-09-14 18:00:44 +00:00

# $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.