Annotation of www/50.html, Revision 1.30
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.14 deraadt 4: <title>OpenBSD 5.0</title>
1.1 deraadt 5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 5.0">
7: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
1.24 tj 8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.26 tb 10: <link rel="canonical" href="https://www.openbsd.org/50.html">
1.1 deraadt 11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
1.24 tj 15: <h2>
1.1 deraadt 16: <a href="index.html">
1.24 tj 17: <font color="#0000ff"><i>Open</i></font><font color="#000084">BSD</font></a>
18: <font color="#e00000">5.0</font>
19: </h2>
1.16 deraadt 20: <p>
1.1 deraadt 21:
22: <a href="images/MAD.jpg">
1.14 deraadt 23: <img align="left" width="227" height="343" hspace="24" src="images/MAD.jpg"></a>
1.7 dcoppa 24: Released Nov 1, 2011<br>
1.1 deraadt 25: Copyright 1997-2011, Theo de Raadt.<br>
26: <font color="#e00000">ISBN 978-0-9784475-8-8</font>
27: <br>
1.21 deraadt 28: 5.0 Song: <a href="lyrics.html#50">"What Me Worry?"</a>
1.30 ! deraadt 29: <br>
! 30: <br>
1.1 deraadt 31: <ul>
32: <li>See the information on <a href="ftp.html">The FTP page</a> for
33: a list of mirror machines.
34: <li>Go to the <font color="#e00000">pub/OpenBSD/5.0/</font> directory on
35: one of the mirror sites.
36: <li>Have a look at <a href="errata50.html">The 5.0 Errata page</a> for a list
37: of bugs and workarounds.
38: <li>See a <a href="plus50.html">detailed log of changes</a> between the
39: 4.9 and 5.0 releases.
40: </ul>
1.24 tj 41: <p>
42: All applicable copyrights and credits are in the src.tar.gz,
43: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
44: files fetched via ports.tar.gz.
1.1 deraadt 45: <br clear=all>
1.24 tj 46:
47: <hr>
1.1 deraadt 48:
49: <a name="new"></a>
50: <p>
51: <h3><font color="#0000e0">What's New</font></h3>
52: <p>
53: This is a partial list of new features and systems included in OpenBSD 5.0.
54: For a comprehensive list, see the <a href="plus50.html">changelog</a> leading
55: to 5.0.
56: <p>
57:
58: <ul>
59:
1.2 deraadt 60: <li>Improved hardware support, including:
61: <ul>
62: <li>MSI interrupts for many devices, on those architectures which can
63: support them (amd64, i386, sparc64 only so far).
1.27 tb 64: <li>A new <a href="https://man.openbsd.org/?query=dma_alloc&sektion=9">dma_alloc(9)</a> API makes it easier for kernel code to allocate
1.2 deraadt 65: dma-safe memory. Many drivers (especially network drivers) and
66: subsystems (in particular scsi and the buffer cache) were adapted
67: to use this.
68: <li>As a result, big-memory support has been enabled on all possible
69: architectures.
1.27 tb 70: <li>The rather rare <a href="https://man.openbsd.org/?query=bce&sektion=4">bce(4)</a> driver now copies mbufs all the time, to cope
1.2 deraadt 71: with the hardware having a 1GB limit.
1.27 tb 72: <li>Added <a href="https://man.openbsd.org/?query=hds&sektion=4">hds(4)</a>, a driver for Hitachi Modular Storage SCSI devices.
73: <li>Added <a href="https://man.openbsd.org/?query=myx&sektion=4">myx(4)</a>, a driver for the Myricom Myri-10G 10GB Ethernet devices.
74: <li>Added <a href="https://man.openbsd.org/?query=dfs&sektion=4&arch=macppc">dfs(4)</a>, a driver for Dynamic Frequency Switching on some macppc
1.2 deraadt 75: systems.
1.27 tb 76: <li><a href="https://man.openbsd.org/?query=cardbus&sektion=4">cardbus(4)</a> and <a href="https://man.openbsd.org/?query=pcmcia&sektion=4">pcmcia(4)</a> support on sgi.
1.2 deraadt 77: <li>Suspend/resume support on Loongson Yeelong laptops.
78: </ul>
79: <p>
80:
81: <li>Generic network stack improvements:
82: <ul>
1.27 tb 83: <li>Added support for sending Wake on Lan packets using <a href="https://man.openbsd.org/?query=arp&sektion=8">arp(8)</a>.
84: <li>Permit turning Wake on Lan support on/off using <a href="https://man.openbsd.org/?query=ifconfig&sektion=8">ifconfig(8)</a>.
85: <li>Added Wake on Lan support to <a href="https://man.openbsd.org/?query=xl&sektion=4">xl(4)</a>, <a href="https://man.openbsd.org/?query=re&sektion=4">re(4)</a>, and <a href="https://man.openbsd.org/?query=vr&sektion=4">vr(4)</a>.
86: <li>Allow <a href="https://man.openbsd.org/?query=ftp-proxy&sektion=8">ftp-proxy(8)</a> to proxy across rdomains.
1.2 deraadt 87: <li>The IPv4 stack will no longer accept ICMP redirects when
88: acting as a router.
89: <li>By default the IPv6 stack will not process ICMP6 redirects.
1.27 tb 90: <a href="https://man.openbsd.org/?query=rtsol&sektion=8">rtsol(8)</a> will turn it back if -F is used.
91: <li>Reworked large parts of the <a href="https://man.openbsd.org/?query=dhclient&sektion=8">dhclient(8)</a> options processing for better
1.2 deraadt 92: interoperability.
1.27 tb 93: <li>Fixed <a href="https://man.openbsd.org/?query=carp&sektion=4">carp(4)</a> to work in IPv6 only setups.
94: <li>Make it possible to <a href="https://man.openbsd.org/?query=bind&sektion=2">bind(2)</a> to the local network broadcast address
1.2 deraadt 95: on datagram and raw sockets.
96: <li>The default multicast reject route is now ignored if the UDP socket
97: uses the IP_MULTICAST_IF socket option.
1.27 tb 98: <li>Make <a href="https://man.openbsd.org/?query=gre&sektion=4">gre(4)</a> work between systems in the same LAN.
99: <li>Removed the link1 mode special addressing mode on <a href="https://man.openbsd.org/?query=lo&sektion=4">lo(4)</a>.
1.2 deraadt 100: <li>Kernel randomization speed and quality improved substantially.
101: </ul>
102: <p>
103:
104: <li>Routing daemons and other userland network improvements:
105: <ul>
1.27 tb 106: <li><a href="https://man.openbsd.org/?query=bgpd&sektion=8">bgpd(8)</a> no longer bumps the rlimits: the rc.d framework respects
1.2 deraadt 107: login classes which is a much better solution.
1.27 tb 108: <li>Correctly set the network filtersets on reload in <a href="https://man.openbsd.org/?query=bgpd&sektion=8">bgpd(8)</a>.
1.2 deraadt 109: <li>The routing socket is now sending RTM_DESYNC messages if the
110: socketbuffer overflows.
1.27 tb 111: <li>Allow <a href="https://man.openbsd.org/?query=ospfd&sektion=8">ospfd(8)</a> to send out LS updates and other messages
1.2 deraadt 112: larger than the MTU.
1.27 tb 113: <li>Fixed nexthop calculation in <a href="https://man.openbsd.org/?query=ospfd&sektion=8">ospfd(8)</a> for directly connected P2P links.
114: <li>First bits to support opaque LSA in <a href="https://man.openbsd.org/?query=ospfd&sektion=8">ospfd(8)</a>. Only basic redistribute
1.2 deraadt 115: logic and LSDB handling for now.
1.27 tb 116: <li>Creating new interfaces will no longer cause a fatal error in <a href="https://man.openbsd.org/?query=ospf6d&sektion=8">ospf6d(8)</a>.
117: <li><a href="https://man.openbsd.org/?query=ospf6d&sektion=8">ospf6d(8)</a> handles link-state changes better.
118: <li>Better loopback handling in <a href="https://man.openbsd.org/?query=ospf6d&sektion=8">ospf6d(8)</a>.
119: <li>No longer install extra multicast routes in <a href="https://man.openbsd.org/?query=ripd&sektion=8">ripd(8)</a> and <a href="https://man.openbsd.org/?query=ldpd&sektion=8">ldpd(8)</a>.
120: <li>Make <a href="https://man.openbsd.org/?query=kqueue&sektion=2">kqueue(2)</a> work with <a href="https://man.openbsd.org/?query=sosplice&sektion=9">sosplice(9)</a>.
121: <li>Enabled <a href="https://man.openbsd.org/?query=sosplice&sektion=9">sosplice(9)</a> in <a href="https://man.openbsd.org/?query=relayd&sektion=8">relayd(8)</a> for TCP.
1.2 deraadt 122: <li>Added support for divert-to which provides some benefits over
1.27 tb 123: rdr-to in <a href="https://man.openbsd.org/?query=relayd&sektion=8">relayd(8)</a>.
124: <li>Fixed trap sending in <a href="https://man.openbsd.org/?query=snmpd&sektion=8">snmpd(8)</a>.
125: <li>Make <a href="https://man.openbsd.org/?query=ping6&sektion=8">ping6(8)</a> compare minimum amount of bytes between what
1.2 deraadt 126: was received and what was sent out.
1.27 tb 127: <li>Make <a href="https://man.openbsd.org/?query=traceroute&sektion=8">traceroute(8)</a> with type-of-service setted (-t) display
1.2 deraadt 128: a message if the returned packet has a different tos type.
129: <li>Added the socket splicing fields of struct socket to netstat -vP output.
130: </ul>
131: <p>
132:
1.27 tb 133: <li><a href="https://man.openbsd.org/?query=pf&sektion=4">pf(4)</a> improvements:
1.2 deraadt 134: <ul>
1.27 tb 135: <li>Make <a href="https://man.openbsd.org/?query=pf&sektion=4">pf(4)</a> reassemble IPv6 fragments. In the forward case, pf
1.2 deraadt 136: refragments the packets with the same maximum size.
1.27 tb 137: <li>Allow <a href="https://man.openbsd.org/?query=pf&sektion=4">pf(4)</a> to filter on the rdomain a packet belongs to.
138: <li>Make <a href="https://man.openbsd.org/?query=pf&sektion=4">pf(4)</a> allow userland proxies to establish cross rdomain
1.2 deraadt 139: proxy sessions.
1.27 tb 140: <li>Added IPv6 ACK prioritization in <a href="https://man.openbsd.org/?query=pf&sektion=4">pf(4)</a>.
1.12 nick 141: <li>Change 'set skip on <...>' to work with interface groups.
1.27 tb 142: <li><a href="https://man.openbsd.org/?query=pfsync&sektion=4">pfsync(4)</a> supports IPv6 as network protocol.
143: <li>Switched <a href="https://man.openbsd.org/?query=ftp-proxy&sektion=8">ftp-proxy(8)</a> over to divert-to instead of rdr-to.
144: <li><a href="https://man.openbsd.org/?query=tftp-proxy&sektion=8">tftp-proxy(8)</a> uses 'divert-to' as well.
1.2 deraadt 145: </ul>
146: <p>
147:
148: <li>SCSI improvements:
149: <ul>
150: <li>most SCSI hardware drivers now use the new iopools infrastructure.
1.27 tb 151: <li><a href="https://man.openbsd.org/?query=sci&sektion=4">scsi(4)</a> devices are now all provided with a unique devid, which
1.2 deraadt 152: is displayed during the probe process.
153: <li>ASC/ASCQ error codes and verbiage now in sync with
154: http://www.t10.org/lists/asc-num.txt.
155: <li>progress on iSCSI includes better login, better logout, preliminary
1.27 tb 156: FSM support in <a href="https://man.openbsd.org/?query=iscsid&sektion=8">iscsid(8)</a>, and improved logging and debug information.
157: <li><a href="https://man.openbsd.org/?query=uk&sektion=4">uk(4)</a> can now safely and reliably detach an unknown SCSI device.
158: <li><a href="https://man.openbsd.org/?query=mpath&sektion=4">mpath(4)</a> device and kernel support is improved.
159: <li><a href="https://man.openbsd.org/?query=vscsi&sektion=4">vscsi(4)</a> now ensures output always goes to the correct connection.
160: <li><a href="https://man.openbsd.org/?query=vscsi&sektion=4">vscsi(4)</a> connections can now be reset gracefully.
161: <li><a href="https://man.openbsd.org/?query=scsi&sektion=4">scsi(4)</a> devices on fibre channel fabrics no longer inherit the adapter's
1.2 deraadt 162: address.
163: </ul>
164: <p>
165:
166: <li>Assorted improvements:
167: <ul>
1.27 tb 168: <li>For additional security, <a href="https://man.openbsd.org/?query=security&sektion=8">security(8)</a> was rewritten in Perl.
169: <li>Mandoc 1.11.4: Now accepts <a href="https://man.openbsd.org/?query=eqn&sektion=7">eqn(7)</a> input (no fancy formatting yet)
1.2 deraadt 170: and supports -Tutf8 output (but no utf8 input yet).
171: <li>Removed a variety of OS-compat emulation code, leaving just the Linux
172: support.
173: <li>Small improvements to Linux compat (only available on i386).
1.27 tb 174: <li>Improved our own <a href="https://man.openbsd.org/?query=pkg-config&sektion=1">pkg-config(1)</a> implementation with extended comparison
1.2 deraadt 175: scheme and implementing various new options.
176: <li>The math library, libm, was fully fleshed out to support all C99 required
177: parts. Many bugs for various architectures were fixed along the way.
1.27 tb 178: <li><a href="https://man.openbsd.org/?query=malloc&sektion=3">malloc(3)</a> is a lot faster and has a few further security features (more
1.2 deraadt 179: randomization, as well as the 'S' flag to enable all paranoia checks).
180: <li>'make depend' is no longer neccessary in kernel compilation directories
181: since the dependencies are calculated automatically.
182: <li>Increased the default size of the buffer cache.
1.27 tb 183: <li><a href="https://man.openbsd.org/?query=kqueue&sektion=2">kqueue(2)</a> now works on /dev/random and spliced sockets
1.2 deraadt 184: <li>On MBR-based disks, scan through up to 256 extended partition tables
185: when looking for an OpenBSD partition table.
1.27 tb 186: <li>Added POSIX 2008 <a href="https://man.openbsd.org/?query=fdopendir&sektion=3">fdopendir(3)</a> and <a href="https://man.openbsd.org/?query=opennat&sektion=2">openat(2)</a> functions, as well as the
1.2 deraadt 187: O_CLOEXEC, O_DIRECTORY, and F_DUPFD_CLOEXEC flags.
188: <li>Improved lint format string checks and added a few other checks.
1.27 tb 189: <li><a href="https://man.openbsd.org/?query=kdump&sektion=1">kdump(1)</a> now dumps stat and sockaddr structures, sysctl mib
1.2 deraadt 190: strings, and decodes syscall flags and operation bits.
191: <li>Improved kernel pool debug checking.
192: <li>Improved correctness of signals and various syscalls when rthreads
193: are in use.
1.27 tb 194: <li>Kernel <a href="https://man.openbsd.org/?query=malloc&sektion=9">malloc(9)</a> space and stacks moved to non-dma memory.
1.2 deraadt 195: <li>Fixed some shutdown/reboot hangs on NFS clients.
196: <li>UNIX-domain socket paths are now guaranteed to be NUL-terminated.
1.27 tb 197: <li>Added support for <a href="https://man.openbsd.org/?query=wprintf&sektion=3">*wprintf(3)</a>, <a href="https://man.openbsd.org/?query=wcscasecmp&sektion=3">wcs{,n}casecmp(3)</a>, and <a href="https://man.openbsd.org/?query=wcsdup&sektion=3">wcsdup(3)</a>.
1.2 deraadt 198: <li>NULL is now a (void *).
199: </ul>
200: <p>
201:
202: <li>Install/Upgrade process changes:
203: <ul>
204: <li>Completed support for DUID disk installs, and enabled it fully.
1.27 tb 205: <li>Tried to make <a href="https://man.openbsd.org/?query=sysmerge&sektion=8">sysmerge(8)</a> work in the installer, but ran into small
1.2 deraadt 206: problems and decided to disable it.
207: <li>Install non-free firmwares from the internet upon first boot, based on a
208: question in the installer.
1.27 tb 209: <li><a href="https://man.openbsd.org/?query=svnd&sektion=4">svnd(4)</a>-like behaviour became the default for <a href="https://man.openbsd.org/?query=vnd&sektion=4">vnd(4)</a> devices. This is
1.2 deraadt 210: what is used to build the media.
211: </ul>
212: <p>
213:
1.27 tb 214: <li><a href="https://man.openbsd.org/?query=rc.d&sektion=8">rc.d(8)</a> framework improvements:
1.2 deraadt 215: <ul>
1.27 tb 216: <li><a href="https://man.openbsd.org/?query=rc.d&sektion=8">rc.d(8)</a> is now also used for the base system daemons.
1.2 deraadt 217: <li>Backward compatible with the historic way of starting daemons.
218: <li>Notify the user by appending (ok) or (failed) in interactive mode.
219: <li>Better diagnostics with the introduction of RC_DEBUG.
220: </ul>
221: <p>
222:
1.5 djm 223: <li>OpenSSH 5.9:
1.2 deraadt 224: <ul>
225: <li>New features:
226: <ul>
1.5 djm 227: <li>Introduce sandboxing of the pre-auth privsep child using an optional
1.27 tb 228: <a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>
1.5 djm 229: "UsePrivilegeSeparation=sandbox" mode that enables mandatory
230: restrictions on the syscalls the privsep child can perform.
231: <li>Add new SHA256-based HMAC transport integrity modes from
1.28 tb 232: https://www.ietf.org/id/draft-dbider-sha2-mac-for-ssh-02.txt
1.5 djm 233: These modes are hmac-sha2-256, hmac-sha2-256-96, hmac-sha2-512,
234: and hmac-sha2-512-96, and are available by default in
1.27 tb 235: <a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.5 djm 236: and
1.27 tb 237: <a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>.
1.5 djm 238: <li>The pre-authentication
1.27 tb 239: <a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
1.5 djm 240: privilege separation slave process now logs via a socket shared with
241: the master process, avoiding the need to maintain /dev/log inside the
242: chroot.
1.27 tb 243: <li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.5 djm 244: now warns when a server refuses X11 forwarding.
1.27 tb 245: <li><a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>'s
1.5 djm 246: AuthorizedKeysFile now accepts multiple paths, separated by whitespace.
247: The undocumented AuthorizedKeysFile2 option is deprecated (though the
248: default for AuthorizedKeysFile includes .ssh/authorized_keys2).
1.27 tb 249: <li><a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>:
1.5 djm 250: similarly deprecate UserKnownHostsFile2 and GlobalKnownHostsFile2 by
251: making UserKnownHostsFile and GlobalKnownHostsFile accept multiple
252: options and default to include known_hosts2.
1.27 tb 253: <li><a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>'s
1.5 djm 254: ControlPath option now expands %L to the host portion of the
255: destination host name.
1.27 tb 256: <li><a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>
1.5 djm 257: "Host" options now support negated Host matching.
1.27 tb 258: <li><a href="https://man.openbsd.org/?query=sshd_config&sektion=5">sshd_config(5)</a>:
1.5 djm 259: a new RequestTTY option provides control over when a TTY is requested
260: for a connection, similar to the existing -t/-tt/-T
1.27 tb 261: <a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.5 djm 262: commandline options.
1.27 tb 263: <li><a href="https://man.openbsd.org/?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
1.5 djm 264: Add -A option. For each of the key types (rsa1, rsa, dsa and ecdsa) for
265: which host keys do not exist, generate the host keys with the default
266: key file path, an empty passphrase, default bits for the key type, and
267: default comment. This is useful for system initialisation scripts.
1.27 tb 268: <li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
1.5 djm 269: Allow graceful shutdown of multiplexing: request that a mux server
270: removes its listener socket and refuse future multiplexing requests but
271: don't kill existing connections. This may be requested using
272: "ssh -O stop ...".
1.27 tb 273: <li><a href="https://man.openbsd.org/?query=ssh-add&sektion=1">ssh-add(1)</a>:
1.5 djm 274: now accepts keys piped from standard input.
1.2 deraadt 275: </ul>
276: <li>The following significant bugs have been fixed in this release:
277: <ul>
1.5 djm 278: <li>Retain key comments when loading v.2 keys. These will be visible in
279: "ssh-add -l" and other places. (bz#439)
1.27 tb 280: <li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.5 djm 281: and
1.27 tb 282: <a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
1.5 djm 283: set IPv6 traffic class from IPQoS (as well as IPv4 ToS/DSCP). (bz#1855)
1.27 tb 284: <li><a href="https://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>:
1.5 djm 285: allow GSSAPI authentication to detect when a server-side failure causes
286: authentication failure and don't count such failures against
287: MaxAuthTries. (bz#1244)
1.27 tb 288: <li><a href="https://man.openbsd.org/?query=ssh-keysign&sektion=8">ssh-keysign(8)</a>:
1.5 djm 289: now signs hostbased authentication challenges correctly using ECDSA
290: keys. (bz#1858)
1.27 tb 291: <li><a href="https://man.openbsd.org/?query=sftp&sektion=1">sftp(1)</a>:
1.5 djm 292: document that sftp accepts square brackets to delimit addresses
293: (useful for IPv6). (bz#1847a)
1.27 tb 294: <li><a href="https://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>:
1.5 djm 295: when using session multiplexing, the master process will change its
296: process title to reflect the control path in use and when a
297: ControlPersist-ed master is waiting to close. (bz#1883 and bz#1911)
1.9 sobrado 298: <li>Other minor bugs fixed: bz#1849, bz#1861, bz#1862, bz#1869, bz#1875,
299: bz#1878, bz#1879, bz#1892, bz#1900, bz#1905, and bz#1913.
1.2 deraadt 300: </ul>
301: </ul>
302: <p>
303:
304: <li>Over 7,200 ports, major robustness and speed improvements in package tools.
305: <li>Many pre-built packages for each architecture:
306: <table border=0 cellspacing=0 cellpadding=2 width="95%">
307: <tr>
308: <td valign="top" width="25%">
309: <ul>
310: <li>i386: 7008
311: <li>sparc64: 6456
312: <li>alpha: 6046
313: </ul></td><td valign=top width="25%"><ul>
314: <li>sh: 3721
315: <li>amd64: 6960
316: <li>powerpc: 6691
317: </ul></td><td valign=top width="25%"><ul>
318: <li>sparc: 3277
319: <li>arm: 2963
320: <li>hppa: 6125
321: </ul></td><td valign=top width="25%"><ul>
322: <li>vax: 1409
323: <li>mips64: 5689
324: <li>mips64el: 5709
325: </ul></td></tr></table>
326: <p>
327:
328: <li>Some highlights:
329: <ul>
330: <li>Gnome 2.32.2 <li>KDE 3.5.10
331: <li>Xfce 4.8.0 <li>MySQL 5.1.54
332: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
333: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
334: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
335: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
336: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
337: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
1.10 stu 338: <li>Tcl 8.5.9 <li>Jdk 1.7
1.2 deraadt 339: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
340: <li>Groff 1.21
341: </ul>
342: <p>
343:
344: <li>As usual, steady improvements in manual pages and other documentation.
345: <li>Base system and Xenocara manuals are now installed as source code,
1.27 tb 346: making <a href="https://man.openbsd.org/?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
1.2 deraadt 347: <li>If both formatted and source versions of manuals are installed,
1.27 tb 348: <a href="https://man.openbsd.org/?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
1.2 deraadt 349:
350: - The system includes the following major components from outside suppliers:
351: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
352: freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
353: xkeyboard-config 2.3 and more)
354: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
355: <li>Perl 5.12.2 (+ patches)
356: <li>Our improved and secured version of Apache 1.3, with
357: SSL/TLS and DSO support
358: <li>OpenSSL 1.0.0a (+ patches)
359: <li>Sendmail 8.14.5, with libmilter
360: <li>Bind 9.4.2-P2 (+ patches)
361: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
362: <li>Sudo 1.7.2p8
363: <li>Ncurses 5.7
364: <li>Heimdal 0.7.2 (+ patches)
365: <li>Arla 0.35.7
366: <li>Binutils 2.15 (+ patches)
367: <li>Gdb 6.3 (+ patches)
368: </ul>
1.1 deraadt 369:
370: </ul>
371:
372: <a name="install"></a>
373: <hr>
374: <p>
375: <h3><font color="#0000e0">How to install</font></h3>
376: <p>
377: Following this are the instructions which you would have on a piece of
378: paper if you had purchased a CDROM set instead of doing an alternate
379: form of install. The instructions for doing an FTP (or other style
380: of) install are very similar; the CDROM instructions are left intact
381: so that you can see how much easier it would have been if you had
382: purchased a CDROM instead.
383: <p>
384:
385: <hr>
386: Please refer to the following files on the three CDROMs or FTP mirror for
387: extensive details on how to install OpenBSD 5.0 on your machine:
388: <p>
389: <ul>
390: <li>CD1:5.0/i386/INSTALL.i386
391: <p>
392: <li>CD2:5.0/amd64/INSTALL.amd64
393: <li>CD2:5.0/macppc/INSTALL.macppc
394: <p>
395: <li>CD3:5.0/sparc64/INSTALL.sparc64
396: <p>
397: <li>FTP:.../OpenBSD/5.0/alpha/INSTALL.alpha
398: <li>FTP:.../OpenBSD/5.0/armish/INSTALL.armish
399: <li>FTP:.../OpenBSD/5.0/hp300/INSTALL.hp300
400: <li>FTP:.../OpenBSD/5.0/hppa/INSTALL.hppa
401: <li>FTP:.../OpenBSD/5.0/landisk/INSTALL.landisk
402: <li>FTP:.../OpenBSD/5.0/loongson/INSTALL.loongson
403: <li>FTP:.../OpenBSD/5.0/mvme68k/INSTALL.mvme68k
404: <li>FTP:.../OpenBSD/5.0/mvme88k/INSTALL.mvme88k
405: <li>FTP:.../OpenBSD/5.0/sgi/INSTALL.sgi
406: <li>FTP:.../OpenBSD/5.0/socppc/INSTALL.socppc
407: <li>FTP:.../OpenBSD/5.0/sparc/INSTALL.sparc
408: <li>FTP:.../OpenBSD/5.0/vax/INSTALL.vax
409: <li>FTP:.../OpenBSD/5.0/zaurus/INSTALL.zaurus
410: </ul>
411: <hr>
412:
413: <p>
414: Quick installer information for people familiar with OpenBSD, and the
415: use of the "disklabel -E" command. If you are at all confused when
416: installing OpenBSD, read the relevant INSTALL.* file as listed above!
417: <p>
418:
419: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
420: <ul>
421: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
422: release is on CD1. If your BIOS does not support booting from CD, you will need
423: to create a boot floppy to install from. To create a boot floppy write
424: <i>CD1:5.0/i386/floppy50.fs</i> to a floppy and boot via the floppy drive.
425:
426: <p>
427: Use <i>CD1:5.0/i386/floppyB50.fs</i> instead for greater SCSI controller
428: support, or <i>CD1:5.0/i386/floppyC50.fs</i> for better laptop support.
429:
430: <p>
431: If you can't boot from a CD or a floppy disk,
432: you can install across the network using PXE as described in
433: the included INSTALL.i386 document.
434:
435: <p>
436: If you are planning on dual booting OpenBSD with another OS, you will need to
437: read INSTALL.i386.
438:
439: <p>
440: To make a boot floppy under MS-DOS, use the "rawrite" utility located
441: at <i>CD1:5.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
442: use the
1.27 tb 443: <a href="https://man.openbsd.org/?query=dd&sektion=1">dd(1)</a>
1.1 deraadt 444: utility. The following is an example usage of
1.27 tb 445: <a href="https://man.openbsd.org/?query=dd&sektion=1">dd(1)</a>,
1.1 deraadt 446: where the device could be "floppy", "rfd0c", or
447: "rfd0a".
448:
449: <ul><pre>
450: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
451: </pre></ul>
452:
453: <p>
454: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
455: your install will most likely fail. For more information on creating a boot
456: floppy and installing OpenBSD/i386 please refer to
1.25 tj 457: <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 458: </ul>
459:
460: <p>
461: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
462: <ul>
463: The 5.0 release of OpenBSD/amd64 is located on CD2.
464: Boot from the CD to begin the install - you may need to adjust
465: your BIOS options first.
466: If you can't boot from the CD, you can create a boot floppy to install from.
467: To do this, write <i>CD2:5.0/amd64/floppy50.fs</i> to a floppy, then
468: boot from the floppy drive.
469:
470: <p>
471: If you can't boot from a CD or a floppy disk,
472: you can install across the network using PXE as described in the included
473: INSTALL.amd64 document.
474:
475: <p>
476: If you are planning to dual boot OpenBSD with another OS, you will need to
477: read INSTALL.amd64.
478: </ul>
479:
480: <p>
481: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
482: <ul>
483: Put CD2 in your CDROM drive and poweron your machine while holding down the
484: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
485:
486: <p>
487: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
488: /5.0/macppc/bsd.rd</i>
489: </ul>
490:
491: <p>
492: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
493: <ul>
494: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
495:
496: <p>
497: If this doesn't work, or if you don't have a CDROM drive, you can write
498: <i>CD3:5.0/sparc64/floppy50.fs</i> or <i>CD3:5.0/sparc64/floppyB50.fs</i>
499: (depending on your machine) to a floppy and boot it with <i>boot
500: floppy</i>. Refer to INSTALL.sparc64 for details.
501:
502: <p>
503: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
504: will most likely fail.
505:
506: <p>
507: You can also write <i>CD3:5.0/sparc64/miniroot50.fs</i> to the swap partition on
508: the disk and boot with <i>boot disk:b</i>.
509:
510: <p>
511: If nothing works, you can boot over the network as described in INSTALL.sparc64.
512: </ul>
513:
514: <p>
515: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
516: <ul>
517: <p>Write <i>FTP:5.0/alpha/floppy50.fs</i> or
518: <i>FTP:5.0/alpha/floppyB50.fs</i> (depending on your machine) to a diskette and
519: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
520:
521: <p>
522: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
523: will most likely fail.
524:
525: </ul>
526:
527: <p>
528: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
529: <ul>
530: <p>
531: After connecting a serial port, Thecus can boot directly from the network
532: either tftp or http. Configure the network using fconfig, reset,
533: then load bsd.rd, see INSTALL.armish for specific details.
534: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
535: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
536: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
537: More details are available in INSTALL.armish.
538: </ul>
539:
540: <p>
541: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
542: <ul>
543: <p>
544: Boot over the network by following the instructions in INSTALL.hp300.
545: </ul>
546:
547: <p>
548: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
549: <ul>
550: <p>
551: Boot over the network by following the instructions in INSTALL.hppa or the
552: <a href="hppa.html#install">hppa platform page</a>.
553: </ul>
554:
555: <p>
556: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
557: <ul>
558: <p>
559: Write <i>miniroot50.fs</i> to the start of the CF
560: or disk, and boot normally.
561: </ul>
562:
563: <p>
564: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
565: <ul>
566: <p>
567: Write <i>miniroot50.fs</i> to a USB stick and boot bsd.rd from it
568: or boot bsd.rd via tftp.
569: Refer to the instructions in INSTALL.loongson for more details.
570: </ul>
571: <p>
572:
573: <p>
574: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
575: <ul>
576: <p>
577: You can create a bootable installation tape or boot over the network.<br>
578: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
579: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
580: for more details.
581: </ul>
582:
583: <p>
584: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
585: <ul>
586: <p>
587: You can create a bootable installation tape or boot over the network.<br>
588: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
589: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
590: for more details.
591: </ul>
592:
593: <p>
594: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
595: <ul>
596: <p>
597: To install on an O2, burn cd50.iso on a CD-R, put it in the CD drive of your
598: machine and select <i>Install System Software</i> from the System Maintenance
599: menu.
600:
601: <p>
602: On other systems, or if your machine doesn't have a CD drive, you can
603: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
604: the kernel matching your system type.
605: Refer to the instructions in INSTALL.sgi for more details.
606: </ul>
607:
608: <p>
609: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
610: <ul>
611: <p>
612: After connecting a serial port, boot over the network via DHCP/tftp.
613: Refer to the instructions in INSTALL.socppc for more details.
614: </ul>
615:
616: <p>
617: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
618: <ul>
619: Boot from one of the provided install ISO images, using one of the two
620: commands listed below, depending on the version of your ROM.
621:
622: <ul><pre>
623: ok <strong>boot cdrom 5.0/sparc/bsd.rd</strong>
624: or
625: > <strong>b sd(0,6,0)5.0/sparc/bsd.rd</strong>
626: </pre></ul>
627:
628: <p>
629: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
630: To do so you need to write <i>floppy50.fs</i> to a floppy.
1.25 tj 631: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 632: To boot from the floppy use one of the two commands listed below,
633: depending on the version of your ROM.
634:
635: <ul><pre>
636: ok <strong>boot floppy</strong>
637: or
638: > <strong>b fd()</strong>
639: </pre></ul>
640:
641: <p>
642: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
643: will most likely fail.
644:
645: <p>
646: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
647: setup a bootable tape, or install via network, as told in the
648: INSTALL.sparc file.
649: </ul>
650:
651: <p>
652: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
653: <ul>
654: Boot over the network via mopbooting as described in INSTALL.vax.
655: </ul>
656:
657: <p>
658: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
659: <ul>
660: <p>
661: Using the Linux built-in graphical ipkg installer, install the
662: openbsd50_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
663: for a few important details.
664: </ul>
665:
666: <p>
667: <h3><font color="#e00000">Notes about the source code:</font></h3>
668: <ul>
669: src.tar.gz contains a source archive starting at /usr/src. This file
670: contains everything you need except for the kernel sources, which are
671: in a separate archive. To extract:
672: <p>
673: <ul><pre>
674: # <strong>mkdir -p /usr/src</strong>
675: # <strong>cd /usr/src</strong>
676: # <strong>tar xvfz /tmp/src.tar.gz</strong>
677: </pre></ul>
678: <p>
679: sys.tar.gz contains a source archive starting at /usr/src/sys.
680: This file contains all the kernel sources you need to rebuild kernels.
681: To extract:
682: <p>
683: <ul><pre>
684: # <strong>mkdir -p /usr/src/sys</strong>
685: # <strong>cd /usr/src</strong>
686: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
687: </pre></ul>
688: <p>
689: Both of these trees are a regular CVS checkout. Using these trees it
690: is possible to get a head-start on using the anoncvs servers as
691: described <a href="anoncvs.html">here</a>.
692: Using these files
693: results in a much faster initial CVS update than you could expect from
694: a fresh checkout of the full OpenBSD source tree.
695: <p>
696: </ul>
697:
698: <a name="upgrade"></a>
699: <hr>
700: <p>
701: <h3><font color="#0000e0">How to upgrade</font></h3>
702: <p>
703: If you already have an OpenBSD 4.9 system, and do not want to reinstall,
704: upgrade instructions and advice can be found in the
705: <a href="faq/upgrade50.html">Upgrade Guide</a>.
706:
707: <a name="ports"></a>
708: <hr>
709: <p>
710: <h3><font color="#0000e0">Ports Tree</font></h3>
711: <p>
712: A ports tree archive is also provided. To extract:
713: <p>
714: <ul><pre>
715: # <strong>cd /usr</strong>
716: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
717: # <strong>cd ports</strong>
718: </pre></ul>
719: <p>
720: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
721: read the <a href="faq/ports/index.html">ports</a> page
722: if you know nothing about ports
723: at this point. This text is not a manual of how to use ports.
724: Rather, it is a set of notes meant to kickstart the user on the
725: OpenBSD ports system.
726: <p>
727: The <i>ports/</i> directory represents a CVS (see the manpage for
1.27 tb 728: <a href="https://man.openbsd.org/?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
1.1 deraadt 729: cvs(1)</a> if
730: you aren't familiar with CVS) checkout of our ports. As with our complete
731: source tree, our ports tree is available via anoncvs. So, in
732: order to keep current with it, you must make the <i>ports/</i> tree
733: available on a read-write medium and update the tree with a command
734: like:
735: <p>
736: <ul><pre>
1.4 nick 737: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_0</strong>
1.1 deraadt 738: </pre></ul>
739: <p>
740: [Of course, you must replace the local directory and server name here
741: with the location of your ports collection and a nearby anoncvs
742: server.]
743: <p>
744: Note that most ports are available as packages through FTP. Updated
745: packages for the 5.0 release will be made available if problems arise.
746: <p>
747: If you're interested in seeing a port added, would like to help out, or just
748: would like to know more, the mailing list ports@openbsd.org is a good
749: place to know.
750: <p>
751:
752: </body>
753: </html>