View Single Post
  #8   (View Single Post)  
Old 6th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

OpenBSD has no portupgrade or portmanager because pkg_add has both the -u (update) and -r(replace) switches backed in, from stock thanks to Mark Espie.

The way OpenBSD install ports is to first check if a relevant package exists in the PKGPATH, backup the old package, build the binary package, then only install/upgrades said application via the newly built package.
So, even when you install from source, you actually pkg_add a package.
Further, if a newer package version is found, do nothing (neither compile nor install) if the package has a higher version than the one of the ports tree.

Not saying it is fool-proof (fools are so inventive!) but a real cpu time saver.
__________________
da more I know I know I know nuttin'
Reply With Quote