Annotation of www/45.html, Revision 1.71
1.62 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.46 deraadt 5: <title>OpenBSD 4.5</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 4.5">
1.56 tj 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.58 tb 9: <link rel="canonical" href="https://www.openbsd.org/45.html">
1.1 deraadt 10:
1.62 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.62 bentley 13: <i>Open</i><b>BSD</b></a>
14: 4.5
1.56 tj 15: </h2>
1.1 deraadt 16:
1.62 bentley 17: <table>
18: <tr>
19: <td>
1.33 deraadt 20: <a href="images/Pufftron.jpg">
1.70 deraadt 21: <img width="227" height="343" src="images/Pufftron.jpg" alt="Pufftron"></a>
1.62 bentley 22: <td>
1.43 deraadt 23: Released May 1, 2009<br>
1.1 deraadt 24: Copyright 1997-2009, Theo de Raadt.<br>
1.62 bentley 25: <cite class=isbn>ISBN 978-0-9784475-3-3</cite>
1.1 deraadt 26: <br>
1.53 deraadt 27: 4.5 Song: <a href="lyrics.html#45">"Games"</a>
1.61 deraadt 28: <br>
29: <br>
1.1 deraadt 30: <ul>
1.67 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.62 bentley 33: <li>Go to the <code class=reldir>pub/OpenBSD/4.5/</code> directory on
1.1 deraadt 34: one of the mirror sites.
35: <li>Have a look at <a href="errata45.html">The 4.5 Errata page</a> for a list
36: of bugs and workarounds.
37: <li>See a <a href="plus45.html">detailed log of changes</a> between the
38: 4.4 and 4.5 releases.
39: </ul>
1.56 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.66 deraadt 43: files fetched via <code>ports.tar.gz</code>.
1.62 bentley 44: </table>
1.56 tj 45:
46: <hr>
1.1 deraadt 47:
1.62 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 4.5.
52: For a comprehensive list, see the <a href="plus45.html">changelog</a> leading
53: to 4.5.
54: <p>
55:
56: <ul>
57:
58: <li>New/extended platforms:
59: <ul>
1.13 sthen 60: <li>Initial ports to the xscale based gumstix platform and the ARM based OpenMoko
1.24 kettenis 61: <li><a href="sparc64.html">OpenBSD/sparc64</a><br>
1.36 deraadt 62: <ul>
1.62 bentley 63: <li>New <a href="https://man.openbsd.org/sparc64/vdsk.4">vdsk(4)</a>
64: and <a href="https://man.openbsd.org/sparc64/vnet.4">vnet(4)</a>
1.24 kettenis 65: drivers provide support for virtual I/O between logical domains on
66: Sun's CoolThreads servers, including UltraSPARC T2+ machines.
1.36 deraadt 67: <li>Workstations and laptops with UltraSPARC IIe CPUs can now scale
1.24 kettenis 68: down the CPU frequency to save power.
1.36 deraadt 69: </ul>
1.1 deraadt 70: </ul>
71: <p>
72:
73: <li>Improved hardware support, including:
74: <ul>
1.12 form 75: <li>Several new/improved drivers for sensors, including:
76: <ul>
1.62 bentley 77: <li>The <a href="https://man.openbsd.org/cac.4">cac(4)</a>
1.41 cnst 78: driver now has bio and sensor support.
1.62 bentley 79: <li>The <a href="https://man.openbsd.org/mpi.4">mpi(4)</a>
1.41 cnst 80: driver now has bio and sensor support.
1.62 bentley 81: <li>New <a href="https://man.openbsd.org/gpiodcf.4">gpiodcf(4)</a>
1.41 cnst 82: driver for DCF77/HBG timedelta sensors through GPIO pins.
1.62 bentley 83: <li>New <a href="https://man.openbsd.org/schsio.4">schsio(4)</a>
1.41 cnst 84: driver for SMSC SCH311x LPC Super I/O devices.
1.62 bentley 85: <li>The <a href="https://man.openbsd.org/it.4">it(4)</a>
1.12 form 86: driver now supports IT8720F chips.
1.62 bentley 87: <li>The <a href="https://man.openbsd.org/it.4">it(4)</a>
1.12 form 88: driver now supports FAN4 and FAN5 sensors for IT8716F/IT8718F/IT8720F/IT8726F chips.
1.62 bentley 89: <li>The <a href="https://man.openbsd.org/owtemp.4">owtemp(4)</a>
1.18 grange 90: driver now supports Maxim/Dallas DS18B20 and DS1822 temperature sensors.
1.62 bentley 91: <li>The <a href="https://man.openbsd.org/km.4">km(4)</a>
1.41 cnst 92: driver now supports AMD Family 11h processors (Turion X2 Ultra et al).
1.62 bentley 93: <li>The <a href="https://man.openbsd.org/lm.4">lm(4)</a>
1.41 cnst 94: driver now supports W83627DHG attachment on the I²C bus.
1.62 bentley 95: <li>The <a href="https://man.openbsd.org/lmenv.4">lmenv(4)</a>
1.41 cnst 96: driver now has better support for the fan sensors on lm81, adm9240 and ds1780 chips.
1.62 bentley 97: <li>The <a href="https://man.openbsd.org/sdtemp.4">sdtemp(4)</a>
1.41 cnst 98: driver now supports ST STTS424 chips.
1.12 form 99: </ul>
1.62 bentley 100: <li>The <a href="https://man.openbsd.org/em.4">em(4)</a>
1.37 sthen 101: driver now supports ICH9 IGP M and IGP M AMT chips, and link status
102: detection has improved.
1.62 bentley 103: <li>The <a href="https://man.openbsd.org/sdmmc.4">sdmmc(4)</a>
1.13 sthen 104: driver now supports SDHC cards.
1.62 bentley 105: <li>The <a href="https://man.openbsd.org/msk.4">msk(4)</a>
1.17 jsg 106: driver now supports Yukon-2 FE+ (88E8040, 88E8042) based devices.
1.62 bentley 107: <li>The <a href="https://man.openbsd.org/iwn.4">iwn(4)</a>
1.22 damien 108: driver now supports Intel WiFi Link 5100/5300 devices.
1.62 bentley 109: <li>The <a href="https://man.openbsd.org/wpi.4">wpi(4)</a> and <a href="https://man.openbsd.org/wpi.4">iwn(4)</a>
1.31 damien 110: drivers now support hardware CCMP cryptography.
1.62 bentley 111: <li>The <a href="https://man.openbsd.org/ath.4">ath(4)</a>
1.31 damien 112: driver now has WPA-PSK support.
1.62 bentley 113: <li><a href="https://man.openbsd.org/age.4">age(4)</a>,
1.16 jsg 114: a driver for Attansic L1 gigabit Ethernet devices was added.
1.62 bentley 115: <li><a href="https://man.openbsd.org/ale.4">ale(4)</a>,
1.16 jsg 116: a driver for Atheros AR81xx (aka Attansic L1E) Ethernet devices was added.
1.62 bentley 117: <li><a href="https://man.openbsd.org/mos.4">mos(4)</a>,
1.16 jsg 118: a driver for Moschip MCS7730/7830 10/100 USB Ethernet devices was added.
1.62 bentley 119: <li><a href="https://man.openbsd.org/jme.4">jme(4)</a>,
1.16 jsg 120: a driver for JMicron JMC250/JMC260 10/100 and Gigabit Ethernet devices was added.
1.62 bentley 121: <li><a href="https://man.openbsd.org/run.4">run(4)</a>,
1.16 jsg 122: a driver for Ralink USB IEEE 802.11a/b/g/Draft-N devices was added.
1.62 bentley 123: <li><a href="https://man.openbsd.org/auacer.4">auacer(4)</a>,
1.27 deraadt 124: a driver for Acer Labs M5455 audio devices was added.
1.62 bentley 125: <li><a href="https://man.openbsd.org/sparc64/ifb.4">ifb(4)</a>,
1.24 kettenis 126: a driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and
127: XVR-1200 framebuffers (accelerated).
1.62 bentley 128: <li><a href="https://man.openbsd.org/sparc64/wildcatfb.4">wildcatfb(4)</a>,
1.24 kettenis 129: an X driver for Sun Expert3D, Expert3D-Lite, XVR-500, XVR-600 and
130: XVR-1200 framebuffers (unaccelerated).
1.62 bentley 131: <li><a href="https://man.openbsd.org/sparc64/sunffb.4">sunffb(4)</a>,
1.24 kettenis 132: an accelerated X driver for Sun Creator, Creator 3D and Elite 3D
133: framebuffers.
1.62 bentley 134: <li><a href="https://man.openbsd.org/sparc64/vdsk.4">vdsk(4)</a>,
1.28 sobrado 135: a driver for virtual disks of sun4v logical domains.
1.62 bentley 136: <li><a href="https://man.openbsd.org/sparc64/vnet.4">vnet(4)</a>,
1.24 kettenis 137: a driver for virtual network adapters of sun4v logical domains.
1.62 bentley 138: <li><a href="https://man.openbsd.org/sparc64/vrng.4">vrng(4)</a>,
1.24 kettenis 139: a driver for the random number generator on Sun UltraSPARC T2/T2+ CPUs.
1.62 bentley 140: <li>The <a href="https://man.openbsd.org/sparc64/vcons.4">vcons(4)</a>
1.24 kettenis 141: driver is now interrupt driven.
1.62 bentley 142: <li><a href="https://man.openbsd.org/ips.4">ips(4)</a>,
1.14 grange 143: a driver for IBM SATA/SCSI ServeRAID controllers was added.
1.62 bentley 144: <li><a href="https://man.openbsd.org/udfu.4">udfu(4)</a>,
1.25 kettenis 145: a driver for device firmware upgrade (DFU) was added.
1.13 sthen 146: <li>Many improvements were made to the
1.62 bentley 147: <a href="https://man.openbsd.org/acpi.4">acpi(4)</a>
1.13 sthen 148: subsystem.
1.62 bentley 149: <li>The <a href="https://man.openbsd.org/umsm.4">umsm(4)</a>
1.13 sthen 150: driver supports several new EVDO/UMTS devices.
1.62 bentley 151: <li>The <a href="https://man.openbsd.org/mfi.4">mfi(4)</a>
1.17 jsg 152: driver now supports the next generation of MegaRAID SAS controllers.
1.62 bentley 153: <li>New <a href="https://man.openbsd.org/mvme88k/vsbic.4">vsbic(4)</a>
1.39 miod 154: driver for the MVME327A SCSI and floppy controller on mvme68k and
155: mvme88k machines.
1.62 bentley 156: <li>The <a href="https://man.openbsd.org/re.4">re(4)</a>
1.37 sthen 157: driver now supports 8168D/8111D-based devices, and multicast reception on
158: 8110SB/SC-based devices.
1.62 bentley 159: <li>The <a href="https://man.openbsd.org/ehci.4">ehci(4)</a>
1.21 ratchov 160: driver now supports isochronous transfers.
1.17 jsg 161: <li>S/PDIF output support has been added to the
1.62 bentley 162: <a href="https://man.openbsd.org/ac97.4">ac97(4)</a>,
163: <a href="https://man.openbsd.org/auich.4">auich(4)</a>,
164: <a href="https://man.openbsd.org/auvia.4">auvia(4)</a> and
165: <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> drivers.
166: <li><a href="https://man.openbsd.org/azalia.4">azalia(4)</a>
1.19 ratchov 167: mixer has been clarified and simplified, support for 20-bit and 24-bit encodings has been added.
1.62 bentley 168: <li>The <a href="https://man.openbsd.org/sgi/gbe.4">gbe(4)</a>
1.39 miod 169: frame buffer driver now supports acceleration.
1.1 deraadt 170: </ul>
171: <p>
172:
173: <li>New tools:
174: <ul>
1.62 bentley 175: <li><a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>,
1.39 miod 176: an YP server using LDAP as a backend.
1.62 bentley 177: <li><a href="https://man.openbsd.org/xcompmgr.1">xcompmgr(1)</a>
1.37 sthen 178: was added to xenocara.
1.1 deraadt 179: </ul>
180: <p>
181:
182: <li>New functionality:
183: <ul>
1.10 djm 184: <li>The libc
1.62 bentley 185: <a href="https://man.openbsd.org/resolver.3">resolver(3)</a>
1.11 deraadt 186: may now be forced to perform lookups by TCP only using a new
1.62 bentley 187: <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
1.11 deraadt 188: option. The nameserver declaration in
1.62 bentley 189: <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
1.11 deraadt 190: has also been extended to allow specification of non-default nameserver ports.
1.62 bentley 191: <li><a href="https://man.openbsd.org/apropos.1">apropos(1)</a>
1.15 jmc 192: has two new options (-S and -s) to allow searching by machine architecture
193: and manual section.
1.62 bentley 194: <li><a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
1.19 ratchov 195: now has audio server capability.
196: Audio devices can be shared between multiple applications.
197: Applications can run natively on fixed sample rate devices
198: or on devices with unusual encodings.
199: Multi-channel audio devices can be split into smaller independent
200: subdevices.
1.62 bentley 201: <li><a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
1.20 ratchov 202: now has a deviceless mode, in which it can be used as a
1.19 ratchov 203: general purpose audio file format conversion utility (to mix,
204: demultiplex, resample or reencode files).
1.62 bentley 205: <li><a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
1.23 damien 206: can now list channels supported by an IEEE 802.11 device.
1.37 sthen 207: <li>New views were added to
1.62 bentley 208: <a href="https://man.openbsd.org/systat.8">systat(8)</a>:
1.37 sthen 209: malloc, bucket and pool. Improvements were made to existing views.
1.62 bentley 210: <li><a href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a> can now create devices with arbitrary geometry with the new -t option.
1.38 krw 211: <li>FFS filesystems are now supported on most devices, e.g. CD's, that have
212: sector sizes other than 512 bytes.
213: <li>Disklabels are now correctly placed and found on most devices, e.g. CD's,
214: that have sector sizes other than 512 bytes.
1.1 deraadt 215: </ul>
216: <p>
217:
218: <li>Assorted improvements and code cleanup:
219: <ul>
1.62 bentley 220: <li><a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
1.11 deraadt 221: has gained new attack mitigation measures; critical bookkeeping
1.63 deraadt 222: structures are protected at runtime using
1.62 bentley 223: <a href="https://man.openbsd.org/mprotect.2">mprotect(2)</a>
1.11 deraadt 224: and allocated at random addresses where possible.
1.24 kettenis 225: <li>A new version of the gdtoa code has been integrated, bringing
226: better C99 support to
1.62 bentley 227: <a href="https://man.openbsd.org/printf.3">printf(3)</a>
1.24 kettenis 228: and friends.
229: <li>Vastly improved C99 support in libm, including complex math support.
1.37 sthen 230: <li>The
1.62 bentley 231: <a href="https://man.openbsd.org/sppp.4">sppp(4)</a>
1.37 sthen 232: layer and thus kernel
1.62 bentley 233: <a href="https://man.openbsd.org/pppoe.4">pppoe(4)</a>
1.37 sthen 234: now support usernames and passwords of up to 255 characters.
1.38 krw 235: <li>Recognize and spoof disklabel entries for more FAT and FAT32 variants.
236: <li>Automatically recognize tapes with 64K records.
1.62 bentley 237: <li>Improve option handling in <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>.
1.38 krw 238: <li>When booting from a cd the root file system is now assumed to be on the cd, rather than always asking for the location.
239: <li>Disklabels constructed from native disklabels are now subject to the same
1.71 ! jsg 240: consistency checks as all other disklabels.
1.38 krw 241: <li>No longer display geometry information for
1.62 bentley 242: <a href="https://man.openbsd.org/sd.4">sd(4)</a>
1.38 krw 243: disk drives, since it was mostly fictitious these days.
244: <li>Fix handling of tftp ERROR frames so OpenBSD pxeboot can be loaded from
245: picky tftp servers.
1.63 deraadt 246: <li>Many
1.62 bentley 247: <a href="https://man.openbsd.org/scsi.4">scsi(4)</a>
1.38 krw 248: drivers now retry operations that can't be immediately started rather than
249: giving up.
250: <li>MBR and DPME disklabels are no longer written out with invalid checksum
251: information in some circumstances.
1.1 deraadt 252: </ul>
253: <p>
254:
255: <li>Install/Upgrade process changes:
256: <ul>
1.35 djm 257: <li>crunchgen(1) and crunchide(1) have been merged into
1.62 bentley 258: <a href="https://man.openbsd.org/crunchgen.8">crunchgen(8)</a>, which
1.35 djm 259: is now built and installed by default.
1.62 bentley 260: <li><a href="https://man.openbsd.org/mksuncd.1">mksuncd(1)</a> now lives in base and is installed by default.
1.35 djm 261: <li>CD-ROM installs are now supported on SGI.
262: <li>Accept initial root passwords containing backslash characters.
1.38 krw 263: <li>Install now allows multiple interfaces to be configured with
1.62 bentley 264: <a href="https://man.openbsd.org/dhcp.8">dhcp(8)</a>.
265: <li>Upgrades now use the minimal <a href="https://man.openbsd.org/protocols.5">protocols(5)</a>
266: and <a href="https://man.openbsd.org/services.5">services(5)</a>
1.38 krw 267: files provided on the install media.
268: <li>The install media no longer contain a
1.62 bentley 269: <a href="https://man.openbsd.org/disktab.5">disktab(5)</a> file.
1.38 krw 270: <li>Serial console speed is correctly determined on macppc.
1.1 deraadt 271: </ul>
272: <p>
273:
1.5 matthieu 274: <li>OpenSSH 5.2:
1.1 deraadt 275: <ul>
1.32 sobrado 276: <li>New features:
277: <ul>
278: <li>Added an option to
1.62 bentley 279: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 280: to force logging to <em>syslog</em> rather than <em>stderr</em>.
281: <li>The
1.62 bentley 282: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
1.32 sobrado 283: <em>ForceCommand</em> directive now accepts commandline arguments for
284: the <em>internal-sftp</em> server.
285: <li>The
1.62 bentley 286: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 287: ~C escape commandline now support runtime creation of dynamic port
288: forwards.
289: <li>Support the
290: <em>SOCKS4A</em> protocol in
1.62 bentley 291: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 292: dynamic forwards.
293: <li>Support remote port forwarding with a listen port of '0'.
1.62 bentley 294: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.32 sobrado 295: now supports setting <em>PermitEmptyPasswords</em> and
296: <em>AllowAgentForwarding</em> in <em>Match</em> blocks.
297: </ul>
298: <li>The following significant bugs have been fixed in this release:
299: <ul>
300: <li>Repair a
1.62 bentley 301: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 302: crash introduced in openssh-5.1 when the client is sent a zero-length
303: banner.
304: <li>The <em>eow@openssh.com</em> and <em>no-more-sessions@openssh.com</em>
305: protocol extensions are now only sent to peers that identify themselves
306: as OpenSSH.
307: <li>Avoid printing "Non-public channel" warnings in
1.62 bentley 308: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
1.32 sobrado 309: since
1.62 bentley 310: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 311: has sent incorrect channel numbers since ~2004; make
1.62 bentley 312: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 313: send the correct channel number for <em>SSH2_MSG_CHANNEL_SUCCESS</em>
314: and <em>SSH2_MSG_CHANNEL_FAILURE</em>.
315: <li>Avoid double-free in
1.62 bentley 316: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 317: ~C escape -L handler.
318: <li>Correct fail-on-error behaviour in
1.62 bentley 319: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>
1.32 sobrado 320: batchmode for remote <em>stat</em> operations.
321: <li>Avoid hang in
1.62 bentley 322: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.32 sobrado 323: when attempting to connect to a server that has <em>MaxSessions</em>
324: set to zero.
325: </ul>
1.1 deraadt 326: </ul>
327: <p>
328:
1.4 jasper 329: <li>Over 5500 ports, minor robustness improvements in package tools.
1.1 deraadt 330: <li>Many pre-built packages for each architecture:
1.62 bentley 331: <ul style="column-count: 4">
1.26 deraadt 332: <li>i386: 5379
333: <li>sparc64: 5174
1.36 deraadt 334: <li>alpha: 5132
335: <li>sh: 1543
1.26 deraadt 336: <li>amd64: 5312
1.36 deraadt 337: <li>powerpc: 5162
338: <li>sparc: 2651
339: <li>arm: 4120
340: <li>hppa: 4689
341: <li>vax: 1718
342: <li>mips64: 3278
1.62 bentley 343: </ul>
1.1 deraadt 344: Some highlights:
345: <ul>
1.3 jasper 346: <li>Gnome 2.24.3.
347: <li>GNUstep 1.18.0.
348: <li>KDE 3.5.10.
349: <li>Mozilla Firefox 3.0.6.
350: <li>Mozilla Thunderbird 2.0.0.19.
1.4 jasper 351: <li>MySQL 5.0.77.
1.3 jasper 352: <li>OpenOffice.org 2.4.2 and 3.0.1.
353: <li>PostgreSQL 8.3.6.
354: <li>Xfce 4.4.3.
1.30 jasper 355: <li>OpenArena 0.8.1 (only for amd64, i386 and macppc)
1.1 deraadt 356: </ul>
357: <p>
358:
359: <li>As usual, steady improvements in manual pages and other documentation.
360: <p>
361:
362: <li>The system includes the following major components from outside suppliers:
363: <ul>
1.5 matthieu 364: <li>Xenocara (based on X.Org 7.4 + patches, freetype 2.3.7, fontconfig 2.4.2, Mesa 7.2, xterm 239 and more)
1.1 deraadt 365: <li>Gcc 2.95.3
1.62 bentley 366: (+ <a href="https://man.openbsd.org/gcc-local.1">patches</a>)
1.1 deraadt 367: and 3.3.5
1.62 bentley 368: (+ <a href="https://man.openbsd.org/gcc-local.1">patches</a>)
1.2 jasper 369: <li>Perl 5.10.0 (+ patches)
1.1 deraadt 370: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
1.2 jasper 371: <li>OpenSSL 0.9.8j (+ patches)
1.1 deraadt 372: <li>Groff 1.15
373: <li>Sendmail 8.14.3, with libmilter
374: <li>Bind 9.4.2-P2 (+ patches)
375: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
1.5 matthieu 376: <li>Sudo 1.7
1.1 deraadt 377: <li>Ncurses 5.2
378: <li>Latest KAME IPv6
379: <li>Heimdal 0.7.2 (+ patches)
380: <li>Arla 0.35.7
381: <li>Binutils 2.15 (+ patches)
382: <li>Gdb 6.3 (+ patches)
383: </ul>
384:
385: </ul>
1.62 bentley 386: </section>
1.1 deraadt 387:
388: <hr>
1.62 bentley 389:
390: <section id=install>
391: <h3>How to install</h3>
1.1 deraadt 392: <p>
393: Following this are the instructions which you would have on a piece of
394: paper if you had purchased a CDROM set instead of doing an alternate
395: form of install. The instructions for doing an FTP (or other style
396: of) install are very similar; the CDROM instructions are left intact
397: so that you can see how much easier it would have been if you had
398: purchased a CDROM instead.
399: <p>
400:
401: <hr>
402: Please refer to the following files on the three CDROMs or FTP mirror for
403: extensive details on how to install OpenBSD 4.5 on your machine:
404: <p>
405: <ul>
1.64 deraadt 406: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/i386/INSTALL.i386">
407: .../OpenBSD/4.5/i386/INSTALL.i386 (on CD1)</a>
1.1 deraadt 408: <p>
1.64 deraadt 409: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/amd64/INSTALL.amd64">
410: .../OpenBSD/4.5/amd64/INSTALL.amd64 (on CD2)</a>
411: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/macppc/INSTALL.macppc">
412: .../OpenBSD/4.5/macppc/INSTALL.macppc (on CD2)</a>
413: <p>
414: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/sparc64/INSTALL.sparc64">
415: .../OpenBSD/4.5/sparc64/INSTALL.sparc64 (on CD3)</a>
416: <p>
417: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/alpha/INSTALL.alpha">
418: .../OpenBSD/4.5/alpha/INSTALL.alpha</a>
419: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/armish/INSTALL.armish">
420: .../OpenBSD/4.5/armish/INSTALL.armish</a>
421: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/hp300/INSTALL.hp300">
422: .../OpenBSD/4.5/hp300/INSTALL.hp300</a>
423: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/hppa/INSTALL.hppa">
424: .../OpenBSD/4.5/hppa/INSTALL.hppa</a>
425: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/landisk/INSTALL.landisk">
426: .../OpenBSD/4.5/landisk/INSTALL.landisk</a>
427: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/mac68k/INSTALL.mac68k">
428: .../OpenBSD/4.5/mac68k/INSTALL.mac68k</a>
429: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/mvme68k/INSTALL.mvme68k">
430: .../OpenBSD/4.5/mvme68k/INSTALL.mvme68k</a>
431: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/mvme88k/INSTALL.mvme88k">
432: .../OpenBSD/4.5/mvme88k/INSTALL.mvme88k</a>
433: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/sgi/INSTALL.sgi">
434: .../OpenBSD/4.5/sgi/INSTALL.sgi</a>
435: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/socppc/INSTALL.socppc">
436: .../OpenBSD/4.5/socppc/INSTALL.socppc</a>
437: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/sparc/INSTALL.sparc">
438: .../OpenBSD/4.5/sparc/INSTALL.sparc</a>
439: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/vax/INSTALL.vax">
440: .../OpenBSD/4.5/vax/INSTALL.vax</a>
441: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.5/zaurus/INSTALL.zaurus">
442: .../OpenBSD/4.5/zaurus/INSTALL.zaurus</a>
1.1 deraadt 443: </ul>
1.64 deraadt 444: </section>
445:
1.1 deraadt 446: <hr>
447:
1.62 bentley 448: <section id=quickinstall>
449:
1.1 deraadt 450: <p>
451: Quick installer information for people familiar with OpenBSD, and the
452: use of the "disklabel -E" command. If you are at all confused when
453: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.62 bentley 454:
455: <h3>OpenBSD/i386:</h3>
456:
1.1 deraadt 457: <p>
458: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
459: release is on CD1. If your BIOS does not support booting from CD, you will need
460: to create a boot floppy to install from. To create a boot floppy write
461: <i>CD1:4.5/i386/floppy45.fs</i> to a floppy and boot via the floppy drive.
462:
463: <p>
464: Use <i>CD1:4.5/i386/floppyB45.fs</i> instead for greater SCSI controller
465: support, or <i>CD1:4.5/i386/floppyC45.fs</i> for better laptop support.
466:
467: <p>
468: If you can't boot from a CD or a floppy disk,
469: you can install across the network using PXE as described in
470: the included INSTALL.i386 document.
471:
472: <p>
473: If you are planning on dual booting OpenBSD with another OS, you will need to
474: read INSTALL.i386.
475:
476: <p>
477: To make a boot floppy under MS-DOS, use the "rawrite" utility located
478: at <i>CD1:4.5/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
479: use the
1.62 bentley 480: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 481: utility. The following is an example usage of
1.62 bentley 482: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 483: where the device could be "floppy", "rfd0c", or
484: "rfd0a".
485:
1.62 bentley 486: <blockquote><pre>
1.64 deraadt 487: # <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
1.62 bentley 488: </pre></blockquote>
1.1 deraadt 489:
490: <p>
491: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
492: your install will most likely fail. For more information on creating a boot
493: floppy and installing OpenBSD/i386 please refer to
1.57 tj 494: <a href="faq/faq4.html#MkFlop">this page</a>.
1.62 bentley 495:
496: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 497:
498: <p>
499: The 4.5 release of OpenBSD/amd64 is located on CD2.
500: Boot from the CD to begin the install - you may need to adjust
501: your BIOS options first.
502: If you can't boot from the CD, you can create a boot floppy to install from.
503: To do this, write <i>CD2:4.5/amd64/floppy45.fs</i> to a floppy, then
504: boot from the floppy drive.
505:
506: <p>
507: If you can't boot from a CD or a floppy disk,
508: you can install across the network using PXE as described in the included
509: INSTALL.amd64 document.
510:
511: <p>
512: If you are planning to dual boot OpenBSD with another OS, you will need to
513: read INSTALL.amd64.
1.62 bentley 514:
515: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 516:
517: <p>
518: Put CD2 in your CDROM drive and poweron your machine while holding down the
519: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
520:
521: <p>
522: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
523: /4.5/macppc/bsd.rd</i>
1.62 bentley 524:
525: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 526:
527: <p>
528: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
529:
530: <p>
531: If this doesn't work, or if you don't have a CDROM drive, you can write
532: <i>CD3:4.5/sparc64/floppy45.fs</i> or <i>CD3:4.5/sparc64/floppyB45.fs</i>
533: (depending on your machine) to a floppy and boot it with <i>boot
534: floppy</i>. Refer to INSTALL.sparc64 for details.
535:
536: <p>
537: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
538: will most likely fail.
539:
540: <p>
541: You can also write <i>CD3:4.5/sparc64/miniroot45.fs</i> to the swap partition on
542: the disk and boot with <i>boot disk:b</i>.
543:
544: <p>
545: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.62 bentley 546:
547: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 548:
549: <p>
1.64 deraadt 550: Write <i>4.5/alpha/floppy45.fs</i> or
551: <i>4.5/alpha/floppyB45.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 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:
1.62 bentley 558: <h3>OpenBSD/armish:</h3>
1.1 deraadt 559:
560: <p>
561: After connecting a serial port, Thecus can boot directly from the network
562: either tftp or http. Configure the network using fconfig, reset,
563: then load bsd.rd, see INSTALL.armish for specific details.
564: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
565: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
566: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
567: More details are available in INSTALL.armish.
568:
1.62 bentley 569: <h3>OpenBSD/hp300:</h3>
570:
1.1 deraadt 571: <p>
572: Boot over the network by following the instructions in INSTALL.hp300.
573:
1.62 bentley 574: <h3>OpenBSD/hppa:</h3>
575:
1.1 deraadt 576: <p>
577: Boot over the network by following the instructions in INSTALL.hppa or the
578: <a href="hppa.html#install">hppa platform page</a>.
1.62 bentley 579:
580: <h3>OpenBSD/landisk:</h3>
1.1 deraadt 581:
582: <p>
583: Write <i>miniroot45.fs</i> to the start of the CF
584: or disk, and boot normally.
585:
1.62 bentley 586: <h3>OpenBSD/mac68k:</h3>
587:
1.1 deraadt 588: <p>
589: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
1.64 deraadt 590: <i>4.5/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
1.1 deraadt 591: Booter" with the location of your bsd.rd kernel and boot into the installer.
592: Refer to the instructions in INSTALL.mac68k for more details.
1.62 bentley 593:
594: <h3>OpenBSD/mvme68k:</h3>
1.1 deraadt 595:
596: <p>
597: You can create a bootable installation tape or boot over the network.<br>
598: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
599: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
600: for more details.
601:
1.62 bentley 602: <h3>OpenBSD/mvme88k:</h3>
603:
1.1 deraadt 604: <p>
605: You can create a bootable installation tape or boot over the network.<br>
606: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
607: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
608: for more details.
1.62 bentley 609:
610: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 611:
612: <p>
613: Boot from one of the provided install ISO images, using one of the two
614: commands listed below, depending on the version of your ROM.
615:
1.62 bentley 616: <blockquote><pre>
617: ok <kbd>boot cdrom 4.5/sparc/bsd.rd</kbd>
1.1 deraadt 618: or
1.62 bentley 619: > <kbd>b sd(0,6,0)4.5/sparc/bsd.rd</kbd>
620: </pre></blockquote>
1.1 deraadt 621:
622: <p>
623: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
624: To do so you need to write <i>floppy45.fs</i> to a floppy.
1.57 tj 625: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 626: To boot from the floppy use one of the two commands listed below,
627: depending on the version of your ROM.
628:
1.62 bentley 629: <blockquote><pre>
630: ok <kbd>boot floppy</kbd>
1.1 deraadt 631: or
1.62 bentley 632: > <kbd>b fd()</kbd>
633: </pre></blockquote>
1.1 deraadt 634:
635: <p>
636: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
637: will most likely fail.
638:
639: <p>
640: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
641: setup a bootable tape, or install via network, as told in the
642: INSTALL.sparc file.
643:
1.62 bentley 644: <h3>OpenBSD/sgi:</h3>
645:
1.1 deraadt 646: <p>
647: Burn cd45.iso on a CD-R, put it in the CD drive of your machine and
648: select <i>Install System Software</i> from the System Maintenance menu.
649:
650: <p>
651: If your machine doesn't have a CD drive, you can
652: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
653: Refer to the instructions in INSTALL.sgi for more details.
1.62 bentley 654:
655: <h3>OpenBSD/socppc:</h3>
1.1 deraadt 656:
657: <p>
1.6 jasper 658: After connecting a serial port, boot over the network via DHCP/tftp.
659: Refer to the instructions in INSTALL.socppc for more details.
1.62 bentley 660:
661: <h3>OpenBSD/vax:</h3>
1.6 jasper 662:
663: <p>
1.1 deraadt 664: Boot over the network via mopbooting as described in INSTALL.vax.
665:
1.62 bentley 666: <h3>OpenBSD/zaurus:</h3>
667:
1.1 deraadt 668: <p>
669: Using the Linux built-in graphical ipkg installer, install the
670: openbsd45_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
671: for a few important details.
1.64 deraadt 672: </section>
1.62 bentley 673:
1.64 deraadt 674: <hr>
1.62 bentley 675:
676: <section id=sourcecode>
1.64 deraadt 677: <h3>Notes about the source code</h3>
1.1 deraadt 678: <p>
1.66 deraadt 679: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
680: This file contains everything you need except for the kernel sources, which are
1.1 deraadt 681: in a separate archive. To extract:
1.62 bentley 682: <blockquote><pre>
683: # <kbd>mkdir -p /usr/src</kbd>
684: # <kbd>cd /usr/src</kbd>
685: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
686: </pre></blockquote>
1.1 deraadt 687: <p>
1.66 deraadt 688: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 deraadt 689: This file contains all the kernel sources you need to rebuild kernels.
690: To extract:
1.62 bentley 691: <blockquote><pre>
692: # <kbd>mkdir -p /usr/src/sys</kbd>
693: # <kbd>cd /usr/src</kbd>
1.64 deraadt 694: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.62 bentley 695: </pre></blockquote>
1.1 deraadt 696: <p>
697: Both of these trees are a regular CVS checkout. Using these trees it
698: is possible to get a head-start on using the anoncvs servers as
699: described <a href="anoncvs.html">here</a>.
700: Using these files
701: results in a much faster initial CVS update than you could expect from
702: a fresh checkout of the full OpenBSD source tree.
1.62 bentley 703: </section>
704:
1.1 deraadt 705: <hr>
1.62 bentley 706:
707: <section id=upgrade>
708: <h3>How to upgrade</h3>
1.1 deraadt 709: <p>
710: If you already have an OpenBSD 4.4 system, and do not want to reinstall,
711: upgrade instructions and advice can be found in the
712: <a href="faq/upgrade45.html">Upgrade Guide</a>.
1.62 bentley 713: </section>
1.1 deraadt 714:
715: <hr>
1.62 bentley 716:
717: <section id=ports>
718: <h3>Ports Tree</h3>
1.1 deraadt 719: <p>
720: A ports tree archive is also provided. To extract:
1.62 bentley 721: <blockquote><pre>
722: # <kbd>cd /usr</kbd>
723: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
724: </pre></blockquote>
1.1 deraadt 725: <p>
726: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.44 jasper 727: read the <a href="faq/faq15.html">ports</a> page
1.1 deraadt 728: if you know nothing about ports
729: at this point. This text is not a manual of how to use ports.
730: Rather, it is a set of notes meant to kickstart the user on the
731: OpenBSD ports system.
732: <p>
733: The <i>ports/</i> directory represents a CVS (see the manpage for
1.65 bentley 734: <a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
1.1 deraadt 735: you aren't familiar with CVS) checkout of our ports. As with our complete
736: source tree, our ports tree is available via anoncvs. So, in
737: order to keep current with it, you must make the <i>ports/</i> tree
738: available on a read-write medium and update the tree with a command
739: like:
1.62 bentley 740: <blockquote><pre>
1.64 deraadt 741: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_5</kbd>
1.62 bentley 742: </pre></blockquote>
1.1 deraadt 743: <p>
744: [Of course, you must replace the local directory and server name here
745: with the location of your ports collection and a nearby anoncvs
746: server.]
747: <p>
1.64 deraadt 748: Note that most ports are available as packages on our mirrors. Updated
1.1 deraadt 749: packages for the 4.5 release will be made available if problems arise.
750: <p>
751: If you're interested in seeing a port added, would like to help out, or just
1.64 deraadt 752: would like to know more, the mailing list
753: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.62 bentley 754: </section>