[BACK]Return to ports.html CVS log [TXT][DIR] Up to [local] / www

Diff for /www/Attic/ports.html between version 1.95 and 1.96

version 1.95, 2008/05/01 06:13:23 version 1.96, 2008/05/13 13:17:20
Line 102 
Line 102 
   
   
 Adding a package is as easy as  Adding a package is as easy as
 <code>pkg_add pkgname.tgz</code>.  <code>pkg_add pkgname</code>.
 If you are grabbing packages from a single source (a package repository),  If you are grabbing packages from a single source (a package repository),
 set PKG_PATH to that repository URL, in order to grab dependencies.  set PKG_PATH to that repository URL, in order to grab dependencies.
   
Line 112 
Line 112 
   
 <pre>  <pre>
     # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/      # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
     # pkg_add gimp-2.4.3p0.tgz      # pkg_add gimp
 </pre>  </pre>
   
 <h3><font color="#0000e0"><a name="stable">Ports and Packages Update for an OpenBSD Release</a></font></h3>  <h3><font color="#0000e0"><a name="stable">Ports and Packages Update for an OpenBSD Release</a></font></h3>
Line 146 
Line 146 
 installed packages, solve conflicts (files that already exist) and handle  installed packages, solve conflicts (files that already exist) and handle
 dependencies.  dependencies.
 <p>  <p>
 As of OpenBSD 2.8, to update a package you must:  Starting with OpenBSD 3.9, an update mechanism is provided by
 <ul>  <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&amp;sektion=1&amp;format=html">pkg_add(1)</a>.
 <li>Remove the old package using  To update a package (and its dependencies) you must set PKG_PATH to a
 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_delete&amp;sektion=1&amp;format=html">pkg_delete(1)</a>  repository URL which contains updates, and use
 <li>Add the new package using  <code>pkg_add -ui pkgname</code>.
 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&amp;sektion=1&amp;format=html">pkg_add(1)</a>  
 </ul>  
 This is slightly inconvenient, as packages may trigger dependencies, and  
 you may have to remove a large subset of packages for an update.  
   
 <h3><font color="#0000e0"><a name="Use">Using Ports</a></font></h3>  <h3><font color="#0000e0"><a name="Use">Using Ports</a></font></h3>
   
Line 238 
Line 234 
 <pre>  <pre>
     % cd /usr/ports/archivers/unzip      % cd /usr/ports/archivers/unzip
     % su      % su
     # make      # make install clean
     # make install  
     # exit      # exit
 </pre>  </pre>
   

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96