Annotation of www/40.html, Revision 1.12
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.12 ! otto 140: <li>A new system call <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adjfreq&sektion=2">adjfreq(3)</a>
! 141: to allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a>
! 142: to adjust the tick rate of the system clock automatically.
1.4 pedro 143: <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 144: </ul>
145: <p>
146:
147: <!-- XXX fill in
148: <li>Assorted improvements and code cleanup:
149: <ul>
150: <li>...
151: </ul>
152: <p>
153: -->
154:
155: <!-- XXX fill in
156: <li>OpenSSH 4.4:
157: <ul>
158: <li>...
159: </ul>
160: <p>
161: -->
162:
163: <!-- XXX fill in
164: <li>OpenBGPD 4.0:
165: <ul>
166: <li>....
167: </ul>
168: <p>
169: -->
170:
171: <!-- XXX fill in
172: <li>OpenOSPFD 4.4:
173: <ul>
174: <li>...
175: </ul>
176: <p>
177: -->
178:
1.9 steven 179: <li>Over 3700 ports, 3400 pre-built packages, improved package tools.
1.1 david 180: <!-- XXX update numbers -->
181: <p>
182:
183: <li>As usual, steady improvements in manual pages and other documentation.
184: <p>
185:
186: <li>The system includes the following major components from outside suppliers:
187: <ul>
188: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
189: (+ patches) for legacy chipsets not supported by X.Org)
190: <li>Gcc 2.95.3
191: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
192: and 3.3.5
193: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
194: <li>Perl 5.8.8 (+ patches)
195: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
196: <li>OpenSSL 0.9.7j (+ patches)
197: <li>Groff 1.15
198: <li>Sendmail 8.13.8, with libmilter
199: <li>Bind 9.3.2 (+ patches)
200: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
201: <li>Sudo 1.6.8p9
202: <li>Ncurses 5.2
203: <li>Latest KAME IPv6
204: <li>Heimdal 0.7 (+ patches)
205: <li>Arla 0.35.7
206: <li>Binutils 2.15 (+ patches)
207: <li>Gdb 6.3
208: <!-- XXX double check versions -->
209: </ul>
210: <p>
211:
212: </ul>
213:
214: <a name="install"></a>
215: <hr>
216: <p>
217: <h3><font color="#0000e0">How to install</font></h3>
218: <p>
219: Following this are the instructions which you would have on a piece of
220: paper if you had purchased a CDROM set instead of doing an alternate
221: form of install. The instructions for doing an FTP (or other style
222: of) install are very similar; the CDROM instructions are left intact
223: so that you can see how much easier it would have been if you had
224: purchased a CDROM instead.
225: <p>
226:
227: <hr>
228: Please refer to the following files on the three CDROMs or FTP mirror for
229: extensive details on how to install OpenBSD 4.0 on your machine:
230: <p>
231: <ul>
232: <li>CD1:4.0/i386/INSTALL.i386
233: <p>
234: <li>CD2:4.0/amd64/INSTALL.amd64
235: <li>CD2:4.0/macppc/INSTALL.macppc
236: <p>
237: <li>CD3:4.0/sparc/INSTALL.sparc
238: <li>CD3:4.0/sparc64/INSTALL.sparc64
239: <p>
240: <li>FTP:.../OpenBSD/4.0/alpha/INSTALL.alpha
241: <!-- XXX armish -->
242: <li>FTP:.../OpenBSD/4.0/cats/INSTALL.cats
243: <li>FTP:.../OpenBSD/4.0/hp300/INSTALL.hp300
244: <li>FTP:.../OpenBSD/4.0/hppa/INSTALL.hppa
245: <li>FTP:.../OpenBSD/4.0/luna88k/INSTALL.luna88k
246: <li>FTP:.../OpenBSD/4.0/mac68k/INSTALL.mac68k
247: <li>FTP:.../OpenBSD/4.0/mvme68k/INSTALL.mvme68k
248: <li>FTP:.../OpenBSD/4.0/mvme88k/INSTALL.mvme88k
249: <li>FTP:.../OpenBSD/4.0/sgi/INSTALL.sgi
250: <li>FTP:.../OpenBSD/4.0/vax/INSTALL.vax
251: <li>FTP:.../OpenBSD/4.0/zaurus/INSTALL.zaurus
252: </ul>
253: <hr>
254:
255: <p>
256: Quick installer information for people familiar with OpenBSD, and the
257: use of the "disklabel -E" command. If you are at all confused when
258: installing OpenBSD, read the relevant INSTALL.* file as listed above!
259: <p>
260:
261: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
262: <ul>
263: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
264: release is on CD1. If your BIOS does not support booting from CD, you will need
265: to create a boot floppy to install from. To create a boot floppy write
266: <i>CD1:4.0/i386/floppy40.fs</i> to a floppy and boot via the floppy drive.
267:
268: <p>
269: Use <i>CD1:4.0/i386/floppyB40.fs</i> instead for greater SCSI controller
270: support, or <i>CD1:4.0/i386/floppyC40.fs</i> for better laptop support.
271:
272: <p>
273: If you can't boot from a CD or a floppy disk,
274: you can install across the network using PXE as described in
275: the included INSTALL.i386 document.
276:
277: <p>
278: If you are planning on dual booting OpenBSD with another OS, you will need to
279: read INSTALL.i386.
280:
281: <p>
282: To make a boot floppy under MS-DOS, use the "rawrite" utility located
283: at <i>CD1:4.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
284: use the
285: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
286: utility. The following is an example usage of
287: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
288: where the device could be "floppy", "rfd0c", or
289: "rfd0a".
290:
291: <ul><pre>
292: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
293: </pre></ul>
294:
295: <p>
296: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
297: your install will most likely fail. For more information on creating a boot
298: floppy and installing OpenBSD/i386 please refer to
299: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
300: </ul>
301:
302: <p>
303: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
304: <ul>
305: The 4.0 release of OpenBSD/amd64 is located on CD2.
306: Boot from the CD to begin the install - you may need to adjust
307: your BIOS options first.
308: If you can't boot from the CD, you can create a boot floppy to install from.
309: To do this, write <i>CD2:4.0/amd64/floppy40.fs</i> to a floppy, then
310: boot from the floppy drive.
311:
312: <p>
313: If you can't boot from a CD or a floppy disk,
314: you can install across the network using PXE as described in the included
315: INSTALL.amd64 document.
316:
317: <p>
318: If you are planning to dual boot OpenBSD with another OS, you will need to
319: read INSTALL.amd64.
320: </ul>
321:
322: <p>
323: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
324: <ul>
325: Put CD2 in your CDROM drive and poweron your machine while holding down the
326: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
327:
328: <p>
329: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
330: /4.0/macppc/bsd.rd</i>
331: </ul>
332:
333: <p>
334: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
335: <ul>
336: The 4.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
337: can use one of the two commands listed below, depending on the version of your
338: ROM.
339:
340: <ul><pre>
341: ok <strong>boot cdrom 4.0/sparc/bsd.rd</strong>
342: or
343: > <strong>b sd(0,6,0)4.0/sparc/bsd.rd</strong>
344: </pre></ul>
345:
346: <p>
347: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
348: To do so you need to write <i>CD3:4.0/sparc/floppy40.fs</i> to a floppy.
349: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
350: To boot from the floppy use one of the two commands listed below,
351: depending on the version of your ROM.
352:
353: <ul><pre>
354: ok <strong>boot floppy</strong>
355: or
356: > <strong>b fd()</strong>
357: </pre></ul>
358:
359: <p>
360: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
361: will most likely fail.
362:
363: <p>
364: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
365: setup a bootable tape, or install via network, as told in the
366: INSTALL.sparc file.
367: </ul>
368:
369: <p>
370: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
371: <ul>
372: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
373:
374: <p>
375: If this doesn't work, or if you don't have a CDROM drive, you can write
376: <i>CD3:4.0/sparc64/floppy40.fs</i> or <i>CD3:4.0/sparc64/floppyB40.fs</i>
377: (depending on your machine) to a floppy and boot it with <i>boot
378: floppy</i>. Refer to INSTALL.sparc64 for details.
379:
380: <p>
381: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
382: will most likely fail.
383:
384: <p>
385: You can also write <i>CD3:4.0/sparc64/miniroot40.fs</i> to the swap partition on
386: the disk and boot with <i>boot disk:b</i>.
387:
388: <p>
389: If nothing works, you can boot over the network as described in INSTALL.sparc64.
390: </ul>
391:
392: <p>
393: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
394: <ul>
395: <p>Write <i>FTP:4.0/alpha/floppy40.fs</i> or
396: <i>FTP:4.0/alpha/floppyB40.fs</i> (depending on your machine) to a diskette and
397: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
398:
399: <p>
400: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
401: will most likely fail.
402:
403: </ul>
404:
405: <!-- XXX fill in
406: <p>
407: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
408: <ul>
409: <p>
410: ...
411: </ul>
412: -->
413:
414: <p>
415: <h3><font color="#e00000">OpenBSD/cats:</font></h3>
416: <ul>
417: <p>
418: After updating the firmware to at least ABLE 1.95 if necessary, boot
419: <i>FTP:4.0/cats/bsd.rd</i> from an ABLE-supported device (such as a CD-ROM
420: or an existing FFS or EXT2FS partition).
421: </ul>
422:
423: <p>
424: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
425: <ul>
426: <p>
427: Boot over the network by following the instructions in INSTALL.hp300.
428: </ul>
429:
430: <p>
431: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
432: <ul>
433: <p>
434: Boot over the network by following the instructions in INSTALL.hppa or the
435: <a href="hppa.html#install">hppa platform page</a>.
436: </ul>
437:
438: <p>
439: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
440: <ul>
441: <p>
442: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
443: Alternatively, you can create a bootable tape and boot from it. Refer to
444: the instructions in INSTALL.luna88k for more details.
445: </ul>
446:
447: <p>
448: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
449: <ul>
450: <p>
451: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
452: <i>FTP:4.0/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
453: Booter" with the location of your bsd.rd kernel and boot into the installer.
454: Refer to the instructions in INSTALL.mac68k for more details.
455: </ul>
456:
457: <p>
458: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
459: <ul>
460: <p>
461: You can create a bootable installation tape or boot over the network.<br>
462: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
463: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
464: for more details.
465: </ul>
466:
467: <p>
468: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
469: <ul>
470: <p>
471: You can create a bootable installation tape or boot over the network.<br>
472: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
473: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
474: for more details.
475: </ul>
476:
477: <p>
478: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
479: <ul>
480: <p>
481: Burn cd40.iso on a CD-R, put it in the CD drive of your machine and
482: select <i>Install System Software</i> from the System Maintenance menu.
483:
484: <p>
485: If your machine doesn't have a CD drive, you can
486: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
487: Refer to the instructions in INSTALL.sgi for more details.
488: </ul>
489:
490: <p>
491: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
492: <ul>
493: Boot over the network via mopbooting as described in INSTALL.vax.
494: </ul>
495:
496: <p>
497: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
498: <ul>
499: <p>
500: Using the Linux built-in graphical ipkg installer, install the
501: openbsd40_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
502: for a few important details.
503: </ul>
504:
505: <p>
506: <h3><font color="#e00000">Notes about the source code:</font></h3>
507: <ul>
508: src.tar.gz contains a source archive starting at /usr/src. This file
509: contains everything you need except for the kernel sources, which are
510: in a separate archive. To extract:
511: <p>
512: <ul><pre>
513: # <strong>mkdir -p /usr/src</strong>
514: # <strong>cd /usr/src</strong>
515: # <strong>tar xvfz /tmp/src.tar.gz</strong>
516: </pre></ul>
517: <p>
518: sys.tar.gz contains a source archive starting at /usr/src/sys.
519: This file contains all the kernel sources you need to rebuild kernels.
520: To extract:
521: <p>
522: <ul><pre>
523: # <strong>mkdir -p /usr/src/sys</strong>
524: # <strong>cd /usr/src</strong>
525: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
526: </pre></ul>
527: <p>
528: Both of these trees are a regular CVS checkout. Using these trees it
529: is possible to get a head-start on using the anoncvs servers as
530: described <a href="anoncvs.html">here</a>.
531: Using these files
532: results in a much faster initial CVS update than you could expect from
533: a fresh checkout of the full OpenBSD source tree.
534: <p>
535: </ul>
536:
537: <a name="upgrade"></a>
538: <hr>
539: <p>
540: <h3><font color="#0000e0">How to upgrade</font></h3>
541: <p>
542: If you already have an OpenBSD 3.9 system, and do not want to reinstall,
543: upgrade instructions and advice can be found in the
544: <a href="faq/upgrade.html">Upgrade Guide</a>.
545: <!-- XXX upgrade40.html -->
546:
547: <a name="ports"></a>
548: <hr>
549: <p>
550: <h3><font color="#0000e0">Ports Tree</font></h3>
551: <p>
552: A ports tree archive is also provided. To extract:
553: <p>
554: <ul><pre>
555: # <strong>cd /usr</strong>
556: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
557: # <strong>cd ports</strong>
558: </pre></ul>
559: <p>
560: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
561: read the <a href="ports.html">ports</a> page
562: if you know nothing about ports
563: at this point. This text is not a manual of how to use ports.
564: Rather, it is a set of notes meant to kickstart the user on the
565: OpenBSD ports system.
566: <p>
567: The <i>ports/</i> directory represents a CVS (see the manpage for
568: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
569: cvs(1)</a> if
570: you aren't familiar with CVS) checkout of our ports. As with our complete
571: source tree, our ports tree is available via anoncvs. So, in
572: order to keep current with it, you must make the <i>ports/</i> tree
573: available on a read-write medium and update the tree with a command
574: like:
575: <p>
576: <ul><pre>
577: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_0</strong>
578: </pre></ul>
579: <p>
580: [Of course, you must replace the local directory and server name here
581: with the location of your ports collection and a nearby anoncvs
582: server.]
583: <p>
584: Note that most ports are available as packages through FTP. Updated
585: packages for the 4.0 release will be made available if problems arise.
586: <p>
587: If you're interested in seeing a port added, would like to help out, or just
588: would like to know more, the mailing list ports@openbsd.org is a good
589: place to know.
590: <p>
591:
592: <hr>
593: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
594: alt="OpenBSD"></a>
595: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
596: <br><small>
1.12 ! otto 597: $OpenBSD: 40.html,v 1.11 2006/09/05 03:12:12 jsg Exp $
1.1 david 598: </small>
599:
600: </body>
601: </html>