Annotation of www/42.html, Revision 1.29
1.1 jasper 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.2 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.2">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2007 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: <a href="images/niftyartworkcomingsoon.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/niftyartworkcomingsoon.jpg" alt="OpenBSD 4.2 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.2 Release:</font></h2>
25: <p>
26: To be released Nov 1, 2007<br>
27: Copyright 1997-2007, Theo de Raadt.<br>
28: <font color="#e00000">ISBN XXX</font>
29: <br>
30: <a href="lyrics.html#42">4.2 Song: "XXX"</a>
31: <p>
32:
33: <a href="#new">What's New</a><br>
34: <a href="#install">How to install</a><br>
35: <a href="#upgrade">How to upgrade</a><br>
36: <a href="#ports">How to use the ports tree</a><br>
37: <a href="orders.html">Ordering a CD set</a><br>
38:
39: <p>
40: <h3><font color="#0000e0">
41: To get the files for this release:
42: <ul>
43: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
46: <li>Go to the <font color="#e00000">pub/OpenBSD/4.2/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
1.20 deraadt 49: <li>Have a look at <a href="errata42.html">The 4.2 Errata page</a> for a list
1.1 jasper 50: of bugs and workarounds.
1.20 deraadt 51: <li>See a <a href="plus42.html">detailed log of changes</a> between the
1.1 jasper 52: 4.1 and 4.2 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 4.2.
1.20 deraadt 70: For a comprehensive list, see the <a href="plus42.html">changelog</a> leading
1.1 jasper 71: to 4.2.
72: <p>
73:
74: <ul>
75:
76: <li>New/extended platforms:
77: <ul>
1.15 kettenis 78: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
79: The PCIe UltraSPARC IIIi machines like the V215 and V245 are now
80: supported.
1.18 kettenis 81: <li><a href="hppa.html">OpenBSD/hppa</a>.<br>
1.15 kettenis 82: Four-digit B/C/J-class workstations like the B2000, C3750 or J6750
83: are now supported (in 32-bit mode).
1.1 jasper 84: </ul>
85: <p>
86:
87: <li>Removed platforms:
88: <ul>
89: <li>...
90: </ul>
91: <p>
92:
93: <li>Improved hardware support, including:
94: <ul>
1.11 matthieu 95: <li> Native Serial-ATA support:
96: <ul>
1.24 dlg 97: <li> <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahci&sektion=4">ahci(4)</a>
98: driver for SATA controllers conforming to the Advanced Host Controller
99: Interface specification.
100: <li> <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sili&sektion=4">sili(4)</a>
101: driver for SATA controllers using the Silicon Image 3124/3132/3531 SATALink
102: chipsets.
1.11 matthieu 103: </ul>
1.24 dlg 104: <li> New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tht&sektion=4">tht(4)</a>
105: driver for Tehuti Networks 10Gb Ethernet controllers.
1.8 matthieu 106: <li> New <a
107: href="http://www.openbsd.org/cgi-bin/man.cgi?query=uts&sektion=4">uts(4)</a>
108: driver for USB touch screens, and the <a
109: href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>
110: calibration utility.
1.22 kettenis 111: <li> The <a
112: href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop&sektion=4">siop(4)</a>
113: driver now has support for NCR 53C720/770 controllers in big endian mode.
114: In particular this means that the onboard Fast-Wide SCSI on many hppa
115: machines is supported now.
1.25 jsg 116: <li> The <a
117: href="http://www.openbsd.org/cgi-bin/man.cgi?query=malo&sektion=4">malo(4)</a>
118: driver now supports Marvell 88W8385 802.11g based Compact Flash devices.
119: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> driver has had support added for newer chipsets, including:
120: <ul>
121: <li>Intel ICH8M PATA
122: <li>JMicron JMB36x PATA
123: <li>VIA CX700/VX700 PATA
124: </ul>
1.27 jasper 125: <li> New <a
126: href="http://www.openbsd.org/cgi-bin/man.cgi?query=led&arch=sparc64">led(4)</a>
127: driver for the front panel LEDs on the V215/245.
128: <li> New <a
129: href="http://www.openbsd.org/cgi-bin/man.cgi?query=bbc&arch=sparc64">bbc(4)</a>
130: driver providing support for the BootBus Controllers in UltraSparc III systems.
131: <li> New <a
132: href="http://www.openbsd.org/cgi-bin/man.cgi?query=pmc&arch=sparc64">pmc(4)</a>
133: driver for the
134: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=watchdog§ion=4">
135: watchdog(4)</a> timer on the National Semiconductor PC87317 SuperIO chip.
1.1 jasper 136: </ul>
137: <p>
1.8 matthieu 138:
1.1 jasper 139:
140: <li>New tools:
141: <ul>
1.10 matthieu 142: <li> <a
143: href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&sektion=1">cwm(1)</a>
144: has replaced wm2 as a simple-looking low-resource window manager.
1.26 jsg 145: <li> <a
146: href="http://www.openbsd.org/cgi-bin/man.cgi?query=zless&sektion=1">zless(1)</a>,
147: view compressed files with
148: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=less&sektion=1">less(1)</a>.
1.1 jasper 149: </ul>
150: <p>
1.10 matthieu 151:
1.1 jasper 152:
153: <li>New functionality:
154: <ul>
1.14 otto 155: <li>FFS2, the updated version of the fast file system.
1.23 kili 156: <li><a
157: href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&sektion=1">ftp(1)</a>
158: now can send cookies loaded from a netscape-like cookiejar, supports
159: proxies requiring a password, and has a keep-alive option to avoid
160: over-agressive control connection dropping.
1.29 ! espie 161: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&sektion=1">pkg_add(1)</a> has been vastly improved. It is more robust, outputs more
! 162: consistent error messages, and can deal with a lot more update scenarios
! 163: gracefully. It also has much better look-up capabilities for multiple entries
! 164: in <code>PKG_PATH</code>, stopping at the first directory with suitable
! 165: candidates.
1.1 jasper 166: </ul>
167: <p>
168:
169: <li>Assorted improvements and code cleanup:
170: <ul>
1.29 ! espie 171: <li>Large (>1TB) disk and partition support in the disklabel and buffer cache
1.14 otto 172: code and in the userland utilities that manipulate disk blocks. Note
173: that some parts of the system are not 64-bit disk block clean yet, so partition
174: larger than 2TB cannot be used at the moment.
1.16 jasper 175: <li>Thread support for the Objective-C library (libobjc).
1.1 jasper 176: </ul>
177: <p>
178:
179: <li>Install/Upgrade process changes:
180: <ul>
181: <li>...
182: </ul>
183: <p>
184:
185: <li>OpenBGPD 4.2:
186: <ul>
1.28 claudio 187: <li>Include support for Four-octet AS Number Space.
188: <li>Allow matching on communities using 0 in the AS part.
189: <li>Filtering on IPv6 prefixes is now possible.
190: <li>Various bugs in the encoding of multiprotocol updates were fixed.
191: <li>Allow the use of pkill -HUP bgpd to reload the config.
1.1 jasper 192: </ul>
193: <p>
194:
195: <li>OpenNTPD 4.2:
196: <ul>
197: <li>...
198: </ul>
199: <p>
200:
201: <li>OpenOSPFD 4.2:
202: <ul>
1.28 claudio 203: <li>Added support for RFC 3137: OSPF Stub Router Advertisement
204: <li>It is possible to specify a carp demote group on interfaces and areas.
205: <li>Added support for mapping route labels to AS-external route tags and vice versa.
206: <li>Allow the use of pkill -HUP ospfd to reload the config.
1.1 jasper 207: </ul>
208: <p>
209:
210: <li>OpenSSH 4.7:
211: <ul>
212: <li>...
213: </ul>
214: <p>
215:
216: <li>Over 4500 ports, 4300 pre-built packages (for i386), minor robustness improvements in package tools.
217: <!-- XXX update numbers -->
218: Some highlights:
219: <ul>
1.4 jasper 220: <li>Gnome 2.18.
1.16 jasper 221: <li>GNUstep 1.14.
1.4 jasper 222: <li>KDE 3.5.7 and koffice 1.6.3.
1.7 steven 223: <li>Xfce 4.4.1.
1.17 mbalmer 224: <li>OpenMotif 2.3.0
1.9 steven 225: <li>OpenOffice.org 2.2.1.
226: <li>Mozilla Firefox 2.0.0.6.
1.4 jasper 227: <li>PostgreSQL 8.2.4.
1.5 jasper 228: <li>GHC 6.6.1 (amd64 and i386 only)
1.1 jasper 229: </ul>
230: <p>
231:
232: <li>As usual, steady improvements in manual pages and other documentation.
233: <p>
234:
235: <li>The system includes the following major components from outside suppliers:
236: <ul>
1.19 matthieu 237: <li>Xenocara (based on X.Org 7.2 + patches, freetype 2.2.1, fontconfig
1.1 jasper 238: 2.4.2, expat 2.0.0, Mesa 6.5.2, xterm 225 and more)
239: <li>Gcc 2.95.3
240: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
241: and 3.3.5
242: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
243: <li>Perl 5.8.8 (+ patches)
244: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
245: <li>OpenSSL 0.9.7j (+ patches)
246: <li>Groff 1.15
247: <li>Sendmail 8.14.1, with libmilter
248: <li>Bind 9.3.4 (+ patches)
249: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
250: <li>Sudo 1.6.9p4
251: <li>Ncurses 5.2
252: <li>Latest KAME IPv6
253: <li>Heimdal 0.7.2 (+ patches)
254: <li>Arla 0.35.7
255: <li>Binutils 2.15 (+ patches)
256: <li>Gdb 6.3 (+ patches)
257: <!-- XXX double check versions -->
258: </ul>
259: <p>
260:
261: </ul>
262:
263: <a name="install"></a>
264: <hr>
265: <p>
266: <h3><font color="#0000e0">How to install</font></h3>
267: <p>
268: Following this are the instructions which you would have on a piece of
269: paper if you had purchased a CDROM set instead of doing an alternate
270: form of install. The instructions for doing an FTP (or other style
271: of) install are very similar; the CDROM instructions are left intact
272: so that you can see how much easier it would have been if you had
273: purchased a CDROM instead.
274: <p>
275:
276: <hr>
277: Please refer to the following files on the three CDROMs or FTP mirror for
278: extensive details on how to install OpenBSD 4.2 on your machine:
279: <p>
280: <ul>
281: <li>CD1:4.2/i386/INSTALL.i386
282: <p>
283: <li>CD2:4.2/amd64/INSTALL.amd64
284: <li>CD2:4.2/macppc/INSTALL.macppc
285: <p>
286: <li>CD3:4.2/sparc64/INSTALL.sparc64
287: <p>
288: <li>FTP:.../OpenBSD/4.2/alpha/INSTALL.alpha
289: <li>FTP:.../OpenBSD/4.2/armish/INSTALL.armish
290: <li>FTP:.../OpenBSD/4.2/hp300/INSTALL.hp300
291: <li>FTP:.../OpenBSD/4.2/hppa/INSTALL.hppa
292: <li>FTP:.../OpenBSD/4.2/landisk/INSTALL.landisk
293: <li>FTP:.../OpenBSD/4.2/luna88k/INSTALL.luna88k
294: <li>FTP:.../OpenBSD/4.2/mac68k/INSTALL.mac68k
295: <li>FTP:.../OpenBSD/4.2/mvme68k/INSTALL.mvme68k
296: <li>FTP:.../OpenBSD/4.2/mvme88k/INSTALL.mvme88k
297: <li>FTP:.../OpenBSD/4.2/sparc/INSTALL.sparc
298: <li>FTP:.../OpenBSD/4.2/vax/INSTALL.vax
299: <li>FTP:.../OpenBSD/4.2/zaurus/INSTALL.zaurus
300: </ul>
301: <hr>
302:
303: <p>
304: Quick installer information for people familiar with OpenBSD, and the
305: use of the "disklabel -E" command. If you are at all confused when
306: installing OpenBSD, read the relevant INSTALL.* file as listed above!
307: <p>
308:
309: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
310: <ul>
311: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
312: release is on CD1. If your BIOS does not support booting from CD, you will need
313: to create a boot floppy to install from. To create a boot floppy write
314: <i>CD1:4.2/i386/floppy42.fs</i> to a floppy and boot via the floppy drive.
315:
316: <p>
317: Use <i>CD1:4.2/i386/floppyB42.fs</i> instead for greater SCSI controller
318: support, or <i>CD1:4.2/i386/floppyC42.fs</i> for better laptop support.
319:
320: <p>
321: If you can't boot from a CD or a floppy disk,
322: you can install across the network using PXE as described in
323: the included INSTALL.i386 document.
324:
325: <p>
326: If you are planning on dual booting OpenBSD with another OS, you will need to
327: read INSTALL.i386.
328:
329: <p>
330: To make a boot floppy under MS-DOS, use the "rawrite" utility located
331: at <i>CD1:4.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
332: use the
333: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
334: utility. The following is an example usage of
335: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
336: where the device could be "floppy", "rfd0c", or
337: "rfd0a".
338:
339: <ul><pre>
340: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
341: </pre></ul>
342:
343: <p>
344: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
345: your install will most likely fail. For more information on creating a boot
346: floppy and installing OpenBSD/i386 please refer to
347: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
348: </ul>
349:
350: <p>
351: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
352: <ul>
353: The 4.2 release of OpenBSD/amd64 is located on CD2.
354: Boot from the CD to begin the install - you may need to adjust
355: your BIOS options first.
356: If you can't boot from the CD, you can create a boot floppy to install from.
357: To do this, write <i>CD2:4.2/amd64/floppy42.fs</i> to a floppy, then
358: boot from the floppy drive.
359:
360: <p>
361: If you can't boot from a CD or a floppy disk,
362: you can install across the network using PXE as described in the included
363: INSTALL.amd64 document.
364:
365: <p>
366: If you are planning to dual boot OpenBSD with another OS, you will need to
367: read INSTALL.amd64.
368: </ul>
369:
370: <p>
371: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
372: <ul>
373: Put CD2 in your CDROM drive and poweron your machine while holding down the
374: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
375:
376: <p>
377: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
378: /4.2/macppc/bsd.rd</i>
379: </ul>
380:
381: <p>
382: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
383: <ul>
384: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
385:
386: <p>
387: If this doesn't work, or if you don't have a CDROM drive, you can write
388: <i>CD3:4.2/sparc64/floppy42.fs</i> or <i>CD3:4.2/sparc64/floppyB42.fs</i>
389: (depending on your machine) to a floppy and boot it with <i>boot
390: floppy</i>. Refer to INSTALL.sparc64 for details.
391:
392: <p>
393: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
394: will most likely fail.
395:
396: <p>
397: You can also write <i>CD3:4.2/sparc64/miniroot42.fs</i> to the swap partition on
398: the disk and boot with <i>boot disk:b</i>.
399:
400: <p>
401: If nothing works, you can boot over the network as described in INSTALL.sparc64.
402: </ul>
403:
404: <p>
405: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
406: <ul>
407: <p>Write <i>FTP:4.2/alpha/floppy42.fs</i> or
408: <i>FTP:4.2/alpha/floppyB42.fs</i> (depending on your machine) to a diskette and
409: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
410:
411: <p>
412: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
413: will most likely fail.
414:
415: </ul>
416:
417: <p>
418: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
419: <ul>
420: <p>
421: After connecting a serial port, Thecus can boot directly from the network
422: either tftp or http. Configure the network using fconfig, reset,
423: then load bsd.rd, see INSTALL.armish for specific details.
424: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
425: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
426: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
427: More details are available in INSTALL.armish.
428: </ul>
429:
430: <p>
431: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
432: <ul>
433: <p>
434: Boot over the network by following the instructions in INSTALL.hp300.
435: </ul>
436:
437: <p>
438: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
439: <ul>
440: <p>
441: Boot over the network by following the instructions in INSTALL.hppa or the
442: <a href="hppa.html#install">hppa platform page</a>.
443: </ul>
444:
445: <p>
446: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
447: <ul>
448: <p>
1.21 deraadt 449: Write <i>miniroot42.fs</i> to the start of the CF
1.1 jasper 450: or disk, and boot normally.
451: </ul>
452:
453: <p>
454: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
455: <ul>
456: <p>
457: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
458: Alternatively, you can create a bootable tape and boot from it. Refer to
459: the instructions in INSTALL.luna88k for more details.
460: </ul>
461:
462: <p>
463: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
464: <ul>
465: <p>
466: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
467: <i>FTP:4.2/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
468: Booter" with the location of your bsd.rd kernel and boot into the installer.
469: Refer to the instructions in INSTALL.mac68k for more details.
470: </ul>
471:
472: <p>
473: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
474: <ul>
475: <p>
476: You can create a bootable installation tape or boot over the network.<br>
477: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
478: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
479: for more details.
480: </ul>
481:
482: <p>
483: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
484: <ul>
485: <p>
486: You can create a bootable installation tape or boot over the network.<br>
487: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
488: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
489: for more details.
490: </ul>
491:
492: <p>
493: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
494: <ul>
1.21 deraadt 495: Boot from one of the provided install ISO images, using one of the two
496: commands listed below, depending on the version of your ROM.
1.1 jasper 497:
498: <ul><pre>
499: ok <strong>boot cdrom 4.2/sparc/bsd.rd</strong>
500: or
501: > <strong>b sd(0,6,0)4.2/sparc/bsd.rd</strong>
502: </pre></ul>
503:
504: <p>
505: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
1.21 deraadt 506: To do so you need to write <i>floppy42.fs</i> to a floppy.
1.1 jasper 507: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
508: To boot from the floppy use one of the two commands listed below,
509: depending on the version of your ROM.
510:
511: <ul><pre>
512: ok <strong>boot floppy</strong>
513: or
514: > <strong>b fd()</strong>
515: </pre></ul>
516:
517: <p>
518: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
519: will most likely fail.
520:
521: <p>
522: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
523: setup a bootable tape, or install via network, as told in the
524: INSTALL.sparc file.
525: </ul>
526:
527: <p>
528: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
529: <ul>
530: Boot over the network via mopbooting as described in INSTALL.vax.
531: </ul>
532:
533: <p>
534: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
535: <ul>
536: <p>
537: Using the Linux built-in graphical ipkg installer, install the
538: openbsd42_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
539: for a few important details.
540: </ul>
541:
542: <p>
543: <h3><font color="#e00000">Notes about the source code:</font></h3>
544: <ul>
545: src.tar.gz contains a source archive starting at /usr/src. This file
546: contains everything you need except for the kernel sources, which are
547: in a separate archive. To extract:
548: <p>
549: <ul><pre>
550: # <strong>mkdir -p /usr/src</strong>
551: # <strong>cd /usr/src</strong>
552: # <strong>tar xvfz /tmp/src.tar.gz</strong>
553: </pre></ul>
554: <p>
555: sys.tar.gz contains a source archive starting at /usr/src/sys.
556: This file contains all the kernel sources you need to rebuild kernels.
557: To extract:
558: <p>
559: <ul><pre>
560: # <strong>mkdir -p /usr/src/sys</strong>
561: # <strong>cd /usr/src</strong>
562: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
563: </pre></ul>
564: <p>
565: Both of these trees are a regular CVS checkout. Using these trees it
566: is possible to get a head-start on using the anoncvs servers as
567: described <a href="anoncvs.html">here</a>.
568: Using these files
569: results in a much faster initial CVS update than you could expect from
570: a fresh checkout of the full OpenBSD source tree.
571: <p>
572: </ul>
573:
574: <a name="upgrade"></a>
575: <hr>
576: <p>
577: <h3><font color="#0000e0">How to upgrade</font></h3>
578: <p>
579: If you already have an OpenBSD 4.1 system, and do not want to reinstall,
580: upgrade instructions and advice can be found in the
581: <a href="faq/upgrade42.html">Upgrade Guide</a>.
582:
583: <a name="ports"></a>
584: <hr>
585: <p>
586: <h3><font color="#0000e0">Ports Tree</font></h3>
587: <p>
588: A ports tree archive is also provided. To extract:
589: <p>
590: <ul><pre>
591: # <strong>cd /usr</strong>
592: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
593: # <strong>cd ports</strong>
594: </pre></ul>
595: <p>
596: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
597: read the <a href="ports.html">ports</a> page
598: if you know nothing about ports
599: at this point. This text is not a manual of how to use ports.
600: Rather, it is a set of notes meant to kickstart the user on the
601: OpenBSD ports system.
602: <p>
603: The <i>ports/</i> directory represents a CVS (see the manpage for
604: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
605: cvs(1)</a> if
606: you aren't familiar with CVS) checkout of our ports. As with our complete
607: source tree, our ports tree is available via anoncvs. So, in
608: order to keep current with it, you must make the <i>ports/</i> tree
609: available on a read-write medium and update the tree with a command
610: like:
611: <p>
612: <ul><pre>
613: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_2</strong>
614: </pre></ul>
615: <p>
616: [Of course, you must replace the local directory and server name here
617: with the location of your ports collection and a nearby anoncvs
618: server.]
619: <p>
620: Note that most ports are available as packages through FTP. Updated
621: packages for the 4.2 release will be made available if problems arise.
622: <p>
623: If you're interested in seeing a port added, would like to help out, or just
624: would like to know more, the mailing list ports@openbsd.org is a good
625: place to know.
626: <p>
627:
628: <hr>
629: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
630: alt="OpenBSD"></a>
631: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
632: <br><small>
1.29 ! espie 633: $OpenBSD: 42.html,v 1.28 2007/08/21 09:23:47 claudio Exp $
1.1 jasper 634: </small>
635:
636: </body>
637: </html>