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