=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/ports.html,v retrieving revision 1.95 retrieving revision 1.96 diff -c -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,108 **** Adding a package is as easy as ! pkg_add pkgname.tgz. If you are grabbing packages from a single source (a package repository), set PKG_PATH to that repository URL, in order to grab dependencies. --- 102,108 ---- Adding a package is as easy as ! 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,118 ****
      # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
!     # pkg_add gimp-2.4.3p0.tgz
  

Ports and Packages Update for an OpenBSD Release

--- 112,118 ----
      # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
!     # pkg_add gimp
  

Ports and Packages Update for an OpenBSD Release

*************** *** 146,160 **** 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.

Using Ports

--- 146,156 ---- installed packages, solve conflicts (files that already exist) and handle dependencies.

! 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,245 ****
      % cd /usr/ports/archivers/unzip
      % su
!     # make
!     # make install
      # exit
  
--- 234,240 ----
      % cd /usr/ports/archivers/unzip
      % su
!     # make install clean
      # exit
  
*************** *** 373,378 ****
OpenBSD www@openbsd.org !
$OpenBSD: ports.html,v 1.95 2008/05/01 06:13:23 steven Exp $ --- 368,373 ----
OpenBSD www@openbsd.org !
$OpenBSD: ports.html,v 1.96 2008/05/13 13:17:20 landry Exp $