Annotation of www/ports.html, Revision 1.28
1.11 deraadt 1: <html>
1.25 deraadt 2: <head>
3: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4: <meta name="resource-type" content="document">
5: <meta name="description" CONTENT="How OpenBSD can make use of the FreeBSD ports">
6: <meta name="keywords" content="openbsd,ports">
7: <meta name="distribution" content="global">
8: <meta name="copyright" content="copyright 1997-1999 by the OpenBSD project">
9:
1.27 brad 10: <title>OpenBSD Ports and Packages</title>
1.25 deraadt 11: <link rev="made" HREF="mailto:www@openbsd.org">
12:
13: <body text="#000000" bgcolor="#FFFFFF" link="#23238E">
14:
15: <img height=30 width=141 src=images/smalltitle.gif alt="[OpenBSD]" >
16: <p>
1.26 deraadt 17: <h2><font color=#e00000>Ports and Packages</font><hr></h2>
1.25 deraadt 18:
19: <h3><font color=#0000e0>History</font></h3>
20:
21: <p>
22: OpenBSD is a fairly complete system of its own, but still there is a lot
23: of software that one might want see added. However there is the problem
24: on where to draw the line as to what to include, as well as the occasional
25: licensing and export restriction problems. As OpenBSD is supposed to be
26: a small stand-alone UNIX-like operating system, some things just can't be
27: shipped with the system.
28:
29: <p>
30: We wanted to find a way for users to easily get software we don't provide
31: and started to look around. We didn't have to look far, as sibling project
32: <a href="http://www.freebsd.org/">FreeBSD</a> already had an
1.23 espie 33: excellent mechanism
1.25 deraadt 34: for exactly this purpose called
35: <a href="http://www.freebsd.org/ports/">"The ports collection"</a>.
36:
37: <p>
38: At first we tried to use their collection as-is, but due to
39: incompatibility problems between FreeBSD and OpenBSD we decided to branch
40: out and create our very own OpenBSD Ports Project using FreeBSD's as a
41: starting point. This also allows us to tune the ports better to our
42: system.
43:
44: <h3><font color=#0000e0>Short description and setup</font></h3>
45:
46: <p>
47: The ports idea is to have, for each piece of software, a Makefile that
48: controls
49: <ul>
50: <li>where to fetch it,
51: <li>how to do the fetch,
52: <li>what it depends upon (if anything),
53: <li>how to alter the sources (if needed),
54: <li>and how to configure, build and install it.
55: </ul>
56: <p>
57: This information is kept in a directory hierarchy under the
58: /usr/ports directory.
59: <h3><font color=#0000e0>Getting the Ports tree</font></h3>
60: <p>
1.27 brad 61: You can ftp the release version from the pub/OpenBSD/[version] (where
62: [version] is the release number) directory on any of the
63: <a href=ftp.html>ftp mirror sites</a>.
64: The release versions are the ones we ship on our CDROM, and have gone
65: through more testing than any snapshot.
66:
67: <p>
1.28 ! brad 68: The ports tree, like the rest of OpenBSD, is constantly changing. While
! 69: we strive to maintain ports compatibility through the lifetime of a particular
! 70: release, sometimes issues beyond our control occur. For example, particular
! 71: versions of the ported package might no longer exist. Therefore, you might
! 72: want to get and use a newer version of the ports tree, keeping in mind
! 73: though that the -current ports tree is tested with OpenBSD -current and is
! 74: NOT guarenteed to work with a previous release. It is also suggested that
! 75: if you are using the ports tree that you subscribe to the source-changes
1.27 brad 76: <a href=mail.html>mailing list</a>.
77:
78: <p>
79: The -current ports tree can be retrieved via:
1.25 deraadt 80: <ul>
81: <li><a href=anoncvs.html>Anonymous CVS</a> (see link). The command is
82: essentially <strong>cvs get ports</strong>.
83: <li>Anonymous ftp from
84: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz">
85: ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz</a>.
1.19 marc 86: This archive is updated nightly.
1.25 deraadt 87: <li>Your web browser using the
88: <a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/">CVS
1.20 marc 89: web interface</a>.
1.25 deraadt 90: </ul>
91:
92: <h3><font color=#0000e0>Example use of the Ports tree</font></h3>
93:
94: <p>
95: Let's say you managed to get a ports tree and you want to compile and
96: install the archiving utility <code>unzip</code>. You should be able to
1.23 espie 97: do something like this:
1.11 deraadt 98: <pre>
1.10 deraadt 99: % cd /usr/ports/archivers/unzip
100: % su
1.17 joey 101: # make
1.10 deraadt 102: # make install
103: # exit
1.11 deraadt 104: </pre>
1.25 deraadt 105: Easy, huh?
106:
107: <h3><font color=#0000e0>Port status information</font></h3>
108:
109: <p>
110: The <a href="portstat.html">ports status page</a> is updated as
111: team members add new ports and verify existing ports. Existing
112: ports are continually verified to validate source availability and
1.27 brad 113: proper operation with OpenBSD -current. The page notes the date last
114: checked and the nature of any change. This is a new resource that is not
115: yet complete. If you have any information to add to the status page
116: please send it to
117: <a href="mailto:ports@openbsd.org">ports@openbsd.org</a>.
1.25 deraadt 118:
119: <h3><font color=#0000e0>Creating new ports</font></h3>
120:
121: <p>
122: If you are interested in helping to expand the OpenBSD ports tree
123: you should first read <a href="porting.html">porting.html</a>.
124: That page references the porting section of the
125: <a href="http://www.freebsd.org/handbook/">FreeBSD handbook</a>
126: as well as OpenBSD specific policies and hints.
127:
128: <h3><font color=#0000e0>Problems and contacts</font></h3>
129:
130: <p>
131: If you have trouble with ports please send e-mail to the OpenBSD
1.27 brad 132: ports mailing list, <a href="mailto:ports@openbsd.org">ports@openbsd.org</a>.
1.25 deraadt 133: Corrections are always welcome, but in any case do please provide:
134: <ul>
135: <li>The output of <code>uname -a</code>,
136: <li>Your OpenBSD version, including any patches you may have applied,
137: <li>A complete description of the problem.
138:
139: </ul>
140:
141: <hr>
142: <a href="index.html"><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
143: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.28 ! brad 144: <br><small>$OpenBSD: ports.html,v 1.27 1999/10/05 01:43:43 brad Exp $</small>
1.25 deraadt 145: </body>
1.11 deraadt 146: </html>