aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade-devel/pkg-descr
blob: 4d322044b6757a0b7bdc3fb44e283aef75cf9140 (plain) (blame)
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 via the port.

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 installed 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 new version via the port (built in <1>)
    6.  Restore the +REQUIRED_BY list (saved in <3>)

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>