summaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/pkg-descr
blob: 10d2151606f80fd1df1527ad4d8201f5422339b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.

Author:	Akinori MUSHA <knu@FreeBSD.org>