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