Annotation of www/ports.html, Revision 1.27
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>
! 68: The ports tree, like the rest of the OpenBSD tree, is constantly changing.
! 69: While we strive to maintain compatibility through the lifetime of a
! 70: particular release, sometimes issues beyond our control occur. For example,
! 71: particular versions of the ported package might no longer exist. Therefore,
! 72: you might want to get and use a newer version of the ports tree keeping in
! 73: mind though that the -current ports tree is tested with OpenBSD -current
! 74: and is NOT guarenteed to work with a previous release. It is also
! 75: suggested that if you are using the ports tree that you subscribe to the
! 76: source-changes
! 77: <a href=mail.html>mailing list</a>.
! 78:
! 79: <p>
! 80: The -current ports tree can be retrieved via:
1.25 deraadt 81: <ul>
82: <li><a href=anoncvs.html>Anonymous CVS</a> (see link). The command is
83: essentially <strong>cvs get ports</strong>.
84: <li>Anonymous ftp from
85: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz">
86: ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz</a>.
1.19 marc 87: This archive is updated nightly.
1.25 deraadt 88: <li>Your web browser using the
89: <a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/">CVS
1.20 marc 90: web interface</a>.
1.25 deraadt 91: </ul>
92:
93: <h3><font color=#0000e0>Example use of the Ports tree</font></h3>
94:
95: <p>
96: Let's say you managed to get a ports tree and you want to compile and
97: install the archiving utility <code>unzip</code>. You should be able to
1.23 espie 98: do something like this:
1.11 deraadt 99: <pre>
1.10 deraadt 100: % cd /usr/ports/archivers/unzip
101: % su
1.17 joey 102: # make
1.10 deraadt 103: # make install
104: # exit
1.11 deraadt 105: </pre>
1.25 deraadt 106: Easy, huh?
107:
108: <h3><font color=#0000e0>Port status information</font></h3>
109:
110: <p>
111: The <a href="portstat.html">ports status page</a> is updated as
112: team members add new ports and verify existing ports. Existing
113: ports are continually verified to validate source availability and
1.27 ! brad 114: proper operation with OpenBSD -current. The page notes the date last
! 115: checked and the nature of any change. This is a new resource that is not
! 116: yet complete. If you have any information to add to the status page
! 117: please send it to
! 118: <a href="mailto:ports@openbsd.org">ports@openbsd.org</a>.
1.25 deraadt 119:
120: <h3><font color=#0000e0>Creating new ports</font></h3>
121:
122: <p>
123: If you are interested in helping to expand the OpenBSD ports tree
124: you should first read <a href="porting.html">porting.html</a>.
125: That page references the porting section of the
126: <a href="http://www.freebsd.org/handbook/">FreeBSD handbook</a>
127: as well as OpenBSD specific policies and hints.
128:
129: <h3><font color=#0000e0>Problems and contacts</font></h3>
130:
131: <p>
132: If you have trouble with ports please send e-mail to the OpenBSD
1.27 ! brad 133: ports mailing list, <a href="mailto:ports@openbsd.org">ports@openbsd.org</a>.
1.25 deraadt 134: Corrections are always welcome, but in any case do please provide:
135: <ul>
136: <li>The output of <code>uname -a</code>,
137: <li>Your OpenBSD version, including any patches you may have applied,
138: <li>A complete description of the problem.
139:
140: </ul>
141:
142: <hr>
143: <a href="index.html"><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
144: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.27 ! brad 145: <br><small>$OpenBSD: ports.html,v 1.26 1999/09/22 22:21:54 deraadt Exp $</small>
1.25 deraadt 146: </body>
1.11 deraadt 147: </html>