Annotation of www/41.html, Revision 1.22
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.1 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.1">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.11 david 11: <meta name="copyright" content="This document copyright 2007 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/XXX.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/XXX.jpg" alt="OpenBSD 4.1 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.1 Release:</font></h2>
25: <p>
1.11 david 26: To be released May 1, 2007<br>
1.1 deraadt 27: Copyright 1997-2007, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9731791-9-4</font>
29: <br>
30: <a href="lyrics.html#41">4.1 Song: (not yet announced)</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.1/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
1.10 deraadt 49: <li>Have a look at <a href="errata41.html">The 4.1 Errata page</a> for a list
1.1 deraadt 50: of bugs and workarounds.
1.9 deraadt 51: <li>See a <a href="plus41.html">detailed log of changes</a> between the
1.1 deraadt 52: 4.0 and 4.1 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.1.
1.9 deraadt 70: For a comprehensive list, see the <a href="plus41.html">changelog</a> leading
1.1 deraadt 71: to 4.1.
72: <p>
73:
74: <ul>
75:
76: <li>New/extended platforms:
77: <ul>
1.4 dlg 78: <li><a href="landisk.html">OpenBSD/landisk</a>.<br>
1.2 deraadt 79: Various SH4-based appliances, made by IO-Data and resold by Plextor.
1.1 deraadt 80: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
1.2 deraadt 81: UltraSPARC III based machines are now supported even better!
1.1 deraadt 82: </ul>
83: <p>
84:
1.6 deraadt 85: <li>Removed platforms:
86: <ul>
87: <li><a href="cats.html">OpenBSD/cats</a>.<br>
1.14 henning 88: Because the machines are very hard to find, and the developers
1.6 deraadt 89: hate them.
90: </ul>
91: <p>
92:
1.1 deraadt 93: <li>Improved hardware support, including:
94: <ul>
1.7 dlg 95: <li>New USB client controller support:
96: <ul>
97: <li>Support for the USB client functionality in the
98: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pxaudc&sektion=4">pxaudc(4)</a> driver on the Zaurus.
99: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usbf&sektion=4">usbf(4)</a> midlayer for USB Client controllers.
100: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cdcef&sektion=4">cdcef(4)</a> driver for providing a CDCE function on USB client controllers.
101: </ul>
1.8 dlg 102: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cas&sektion=4">cas(4)</a> driver for Sun Cassini 10/100/Gigabit Ethernet devices.
1.12 jsg 103: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uow&sektion=4">uow(4)</a> driver for Maxim/Dallas DS2490 USB 1-Wire devices.
1.13 jsg 104: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owsbm&sektion=4">owsbm(4)</a> driver for 1-Wire smart battery monitor devices.
1.12 jsg 105: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zyd&sektion=4">zyd(4)</a> driver for ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices.
106: q
107: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=moscom&sektion=4">moscom(4)</a> driver for MosChip Semiconductor MCS7703 based USB serial adapters.
108: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=glxsb&sektion=4&arch=i386">glxsb(4)</a> driver for AMD Geode LX Security Block devices.
109: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vic&sektion=4">vic(4)</a> driver for VMware VMXnet Virtual Interface Controllers.
110: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malo&sektion=4">malo(4)</a> driver for Marvell Libertas IEEE 802.11b/g wireless network devices.
111: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwdog&sektion=4">pwdog(4)</a> driver for Quancom PWDOG1 watchdog timer devices.
112: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uberry&sektion=4">uberry(4)</a> driver for Research In Motion Blackberry devices.
113: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mbg&sektion=4">mbg(4)</a> driver for Meinberg Funkuhren radio clocks.
1.1 deraadt 114: </ul>
115: <p>
116:
117: <li>New tools:
118: <ul>
1.16 henning 119: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogd&sektion=8">syslogd(8)</a>
120: can now pipe logs directly to other programs, making real-time log analysis easier.
1.1 deraadt 121: </ul>
122: <p>
123:
124: <li>New functionality:
125: <ul>
1.21 henning 126: <li>the IP_RECVTTL
127: <a href="http://www.openbsd.org/cgi-bin/man.cgi?ip=moscom&sektion=4">ip(4)</a>
128: socket option allows programs to receive the incoming ttl on raw and udp sockets.
129: <li>the IP_MINTTL
130: <a href="http://www.openbsd.org/cgi-bin/man.cgi?ip=moscom&sektion=4">ip(4)</a>
131: socket option allows programs to ask the kernel to discard any packets with a ttl
132: smaller than the given one, for implementing the IP TLL security hack aka the Generalized
133: TTL Security Mechanism specified in RFC 3682.
1.1 deraadt 134: </ul>
135: <p>
136:
137: <li>Assorted improvements and code cleanup:
138: <ul>
1.5 deraadt 139: <li>...
1.1 deraadt 140: </ul>
141: <p>
142:
143: <li>Install/Upgrade process changes
144: <ul>
1.5 deraadt 145: <li>...
1.1 deraadt 146: </ul>
147: <p>
148:
1.11 david 149: <li>OpenSSH 4.6:
1.1 deraadt 150: <ul>
1.5 deraadt 151: <li>...
1.1 deraadt 152: </ul>
153: <p>
154:
1.17 henning 155: <li>OpenBGPD 4.1:
156: <ul>
1.19 henning 157: <li>fixes for sessions with tcp md5sig and ipsec. now sessions can be migrated from and to any
158: form of ipsec and tcpmd5 with just a simple <em>bgpctl reload</em>, and the session migrates
159: the next time it gets established.
1.22 ! henning 160: <li>include file support in the config parser
! 161: <li>bgpd can use the new IP_MINTTL socket option to implement the ttl security mechanism
1.17 henning 162: </ul>
163: <p>
164:
165: <li>OpenOSPFD 4.1:
166: <ul>
167: <li>...
168: </ul>
169: <p>
170:
171: <li>OpenDVMRPD 4.1:
172: <ul>
173: <li>...
174: </ul>
175: <p>
176:
177: <li>OpenRIPD 4.1:
178: <ul>
179: <li>...
180: </ul>
181: <p>
182:
183: <li>OpenNTPD 4.1:
184: <ul>
1.18 henning 185: <li>greatly improved support for timedelta sensors
1.20 henning 186: <li>ntpd now uses a strictly monotonically increasing time (uptime, basically) for its internal
187: timers, to setting the system clock doesn't influence query rates, trust levels etc any more.
1.17 henning 188: </ul>
189: <p>
190:
1.11 david 191: <li>Over 4200 ports, NNNN pre-built packages, improved package tools.
1.1 deraadt 192: <p>
193:
194: <li>As usual, steady improvements in manual pages and other documentation.
195: <p>
196:
197: <li>The system includes the following major components from outside suppliers:
198: <ul>
199: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
200: (+ patches) for legacy chipsets not supported by X.Org)
201: <li>Gcc 2.95.3
202: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
203: and 3.3.5
204: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
205: <li>Perl 5.8.8 (+ patches)
1.15 henning 206: <li>our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
1.1 deraadt 207: <li>OpenSSL 0.9.7j (+ patches)
208: <li>Groff 1.15
1.11 david 209: <li>Sendmail 8.14.0, with libmilter
210: <li>Bind 9.3.4 (+ patches)
1.1 deraadt 211: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
212: <li>Sudo 1.6.8p9
213: <li>Ncurses 5.2
214: <li>Latest KAME IPv6
215: <li>Heimdal 0.7.2 (+ patches)
216: <li>Arla 0.35.7
217: <li>Binutils 2.15 (+ patches)
218: <li>Gdb 6.3 (+ patches)
219: </ul>
220: <p>
221:
222: </ul>
223:
224: <a name="install"></a>
225: <hr>
226: <p>
227: <h3><font color="#0000e0">How to install</font></h3>
228: <p>
229: Following this are the instructions which you would have on a piece of
230: paper if you had purchased a CDROM set instead of doing an alternate
231: form of install. The instructions for doing an FTP (or other style
232: of) install are very similar; the CDROM instructions are left intact
233: so that you can see how much easier it would have been if you had
234: purchased a CDROM instead.
235: <p>
236:
237: <hr>
238: Please refer to the following files on the three CDROMs or FTP mirror for
239: extensive details on how to install OpenBSD 4.1 on your machine:
240: <p>
241: <ul>
242: <li>CD1:4.1/i386/INSTALL.i386
243: <p>
244: <li>CD2:4.1/amd64/INSTALL.amd64
245: <li>CD2:4.1/macppc/INSTALL.macppc
246: <p>
247: <li>CD3:4.1/sparc/INSTALL.sparc
248: <li>CD3:4.1/sparc64/INSTALL.sparc64
249: <p>
250: <li>FTP:.../OpenBSD/4.1/alpha/INSTALL.alpha
251: <li>FTP:.../OpenBSD/4.1/armish/INSTALL.armish
252: <li>FTP:.../OpenBSD/4.1/hp300/INSTALL.hp300
253: <li>FTP:.../OpenBSD/4.1/hppa/INSTALL.hppa
1.3 deraadt 254: <li>FTP:.../OpenBSD/4.1/landisk/INSTALL.landisk
1.1 deraadt 255: <li>FTP:.../OpenBSD/4.1/luna88k/INSTALL.luna88k
256: <li>FTP:.../OpenBSD/4.1/mac68k/INSTALL.mac68k
257: <li>FTP:.../OpenBSD/4.1/mvme68k/INSTALL.mvme68k
258: <li>FTP:.../OpenBSD/4.1/mvme88k/INSTALL.mvme88k
259: <li>FTP:.../OpenBSD/4.1/sgi/INSTALL.sgi
260: <li>FTP:.../OpenBSD/4.1/vax/INSTALL.vax
261: <li>FTP:.../OpenBSD/4.1/zaurus/INSTALL.zaurus
262: </ul>
263: <hr>
264:
265: <p>
266: Quick installer information for people familiar with OpenBSD, and the
267: use of the "disklabel -E" command. If you are at all confused when
268: installing OpenBSD, read the relevant INSTALL.* file as listed above!
269: <p>
270:
271: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
272: <ul>
273: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
274: release is on CD1. If your BIOS does not support booting from CD, you will need
275: to create a boot floppy to install from. To create a boot floppy write
276: <i>CD1:4.1/i386/floppy41.fs</i> to a floppy and boot via the floppy drive.
277:
278: <p>
279: Use <i>CD1:4.1/i386/floppyB41.fs</i> instead for greater SCSI controller
280: support, or <i>CD1:4.1/i386/floppyC41.fs</i> for better laptop support.
281:
282: <p>
283: If you can't boot from a CD or a floppy disk,
284: you can install across the network using PXE as described in
285: the included INSTALL.i386 document.
286:
287: <p>
288: If you are planning on dual booting OpenBSD with another OS, you will need to
289: read INSTALL.i386.
290:
291: <p>
292: To make a boot floppy under MS-DOS, use the "rawrite" utility located
293: at <i>CD1:4.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
294: use the
295: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
296: utility. The following is an example usage of
297: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
298: where the device could be "floppy", "rfd0c", or
299: "rfd0a".
300:
301: <ul><pre>
302: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
303: </pre></ul>
304:
305: <p>
306: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
307: your install will most likely fail. For more information on creating a boot
308: floppy and installing OpenBSD/i386 please refer to
309: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
310: </ul>
311:
312: <p>
313: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
314: <ul>
315: The 4.1 release of OpenBSD/amd64 is located on CD2.
316: Boot from the CD to begin the install - you may need to adjust
317: your BIOS options first.
318: If you can't boot from the CD, you can create a boot floppy to install from.
319: To do this, write <i>CD2:4.1/amd64/floppy41.fs</i> to a floppy, then
320: boot from the floppy drive.
321:
322: <p>
323: If you can't boot from a CD or a floppy disk,
324: you can install across the network using PXE as described in the included
325: INSTALL.amd64 document.
326:
327: <p>
328: If you are planning to dual boot OpenBSD with another OS, you will need to
329: read INSTALL.amd64.
330: </ul>
331:
332: <p>
333: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
334: <ul>
335: Put CD2 in your CDROM drive and poweron your machine while holding down the
336: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
337:
338: <p>
339: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
340: /4.1/macppc/bsd.rd</i>
341: </ul>
342:
343: <p>
344: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
345: <ul>
346: The 4.1 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
347: can use one of the two commands listed below, depending on the version of your
348: ROM.
349:
350: <ul><pre>
351: ok <strong>boot cdrom 4.1/sparc/bsd.rd</strong>
352: or
353: > <strong>b sd(0,6,0)4.1/sparc/bsd.rd</strong>
354: </pre></ul>
355:
356: <p>
357: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
358: To do so you need to write <i>CD3:4.1/sparc/floppy41.fs</i> to a floppy.
359: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
360: To boot from the floppy use one of the two commands listed below,
361: depending on the version of your ROM.
362:
363: <ul><pre>
364: ok <strong>boot floppy</strong>
365: or
366: > <strong>b fd()</strong>
367: </pre></ul>
368:
369: <p>
370: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
371: will most likely fail.
372:
373: <p>
374: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
375: setup a bootable tape, or install via network, as told in the
376: INSTALL.sparc file.
377: </ul>
378:
379: <p>
380: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
381: <ul>
382: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
383:
384: <p>
385: If this doesn't work, or if you don't have a CDROM drive, you can write
386: <i>CD3:4.1/sparc64/floppy41.fs</i> or <i>CD3:4.1/sparc64/floppyB41.fs</i>
387: (depending on your machine) to a floppy and boot it with <i>boot
388: floppy</i>. Refer to INSTALL.sparc64 for details.
389:
390: <p>
391: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
392: will most likely fail.
393:
394: <p>
395: You can also write <i>CD3:4.1/sparc64/miniroot41.fs</i> to the swap partition on
396: the disk and boot with <i>boot disk:b</i>.
397:
398: <p>
399: If nothing works, you can boot over the network as described in INSTALL.sparc64.
400: </ul>
401:
402: <p>
403: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
404: <ul>
405: <p>Write <i>FTP:4.1/alpha/floppy41.fs</i> or
406: <i>FTP:4.1/alpha/floppyB41.fs</i> (depending on your machine) to a diskette and
407: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
408:
409: <p>
410: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
411: will most likely fail.
412:
413: </ul>
414:
415: <p>
416: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
417: <ul>
418: <p>
419: After connecting a serial port, Thecus can boot directly from the network
420: either tftp or http. Configure the network using fconfig, reset,
421: then load bsd.rd, see INSTALL.armish for specific details.
422: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
423: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
424: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
425: More details are available in INSTALL.armish.
426: </ul>
427:
428: <p>
1.3 deraadt 429: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
1.1 deraadt 430: <ul>
431: <p>
1.3 deraadt 432: Boot over the network by following the instructions in INSTALL.hp300.
1.1 deraadt 433: </ul>
434:
435: <p>
1.3 deraadt 436: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
1.1 deraadt 437: <ul>
438: <p>
1.3 deraadt 439: Boot over the network by following the instructions in INSTALL.hppa or the
440: <a href="hppa.html#install">hppa platform page</a>.
1.1 deraadt 441: </ul>
442:
443: <p>
1.3 deraadt 444: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
1.1 deraadt 445: <ul>
1.11 david 446: <p>
1.3 deraadt 447: Write <i>CD3:4.1/landisk/miniroot41.fs</i> to the start of the CF
448: or disk, and boot normally.
1.1 deraadt 449: </ul>
450:
451: <p>
452: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
453: <ul>
454: <p>
455: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
456: Alternatively, you can create a bootable tape and boot from it. Refer to
457: the instructions in INSTALL.luna88k for more details.
458: </ul>
459:
460: <p>
461: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
462: <ul>
463: <p>
464: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
465: <i>FTP:4.1/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
466: Booter" with the location of your bsd.rd kernel and boot into the installer.
467: Refer to the instructions in INSTALL.mac68k for more details.
468: </ul>
469:
470: <p>
471: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
472: <ul>
473: <p>
474: You can create a bootable installation tape or boot over the network.<br>
475: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
476: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
477: for more details.
478: </ul>
479:
480: <p>
481: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
482: <ul>
483: <p>
484: You can create a bootable installation tape or boot over the network.<br>
485: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
486: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
487: for more details.
488: </ul>
489:
490: <p>
491: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
492: <ul>
493: <p>
494: Burn cd41.iso on a CD-R, put it in the CD drive of your machine and
495: select <i>Install System Software</i> from the System Maintenance menu.
496:
497: <p>
498: If your machine doesn't have a CD drive, you can
499: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
500: Refer to the instructions in INSTALL.sgi for more details.
501: </ul>
502:
503: <p>
504: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
505: <ul>
506: Boot over the network via mopbooting as described in INSTALL.vax.
507: </ul>
508:
509: <p>
510: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
511: <ul>
512: <p>
513: Using the Linux built-in graphical ipkg installer, install the
514: openbsd41_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
515: for a few important details.
516: </ul>
517:
518: <p>
519: <h3><font color="#e00000">Notes about the source code:</font></h3>
520: <ul>
521: src.tar.gz contains a source archive starting at /usr/src. This file
522: contains everything you need except for the kernel sources, which are
523: in a separate archive. To extract:
524: <p>
525: <ul><pre>
526: # <strong>mkdir -p /usr/src</strong>
527: # <strong>cd /usr/src</strong>
528: # <strong>tar xvfz /tmp/src.tar.gz</strong>
529: </pre></ul>
530: <p>
531: sys.tar.gz contains a source archive starting at /usr/src/sys.
532: This file contains all the kernel sources you need to rebuild kernels.
533: To extract:
534: <p>
535: <ul><pre>
536: # <strong>mkdir -p /usr/src/sys</strong>
537: # <strong>cd /usr/src</strong>
538: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
539: </pre></ul>
540: <p>
541: Both of these trees are a regular CVS checkout. Using these trees it
542: is possible to get a head-start on using the anoncvs servers as
543: described <a href="anoncvs.html">here</a>.
544: Using these files
545: results in a much faster initial CVS update than you could expect from
546: a fresh checkout of the full OpenBSD source tree.
547: <p>
548: </ul>
549:
550: <a name="upgrade"></a>
551: <hr>
552: <p>
553: <h3><font color="#0000e0">How to upgrade</font></h3>
554: <p>
555: If you already have an OpenBSD 4.0 system, and do not want to reinstall,
556: upgrade instructions and advice can be found in the
557: <a href="faq/upgrade41.html">Upgrade Guide</a>.
558:
559: <a name="ports"></a>
560: <hr>
561: <p>
562: <h3><font color="#0000e0">Ports Tree</font></h3>
563: <p>
564: A ports tree archive is also provided. To extract:
565: <p>
566: <ul><pre>
567: # <strong>cd /usr</strong>
568: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
569: # <strong>cd ports</strong>
570: </pre></ul>
571: <p>
572: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
573: read the <a href="ports.html">ports</a> page
574: if you know nothing about ports
575: at this point. This text is not a manual of how to use ports.
576: Rather, it is a set of notes meant to kickstart the user on the
577: OpenBSD ports system.
578: <p>
579: The <i>ports/</i> directory represents a CVS (see the manpage for
580: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
581: cvs(1)</a> if
582: you aren't familiar with CVS) checkout of our ports. As with our complete
583: source tree, our ports tree is available via anoncvs. So, in
584: order to keep current with it, you must make the <i>ports/</i> tree
585: available on a read-write medium and update the tree with a command
586: like:
587: <p>
588: <ul><pre>
1.11 david 589: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_1</strong>
1.1 deraadt 590: </pre></ul>
591: <p>
592: [Of course, you must replace the local directory and server name here
593: with the location of your ports collection and a nearby anoncvs
594: server.]
595: <p>
596: Note that most ports are available as packages through FTP. Updated
597: packages for the 4.1 release will be made available if problems arise.
598: <p>
599: If you're interested in seeing a port added, would like to help out, or just
600: would like to know more, the mailing list ports@openbsd.org is a good
601: place to know.
602: <p>
603:
604: <hr>
605: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
606: alt="OpenBSD"></a>
607: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
608: <br><small>
1.22 ! henning 609: $OpenBSD: 41.html,v 1.21 2007/03/06 14:44:50 henning Exp $
1.1 deraadt 610: </small>
611:
612: </body>
613: </html>