Annotation of www/54.html, Revision 1.46
1.46 ! bentley 1: <!doctype html>
! 2: <html lang=en id=release>
! 3: <meta charset=utf-8>
! 4:
1.30 deraadt 5: <title>OpenBSD 5.4</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 5.4">
1.40 deraadt 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.42 tb 9: <link rel="canonical" href="https://www.openbsd.org/54.html">
1.46 ! bentley 10: <style>
! 11: #sourcecode h3 {
! 12: color: var(--red);
! 13: }
! 14:
! 15: #sourcecode p {
! 16: margin-left: 2.75em;
! 17: }
! 18:
! 19: #sourcecode blockquote {
! 20: margin-left: 4.5em;
! 21: }
! 22: </style>
1.1 deraadt 23:
1.46 ! bentley 24: <h2 id=OpenBSD>
1.1 deraadt 25: <a href="index.html">
1.46 ! bentley 26: <i>Open</i><b>BSD</b></a>
! 27: 5.4
1.40 deraadt 28: </h2>
1.1 deraadt 29:
1.46 ! bentley 30: <table>
! 31: <tr>
! 32: <td>
1.14 deraadt 33: <a href="images/Puffia.jpg">
1.46 ! bentley 34: <img width="227" height="343" src="images/Puffia.jpg" alt="Puffia"></a>
! 35: <td>
1.25 nick 36: Released Nov 1, 2013<br>
1.1 deraadt 37: Copyright 1997-2013, Theo de Raadt.<br>
1.46 ! bentley 38: <cite class=isbn>ISBN 978-0-9881561-2-8</cite>
1.1 deraadt 39: <br>
1.37 deraadt 40: 5.4 Song: <a href="lyrics.html#54">"Our favorite hacks"</a>
1.45 deraadt 41: <br>
42: <br>
1.1 deraadt 43: <ul>
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
1.46 ! bentley 46: <li>Go to the <code class=reldir>pub/OpenBSD/5.4/</code> directory on
1.1 deraadt 47: one of the mirror sites.
48: <li>Have a look at <a href="errata54.html">The 5.4 Errata page</a> for a list
49: of bugs and workarounds.
50: <li>See a <a href="plus54.html">detailed log of changes</a> between the
51: 5.3 and 5.4 releases.
52: </ul>
1.40 deraadt 53: <p>
54: All applicable copyrights and credits are in the src.tar.gz,
55: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
56: files fetched via ports.tar.gz.
1.46 ! bentley 57: </table>
1.40 deraadt 58:
59: <hr>
1.1 deraadt 60:
1.46 ! bentley 61: <section id=new>
! 62: <h3>What's New</h3>
! 63:
1.1 deraadt 64: <p>
65: This is a partial list of new features and systems included in OpenBSD 5.4.
66: For a comprehensive list, see the <a href="plus54.html">changelog</a> leading
67: to 5.4.
68: <p>
69:
70: <ul>
1.29 tedu 71: <li>New/extended platforms:
1.2 bcallah 72: <ul>
73: <li><a href="octeon.html">OpenBSD/octeon</a><br>
74: New platform for systems based on the Cavium Octeon MIPS-compatible
75: processors. Supported machines include:
76: <ul>
77: <li>Portwell CAM-0100
78: <li>Ubiquiti Networks EdgeRouter LITE (no local storage)
79: </ul>
1.15 lteo 80: <li><a href="beagle.html">OpenBSD/beagle</a><br>
81: New platform for OMAP3/4 and AM335x systems using an ARM Cortex-A8 or
82: Cortex-A9 CPU. Supported boards include:
83: <ul>
84: <li>BeagleBoard C4 / xM
85: <li>BeagleBone and BeagleBone Black
86: <li>PandaBoard and PandaBoard ES
87: </ul>
1.2 bcallah 88: </ul>
89: <p>
90:
1.1 deraadt 91: <li>Improved hardware support, including:
92: <ul>
1.46 ! bentley 93: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>
1.7 jsg 94: has been overhauled, including:
95: <ul>
96: <li>Now mostly in sync with Linux 3.8.13.
97: <li>Support for Kernel Mode Setting (KMS) including support for additional output types such as DisplayPort.
98: <li>Sandy Bridge and newer parts which previously had only ShadowFB acceleration
99: now have full hardware acceleration including use of the 3D rings.
1.46 ! bentley 100: <li><a href="https://man.openbsd.org/wsdisplay.4">wsdisplay(4)</a> now attaches to
! 101: <a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a> and providers a
1.7 jsg 102: framebuffer console.
1.18 deraadt 103: </ul>
1.46 ! bentley 104: <li><a href="https://man.openbsd.org/macppc/vgafb.4">vgafb(4/macppc)</a> now supports multiple virtual consoles.
! 105: <li>Support for Elantech touchpads version 4 (clickpad) added to <a href="https://man.openbsd.org/pms.4">pms(4)</a>.
! 106: <li>Fixed <a href="https://man.openbsd.org/st.4">st(4)</a> EOM handling, enabling much better Bacula support.
! 107: <li>Support for <a href="https://man.openbsd.org/sparc64/vdsk.4">vdsk(4)</a> disks larger than 2TB.
1.15 lteo 108: </ul>
1.1 deraadt 109: <p>
110:
111: <li>Generic network stack improvements:
112: <ul>
1.6 pascal 113: <li>Reworked checksum handling for network protocols.
1.46 ! bentley 114: <li><a href="https://man.openbsd.org/divert.4">divert(4)</a> now recalculates the IP and protocol checksums of reinjected packets.
1.16 krw 115: <li>No longer attempt to delete the undeletable RNF_ROOT route.
1.1 deraadt 116: </ul>
117: <p>
118:
119: <li>Routing daemons and other userland network improvements:
120: <ul>
1.46 ! bentley 121: <li>Support SSL inspection in <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>.
! 122: <li>Added <a href="https://man.openbsd.org/slowcgi.8">slowcgi(8)</a>, a libevent-based FastCGI implementation.
! 123: <li>Enabled ECDHE support in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
! 124: <li>Do not start <a href="https://man.openbsd.org/inetd.8">inetd(8)</a> by default any more.
! 125: <li>Many <a href="https://man.openbsd.org/ldpd.8">ldpd(8)</a> improvements, including a speed-up of the session establishment process, support for adjacencies and targeted hellos, support for multiple addresses per interface, and more.
1.1 deraadt 126: </ul>
127: <p>
128:
1.46 ! bentley 129: <li><a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a> improvements:
1.16 krw 130: <ul>
131: <li>Improved compliance with RFC 2131 strictures on client-identifiers.
132: <li>Fixed synchronization of leases.
133: <li>Replaced manual date parsing and printing with strftime and strptime.
134: <li>Explicitly label dates in leases files as being UTC dates.
135: </ul>
136:
137: <p>
138:
1.46 ! bentley 139: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improvements:
1.16 krw 140: <ul>
141: <li>Delete routes added by defunct dhclient processes.
142: <li>Improved handling of client-identifier option.
143: <li>Increased ip_ttl on packets to 128, allowing more distant servers to provide leases.
144: <li>Replaced manual date parsing and printing with strftime and strptime.
145: <li>Explicitly label dates in leases files as being UTC dates.
1.21 sobrado 146: <li>Improved interactions between dhclient processes to make the most recent dhclient started the most likely to persist.
1.16 krw 147: <li>Support for static routes and classless static routes options.
148: <li>Fixed log messages to print correct addresses.
149: <li>Reduced log verbosity by emitting debug messages only when debugging.
150: <li>Eliminated unnecessary address and route churn during lease renewal by not binding leases identical to the current one.
151: </ul>
152:
153: <p>
1.1 deraadt 154:
155: <li>OpenSMTPD 5.3.3:
156: <ul>
157: <li>New features:
158: <ul>
1.17 gilles 159: <li>Add support for LMTP local deliveries
160: <li>Add SECURE and AUTH transmission types
161: <li>Add support for transparent queue compression
162: <li>helo names can now be looked up in a db(3) table
163: <li>New "error:" alias kind allows aliasing a user-part to an error
164: <li>Traces can be (de)activated at runtime
1.1 deraadt 165: </ul>
166:
167: <li>Improvements:
168: <ul>
1.17 gilles 169: <li>More robust queue can cope with runtime errors
170: <li>Improved routing strategies
171: <li>Assorted minor bug fixes and cleanups
1.1 deraadt 172: </ul>
173: </ul>
174: <p>
175:
176: <li>Performance improvements:
177: <ul>
1.13 guenther 178: <li>Don't require the kernel lock when processing audio interrupts.
179: <li>Improved kernel bcopy/memmove/memcpy implementations and made more careful choices between them.
1.46 ! bentley 180: <li>Implemented symbol caching and RELCOUNT/RELACOUNT optimizations in <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>.
1.1 deraadt 181: </ul>
182: <p>
183:
184: <li>Threading improvements:
185: <ul>
1.13 guenther 186: <li>Closed various race conditions between exit/fork/execve/__tfork/__threxit/ptrace in both the kernel and libpthread.
1.1 deraadt 187: </ul>
188: <p>
189:
190: <li>Assorted improvements:
191: <ul>
1.46 ! bentley 192: <li>Added a <a href="https://man.openbsd.org/locale.1">locale(1)</a> utility.
! 193: <li>Added <a href="https://man.openbsd.org/ltrace.1">ltrace(1)</a>, a tool to trace PLT calls.
! 194: <li>Added a new implementation of <a href="https://man.openbsd.org/cu.1">cu(1)</a>.
! 195: <li>Added <a href="https://man.openbsd.org/shm_open.3">shm_open(3)/shm_unlink(3)</a>.
! 196: <li>Added <a href="https://man.openbsd.org/getprogname.3">getprogname(3)/setprogname(3)</a>.
! 197: <li>Added <a href="https://man.openbsd.org/clock_getcpuclockid.3">clock_getcpuclockid(3)</a> and
! 198: <a href="https://man.openbsd.org/pthread_getcpuclockid.3">pthread_getcpuclockid(3)</a>.
! 199: <li>Added <a href="https://man.openbsd.org/fmemopen.3">fmemopen(3)</a>.
! 200: <li>Added <a href="https://man.openbsd.org/open_memstream.3">open_memstream(3)/open_wmemstream(3)</a>.
! 201: <li>Added <a href="https://man.openbsd.org/memmem.3">memmem(3)</a>.
! 202: <li>Added <a href="https://man.openbsd.org/fdatasync.2">fdatasync(2)</a>.
! 203: <li>Added <a href="https://man.openbsd.org/ppoll.2">ppoll(2)</a>.
! 204: <li>Added <a href="https://man.openbsd.org/pselect.2">pselect(2)</a>.
! 205: <li>Added <a href="https://man.openbsd.org/utrace.2">utrace(2)</a>.
! 206: <li>Switched the <a href="vax.html">VAX</a> platform to <a href="https://man.openbsd.org/elf.5">ELF</a>.
1.6 pascal 207: <li>Fixed kernel profiling on multiprocessor systems.
1.46 ! bentley 208: <li>Experimental support for <a href="https://man.openbsd.org/fuse.4">fuse(4)</a>.
! 209: <li>Added support for <code>write_opt=nodir</code> and the 'path' and 'linkpath' extended headers to <a href="https://man.openbsd.org/pax.1">pax(1)</a> (aka <a href="https://man.openbsd.org/tar.1">tar(1)</a>).
! 210: <li>Brought <a href="https://man.openbsd.org/getconf.1">getconf(1)</a> up to date with recent POSIX updates.
! 211: <li>Added -L and -P options to <a href="https://man.openbsd.org/ln.1">ln(1)</a>.
! 212: <li>More structures and symbolic values displayed by <a href="https://man.openbsd.org/kdump.1">kdump(1)</a>.
! 213: <li><a href="https://man.openbsd.org/pkill.1">pkill(1)</a> now accepts an -I option to ask for confirmation on killing processes.
1.1 deraadt 214: </ul>
215: <p>
216:
217: <li>OpenSSH 6.3:
218: <ul>
219: <li>New features:
220: <ul>
1.46 ! bentley 221: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 222: add
1.46 ! bentley 223: <a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>
1.1 deraadt 224: support to
1.46 ! bentley 225: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>;
1.1 deraadt 226: allows encrypted hostkeys, or hostkeys on smartcards.
1.46 ! bentley 227: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 228: and
1.46 ! bentley 229: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 230: allow optional time-based rekeying via a second argument to the
1.46 ! bentley 231: existing <code>RekeyLimit</code> option. <code>RekeyLimit</code> is now
1.1 deraadt 232: supported in
1.46 ! bentley 233: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
1.1 deraadt 234: as well as on the client.
1.46 ! bentley 235: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 236: standardise logging of information during user authentication.
1.46 ! bentley 237: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.1 deraadt 238: add the ability to query supported ciphers, MAC algorithms, key types
239: and key exchange methods.
1.46 ! bentley 240: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 241: support <code>ProxyCommand=-</code> to allow support cases where stdin and
1.1 deraadt 242: stdout already point to the proxy.
1.46 ! bentley 243: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 244: allow <code>IdentityFile=none</code>.
! 245: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 246: and
1.46 ! bentley 247: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
! 248: add <code>-E</code> option to
! 249: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 250: and
1.46 ! bentley 251: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.1 deraadt 252: to append debugging logs to a specified file instead of stderr or
253: syslog.
1.46 ! bentley 254: <li><a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
! 255: add support for resuming partial downloads using the <code>reget</code>
1.1 deraadt 256: command and on the
1.46 ! bentley 257: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>
! 258: commandline or on the get commandline using the <code>-a</code>
1.1 deraadt 259: (append) option.
1.46 ! bentley 260: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 261: add an <code>IgnoreUnknown</code> configuration option to selectively
1.1 deraadt 262: suppress errors arising from unknown configuration directives.
1.46 ! bentley 263: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 264: add support for submethods to be appended to required authentication
1.46 ! bentley 265: methods listed via <code>AuthenticationMethods</code>.
1.1 deraadt 266: </ul>
267: <li>The following significant bugs have been fixed in this release:
268: <ul>
1.46 ! bentley 269: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 270: fix refusal to accept certificate if a key of a different type to the
1.46 ! bentley 271: CA key appeared in <code>authorized_keys</code> before the CA key.
! 272: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
! 273: <a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>
1.1 deraadt 274: and
1.46 ! bentley 275: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.1 deraadt 276: Use a monotonic time source for timers so that things like keepalives
277: and rekeying will work properly over clock steps.
1.46 ! bentley 278: <li><a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.1 deraadt 279: update progressmeter when data is acknowledged, not when it's sent.
280: (bz#2108)
1.46 ! bentley 281: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 282: and
1.46 ! bentley 283: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.1 deraadt 284: improve error messages when the current user does not exist in
1.46 ! bentley 285: <code>/etc/passwd</code>. (bz#2125)
! 286: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.1 deraadt 287: reset the order in which public keys are tried after partial
288: authentication success.
1.46 ! bentley 289: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
1.1 deraadt 290: clean up socket files after SIGINT when in debug mode. (bz#2120)
1.46 ! bentley 291: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 292: and others: avoid confusing error messages in the case of broken system
293: resolver configurations. (bz#2122)
1.46 ! bentley 294: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 295: set TCP nodelay for connections started with <code>-N</code>. (bz#2124)
! 296: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 297: correct manual for permission requirements on <code>~/.ssh/config</code>.
1.1 deraadt 298: (bz#2078)
1.46 ! bentley 299: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 300: fix <code>ControlPersist</code> timeout not triggering in cases where TCP
1.1 deraadt 301: connections have hung. (bz#1917)
1.46 ! bentley 302: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
! 303: properly detach a <code>ControlPersist</code> master from its controlling
1.1 deraadt 304: terminal.
1.46 ! bentley 305: <li><a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.1 deraadt 306: avoid crashes in libedit when it has been compiled with multi-byte
307: character support. (bz#1990)
1.46 ! bentley 308: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
! 309: when running <code>sshd -D</code>, close stderr unless we have explicitly
1.1 deraadt 310: requested logging to stderr. (bz#1976)
1.46 ! bentley 311: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.1 deraadt 312: fix incomplete bzero. (bz#2100)
1.46 ! bentley 313: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
! 314: log and error and exit if <code>ChrootDirectory</code> is specified and
1.1 deraadt 315: running without root privileges.
316: <li>Many improvements to the regression test suite. In particular log
317: files are now saved from
1.46 ! bentley 318: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.1 deraadt 319: and
1.46 ! bentley 320: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.1 deraadt 321: after failures.
322: <li>Fix a number of memory leaks. (bz#1967, bz#2096 and others)
1.46 ! bentley 323: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
! 324: fix public key authentication when a <code>:style</code> is appended to the
1.1 deraadt 325: requested username.
1.46 ! bentley 326: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.1 deraadt 327: do not fatally exit when attempting to cleanup multiplexing-created
328: channels that are incompletely opened. (bz#2079)
329: </ul>
330: </ul>
331: <p>
332:
1.19 espie 333: <li>Over 7,800 ports, major stability improvements in
1.1 deraadt 334: the package build process
335: <ul>
1.19 espie 336: <li>The parallel ports builder is better at catching up errors on older
337: slower platforms, thus allowing release engineers to better concentrate on
338: real errors.
1.1 deraadt 339: </ul>
340: <p>
341: <li>Many pre-built packages for each architecture:
1.46 ! bentley 342: <ul style="column-count: 4">
1.10 sthen 343: <li>i386: 7976
344: <li>sparc64: 6959
345: <li>alpha: 6062
1.24 miod 346: <li>m68k: 3862
1.23 pirofti 347: <li>sh: 989
1.10 sthen 348: <li>amd64: 7941
1.11 sthen 349: <li>powerpc: 7483
1.24 miod 350: <li>m88k: 3951
1.11 sthen 351: <li>sparc: 4823
352: <li>arm: 5582
1.10 sthen 353: <li>hppa: 6607
1.12 sebastia 354: <li>vax: 2226
1.10 sthen 355: <li>mips64: 6739
356: <li>mips64el: 6306
1.46 ! bentley 357: </ul>
1.1 deraadt 358: <p>
359:
360: <li>Some highlights:
361: <ul>
362: <li>GNOME 3.8.3 <li>KDE 3.5.10
363: <li>Xfce 4.10 <li>MySQL 5.1.70
364: <li>PostgreSQL 9.2.4 <li>Postfix 2.10.1
365: <li>OpenLDAP 2.3.43 and 2.4.35 <li>Mozilla Firefox 3.6.28 and 22.0
366: <li>Mozilla Thunderbird 17.0.7 <li>GHC 7.6.3
367: <li>LibreOffice 4.0.4.2 <li>Emacs 21.4 and 24.3
1.5 lteo 368: <li>Vim 7.3.850 <li>PHP 5.2.17 and 5.3.27
1.1 deraadt 369: <li>Python 2.7.5 and 3.3.2 <li>Ruby 1.8.7.374, 1.9.3.448 and 2.0.0.247
1.5 lteo 370: <li>Tcl/Tk 8.4.20, 8.5.14 and 8.6.0 <li>JDK 1.6.0.32 and 1.7.0.21
1.1 deraadt 371: <li>Mono 2.10.9 <li>Chromium 28.0.1500.45
372: <li>Groff 1.22.2 <li>Go 1.1.1
373: <li>GCC 4.6.4 and 4.8.1 <li>LLVM/Clang 3.3
1.3 abieber 374: <li>Node.js 0.10.12
1.1 deraadt 375: </ul>
376: <p>
377:
378: <li>As usual, steady improvements in manual pages and other documentation.
379: <p>
380:
381: <li>The system includes the following major components from outside suppliers:
382: <ul>
383: <li>Xenocara (based on X.Org 7.7 with xserver 1.14.1 + patches,
1.4 matthieu 384: freetype 2.4.12, fontconfig 2.10.91, Mesa 7.11.2, xterm 293,
1.1 deraadt 385: xkeyboard-config 2.7 and more)
1.22 nick 386: <li>Gcc 4.2.1 (+patches), 3.3.6 (+ patches) and 2.95.3 (+ patches)
1.1 deraadt 387: <li>Perl 5.16.3 (+ patches)
388: <li>Our improved and secured version of Apache 1.3, with
389: SSL/TLS and DSO support
390: <li>Nginx 1.4.1 (+ patches)
391: <li>OpenSSL 1.0.1c (+ patches)
392: <li>SQLite 3.7.17 (+ patches)
393: <li>Sendmail 8.14.7, with libmilter
394: <li>Bind 9.4.2-P2 (+ patches)
395: <li>NSD 3.2.15
396: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
397: <li>Sudo 1.7.2p8
398: <li>Ncurses 5.7
399: <li>Heimdal 1.5.2 (+ patches)
400: <li>Binutils 2.15 (+ patches)
401: <li>Gdb 6.3 (+ patches)
402: <li>Less 444 (+ patches)
403: <li>Awk Aug 10, 2011 version
404: </ul>
405: </ul>
1.46 ! bentley 406: </section>
1.1 deraadt 407:
408: <hr>
1.46 ! bentley 409:
! 410: <section id=install>
! 411: <h3>How to install</h3>
! 412:
1.1 deraadt 413: <p>
414: Following this are the instructions which you would have on a piece of
415: paper if you had purchased a CDROM set instead of doing an alternate
416: form of install. The instructions for doing an FTP (or other style
417: of) install are very similar; the CDROM instructions are left intact
418: so that you can see how much easier it would have been if you had
419: purchased a CDROM instead.
420: <p>
421:
422: <hr>
423: Please refer to the following files on the three CDROMs or FTP mirror for
424: extensive details on how to install OpenBSD 5.4 on your machine:
425: <p>
426: <ul>
427: <li>CD1:5.4/i386/INSTALL.i386
428: <p>
429: <li>CD2:5.4/amd64/INSTALL.amd64
430: <p>
431: <li>CD3:5.4/sparc64/INSTALL.sparc64
432: <p>
433: <li>FTP:.../OpenBSD/5.4/alpha/INSTALL.alpha
434: <li>FTP:.../OpenBSD/5.4/armish/INSTALL.armish
435: <li>FTP:.../OpenBSD/5.4/beagle/INSTALL.beagle
436: <li>FTP:.../OpenBSD/5.4/hp300/INSTALL.hp300
437: <li>FTP:.../OpenBSD/5.4/hppa/INSTALL.hppa
438: <li>FTP:.../OpenBSD/5.4/landisk/INSTALL.landisk
439: <li>FTP:.../OpenBSD/5.4/loongson/INSTALL.loongson
440: <li>FTP:.../OpenBSD/5.4/luna88k/INSTALL.luna88k
441: <li>FTP:.../OpenBSD/5.4/macppc/INSTALL.macppc
442: <li>FTP:.../OpenBSD/5.4/mvme68k/INSTALL.mvme68k
443: <li>FTP:.../OpenBSD/5.4/mvme88k/INSTALL.mvme88k
444: <li>FTP:.../OpenBSD/5.4/octeon/INSTALL.octeon
445: <li>FTP:.../OpenBSD/5.4/sgi/INSTALL.sgi
446: <li>FTP:.../OpenBSD/5.4/socppc/INSTALL.socppc
447: <li>FTP:.../OpenBSD/5.4/sparc/INSTALL.sparc
448: <li>FTP:.../OpenBSD/5.4/vax/INSTALL.vax
449: <li>FTP:.../OpenBSD/5.4/zaurus/INSTALL.zaurus
450: </ul>
451: <hr>
452:
1.46 ! bentley 453: <section id=quickinstall>
! 454:
1.1 deraadt 455: <p>
456: Quick installer information for people familiar with OpenBSD, and the
457: use of the "disklabel -E" command. If you are at all confused when
458: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.46 ! bentley 459:
! 460: <h3>OpenBSD/i386:</h3>
! 461:
1.1 deraadt 462: <p>
463: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
464: release is on CD1. If your BIOS does not support booting from CD, you will need
465: to create a boot floppy to install from. To create a boot floppy write
466: <i>CD1:5.4/i386/floppy54.fs</i> to a floppy and boot via the floppy drive.
467:
468: <p>
469: Use <i>CD1:5.4/i386/floppyB54.fs</i> instead for greater SCSI controller
470: support, or <i>CD1:5.4/i386/floppyC54.fs</i> for better laptop support.
471:
472: <p>
473: If you can't boot from a CD or a floppy disk,
474: you can install across the network using PXE as described in
475: the included INSTALL.i386 document.
476:
477: <p>
478: If you are planning on dual booting OpenBSD with another OS, you will need to
479: read INSTALL.i386.
480:
481: <p>
482: To make a boot floppy under MS-DOS, use the "rawrite" utility located
483: at <i>CD1:5.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
484: use the
1.46 ! bentley 485: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 486: utility. The following is an example usage of
1.46 ! bentley 487: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 488: where the device could be "floppy", "rfd0c", or
489: "rfd0a".
490:
1.46 ! bentley 491: <blockquote><pre>
1.1 deraadt 492: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
1.46 ! bentley 493: </pre></blockquote>
1.1 deraadt 494:
495: <p>
496: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
497: your install will most likely fail. For more information on creating a boot
498: floppy and installing OpenBSD/i386 please refer to
1.41 tj 499: <a href="faq/faq4.html#MkFlop">this page</a>.
1.46 ! bentley 500:
! 501: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 502:
503: <p>
504: The 5.4 release of OpenBSD/amd64 is located on CD2.
505: Boot from the CD to begin the install - you may need to adjust
506: your BIOS options first.
507: If you can't boot from the CD, you can create a boot floppy to install from.
508: To do this, write <i>CD2:5.4/amd64/floppy54.fs</i> to a floppy, then
509: boot from the floppy drive.
510:
511: <p>
512: If you can't boot from a CD or a floppy disk,
513: you can install across the network using PXE as described in the included
514: INSTALL.amd64 document.
515:
516: <p>
517: If you are planning to dual boot OpenBSD with another OS, you will need to
518: read INSTALL.amd64.
1.46 ! bentley 519:
! 520: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 521:
522: <p>
1.9 martin 523: Burn the image from the FTP site to a CDROM, and power on your machine
1.1 deraadt 524: while holding down the <i>C</i> key until the display turns on and
525: shows <i>OpenBSD/macppc boot</i>.
526:
527: <p>
528: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
529: /5.4/macppc/bsd.rd</i>
1.46 ! bentley 530:
! 531: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 532:
533: <p>
534: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
535:
536: <p>
537: If this doesn't work, or if you don't have a CDROM drive, you can write
538: <i>CD3:5.4/sparc64/floppy54.fs</i> or <i>CD3:5.4/sparc64/floppyB54.fs</i>
539: (depending on your machine) to a floppy and boot it with <i>boot
540: floppy</i>. Refer to INSTALL.sparc64 for details.
541:
542: <p>
543: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
544: will most likely fail.
545:
546: <p>
547: You can also write <i>CD3:5.4/sparc64/miniroot54.fs</i> to the swap partition on
548: the disk and boot with <i>boot disk:b</i>.
549:
550: <p>
551: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.46 ! bentley 552:
! 553: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 554:
555: <p>
1.46 ! bentley 556: Write <i>FTP:5.4/alpha/floppy54.fs</i> or
1.1 deraadt 557: <i>FTP:5.4/alpha/floppyB54.fs</i> (depending on your machine) to a diskette and
558: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
559:
560: <p>
561: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
562: will most likely fail.
563:
1.46 ! bentley 564: <h3>OpenBSD/armish:</h3>
1.1 deraadt 565:
566: <p>
567: After connecting a serial port, Thecus can boot directly from the network
568: either tftp or http. Configure the network using fconfig, reset,
569: then load bsd.rd, see INSTALL.armish for specific details.
570: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
571: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
572: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
573: More details are available in INSTALL.armish.
1.46 ! bentley 574:
! 575: <h3>OpenBSD/hp300:</h3>
1.1 deraadt 576:
577: <p>
578: Boot over the network by following the instructions in INSTALL.hp300.
579:
1.46 ! bentley 580: <h3>OpenBSD/hppa:</h3>
! 581:
1.1 deraadt 582: <p>
583: Boot over the network by following the instructions in INSTALL.hppa or the
584: <a href="hppa.html#install">hppa platform page</a>.
585:
1.46 ! bentley 586: <h3>OpenBSD/landisk:</h3>
! 587:
1.1 deraadt 588: <p>
589: Write <i>miniroot54.fs</i> to the start of the CF
590: or disk, and boot normally.
1.46 ! bentley 591:
! 592: <h3>OpenBSD/loongson:</h3>
1.1 deraadt 593:
594: <p>
595: Write <i>miniroot54.fs</i> to a USB stick and boot bsd.rd from it
596: or boot bsd.rd via tftp.
597: Refer to the instructions in INSTALL.loongson for more details.
1.46 ! bentley 598:
! 599: <h3>OpenBSD/luna88k:</h3>
1.1 deraadt 600:
601: <p>
602: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
603: Alternatively, you can create a bootable tape and boot from it. Refer to
604: the instructions in INSTALL.luna88k for more details.
1.46 ! bentley 605:
! 606: <h3>OpenBSD/mvme68k:</h3>
1.1 deraadt 607:
608: <p>
609: You can create a bootable installation tape or boot over the network.<br>
610: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
611: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
612: for more details.
1.46 ! bentley 613:
! 614: <h3>OpenBSD/mvme88k:</h3>
1.1 deraadt 615:
616: <p>
617: You can create a bootable installation tape or boot over the network.<br>
618: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
619: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
620: for more details.
621:
1.46 ! bentley 622: <h3>OpenBSD/octeon:</h3>
! 623:
1.1 deraadt 624: <p>
1.2 bcallah 625: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
626: Refer to the instructions in INSTALL.octeon for more details.
1.1 deraadt 627:
1.46 ! bentley 628: <h3>OpenBSD/sgi:</h3>
! 629:
1.1 deraadt 630: <p>
631: To install on an O2, burn cd54.iso on a CD-R, put it in the CD drive of your
632: machine and select <i>Install System Software</i> from the System Maintenance
633: menu.
634:
635: <p>
636: On other systems, or if your machine doesn't have a CD drive, you can
637: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
638: the kernel matching your system type.
639: Refer to the instructions in INSTALL.sgi for more details.
1.46 ! bentley 640:
! 641: <h3>OpenBSD/socppc:</h3>
1.1 deraadt 642:
643: <p>
644: After connecting a serial port, boot over the network via DHCP/tftp.
645: Refer to the instructions in INSTALL.socppc for more details.
1.46 ! bentley 646:
! 647: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 648:
649: <p>
650: Boot from one of the provided install ISO images, using one of the two
651: commands listed below, depending on the version of your ROM.
652:
1.46 ! bentley 653: <blockquote><pre>
! 654: ok <kbd>boot cdrom 5.4/sparc/bsd.rd</kbd>
1.1 deraadt 655: or
1.46 ! bentley 656: > <kbd>b sd(0,6,0)5.4/sparc/bsd.rd</kbd>
! 657: </pre></blockquote>
1.1 deraadt 658:
659: <p>
660: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
661: To do so you need to write <i>floppy54.fs</i> to a floppy.
1.41 tj 662: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 663: To boot from the floppy use one of the two commands listed below,
664: depending on the version of your ROM.
665:
1.46 ! bentley 666: <blockquote><pre>
! 667: ok <kbd>boot floppy</kbd>
1.1 deraadt 668: or
1.46 ! bentley 669: > <kbd>b fd()</kbd>
! 670: </pre></blockquote>
1.1 deraadt 671:
672: <p>
673: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
674: will most likely fail.
675:
676: <p>
677: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
678: setup a bootable tape, or install via network, as told in the
679: INSTALL.sparc file.
1.46 ! bentley 680:
! 681: <h3>OpenBSD/vax:</h3>
1.1 deraadt 682:
683: <p>
684: Boot over the network via mopbooting as described in INSTALL.vax.
685:
1.46 ! bentley 686: <h3>OpenBSD/zaurus:</h3>
! 687:
1.1 deraadt 688: <p>
689: Using the Linux built-in graphical ipkg installer, install the
690: openbsd54_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
691: for a few important details.
1.46 ! bentley 692:
! 693: </section>
! 694:
! 695: <section id=sourcecode>
! 696: <h3>Notes about the source code:</h3>
1.1 deraadt 697:
698: <p>
699: src.tar.gz contains a source archive starting at /usr/src. This file
700: contains everything you need except for the kernel sources, which are
701: in a separate archive. To extract:
1.46 ! bentley 702:
! 703: <blockquote><pre>
! 704: # <kbd>mkdir -p /usr/src</kbd>
! 705: # <kbd>cd /usr/src</kbd>
! 706: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
! 707: </pre></blockquote>
! 708:
1.1 deraadt 709: <p>
710: sys.tar.gz contains a source archive starting at /usr/src/sys.
711: This file contains all the kernel sources you need to rebuild kernels.
712: To extract:
1.46 ! bentley 713:
! 714: <blockquote><pre>
! 715: # <kbd>mkdir -p /usr/src/sys</kbd>
! 716: # <kbd>cd /usr/src</kbd>
1.1 deraadt 717: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
1.46 ! bentley 718: </pre></blockquote>
! 719:
1.1 deraadt 720: <p>
721: Both of these trees are a regular CVS checkout. Using these trees it
722: is possible to get a head-start on using the anoncvs servers as
723: described <a href="anoncvs.html">here</a>.
724: Using these files
725: results in a much faster initial CVS update than you could expect from
726: a fresh checkout of the full OpenBSD source tree.
727:
1.46 ! bentley 728: </section>
! 729: </section>
! 730:
1.1 deraadt 731: <hr>
1.46 ! bentley 732:
! 733: <section id=upgrade>
! 734: <h3>How to upgrade</h3>
1.1 deraadt 735: <p>
736: If you already have an OpenBSD 5.3 system, and do not want to reinstall,
737: upgrade instructions and advice can be found in the
738: <a href="faq/upgrade54.html">Upgrade Guide</a>.
1.46 ! bentley 739: </section>
1.1 deraadt 740:
741: <hr>
1.46 ! bentley 742:
! 743: <section id=ports>
! 744: <h3>Ports Tree</h3>
1.1 deraadt 745: <p>
746: A ports tree archive is also provided. To extract:
747: <p>
1.46 ! bentley 748: <blockquote><pre>
! 749: # <kbd>cd /usr</kbd>
! 750: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
! 751: </pre></blockquote>
1.1 deraadt 752: <p>
753: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
754: read the <a href="faq/ports/index.html">ports</a> page
755: if you know nothing about ports
756: at this point. This text is not a manual of how to use ports.
757: Rather, it is a set of notes meant to kickstart the user on the
758: OpenBSD ports system.
759: <p>
760: The <i>ports/</i> directory represents a CVS (see the manpage for
1.46 ! bentley 761: <a href="https://man.openbsd.org/i386/cvs.1">
1.1 deraadt 762: cvs(1)</a> if
763: you aren't familiar with CVS) checkout of our ports. As with our complete
764: source tree, our ports tree is available via
765: <a href="anoncvs.html">AnonCVS</a>.
766: So, in order to keep current with it, you must make the <i>ports/</i> tree
767: available on a read-write medium and update the tree with a command
768: like:
769: <p>
1.46 ! bentley 770: <blockquote><pre>
1.1 deraadt 771: # <strong>cd /usr/ports</strong>
772: # <strong>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_4</strong>
1.46 ! bentley 773: </pre></blockquote>
1.1 deraadt 774: <p>
775: [Of course, you must replace the server name here with a nearby anoncvs
776: server.]
777: <p>
778: Note that most ports are available as packages through FTP. Updated
779: packages for the 5.4 release will be made available if problems arise.
780: <p>
781: If you're interested in seeing a port added, would like to help out, or just
782: would like to know more, the mailing list
783: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.46 ! bentley 784: </section>