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