Annotation of www/35.html, Revision 1.43
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 3.5 Release</title>
5: <link rev=made href="mailto:www@openbsd.org">
6: <meta name="resource-type" content="document">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="description" content="OpenBSD 3.5">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.25 miod 11: <meta name="copyright" content="This document copyright 2004 by OpenBSD.">
1.1 deraadt 12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
21: <a href="images/Carp.gif">
22: <img align="left" width="255" height="343" hspace="24" vspace="30"
23: src="images/Carp.gif" alt="OpenBSD 3.5 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 3.5 Release:</font></h2>
25: <p>
26: Released May 1, 2004<br>
27: Copyright 1997-2004, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 0-9731791-1-9</font>
29: <p>
30:
31: <a href="#new">What's New</a><br>
32: <a href="#install">How to install</a><br>
33: <a href="#ports">How to use the ports tree</a><br>
34: <a href="orders.html">Ordering a CD set</a><br>
35:
36: <p>
37: <h3><font color="#0000e0">
38: To get the files for this release:
39: <ul>
40: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
41: <li>See the information on <a href="ftp.html">The FTP page</a> for
42: a list of mirror machines.
43: <li>Go to the <font color="#e00000">pub/OpenBSD/3.5/</font> directory on
44: one of the mirror sites.
45: <li>Briefly read the rest of this document.
46: <li>Have a look at <a href="errata.html">The 3.5 Errata page</a> for a list
47: of bugs and workarounds.
48: <li>See a <a href="plus.html">detailed log of changes</a> between the
49: 3.4 and 3.5 releases.
50: </ul>
51: </font></h3>
52: <br clear=all>
53:
54: <strong>Note:</strong> All applicable copyrights and credits can be found
55: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
56: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
57: files used to build packages from the ports.tar.gz file are not included on
58: the CDROM because of lack of space.
59: <p>
60:
61: <a name="new"></a>
62: <hr>
63: <p>
64: <h3><font color="#0000e0">What's New</font></h3>
65: <p>
66: This is a partial list of new features and systems included in OpenBSD 3.5.
1.2 deraadt 67: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
1.1 deraadt 68: to 3.5.
69: <p>
70:
71: <ul>
72:
1.14 deraadt 73: <li> New platforms:
74: <ul>
75: <li><a href="http://www.openbsd.org/amd64.html">OpenBSD/amd64</a>
76: <li><a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
77: </ul>
78: <p>
79:
1.35 otto 80: <li>Replacement of the GNU
1.12 otto 81: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bc">bc(1)</a>,
82: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc">dc(1)</a>,
1.4 deraadt 83: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nm">nm(1)</a> and
84: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=size">size(1)</a>
1.1 deraadt 85: commands with BSD licensed equivalents.
86: <p>
87:
1.5 mcbride 88: <li>A large number of bug fixes, changes, and optimizations to our packet filter
89: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf">pf(4)</a>
90: including:
91: <ul>
1.19 otto 92: <li>Atomic commits of ruleset changes (reduce the chance of ending up in an
93: inconsistent state).
94: <li>A 30 percent reduction in the size of state table entries.
95: <li>Source-tracking (limit number of clients and states per client).
96: <li>Sticky-address (the flexibility of round-robin with the benefits of
97: source-hash).
98: <li>Invert the specific/general socket match order when redirecting to
1.34 avsm 99: localhost (prevents the potential security problem of remote connections
1.19 otto 100: being identified as local).
1.5 mcbride 101: <li>Significant improvements to interface handling.
102: </ul>
103: <p>
104:
105: <li>New tools for high availability and load balancing:
106: <ul>
107: <li>CARP (the Common Address Redundancy Protocol)
108: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp">carp(4)</a>
109: allows multiple machines to share responsibility for a given IP address or
110: addresses. If the owner of the address fails, another member of the group
111: will take over for it. A discussion of the history of CARP can be found
112: <a href="http://www.openbsd.org/lyrics.html">here</a>.
113: <li>Additions to the
114: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync">pfsync(4)</a>
115: interface allow it to synchronise state table entries between two or more
116: firewalls which are operating in parallel, allowing stateful connections
117: to cross any of the firewalls regardless of where the state was initially
118: created.
119: </ul>
120: <p>
121:
1.6 todd 122: <li> New functionality:
123: <ul>
124: <li>New ptm device (see <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pty&sektion=4">pty(4)</a>)
125: that allows non-privileged processes to allocate a properly-permissioned pty. No more setuid(root)
126: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xterm&sektion=1">xterm(1)</a>!
1.17 otto 127: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=closefrom&sektion=2">closefrom(2)</a>
128: system call has been added.
1.6 todd 129: <li>TCP MD5 signatures (used by <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>
1.17 otto 130: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>).
1.26 tom 131: <li>i386 and amd64 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pxeboot&sektion=8&arch=i386">pxeboot(8)</a>.
1.19 otto 132: <li>The i386 8GB boot loader limitation has been removed.
1.6 todd 133: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8">spamd(8)</a>
1.16 todd 134: gains <a href="http://projects.puremagic.com/greylisting/">greylisting</a> support.
1.6 todd 135: <li>Interface 'cloning,' accessed by
136: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>
1.19 otto 137: commands <em>create</em> and <em>destroy</em>. E.g. `ifconfig vlan100 create'.
1.17 otto 138: <li>The MAKEDEV(8) manual pages are now generated.
1.18 sturm 139: <li>Complete rewrite of package tools in perl.
1.21 djm 140: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogd&sektion=8">syslogd(8)</a>
141: now supports logging to memory buffers, to be read using
142: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogc&sektion=8">syslogc(8)</a>.
143: This is useful for diskless devices.
1.34 avsm 144: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsec&sektion=4">IPsec</a> ESP in UDP encapsulation.
1.33 otto 145: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">
1.34 avsm 146: malloc(3)</a> randomization and guard pages. This helps to detect out-of-bounds
1.33 otto 147: reads and writes.
1.43 ! beck 148: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=authpf&sektion=8">
! 149: authpf(8)</a> now tags traffic in
! 150: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflog&sektion=4">
! 151: pflog(4)</A> so that users may be associated with traffic through a NAT setup.
1.6 todd 152: </ul>
153: <p>
154:
1.34 avsm 155: <li> Privilege separation added to allow complex operations to occur in an untrusted, unprivileged process:
1.6 todd 156: <ul>
157: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8">isakmpd(8)</a>
158: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=named&sektion=8">named(8)</a>
1.13 todd 159: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflogd&sektion=8">pflogd(8)</a>
1.6 todd 160: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>
161: </ul>
162: <p>
163:
164: <li> New tools:
165: <ul>
1.35 otto 166: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sensorsd&sektion=8">sensorsd(8)</a>, monitoring hardware sensors,
167: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=procmap&sektion=1">procmap(1)</a>, examine a process' memory map,
168: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>, implementing the <a href="http://www.rfc-editor.org/rfc/rfc1771.txt">BGP-4</a> routing protocol,
1.10 deraadt 169: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkill&sektion=1">pkill(1)</a> and
1.35 otto 170: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pgrep&sektion=1">pgrep(1)</a>, finding or signalling processes by name.
1.6 todd 171: </ul>
172: <p>
173:
1.23 henning 174: <li> Performance improvements:
175: <ul>
1.35 otto 176: <li>Improved connection/socket lookup - about 100 times faster at 10000 sockets than 3.4.
177: <li>TCP SYN cache.
1.23 henning 178: <li>OpenSSL speedup on i386, up to 100% improvement for md5, sha1, blowfish,
1.42 henning 179: des, 3des, rsa, dsa and bn.
180: <li>OpenSSL now uses the new AES instructions some VIA C3 processors provide
181: directly, increasing AES throughput by up to 3.5 times.
1.23 henning 182: </ul>
183: <p>
184:
1.29 henning 185: <li>Improved hardware support, including:
186: <ul>
1.35 otto 187: <li>The <a href="/hppa.html">hppa</a> architecture gets support for many
1.29 henning 188: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pci">PCI</a>
1.37 mickey 189: based machines w/ addition of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dino&sektion=4&arch=hppa">dino(4)</a> GSC-PCI bridge.
1.36 mickey 190: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop&sektion=4">oosiop(4)</a> driver for NCR 53C700 SCSI host adapters.
1.35 otto 191: <li>Big improvements to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahc&sektion=4">ahc(4)</a>, bringing support for many new models.
192: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bce&sektion=4">bce(4)</a> driver, supporting the Broadcom BCM4401 FastEthernet chipset.
193: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpt&sektion=4">mpt(4)</a> driver for LSI Fusion-MPT SCSI and FibreChannel host adapters.
1.39 henning 194: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snapper&arch=macppc&sektion=4&">snapper(4)</a> audio driver for recent iBook (since May 02) and PowerBook (since Apr 02) models.
1.32 otto 195: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wi&sektion=4">wi(4)</a> supports USB-based adapters and software WEP now.
1.29 henning 196: </ul>
1.20 otto 197: <p>
198:
1.18 sturm 199: <li> Over 2500 ports, 2300 pre-built packages.
200: <p>
201:
1.7 todd 202: <li>Many improvements for security and reliability (look for the red
203: print in the <a href="plus.html">complete changelog</a>).
204: <p>
205:
1.19 otto 206: <li>Many improvements in manual pages and other documentation.
207: <p>
208:
1.40 tdeval 209: <li>Gcc 3.3.2, including local additions like ProPolice support, for the
1.28 henning 210: <a href="http://www.openbsd.org/amd64.html">OpenBSD/amd64</a>,
211: <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a> and
212: <a href="http://www.openbsd.org/sparc64.html">OpenBSD/sparc64</a>
213: platforms.
214: Other architectures still use gcc 2.95.3 with the same local additions.
215: <p>
216:
217: <li>The system includes the following major components from outside suppliers:
218: <ul>
219: <li>XFree86 4.4.0 unencumbered (+ patches, and i386 contains 3.3.X servers also, thus
220: providing support for all chipsets)
1.40 tdeval 221: <li>Gcc 2.95.3 (+ patches) and 3.3.2 (+ patches)
1.28 henning 222: <li>Perl 5.8.2 (+ patches)
223: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
224: <li>OpenSSL 0.9.7c (+ patches)
225: <li>Groff 1.15
226: <li>Sendmail 8.12.11
227: <li>Bind 9.2.3 (+ patches)
228: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
229: <li>Sudo 1.6.7p5
230: <li>Ncurses 5.2
231: <li>Latest KAME IPv6
232: <li>Heimdal 0.6rc1 (+ patches)
233: <li>Arla-current
1.35 otto 234: <li>OpenSSH 3.8.1
1.28 henning 235: </ul>
236: <p>
1.1 deraadt 237:
238: </ul>
239:
240: <a name="install"></a>
241: <hr>
242: <p>
243: <h3><font color="#0000e0">How to install</font></h3>
244: <p>
245: Following this are the instructions which you would have on a piece of
246: paper if you had purchased a CDROM set instead of doing an alternate
247: form of install. The instructions for doing an ftp (or other style
248: of) install are very similar; the CDROM instructions are left intact
249: so that you can see how much easier it would have been if you had
250: purchased a CDROM instead.
251: <p>
252:
253: <hr>
254: Please refer to the following files on the three CDROMs or ftp mirror for
255: extensive details on how to install OpenBSD 3.5 on your machine:
256: <p>
257: <ul>
258: <li>CD1:3.5/i386/INSTALL.i386
1.2 deraadt 259: <li>CD1:3.5/vax/INSTALL.vax
1.1 deraadt 260: <p>
1.2 deraadt 261: <li>CD2:3.5/amd64/INSTALL.amd64
1.1 deraadt 262: <li>CD2:3.5/macppc/INSTALL.macppc
263: <p>
264: <li>CD3:3.5/sparc/INSTALL.sparc
265: <li>CD3:3.5/sparc64/INSTALL.sparc64
266: <p>
267: <li>FTP:.../OpenBSD/3.5/alpha/INSTALL.alpha
1.27 miod 268: <li>FTP:.../OpenBSD/3.5/cats/INSTALL.cats
1.1 deraadt 269: <li>FTP:.../OpenBSD/3.5/hp300/INSTALL.hp300
270: <li>FTP:.../OpenBSD/3.5/hppa/INSTALL.hppa
271: <li>FTP:.../OpenBSD/3.5/mac68k/INSTALL.mac68k
272: <li>FTP:.../OpenBSD/3.5/mvme68k/INSTALL.mvme68k
1.2 deraadt 273: <li>FTP:.../OpenBSD/3.5/mvme88k/INSTALL.mvme88k
1.1 deraadt 274: </ul>
275: <hr>
276:
277: <p>
278: Quick installer information for people familiar with OpenBSD, and the
279: use of the "disklabel -E" command. If you are at all confused when
280: installing OpenBSD, read the relevant INSTALL.* file as listed above!
281: <p>
282:
283: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
284: <ul>
285: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
286: release is on CD1. If your BIOS does not support booting from CD, you will need
287: to create a boot floppy to install from. To create a boot floppy write
1.2 deraadt 288: <i>CD1:3.5/i386/floppy35.fs</i> to a floppy and boot via the floppy drive.
1.1 deraadt 289:
290: <p>
1.2 deraadt 291: Use <i>CD1:3.5/i386/floppyB35.fs</i> instead for greater scsi controller
292: support, or <i>CD1:3.5/i386/floppyC35.fs</i> for better laptop support.
1.1 deraadt 293:
294: <p>
295: If you are planning on dual booting OpenBSD with another OS, you will need to
296: read the included INSTALL.i386 document.
297:
298: <p>
299: To make a boot floppy under MS-DOS, use the "rawrite" utility located
300: at <i>CD:/3.5/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
301: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
302: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
303: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)
304: </a>, where the device could be "floppy", "rfd0c", or
305: "rfd0a".
306:
307: <ul><pre>
308: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
309: </pre></ul>
310:
311: <p>
312: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
313: your install will most likely fail. For more information on creating a boot
314: floppy and installing OpenBSD/i386 please refer to
315: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
316: </ul>
317:
318: <p>
319: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
320: <ul>
321: Put the CD2 in your CDROM drive and poweron your machine while holding down the
322: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
323:
324: <p>
325: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
326: /3.5/macppc/bsd.rd</i>
327: </ul>
328:
329: <p>
1.2 deraadt 330: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
331: <ul>
332: [write a chunk here]
333: </ul>
334:
335: <p>
1.1 deraadt 336: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
337: <ul>
338: Boot over the network via mopbooting as described in INSTALL.vax.
339: </ul>
340:
341: <p>
342: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
343: <ul>
344: The 3.5 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
345: can use one of the two commands listed below, depending on the version of your
346: ROM.
347:
348: <ul><pre>
349: > <strong>boot cdrom 3.5/sparc/bsd.rd</strong>
350: or
351: > <strong>boot sd(0,6,0)3.5/sparc/bsd.rd</strong>
352: </pre></ul>
353:
354: <p>
355: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2 deraadt 356: To do so you need to write "CD3:3.5/sparc/floppy35.fs" to a floppy.
1.1 deraadt 357: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
358: the floppy use one of the two commands listed below, depending on the version of
359: your ROM.
360:
361: <ul><pre>
362: > <strong>boot floppy</strong>
363: or
364: > <strong>boot fd()</strong>
365: </pre></ul>
366:
367: <p>
368: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
369: will most likely fail.
370:
371: <p>
372: If your sparc doesn't have a floppy drive nor a CD drive, you can either
373: setup a bootable tape, or install via network, as told in the
374: INSTALL.sparc file.
375: </ul>
376:
377: <p>
378: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
379: <ul>
380: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
381:
382: <p>
383: If this doesn't work, or if you don't have a CDROM drive, you can write
1.2 deraadt 384: <i>CD3:3.5/sparc64/floppy35.fs</i> to a floppy and boot it with <i>boot
1.1 deraadt 385: floppy</i>.<br>
386: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
387: will most likely fail.
388:
389: <p>
1.2 deraadt 390: You can also write <i>CD3:3.5/sparc64/miniroot35.fs</i> to the swap partition on
1.1 deraadt 391: the disk and boot with <i>boot disk:b</i>.
392:
393: <p>
394: If nothing works, you can boot over the network as described in INSTALL.sparc64
395: </ul>
396:
397: <p>
398: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
399: <ul>
1.2 deraadt 400: <p>Write <i>FTP:3.5/alpha/floppy35.fs</i> or
401: <i>FTP:3.5/alpha/floppyB35.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 402: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
403:
404: <p>
405: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
406: will most likely fail.
407:
408: </ul>
409:
410: <p>
411: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
412: <ul>
413: <p>
414: Boot over the network by following the instructions in INSTALL.hp300.
415: </ul>
416:
417: <p>
418: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
419: <ul>
420: <p>
421: Boot over the network by following the instructions in INSTALL.hppa or the
422: <a href="hppa.html#netboot">hppa platform page</a>.
423: </ul>
424:
425: <p>
426: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
427: <ul>
428: <p>
429: Boot MacOS as normal and partition your disk with the appropriate A/UX
430: configurations. Then, extract the Macside utilities from
431: <i>FTP:3.5/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
432: filesystems on the A/UX partitions you just made. Then, use the
433: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.5/mac68k/</i> onto your
434: partitions. Finally, you will be ready to configure the "BSD/Mac68k
435: Booter" with the location of your kernel and boot the system.
436: </ul>
437:
438: <p>
439: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
440: <ul>
441: <p>
442: You can create a bootable installation tape or boot over the network.<br>
443: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
444: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
445: for more details.
446: </ul>
447:
448: <p>
1.2 deraadt 449: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
450: <ul>
451: <p>
452: You can create a bootable installation tape or boot over the network.<br>
453: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
454: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
455: for more details.
456: </ul>
457:
458: <p>
1.1 deraadt 459: <h3><font color="#e00000">Notes about the source code:</font></h3>
460: <ul>
461: src.tar.gz contains a source archive starting at /usr/src. This file
462: contains everything you need except for the kernel sources, which are
463: in a separate archive. To extract:
464: <p>
465: <ul><pre>
466: # <strong>mkdir -p /usr/src</strong>
467: # <strong>cd /usr/src</strong>
468: # <strong>tar xvfz /tmp/src.tar.gz</strong>
469: </pre></ul>
470: <p>
471: sys.tar.gz contains a source archive starting at /usr/src/sys.
472: This file contains all the kernel sources you need to rebuild kernels.
473: To extract:
474: <p>
475: <ul><pre>
476: # <strong>mkdir -p /usr/src/sys</strong>
477: # <strong>cd /usr/src</strong>
478: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
479: </pre></ul>
480: <p>
481: Both of these trees are a regular CVS checkout. Using these trees it
482: is possible to get a head-start on using the anoncvs servers as
483: described <a href="anoncvs.html">here</a>.
484: Using these files
485: results in a much faster initial CVS update than you could expect from
486: a fresh checkout of the full OpenBSD source tree.
487: <p>
488: </ul>
489: <a name="ports"></a>
490: <hr>
491: <p>
492: <h3><font color="#0000e0">Ports Tree</font></h3>
493: <p>
494: A ports tree archive is also provided. To extract:
495: <p>
496: <ul><pre>
497: # <strong>cd /usr</strong>
498: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
499: # <strong>cd ports</strong>
500: </pre></ul>
501: <p>
502: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
503: read the <a href="ports.html">ports</a> page
504: if you know nothing about ports
505: at this point. This text is not a manual of how to use ports.
506: Rather, it is a set of notes meant to kickstart the user on the
507: OpenBSD ports system.
508: <p>
509: The <i>ports/</i> directory represents a CVS (see the manpage for
510: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
511: cvs(1)</a> if
512: you aren't familiar with CVS) checkout of our ports. As with our complete
513: source tree, our ports tree is available via anoncvs. So, in
514: order to keep current with it, you must make the <i>ports/</i> tree
515: available on a read-write medium and update the tree with a command
516: like:
517: <p>
518: <ul><pre>
1.2 deraadt 519: # <strong>cd [portsdir]/; cvs -d anoncvsserver.openbsd.org:/cvs update -Pd -rOPENBSD_3_5</strong>
1.1 deraadt 520: </pre></ul>
521: <p>
522: [Of course, you must replace the local directory and server name here
523: with the location of your ports collection and a nearby anoncvs
524: server.]
525: <p>
526: Note that most ports are available as packages through ftp. Updated
527: packages for the 3.5 release will be made available if problems arise.
528: <p>
529: If you're interested in seeing a port added, would like to help out, or just
530: would like to know more, the mailing list ports@openbsd.org is a good
531: place to know.
532: <p>
533:
534: <hr>
535: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
536: alt="OpenBSD"></a>
537: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
538: <br><small>
1.43 ! beck 539: $OpenBSD: 35.html,v 1.42 2004/03/24 16:42:45 henning Exp $
1.1 deraadt 540: </small>
541:
542: </body>
543: </html>