summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel/pkg-descr
blob: cefdcf4b544aeb5971dadb72d74e871c85bbba66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Portupgrade is a tool to upgrade installed packages with ports.

It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.

The procedures it takes is shown as follows:

    1.  Build the corresponding port of the given package
    2.  Fix the dependency info of the ones which depends on the given
        package
    3.  Save the +REQUIRED_BY list of the given package
    4.  Uninstall the given package forcibly if -u is specified
    5.  Install the port
    6.  Restore the +REQUIRED_BY list

The usage can be shown by running it without arguments or with a -h.

Portversion, which provides better comparison algorithm and
functionality than pkg_version(1), is also included.

Author:	Akinori MUSHA <knu@FreeBSD.org>
OpenPOWER on IntegriCloud