freebsd-ports/sysutils/portupgrade/pkg-descr
Akinori MUSHA 0d292eefc6 Update to 20011006 with many improvements.
Beware, there can probably be some bugs left in the new pkgdb code.
In such a case please run "pkgdb -fu" to fix the situation.

overall:

  Utilize pkgdb better and optimize.

portupgrade:

  Do not scan packages all at once when -P is given, but find one per
  request.  [Requested by: Hideaki OKADA <hokada@isl.melco.co.jp>]

  Create a backup package record in tmpdir instead of pkgdbdir, in
  order not to update pkgdbdir's mtime.

  Rephrase/add messages.

portinstall:

  Commit major changes and improvements over portinstall.

  Now it warns and asks the user for confirmation if a port is being
  installed when a package of the same origin is already installed.

  Upgrade all the required packages before installing a new port.
  [Requested by: Hajimu UMEMOTO <ume@mahoroba.org>]

  Do not install ports immediately but queue them up, then install
  them after upgrading all the specified and required packages.

pkgdb:

  Record pkgname <=> origin mapping in the pkgdb and make full use of
  it instead of repeatedly calling pkg_info -o which has undesirable
  overheads.

  Make portupgrade, pkg_deinstall update the pkgdb after they
  install/deinstall packages or modify package records.

  Integrate pkgdepfix(1) within. (pkgdb -F/--fix)

  Add -o/--origin, which looks up an origin of a package in pkgdb.

  Detect added/deleted/reinstalled packages more strictly so pkgdb can
  keep being sane and consistent.

  Do not fail over a small conflict found during updating pkgdb;
  portupgrade should not be aborted by such a minor problem.

pkgdepfix:

  Obsolete -o and turn -o on by default.  Now we can look up an origin
  of a package so quickly thanks to the pkgdb.

  Integrate into pkgdb(1). (pkgdb -F/--fix)

portsdb:

  A date spec is not a valid ports glob; emit a warning if specified.
  [Found by: Hajimu UMEMOTO <ume@mahoroba.org>]
2001-10-06 15:52:58 +00:00

24 lines
1.1 KiB
Plaintext

Portupgrade is a tool to upgrade installed packages via ports or
packages. It upgrades installed packages without reinstalling
depending or dependent packages by directly updating the package
registry database located under /var/db/pkg, while it can also trace
dependency chains up and down to upgrade packages recursively.
This package also includes the following utilities:
portinstall: Helps you install new ports in a handy way.
portcvsweb: Instantly browses a history via CVSweb.
portversion: Replaces pkg_version(1), runs much faster and is
cooperative with portupgrade(1).
portsclean: Cleans ports workdir's, unreferenced distfiles and
old and orphan shared libraries.
portsdb: Creates binary database from the ports INDEX.
ports_glob: Expands ports globs.
pkg_deinstall: Wraps pkg_delete(1) and provides extra features.
pkg_fetch: Fetches packages from a remote site.
pkg_glob: Expands package globs.
pkg_which: Checks which package a file came from quickly.
pkgdb: Manipulate the package database and interactively
fixes most problems in the /var/db/pkg registry.
Author: Akinori MUSHA <knu@FreeBSD.org>