version 1.52, 2001/07/02 22:02:37 |
version 1.53, 2001/07/27 23:42:52 |
|
|
|
|
<hr> |
<hr> |
|
|
<h3><font color="#0000e0">Motivation</font></h3> |
<h3><font color="#0000e0">Index</font></h3> |
|
<ul> |
|
<li><a href="#Motivation">Motivation</a></li> |
|
<li><a href="#Get">Getting Packages</a></li> |
|
<li><a href="#stable">Ports and Packages Update for an OpenBSD Release</a></li> |
|
<li><a href="#Manage">Managing Installed Packages</a></li> |
|
<li><a href="#Use">Using Ports</a></li> |
|
<li><a href="#Life">Life Cycle of the Ports Tree</a></li> |
|
<li><a href="#XFree86">Ports and XFree86</a></li> |
|
<li><a href="#Create">Creating New Ports</a></li> |
|
<li><a href="#Help">Problems and Contacts</a></li> |
|
</ul> |
|
|
|
<hr> |
|
|
|
<h3><font color="#0000e0"><a name="Motivation">Motivation</a></font></h3> |
|
|
OpenBSD is a fairly complete system of its own, but still there is a lot |
OpenBSD is a fairly complete system of its own, but still there is a lot |
of software that one might want see added. However there is the problem |
of software that one might want see added. However there is the problem |
on where to draw the line as to what to include, as well as the occasional |
on where to draw the line as to what to include, as well as the occasional |
|
|
using |
using |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_info&sektion=1&format=html">pkg_info(1)</a>. |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_info&sektion=1&format=html">pkg_info(1)</a>. |
|
|
<h3><font color="#0000e0">Getting packages</font></h3> |
<h3><font color="#0000e0"><a name="Get">Getting Packages</a></font></h3> |
|
|
A large collection of pre-compiled packages is available for most common |
A large collection of pre-compiled packages is available for most common |
architectures. |
architectures. |
|
|
# pkg_add ${PKG_PATH}gimp-1.2.1.tgz |
# pkg_add ${PKG_PATH}gimp-1.2.1.tgz |
</pre> |
</pre> |
|
|
<h3><a name="stable"><font color="#0000e0">Ports and packages update for an OpenBSD release</font></a></h3> |
<h3><font color="#0000e0"><a name="stable">Ports and Packages Update for an OpenBSD Release</a></font></h3> |
<p> |
<p> |
The 2.7 release saw the introduction of a stable branch for the ports tree. |
The 2.7 release saw the introduction of a stable branch for the ports tree. |
<p> |
<p> |
|
|
and a bug-fixed package. |
and a bug-fixed package. |
</p> |
</p> |
|
|
<h3><font color="#0000e0">Managing installed packages</font></h3> |
<h3><font color="#0000e0"><a name="Manage">Managing Installed Packages</a></font></h3> |
|
|
The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=packages&sektion=7&format=html">packages(7)</a> |
The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=packages&sektion=7&format=html">packages(7)</a> |
manual page holds useful information about ways to manage |
manual page holds useful information about ways to manage |
|
|
This is slightly inconvenient, as packages may trigger dependencies, and |
This is slightly inconvenient, as packages may trigger dependencies, and |
you may have to remove a large subset of packages for an update. |
you may have to remove a large subset of packages for an update. |
|
|
<h3><font color="#0000e0">Using ports</font></h3> |
<h3><font color="#0000e0"><a name="Use">Using Ports</a></font></h3> |
|
|
If a given package does not exist for your architecture, you may still |
If a given package does not exist for your architecture, you may still |
be able to compile the port. Besides, some users will want to compile |
be able to compile the port. Besides, some users will want to compile |
|
|
Further information is available in the |
Further information is available in the |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ports&sektion=7&format=html">ports(7)</a> man page. |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ports&sektion=7&format=html">ports(7)</a> man page. |
|
|
<h3><font color="#0000e0">Life cycle of the ports tree</font></h3> |
<h3><font color="#0000e0"><a name="Life">Life Cycle of the Ports Tree</A></font></h3> |
|
|
<p> |
<p> |
The ports tree, like the rest of OpenBSD, is constantly changing. |
The ports tree, like the rest of OpenBSD, is constantly changing. |
|
|
web interface</a>. |
web interface</a>. |
</ul> |
</ul> |
|
|
<h3><font color="#0000e0">Ports and XFree</font></h3> |
<h3><font color="#0000e0"><a name="XFree86">Ports and XFree86</a></font></h3> |
There is some special magic in the OpenBSD XFree configuration files |
There is some special magic in the OpenBSD XFree86 configuration files |
that allows the ports tree to install imake-based applications under |
that allows the ports tree to install imake-based applications under |
/usr/local. |
/usr/local. |
|
|
<p>As of 2.9, OpenBSD ships with XFree 4.0.3. |
<p>As of 2.9, OpenBSD ships with XFree86 4.0.3. |
If you are using a previous distribution, together with XFree binaries |
If you are using a previous distribution, together with XFree86 binaries |
from the XFree project, you may need to apply the patch in |
from the XFree86 project, you may need to apply the patch in |
<code>/usr/ports/infrastructure/patches/patch-xfree-4.0</code> |
<code>/usr/ports/infrastructure/patches/patch-xfree-4.0</code> |
to a default binary XFree 4.0.x distribution for it to work with the OpenBSD |
to a default binary XFree86 4.0.x distribution for it to work with the OpenBSD |
ports tree. |
ports tree. |
|
|
<h3><font color="#0000e0">Example use of the Ports tree</font></h3> |
<h3><font color="#0000e0">Example Use of the Ports Tree</font></h3> |
|
|
<p> |
<p> |
Let's say you managed to get a ports tree and you want to compile and |
Let's say you managed to get a ports tree and you want to compile and |
|
|
If you wish to have the distfiles, you will have to get them through an |
If you wish to have the distfiles, you will have to get them through an |
independent way. |
independent way. |
|
|
<h3><font color="#0000e0">Creating new ports</font></h3> |
<h3><font color="#0000e0"><a name="Create">Creating New Ports</a></font></h3> |
<p> |
<p> |
If you are interested in helping to expand the OpenBSD ports tree |
If you are interested in helping to expand the OpenBSD ports tree |
you should first read <a href="porting.html">porting.html</a>. |
you should first read <a href="porting.html">porting.html</a>. |
|
|
<a href="http://www.freebsd.org/porters-handbook/">FreeBSD Porter's Handbook</a> |
<a href="http://www.freebsd.org/porters-handbook/">FreeBSD Porter's Handbook</a> |
as well as OpenBSD specific policies and hints. |
as well as OpenBSD specific policies and hints. |
|
|
<h3><font color="#0000e0">Problems and contacts</font></h3> |
<h3><font color="#0000e0"><a name="Help">Problems and Contacts</a></font></h3> |
|
|
<p> |
<p> |
If you have trouble with existing ports, or need information about creating new ports, |
If you have trouble with existing ports, or need information about creating new ports, |