=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/ports.html,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- www/Attic/ports.html 2008/05/01 06:13:23 1.95 +++ www/Attic/ports.html 2008/05/13 13:17:20 1.96 @@ -102,7 +102,7 @@ Adding a package is as easy as -pkg_add pkgname.tgz. +pkg_add pkgname. If you are grabbing packages from a single source (a package repository), set PKG_PATH to that repository URL, in order to grab dependencies. @@ -112,7 +112,7 @@
     # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
-    # pkg_add gimp-2.4.3p0.tgz
+    # pkg_add gimp
 

Ports and Packages Update for an OpenBSD Release

@@ -146,15 +146,11 @@ installed packages, solve conflicts (files that already exist) and handle dependencies.

-As of OpenBSD 2.8, to update a package you must: -

-This is slightly inconvenient, as packages may trigger dependencies, and -you may have to remove a large subset of packages for an update. +Starting with OpenBSD 3.9, an update mechanism is provided by +pkg_add(1). +To update a package (and its dependencies) you must set PKG_PATH to a +repository URL which contains updates, and use +pkg_add -ui pkgname.

Using Ports

@@ -238,8 +234,7 @@
     % cd /usr/ports/archivers/unzip
     % su
-    # make
-    # make install
+    # make install clean
     # exit
 
@@ -373,6 +368,6 @@
OpenBSD www@openbsd.org -
$OpenBSD: ports.html,v 1.95 2008/05/01 06:13:23 steven Exp $ +
$OpenBSD: ports.html,v 1.96 2008/05/13 13:17:20 landry Exp $