Annotation of www/40.html, Revision 1.11
1.1 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.0 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 4.0">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2006 by OpenBSD.">
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: <!-- XXX .jpg
22: <a href="images/niftyartworkcomingsoon.jpg">
23: <img align="left" width="255" height="343" hspace="24" vspace="30"
24: src="images/niftyartworkcomingsoon.jpg" alt="OpenBSD 4.0 logo"></a>
25: -->
26: <h2><font color="#0000e0">The OpenBSD 4.0 Release:</font></h2>
27: <p>
28: Released Nov 1, 2006<br>
29: Copyright 1997-2006, Theo de Raadt.<br>
30: <!-- XXX ISBN
31: <font color="#e00000">ISBN XXX </font>
32: -->
33: <!-- XXX song
34: <br>
35: <a href="lyrics.html#40">4.0 Song: "XXX"</a>
36: -->
37: <p>
38:
39: <a href="#new">What's New</a><br>
40: <a href="#install">How to install</a><br>
41: <a href="#upgrade">How to upgrade</a><br>
42: <a href="#ports">How to use the ports tree</a><br>
43: <a href="orders.html">Ordering a CD set</a><br>
44:
45: <p>
46: <h3><font color="#0000e0">
47: To get the files for this release:
48: <ul>
49: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
50: <li>See the information on <a href="ftp.html">The FTP page</a> for
51: a list of mirror machines.
52: <li>Go to the <font color="#e00000">pub/OpenBSD/4.0/</font> directory on
53: one of the mirror sites.
54: <li>Briefly read the rest of this document.
55: <li>Have a look at <a href="errata.html">The 4.0 Errata page</a> for a list
56: of bugs and workarounds.
57: <li>See a <a href="plus.html">detailed log of changes</a> between the
58: 3.9 and 4.0 releases.
59: <!-- XXX plus40.html -->
60: </ul>
61: </font></h3>
62: <br clear=all>
63:
64: <strong>Note:</strong> All applicable copyrights and credits can be found
65: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
66: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
67: files used to build packages from the ports.tar.gz file are not included on
68: the CDROM because of lack of space.
69: <p>
70:
71: <a name="new"></a>
72: <hr>
73: <p>
74: <h3><font color="#0000e0">What's New</font></h3>
75: <p>
76: This is a partial list of new features and systems included in OpenBSD 4.0.
77: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
78: to 4.0.
79: <!-- XXX plus40.html -->
80: <p>
81:
82: <ul>
83:
1.11 ! jsg 84: <li>New platforms:
! 85: <ul>
! 86: <li><a href="armish.html">OpenBSD/armish</a>.<br>
! 87: Various ARM-based appliances, using the Redboot boot loader, currently only supporting the Thecus N2100 and IOData HDL-G.
! 88: </ul>
! 89: <p>
! 90:
1.1 david 91: <li>Improved hardware support, including:
92: <ul>
1.2 jsg 93: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a> driver for Marvell/SysKonnect Yukon-2 Gigabit Ethernet
94: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bnx&sektion=4">bnx(4)</a> driver for Broadcom NetXtreme II Gigabit Ethernet
95: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xge&sektion=4">xge(4)</a> driver for Neterion Xframe/Xframe II 10Gb Ethernet
96: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rum&sektion=4">rum(4)</a> driver for Ralink Technology 2nd gen USB IEEE 802.11a/b/g wireless
97: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=acx&sektion=4">acx(4)</a> driver for Texas Instruments ACX100/ACX111 IEEE 802.11a/b/g wireless
98: <li>New binary blob free <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wpi&sektion=4">wpi(4)</a> driver for Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless
99: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpi&sektion=4">mpi(4)</a> driver for LSI Logic Fusion-MPT Message Passing Interface SCSI/FC/SAS
100: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=arc&sektion=4">arc(4)</a> driver for Areca Technology Corporation SATA RAID
101: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mfi&sektion=4">mfi(4)</a> driver for LSI Logic & Dell MegaRAID SAS RAID
102: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=azalia&sektion=4">azalia(4)</a> driver for generic High Definition Audio
103: <li>New SD/MMC/SDIO drivers (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdhc&sektion=4">sdhc(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdmmc&sektion=4">sdmmc(4)</a>)
104: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udcf&sektion=4">udcf(4)</a> driver for Gude ADS Expert mouseCLOCK DCF77/HBG time signal station receivers
105: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uslcom&sektion=4">uslcom(4)</a> driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters
106: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ucycom&sektion=4">ucycom(4)</a> driver for Cypress microcontroller based USB serial adapters
107: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uark&sektion=4">uark(4)</a> driver for Arkmicro Technologies ARK3116 based USB serial adapters
108: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umsm&sektion=4">umsm(4)</a> driver for Qualcomm MSM EVDO based modems
1.5 brad 109: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bge&sektion=4">bge(4)</a> driver supporting newer chipsets, such as the Broadcom BCM5754, BCM5755, BCM5786, and BCM5787
110: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a> driver supporting newer chipsets, such as the Intel ESB2 and ICH8.
111: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nfe&sektion=4">nfe(4)</a> driver supporting newer chipsets, such as the NVIDIA MCP61 and MCP65.
112: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a> driver supporting newer chipsets, such as the Realtek RT8101E, RT8168, and RT8169SC
113: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc&sektion=4">dc(4)</a> driver supporting newer chipsets, such as the ADMtek ADM9511 and ADM9513
1.6 brad 114: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> driver supporting newer chipsets, such as:
115: <ul>
116: <li>Intel 6321ESB IDE, 82801G SATA, and 82801H SATA
117: <li>Promise PDC205xx SATA
118: <li>NVIDIA MCP61 SATA, MCP65 SATA
119: <li>IT Express IT8211F IDE
120: <li>ATI IXP300 SATA, IXP600 IDE
121: <li>ServerWorks SATA
122: </ul>
1.10 steven 123: <li>Working interrupt routing on Sun Netra t1 105, Ultra 60 and possibly other <a href="sparc64.html">sparc64</a> systems
1.7 brad 124: <li>Initial <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bio&sektion=4">bio(4)</a> support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ciss&sektion=4">ciss(4)</a>
1.10 steven 125: <li>UltraSPARC III based <a href="sparc64.html">sparc64</a> machines are now supported!
1.1 david 126: </ul>
127: <p>
128:
129: <!-- XXX fill in
130: <li>New tools:
131: <ul>
132: <li>...
133: </ul>
134: <p>
135: -->
136:
137: <li>New functionality:
138: <ul>
1.3 pedro 139: <li>An in-kernel <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getcwd&sektion=3">getcwd(3)</a> implementation
1.4 pedro 140: <li>Virtual Allocation Table (VAT) support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_udf&sektion=8">UDF</a>
1.1 david 141: </ul>
142: <p>
143:
144: <!-- XXX fill in
145: <li>Assorted improvements and code cleanup:
146: <ul>
147: <li>...
148: </ul>
149: <p>
150: -->
151:
152: <!-- XXX fill in
153: <li>OpenSSH 4.4:
154: <ul>
155: <li>...
156: </ul>
157: <p>
158: -->
159:
160: <!-- XXX fill in
161: <li>OpenBGPD 4.0:
162: <ul>
163: <li>....
164: </ul>
165: <p>
166: -->
167:
168: <!-- XXX fill in
169: <li>OpenOSPFD 4.4:
170: <ul>
171: <li>...
172: </ul>
173: <p>
174: -->
175:
1.9 steven 176: <li>Over 3700 ports, 3400 pre-built packages, improved package tools.
1.1 david 177: <!-- XXX update numbers -->
178: <p>
179:
180: <li>As usual, steady improvements in manual pages and other documentation.
181: <p>
182:
183: <li>The system includes the following major components from outside suppliers:
184: <ul>
185: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
186: (+ patches) for legacy chipsets not supported by X.Org)
187: <li>Gcc 2.95.3
188: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
189: and 3.3.5
190: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
191: <li>Perl 5.8.8 (+ patches)
192: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
193: <li>OpenSSL 0.9.7j (+ patches)
194: <li>Groff 1.15
195: <li>Sendmail 8.13.8, with libmilter
196: <li>Bind 9.3.2 (+ patches)
197: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
198: <li>Sudo 1.6.8p9
199: <li>Ncurses 5.2
200: <li>Latest KAME IPv6
201: <li>Heimdal 0.7 (+ patches)
202: <li>Arla 0.35.7
203: <li>Binutils 2.15 (+ patches)
204: <li>Gdb 6.3
205: <!-- XXX double check versions -->
206: </ul>
207: <p>
208:
209: </ul>
210:
211: <a name="install"></a>
212: <hr>
213: <p>
214: <h3><font color="#0000e0">How to install</font></h3>
215: <p>
216: Following this are the instructions which you would have on a piece of
217: paper if you had purchased a CDROM set instead of doing an alternate
218: form of install. The instructions for doing an FTP (or other style
219: of) install are very similar; the CDROM instructions are left intact
220: so that you can see how much easier it would have been if you had
221: purchased a CDROM instead.
222: <p>
223:
224: <hr>
225: Please refer to the following files on the three CDROMs or FTP mirror for
226: extensive details on how to install OpenBSD 4.0 on your machine:
227: <p>
228: <ul>
229: <li>CD1:4.0/i386/INSTALL.i386
230: <p>
231: <li>CD2:4.0/amd64/INSTALL.amd64
232: <li>CD2:4.0/macppc/INSTALL.macppc
233: <p>
234: <li>CD3:4.0/sparc/INSTALL.sparc
235: <li>CD3:4.0/sparc64/INSTALL.sparc64
236: <p>
237: <li>FTP:.../OpenBSD/4.0/alpha/INSTALL.alpha
238: <!-- XXX armish -->
239: <li>FTP:.../OpenBSD/4.0/cats/INSTALL.cats
240: <li>FTP:.../OpenBSD/4.0/hp300/INSTALL.hp300
241: <li>FTP:.../OpenBSD/4.0/hppa/INSTALL.hppa
242: <li>FTP:.../OpenBSD/4.0/luna88k/INSTALL.luna88k
243: <li>FTP:.../OpenBSD/4.0/mac68k/INSTALL.mac68k
244: <li>FTP:.../OpenBSD/4.0/mvme68k/INSTALL.mvme68k
245: <li>FTP:.../OpenBSD/4.0/mvme88k/INSTALL.mvme88k
246: <li>FTP:.../OpenBSD/4.0/sgi/INSTALL.sgi
247: <li>FTP:.../OpenBSD/4.0/vax/INSTALL.vax
248: <li>FTP:.../OpenBSD/4.0/zaurus/INSTALL.zaurus
249: </ul>
250: <hr>
251:
252: <p>
253: Quick installer information for people familiar with OpenBSD, and the
254: use of the "disklabel -E" command. If you are at all confused when
255: installing OpenBSD, read the relevant INSTALL.* file as listed above!
256: <p>
257:
258: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
259: <ul>
260: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
261: release is on CD1. If your BIOS does not support booting from CD, you will need
262: to create a boot floppy to install from. To create a boot floppy write
263: <i>CD1:4.0/i386/floppy40.fs</i> to a floppy and boot via the floppy drive.
264:
265: <p>
266: Use <i>CD1:4.0/i386/floppyB40.fs</i> instead for greater SCSI controller
267: support, or <i>CD1:4.0/i386/floppyC40.fs</i> for better laptop support.
268:
269: <p>
270: If you can't boot from a CD or a floppy disk,
271: you can install across the network using PXE as described in
272: the included INSTALL.i386 document.
273:
274: <p>
275: If you are planning on dual booting OpenBSD with another OS, you will need to
276: read INSTALL.i386.
277:
278: <p>
279: To make a boot floppy under MS-DOS, use the "rawrite" utility located
280: at <i>CD1:4.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
281: use the
282: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
283: utility. The following is an example usage of
284: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
285: where the device could be "floppy", "rfd0c", or
286: "rfd0a".
287:
288: <ul><pre>
289: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
290: </pre></ul>
291:
292: <p>
293: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
294: your install will most likely fail. For more information on creating a boot
295: floppy and installing OpenBSD/i386 please refer to
296: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
297: </ul>
298:
299: <p>
300: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
301: <ul>
302: The 4.0 release of OpenBSD/amd64 is located on CD2.
303: Boot from the CD to begin the install - you may need to adjust
304: your BIOS options first.
305: If you can't boot from the CD, you can create a boot floppy to install from.
306: To do this, write <i>CD2:4.0/amd64/floppy40.fs</i> to a floppy, then
307: boot from the floppy drive.
308:
309: <p>
310: If you can't boot from a CD or a floppy disk,
311: you can install across the network using PXE as described in the included
312: INSTALL.amd64 document.
313:
314: <p>
315: If you are planning to dual boot OpenBSD with another OS, you will need to
316: read INSTALL.amd64.
317: </ul>
318:
319: <p>
320: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
321: <ul>
322: Put CD2 in your CDROM drive and poweron your machine while holding down the
323: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
324:
325: <p>
326: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
327: /4.0/macppc/bsd.rd</i>
328: </ul>
329:
330: <p>
331: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
332: <ul>
333: The 4.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
334: can use one of the two commands listed below, depending on the version of your
335: ROM.
336:
337: <ul><pre>
338: ok <strong>boot cdrom 4.0/sparc/bsd.rd</strong>
339: or
340: > <strong>b sd(0,6,0)4.0/sparc/bsd.rd</strong>
341: </pre></ul>
342:
343: <p>
344: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
345: To do so you need to write <i>CD3:4.0/sparc/floppy40.fs</i> to a floppy.
346: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
347: To boot from the floppy use one of the two commands listed below,
348: depending on the version of your ROM.
349:
350: <ul><pre>
351: ok <strong>boot floppy</strong>
352: or
353: > <strong>b fd()</strong>
354: </pre></ul>
355:
356: <p>
357: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
358: will most likely fail.
359:
360: <p>
361: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
362: setup a bootable tape, or install via network, as told in the
363: INSTALL.sparc file.
364: </ul>
365:
366: <p>
367: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
368: <ul>
369: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
370:
371: <p>
372: If this doesn't work, or if you don't have a CDROM drive, you can write
373: <i>CD3:4.0/sparc64/floppy40.fs</i> or <i>CD3:4.0/sparc64/floppyB40.fs</i>
374: (depending on your machine) to a floppy and boot it with <i>boot
375: floppy</i>. Refer to INSTALL.sparc64 for details.
376:
377: <p>
378: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
379: will most likely fail.
380:
381: <p>
382: You can also write <i>CD3:4.0/sparc64/miniroot40.fs</i> to the swap partition on
383: the disk and boot with <i>boot disk:b</i>.
384:
385: <p>
386: If nothing works, you can boot over the network as described in INSTALL.sparc64.
387: </ul>
388:
389: <p>
390: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
391: <ul>
392: <p>Write <i>FTP:4.0/alpha/floppy40.fs</i> or
393: <i>FTP:4.0/alpha/floppyB40.fs</i> (depending on your machine) to a diskette and
394: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
395:
396: <p>
397: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
398: will most likely fail.
399:
400: </ul>
401:
402: <!-- XXX fill in
403: <p>
404: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
405: <ul>
406: <p>
407: ...
408: </ul>
409: -->
410:
411: <p>
412: <h3><font color="#e00000">OpenBSD/cats:</font></h3>
413: <ul>
414: <p>
415: After updating the firmware to at least ABLE 1.95 if necessary, boot
416: <i>FTP:4.0/cats/bsd.rd</i> from an ABLE-supported device (such as a CD-ROM
417: or an existing FFS or EXT2FS partition).
418: </ul>
419:
420: <p>
421: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
422: <ul>
423: <p>
424: Boot over the network by following the instructions in INSTALL.hp300.
425: </ul>
426:
427: <p>
428: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
429: <ul>
430: <p>
431: Boot over the network by following the instructions in INSTALL.hppa or the
432: <a href="hppa.html#install">hppa platform page</a>.
433: </ul>
434:
435: <p>
436: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
437: <ul>
438: <p>
439: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
440: Alternatively, you can create a bootable tape and boot from it. Refer to
441: the instructions in INSTALL.luna88k for more details.
442: </ul>
443:
444: <p>
445: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
446: <ul>
447: <p>
448: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
449: <i>FTP:4.0/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
450: Booter" with the location of your bsd.rd kernel and boot into the installer.
451: Refer to the instructions in INSTALL.mac68k for more details.
452: </ul>
453:
454: <p>
455: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
456: <ul>
457: <p>
458: You can create a bootable installation tape or boot over the network.<br>
459: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
460: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
461: for more details.
462: </ul>
463:
464: <p>
465: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
466: <ul>
467: <p>
468: You can create a bootable installation tape or boot over the network.<br>
469: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
470: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
471: for more details.
472: </ul>
473:
474: <p>
475: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
476: <ul>
477: <p>
478: Burn cd40.iso on a CD-R, put it in the CD drive of your machine and
479: select <i>Install System Software</i> from the System Maintenance menu.
480:
481: <p>
482: If your machine doesn't have a CD drive, you can
483: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
484: Refer to the instructions in INSTALL.sgi for more details.
485: </ul>
486:
487: <p>
488: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
489: <ul>
490: Boot over the network via mopbooting as described in INSTALL.vax.
491: </ul>
492:
493: <p>
494: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
495: <ul>
496: <p>
497: Using the Linux built-in graphical ipkg installer, install the
498: openbsd40_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
499: for a few important details.
500: </ul>
501:
502: <p>
503: <h3><font color="#e00000">Notes about the source code:</font></h3>
504: <ul>
505: src.tar.gz contains a source archive starting at /usr/src. This file
506: contains everything you need except for the kernel sources, which are
507: in a separate archive. To extract:
508: <p>
509: <ul><pre>
510: # <strong>mkdir -p /usr/src</strong>
511: # <strong>cd /usr/src</strong>
512: # <strong>tar xvfz /tmp/src.tar.gz</strong>
513: </pre></ul>
514: <p>
515: sys.tar.gz contains a source archive starting at /usr/src/sys.
516: This file contains all the kernel sources you need to rebuild kernels.
517: To extract:
518: <p>
519: <ul><pre>
520: # <strong>mkdir -p /usr/src/sys</strong>
521: # <strong>cd /usr/src</strong>
522: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
523: </pre></ul>
524: <p>
525: Both of these trees are a regular CVS checkout. Using these trees it
526: is possible to get a head-start on using the anoncvs servers as
527: described <a href="anoncvs.html">here</a>.
528: Using these files
529: results in a much faster initial CVS update than you could expect from
530: a fresh checkout of the full OpenBSD source tree.
531: <p>
532: </ul>
533:
534: <a name="upgrade"></a>
535: <hr>
536: <p>
537: <h3><font color="#0000e0">How to upgrade</font></h3>
538: <p>
539: If you already have an OpenBSD 3.9 system, and do not want to reinstall,
540: upgrade instructions and advice can be found in the
541: <a href="faq/upgrade.html">Upgrade Guide</a>.
542: <!-- XXX upgrade40.html -->
543:
544: <a name="ports"></a>
545: <hr>
546: <p>
547: <h3><font color="#0000e0">Ports Tree</font></h3>
548: <p>
549: A ports tree archive is also provided. To extract:
550: <p>
551: <ul><pre>
552: # <strong>cd /usr</strong>
553: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
554: # <strong>cd ports</strong>
555: </pre></ul>
556: <p>
557: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
558: read the <a href="ports.html">ports</a> page
559: if you know nothing about ports
560: at this point. This text is not a manual of how to use ports.
561: Rather, it is a set of notes meant to kickstart the user on the
562: OpenBSD ports system.
563: <p>
564: The <i>ports/</i> directory represents a CVS (see the manpage for
565: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
566: cvs(1)</a> if
567: you aren't familiar with CVS) checkout of our ports. As with our complete
568: source tree, our ports tree is available via anoncvs. So, in
569: order to keep current with it, you must make the <i>ports/</i> tree
570: available on a read-write medium and update the tree with a command
571: like:
572: <p>
573: <ul><pre>
574: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_0</strong>
575: </pre></ul>
576: <p>
577: [Of course, you must replace the local directory and server name here
578: with the location of your ports collection and a nearby anoncvs
579: server.]
580: <p>
581: Note that most ports are available as packages through FTP. Updated
582: packages for the 4.0 release will be made available if problems arise.
583: <p>
584: If you're interested in seeing a port added, would like to help out, or just
585: would like to know more, the mailing list ports@openbsd.org is a good
586: place to know.
587: <p>
588:
589: <hr>
590: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
591: alt="OpenBSD"></a>
592: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
593: <br><small>
1.11 ! jsg 594: $OpenBSD: 40.html,v 1.10 2006/09/04 12:47:20 steven Exp $
1.1 david 595: </small>
596:
597: </body>
598: </html>