aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade-devel/pkg-descr
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-17 23:06:40 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-17 23:06:40 +0000
commit230a5071f6e458ce51c1e8cb86e06788fdd647ff (patch)
treecec3fb75c77cbd8a95d6901f615497d8a699085e /ports-mgmt/portupgrade-devel/pkg-descr
parent8a66426a42730f121a42d37f61ae990fa2ca752e (diff)
downloadports-230a5071f6e458ce51c1e8cb86e06788fdd647ff.tar.gz
ports-230a5071f6e458ce51c1e8cb86e06788fdd647ff.zip
Add portupgrade, 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. e.g. portupgrade gtk portupgrade -cC gnome\* It currently has many design flaws (to me at least) but I am releasing this because it's functionally stable enough to use. (I believe.. ;) Use with care, at your own risk.
Notes
Notes: svn path=/head/; revision=39990
Diffstat (limited to 'ports-mgmt/portupgrade-devel/pkg-descr')
-rw-r--r--ports-mgmt/portupgrade-devel/pkg-descr23
1 files changed, 23 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/pkg-descr b/ports-mgmt/portupgrade-devel/pkg-descr
new file mode 100644
index 000000000000..10d2151606f8
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/pkg-descr
@@ -0,0 +1,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>