Annotation of www/51.html, Revision 1.8
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.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 5.1">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2011 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>
1.5 deraadt 21: <a href="images/Bugbusters.jpg">
1.1 deraadt 22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Bugbusters.jpg" alt="OpenBSD 5.1 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.1 Release:</font></h2>
25: <p>
26: To be released May 1, 2012<br>
27: Copyright 1997-2012, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-9-5</font>
29: <br>
30: <a href="lyrics.html#51">5.1 Song: "Bug Busters"</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/5.1/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
49: <li>Have a look at <a href="errata51.html">The 5.1 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus51.html">detailed log of changes</a> between the
52: 5.0 and 5.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: xenocara.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 5.1.
70: For a comprehensive list, see the <a href="plus51.html">changelog</a> leading
71: to 5.1.
72: <p>
73:
74: <ul>
1.3 guenther 75: <li>Improved hardware support, including:
76: <ul>
1.7 sthen 77: <li>umsm(4) supports additional mobile broadband devices.
78: <li>Non-GigE ale(4) devices can now establish link to a GigE link partner.
1.3 guenther 79: <li>[Not written yet]
1.4 deraadt 80: </ul>
1.3 guenther 81: <p>
82:
83: <li>Generic network stack improvements:
84: <ul>
1.7 sthen 85: <li>NAT64 (NAT-PT) support in PF using the af-to keyword.
86: <li>RFC4638 MTU negotiation for pppoe(4).
87: <li>pflow(4) now supports Netflow v9/ipfix.
88: <li>Improved IPv6 fragment checking in PF and the network stack.
89: <li>Various enhancements with ICMP/ICMPv6 states in PF.
90: <li>Many robustness improvements for IEEE 802.11 (particularly hostap).
91: <li>pfsync(4) improvements including jumbo frames and automatically requesting a bulk update after a physical interface comes online.
92: <li>One-shot rule support for PF, for use with proxies via anchors.
93: <li>Improved vlan priority support, including mapping to interface queues.
1.4 deraadt 94: </ul>
1.3 guenther 95: <p>
96: <li>Routing daemons and other userland network improvements:
97: <ul>
98: <li>fstat now displays routing table ID and socket-splicing information and ps can display routing table ID.
1.7 sthen 99: <li>traceroute and traceroute6 can look up ASNs for each hop.
100: <li>snmpd(8) adds a MIB to show statistics for carp(4) interfaces.
101: <li>bgpctl parses and display MRT routing table dumps.
102: <li>ntpd supports multiple rdomains.
103: <li>When ospfd detects route socket overflow, it now delays before it reloads the fib.
104: <li>Improved and more consistent ToS support in various network tools (tcpbench/nc/ping/traceroute).
1.3 guenther 105: <li>[Not written yet]
1.4 deraadt 106: </ul>
1.3 guenther 107: <p>
1.4 deraadt 108:
1.3 guenther 109: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
110: <ul>
111: <li>[Not written yet]
1.4 deraadt 112: </ul>
1.3 guenther 113: <p>
114: <li>SCSI improvements:
115: <ul>
116: <li>[Not written yet]
1.4 deraadt 117: </ul>
1.3 guenther 118: <p>
1.8 ! espie 119: <li>Major performance and stability improvements in the package build process
! 120: <ul>
! 121: <li>downloading of distfiles is simpler, can resume interrupted download,
! 122: discover file moves, and expire old files. Distfiles mirror sites now use
! 123: the new and improved method.
! 124: <li>dependency handling during ports build and package creation is at least
! 125: twice as fast, twenty times as fast in pathological cases. This also affects
! 126: user scripts such as out-of-date
! 127: <li>more checks are done during package builds, for increased user friendliness
! 128: <li>the long term process of documenting the infrastructure is now 100% done.
! 129: <li>The distributed ports builder (dpb) can now clean up old dependencies,
! 130: thus helping package builds be more reproducible.
! 131: This found tens of hidden build dependencies in the ports tree already.
! 132: <li>the semantics of pkg_add -a have been nailed down and a few minor bugs
! 133: have been fixed.
! 134: <li>arch-dependent issues are better classified, leading to better builds on
! 135: old architectures in some complicated cases. In particular, dpb explicitly
! 136: purges from memory info about packages it cannot build and stuff that
! 137: depends on it, leading to better life on sparc and vax which have very
! 138: small data-size limits.
! 139: <li>dpb recognizes full builds and trims some duplicate package builds
! 140: </ul>
! 141: <p>
1.3 guenther 142: <li>Assorted improvements:
143: <ul>
144: <li>Improved locale support.
145: <li>Support for MSG_NOSIGNAL
146: <li>KERN_PROC_CWD sysctl() for fetching the path to a process's working directory.
147: <li>Improved fnmatch(), glob(), and regcomp() implementations to resist DoS attacks.
148: <li>Lots of HISTORY and AUTHORS information added to manpages.
149: <li>Improved checking of file-offset wraparound.
150: <li>pwrite/pwritev now correctly ignored O_APPEND.
151: <li>Improved conformance of header files with standards.
152: <li>Improved cancelation support in both user-threads (libpthread) and rthreads.
153: <li>Improved correctness of execing, coredumping, signal delivery, alternate signal stacks, blocking socket accepts(), mutexes and condition variables, per-thread errno, symbol binding, and ktracing when rthreads are in use.
154: <li>Architecture-independent kernel support for thread-control-block handling for rthreads.
155: <li>Small improvements to Linux compat (only available on i386).
1.4 deraadt 156: </ul>
1.3 guenther 157: <p>
158: <li>Install/Upgrade process changes:
159: <ul>
160: <li>[Not written yet]
1.4 deraadt 161: </ul>
1.1 deraadt 162: <p>
163:
1.2 deraadt 164: <li>Over ?,??? ports, major robustness and speed improvements in package tools.
1.1 deraadt 165: <li>Many pre-built packages for each architecture:
166: <table border=0 cellspacing=0 cellpadding=2 width="95%">
167: <tr>
168: <td valign="top" width="25%">
169: <ul>
170: <li>i386: 7229
171: <li>sparc64: 6599
172: <li>alpha: 5943
173: </ul></td><td valign=top width="25%"><ul>
1.2 deraadt 174: <li>sh: ?
1.1 deraadt 175: <li>amd64: 7181
176: <li>powerpc: 6852
177: </ul></td><td valign=top width="25%"><ul>
178: <li>sparc: 4152
1.2 deraadt 179: <li>arm: ?
1.1 deraadt 180: <li>hppa: 6159
181: </ul></td><td valign=top width="25%"><ul>
182: <li>vax: 2199
1.2 deraadt 183: <li>mips64: ?
1.1 deraadt 184: <li>mips64el: 5807
185: </ul></td></tr></table>
186: <p>
187:
188: <li>Some highlights:
189: <ul>
190: <li>Gnome 2.32.2 <li>KDE 3.5.10
191: <li>Xfce 4.8.0 <li>MySQL 5.1.54
192: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
193: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
194: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
195: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
196: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
197: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
198: <li>Tcl 8.5.9 <li>Jdk 1.7
199: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
200: <li>Groff 1.21
201: </ul>
202: <p>
203:
204: <li>As usual, steady improvements in manual pages and other documentation.
205: <li>Base system and Xenocara manuals are now installed as source code,
206: making <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
207: <li>If both formatted and source versions of manuals are installed,
208: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
209:
210: - The system includes the following major components from outside suppliers:
1.6 matthieu 211: <li>Xenocara (based on X.Org 7.6 with xserver 1.11.4 + patches,
212: freetype 2.4.8, fontconfig 2.8.0, Mesa 7.10.3, xterm 276,
213: xkeyboard-config 2.5 and more)
1.1 deraadt 214: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
215: <li>Perl 5.12.2 (+ patches)
216: <li>Our improved and secured version of Apache 1.3, with
217: SSL/TLS and DSO support
218: <li>OpenSSL 1.0.0a (+ patches)
219: <li>Sendmail 8.14.5, with libmilter
220: <li>Bind 9.4.2-P2 (+ patches)
221: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
222: <li>Sudo 1.7.2p8
223: <li>Ncurses 5.7
224: <li>Heimdal 0.7.2 (+ patches)
225: <li>Arla 0.35.7
226: <li>Binutils 2.15 (+ patches)
227: <li>Gdb 6.3 (+ patches)
228: </ul>
229:
230: </ul>
231:
232: <a name="install"></a>
233: <hr>
234: <p>
235: <h3><font color="#0000e0">How to install</font></h3>
236: <p>
237: Following this are the instructions which you would have on a piece of
238: paper if you had purchased a CDROM set instead of doing an alternate
239: form of install. The instructions for doing an FTP (or other style
240: of) install are very similar; the CDROM instructions are left intact
241: so that you can see how much easier it would have been if you had
242: purchased a CDROM instead.
243: <p>
244:
245: <hr>
246: Please refer to the following files on the three CDROMs or FTP mirror for
247: extensive details on how to install OpenBSD 5.1 on your machine:
248: <p>
249: <ul>
250: <li>CD1:5.1/i386/INSTALL.i386
251: <p>
252: <li>CD2:5.1/amd64/INSTALL.amd64
253: <li>CD2:5.1/macppc/INSTALL.macppc
254: <p>
255: <li>CD3:5.1/sparc64/INSTALL.sparc64
256: <p>
257: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
258: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
259: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
260: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
261: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
262: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
263: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
264: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
265: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
266: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
267: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
268: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
269: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
270: </ul>
271: <hr>
272:
273: <p>
274: Quick installer information for people familiar with OpenBSD, and the
275: use of the "disklabel -E" command. If you are at all confused when
276: installing OpenBSD, read the relevant INSTALL.* file as listed above!
277: <p>
278:
279: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
280: <ul>
281: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
282: release is on CD1. If your BIOS does not support booting from CD, you will need
283: to create a boot floppy to install from. To create a boot floppy write
284: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
285:
286: <p>
287: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
288: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
289:
290: <p>
291: If you can't boot from a CD or a floppy disk,
292: you can install across the network using PXE as described in
293: the included INSTALL.i386 document.
294:
295: <p>
296: If you are planning on dual booting OpenBSD with another OS, you will need to
297: read INSTALL.i386.
298:
299: <p>
300: To make a boot floppy under MS-DOS, use the "rawrite" utility located
301: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
302: use the
303: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
304: utility. The following is an example usage of
305: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
306: where the device could be "floppy", "rfd0c", or
307: "rfd0a".
308:
309: <ul><pre>
310: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
311: </pre></ul>
312:
313: <p>
314: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
315: your install will most likely fail. For more information on creating a boot
316: floppy and installing OpenBSD/i386 please refer to
317: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
318: </ul>
319:
320: <p>
321: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
322: <ul>
323: The 5.1 release of OpenBSD/amd64 is located on CD2.
324: Boot from the CD to begin the install - you may need to adjust
325: your BIOS options first.
326: If you can't boot from the CD, you can create a boot floppy to install from.
327: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
328: boot from the floppy drive.
329:
330: <p>
331: If you can't boot from a CD or a floppy disk,
332: you can install across the network using PXE as described in the included
333: INSTALL.amd64 document.
334:
335: <p>
336: If you are planning to dual boot OpenBSD with another OS, you will need to
337: read INSTALL.amd64.
338: </ul>
339:
340: <p>
341: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
342: <ul>
343: Put CD2 in your CDROM drive and poweron your machine while holding down the
344: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
345:
346: <p>
347: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
348: /5.1/macppc/bsd.rd</i>
349: </ul>
350:
351: <p>
352: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
353: <ul>
354: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
355:
356: <p>
357: If this doesn't work, or if you don't have a CDROM drive, you can write
358: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
359: (depending on your machine) to a floppy and boot it with <i>boot
360: floppy</i>. Refer to INSTALL.sparc64 for details.
361:
362: <p>
363: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
364: will most likely fail.
365:
366: <p>
367: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
368: the disk and boot with <i>boot disk:b</i>.
369:
370: <p>
371: If nothing works, you can boot over the network as described in INSTALL.sparc64.
372: </ul>
373:
374: <p>
375: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
376: <ul>
377: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
378: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
379: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
380:
381: <p>
382: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
383: will most likely fail.
384:
385: </ul>
386:
387: <p>
388: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
389: <ul>
390: <p>
391: After connecting a serial port, Thecus can boot directly from the network
392: either tftp or http. Configure the network using fconfig, reset,
393: then load bsd.rd, see INSTALL.armish for specific details.
394: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
395: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
396: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
397: More details are available in INSTALL.armish.
398: </ul>
399:
400: <p>
401: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
402: <ul>
403: <p>
404: Boot over the network by following the instructions in INSTALL.hp300.
405: </ul>
406:
407: <p>
408: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
409: <ul>
410: <p>
411: Boot over the network by following the instructions in INSTALL.hppa or the
412: <a href="hppa.html#install">hppa platform page</a>.
413: </ul>
414:
415: <p>
416: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
417: <ul>
418: <p>
419: Write <i>miniroot51.fs</i> to the start of the CF
420: or disk, and boot normally.
421: </ul>
422:
423: <p>
424: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
425: <ul>
426: <p>
427: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
428: or boot bsd.rd via tftp.
429: Refer to the instructions in INSTALL.loongson for more details.
430: </ul>
431: <p>
432:
433: <p>
434: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
435: <ul>
436: <p>
437: You can create a bootable installation tape or boot over the network.<br>
438: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
439: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
440: for more details.
441: </ul>
442:
443: <p>
444: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
445: <ul>
446: <p>
447: You can create a bootable installation tape or boot over the network.<br>
448: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
449: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
450: for more details.
451: </ul>
452:
453: <p>
454: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
455: <ul>
456: <p>
457: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
458: machine and select <i>Install System Software</i> from the System Maintenance
459: menu.
460:
461: <p>
462: On other systems, or if your machine doesn't have a CD drive, you can
463: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
464: the kernel matching your system type.
465: Refer to the instructions in INSTALL.sgi for more details.
466: </ul>
467:
468: <p>
469: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
470: <ul>
471: <p>
472: After connecting a serial port, boot over the network via DHCP/tftp.
473: Refer to the instructions in INSTALL.socppc for more details.
474: </ul>
475:
476: <p>
477: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
478: <ul>
479: Boot from one of the provided install ISO images, using one of the two
480: commands listed below, depending on the version of your ROM.
481:
482: <ul><pre>
483: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
484: or
485: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
486: </pre></ul>
487:
488: <p>
489: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
490: To do so you need to write <i>floppy51.fs</i> to a floppy.
491: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
492: To boot from the floppy use one of the two commands listed below,
493: depending on the version of your ROM.
494:
495: <ul><pre>
496: ok <strong>boot floppy</strong>
497: or
498: > <strong>b fd()</strong>
499: </pre></ul>
500:
501: <p>
502: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
503: will most likely fail.
504:
505: <p>
506: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
507: setup a bootable tape, or install via network, as told in the
508: INSTALL.sparc file.
509: </ul>
510:
511: <p>
512: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
513: <ul>
514: Boot over the network via mopbooting as described in INSTALL.vax.
515: </ul>
516:
517: <p>
518: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
519: <ul>
520: <p>
521: Using the Linux built-in graphical ipkg installer, install the
522: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
523: for a few important details.
524: </ul>
525:
526: <p>
527: <h3><font color="#e00000">Notes about the source code:</font></h3>
528: <ul>
529: src.tar.gz contains a source archive starting at /usr/src. This file
530: contains everything you need except for the kernel sources, which are
531: in a separate archive. To extract:
532: <p>
533: <ul><pre>
534: # <strong>mkdir -p /usr/src</strong>
535: # <strong>cd /usr/src</strong>
536: # <strong>tar xvfz /tmp/src.tar.gz</strong>
537: </pre></ul>
538: <p>
539: sys.tar.gz contains a source archive starting at /usr/src/sys.
540: This file contains all the kernel sources you need to rebuild kernels.
541: To extract:
542: <p>
543: <ul><pre>
544: # <strong>mkdir -p /usr/src/sys</strong>
545: # <strong>cd /usr/src</strong>
546: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
547: </pre></ul>
548: <p>
549: Both of these trees are a regular CVS checkout. Using these trees it
550: is possible to get a head-start on using the anoncvs servers as
551: described <a href="anoncvs.html">here</a>.
552: Using these files
553: results in a much faster initial CVS update than you could expect from
554: a fresh checkout of the full OpenBSD source tree.
555: <p>
556: </ul>
557:
558: <a name="upgrade"></a>
559: <hr>
560: <p>
561: <h3><font color="#0000e0">How to upgrade</font></h3>
562: <p>
1.2 deraadt 563: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 564: upgrade instructions and advice can be found in the
565: <a href="faq/upgrade51.html">Upgrade Guide</a>.
566:
567: <a name="ports"></a>
568: <hr>
569: <p>
570: <h3><font color="#0000e0">Ports Tree</font></h3>
571: <p>
572: A ports tree archive is also provided. To extract:
573: <p>
574: <ul><pre>
575: # <strong>cd /usr</strong>
576: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
577: # <strong>cd ports</strong>
578: </pre></ul>
579: <p>
580: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
581: read the <a href="faq/ports/index.html">ports</a> page
582: if you know nothing about ports
583: at this point. This text is not a manual of how to use ports.
584: Rather, it is a set of notes meant to kickstart the user on the
585: OpenBSD ports system.
586: <p>
587: The <i>ports/</i> directory represents a CVS (see the manpage for
588: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
589: cvs(1)</a> if
590: you aren't familiar with CVS) checkout of our ports. As with our complete
591: source tree, our ports tree is available via anoncvs. So, in
592: order to keep current with it, you must make the <i>ports/</i> tree
593: available on a read-write medium and update the tree with a command
594: like:
595: <p>
596: <ul><pre>
1.2 deraadt 597: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 598: </pre></ul>
599: <p>
600: [Of course, you must replace the local directory and server name here
601: with the location of your ports collection and a nearby anoncvs
602: server.]
603: <p>
604: Note that most ports are available as packages through FTP. Updated
605: packages for the 5.1 release will be made available if problems arise.
606: <p>
607: If you're interested in seeing a port added, would like to help out, or just
608: would like to know more, the mailing list ports@openbsd.org is a good
609: place to know.
610: <p>
611:
612: <hr>
613: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
614: alt="OpenBSD"></a>
615: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
616: <br><small>
1.8 ! espie 617: $OpenBSD: 51.html,v 1.7 2012/03/14 10:37:31 sthen Exp $
1.1 deraadt 618: </small>
619:
620: </body>
621: </html>