[BACK]Return to 50.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/50.html, Revision 1.37

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