Annotation of www/47.html, Revision 1.87
1.84 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.68 deraadt 5: <title>OpenBSD 4.7</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 4.7">
1.78 tj 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.80 tb 9: <link rel="canonical" href="https://www.openbsd.org/47.html">
1.1 deraadt 10:
1.84 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.84 bentley 13: <i>Open</i><b>BSD</b></a>
14: 4.7
1.78 tj 15: </h2>
1.1 deraadt 16:
1.84 bentley 17: <table>
18: <tr>
19: <td>
1.33 deraadt 20: <a href="images/Superfish.jpg">
1.84 bentley 21: <img width="227" height="343" src="images/Superfish.jpg" alt="Superfish"></a>
22: <td>
1.1 deraadt 23: Released May 19, 2010<br>
24: Copyright 1997-2010, Theo de Raadt.<br>
1.84 bentley 25: <cite class=isbn>ISBN 978-0-9784475-5-7</cite>
1.1 deraadt 26: <br>
1.75 deraadt 27: 4.7 Song: <a href="lyrics.html#47">"I'm still here"</a>
1.83 deraadt 28: <br>
29: <br>
1.1 deraadt 30: <ul>
31: <li>See the information on <a href="ftp.html">The FTP page</a> for
32: a list of mirror machines.
1.84 bentley 33: <li>Go to the <code class=reldir>pub/OpenBSD/4.7/</code> directory on
1.1 deraadt 34: one of the mirror sites.
35: <li>Have a look at <a href="errata47.html">The 4.7 Errata page</a> for a list
36: of bugs and workarounds.
37: <li>See a <a href="plus47.html">detailed log of changes</a> between the
38: 4.6 and 4.7 releases.
39: </ul>
1.78 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
43: files fetched via ports.tar.gz.
1.84 bentley 44: </table>
1.78 tj 45:
46: <hr>
1.1 deraadt 47:
1.84 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.7.
52: For a comprehensive list, see the <a href="plus47.html">changelog</a> leading
53: to 4.7.
54: <p>
55:
56: <ul>
57:
58: <li>New/extended platforms:
59: <ul>
1.7 kettenis 60: <li><a href="alpha.html">OpenBSD/alpha</a>
61: <ul>
62: <li>Added support for the DS15/DS25/ES45.
63: </ul>
64: <li><a href="loongson.html">OpenBSD/loongson</a><br>
65: New platform for systems based on the Loongson 2E and 2F
66: MIPS-compatible processors. Supported machines include:
67: <ul>
68: <li>Lemote Fuloong 2F mini-PC
69: <li>Lemote Lynloong all-in-one-PC
70: <li>Lemote Yeeloong netbook (8.9" and 10.1" models)
71: <li>EMTEC Gdium Liberty 1000 netbook
72: </ul>
73: <li><a href="sgi.html">OpenBSD/sgi</a>
1.85 deraadt 74: <ul>
1.29 miod 75: <li>Added support for multi-node SGI Origin systems, in M mode.
76: <li>Added support for the SGI Origin 350, Onyx 350, Onyx 4 and Tezro
77: systems.
78: <li>Added SMP support on the SGI Octane.
79: <li>Support for many more onboard devices on Octane and Origin
80: systems. (see below)
1.7 kettenis 81: </ul>
82: <li><a href="socppc.html">OpenBSD/socppc</a>
83: <ul>
84: <li>Added support for the RouterBOARD RB600A.
85: </ul>
1.30 kettenis 86: <li><a href="sparc64.html">OpenBSD/sparc64</a>
87: <ul>
88: <li>Preliminary support for running OpenBSD in a guest domain
89: on top of an OpenBSD control domain on sun4v machines.
90: </ul>
1.1 deraadt 91: </ul>
92: <p>
93:
94: <li>Improved hardware support, including:
95: <ul>
1.12 matthieu 96: <li>Revamped SCSI midlayer and improved driver support.
1.32 miod 97: <li>UDF 2.5 and 2.6 (HDDVD and Blu-ray) disks support.
1.84 bentley 98: <li>Added <a href="https://man.openbsd.org/mpath.4">mpath(4)</a>,
1.13 matthieu 99: a driver that steals paths to scsi devices if they could be
100: available via multiple paths and then made available
1.84 bentley 101: via <a href="https://man.openbsd.org/mpath.4">mpath(4)</a>.
102: <li>New <a href="https://man.openbsd.org/aibs.4">aibs(4)</a>
1.32 miod 103: driver for ASUSTeK AI Booster hardware monitoring.
1.84 bentley 104: <li>New <a href="https://man.openbsd.org/uthum.4">uthum(4)</a>
1.32 miod 105: driver for the TEMPerHUM USB temperature and humidity sensors.
1.84 bentley 106: <li>New <a href="https://man.openbsd.org/utrh.4">utrh(4)</a>
1.20 jsg 107: driver for USBRH temperature and humidity sensors.
1.84 bentley 108: <li>New <a href="https://man.openbsd.org/uyurex.4">uyurex(4)</a>
1.32 miod 109: driver for the Maywa-denki & KAYAC YUREX twitch/jiggle of knee sensor.
1.84 bentley 110: <li>New <a href="https://man.openbsd.org/urndis.4">urndis(4)</a>
1.32 miod 111: driver for remote NDIS Ethernet over USB devices (phones).
1.84 bentley 112: <li>New <a href="https://man.openbsd.org/wsudl.4">xf86-video-wsudl(4)</a>
1.32 miod 113: Xorg driver for USB DisplayLink devices supported by
1.84 bentley 114: <a href="https://man.openbsd.org/udl.4">udl(4)</a>.
115: <li>New <a href="https://man.openbsd.org/mpii.4">mpii(4)</a>
1.20 jsg 116: driver for LSI Logic Fusion MPT Message Passing Interface II based SAS 2 controllers.
1.84 bentley 117: <li>New <a href="https://man.openbsd.org/athn.4">athn(4)</a>
1.20 jsg 118: driver for Atheros IEEE 802.11a/g/n wireless network devices.
1.84 bentley 119: <li>New <a href="https://man.openbsd.org/alc.4">alc(4)</a>
1.20 jsg 120: driver for Atheros AR8131/AR8132 10/100/Gigabit Ethernet devices.
1.84 bentley 121: <li>New <a href="https://man.openbsd.org/lisa.4">lisa(4)</a>
1.20 jsg 122: driver for STMicroelectronics LIS331DL MEMS motion sensors.
1.84 bentley 123: <li>New <a href="https://man.openbsd.org/gcu.4">gcu(4)</a>
1.20 jsg 124: driver for Intel EP80579 Global Configuration Unit.
1.84 bentley 125: <li>New <a href="https://man.openbsd.org/sparc64/lom.4">lom(4)</a>
1.30 kettenis 126: driver for LOMLite and LOMLite2 as found on many of Sun's UltraSPARC-IIi
127: servers.
1.84 bentley 128: <li>New <a href="https://man.openbsd.org/sparc64/vsw.4">vsw(4)</a>
1.30 kettenis 129: driver for virtual switches on sun4v machines.
1.84 bentley 130: <li>New <a href="https://man.openbsd.org/sparc64/vds.4">vds(4)</a>
1.30 kettenis 131: driver for virtual disk servers on sun4v machines.
1.20 jsg 132: <li>Support for EP80579 integrated Ethernet and ICH9 M V has been added to
1.84 bentley 133: <a href="https://man.openbsd.org/em.4">em(4)</a>.
1.20 jsg 134: <li>Support for 82599 and SFP+ 82598 devices has been added to
1.84 bentley 135: <a href="https://man.openbsd.org/ix.4">ix(4)</a>.
1.30 kettenis 136: <li>Support for the Sun GigabitEthernet SBus Adapter 1.0/1.1 has been added
1.84 bentley 137: to <a href="https://man.openbsd.org/ti.4">ti(4)</a>.
1.30 kettenis 138: <li>Support for SBus variants of the QLogic Fibre Channel host adapters has
1.84 bentley 139: been added to <a href="https://man.openbsd.org/isp.4">isp(4)</a>.
1.32 miod 140: <li>Support for SBus variants of the Sun Gigabit Ethernet has
1.84 bentley 141: been added to <a href="https://man.openbsd.org/gem.4">gem(4)</a>.
1.55 damien 142: <li>Support for Intel WiFi Link 1000 and Intel Centrino Advanced-N 6200/Ultimate-N 6300
1.84 bentley 143: has been added to <a href="https://man.openbsd.org/iwn.4">iwn(4)</a>.
1.36 damien 144: <li>Support for Ralink RT3572 based 802.11n devices
1.84 bentley 145: has been added to <a href="https://man.openbsd.org/run.4">run(4)</a>.
1.57 ratchov 146: <li>VIA Tremor 5.1, M-Audio Revolution 5.1 cards
1.84 bentley 147: has been added to <a href="https://man.openbsd.org/envy.4">envy(4)</a>.
148: <li>New <a href="https://man.openbsd.org/uhts.4">uhts(4)</a>
1.46 deraadt 149: driver for USB HID touchscreens.
1.13 matthieu 150: <li>Improved touchscreen support in
1.84 bentley 151: the <a href="https://man.openbsd.org/ws.4">xf86-input-ws(4)</a>
1.13 matthieu 152: Xorg driver and improved calibration using the new device
153: properties from Xinput.
1.32 miod 154: <li>Support for ON CAT6095 and ON CAT34TS02 temperature sensors added to
1.84 bentley 155: <a href="https://man.openbsd.org/sdtemp.4">sdtemp(4)</a>.
1.43 jsg 156: <li>Several improvements and bug fixes to existing Ethernet
1.13 matthieu 157: drivers, including
1.84 bentley 158: <a href="https://man.openbsd.org/em.4">em(4)</a>,
159: <a href="https://man.openbsd.org/re.4">re(4)</a>,
160: <a href="https://man.openbsd.org/ti.4">ti(4)</a>
161: and <a href="https://man.openbsd.org/vge.4">vge(4)</a>.
1.29 miod 162: <li>Support for the <i>PIC</i> PCI-X controller added to the SGI
1.84 bentley 163: <a href="https://man.openbsd.org/sgi/xbridge.4">xbridge(4)</a> driver.
1.29 miod 164: <li>Support for the onboard Fast Ethernet interface found on SGI Octane and
165: many SGI Origin family systems,
1.84 bentley 166: <a href="https://man.openbsd.org/sgi/iec.4">iec(4)</a>.
1.29 miod 167: <li>Support for more SGI input and video devices on Octane and Origin systems, with
1.84 bentley 168: <a href="https://man.openbsd.org/sgi/iockbc.4">iockbc(4)</a>,
169: <a href="https://man.openbsd.org/sgi/impact.4">impact(4)</a>,
170: and <a href="https://man.openbsd.org/sgi/odyssey.4">odyssey(4)</a>.
1.35 otto 171: <li>Improved PCI resource allocation; more hardware left unconfigured by
172: the machine's firmware (including hotplugged hardware) should work now.
1.47 jakemsr 173: <li>Support for recording/full-duplex added to
1.84 bentley 174: <a href="https://man.openbsd.org/sgi/mavb.4">mavb(4)</a>.
1.47 jakemsr 175: <li>Improved support for USB audio devices in
1.84 bentley 176: <a href="https://man.openbsd.org/uaudio.4">uaudio(4)</a>.
1.54 krw 177: <li>Improved support for
1.84 bentley 178: <a href="https://man.openbsd.org/bwi.4">bwi(4)</a> devices on strict-alignment architectures like armish.
1.61 deraadt 179: <li>Eliminate usage of SCSI tagged queueing mechanisms other than simple queuing, thus avoiding incorrect implementations on various disk devices.
1.84 bentley 180: <li>Eliminate spurious <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> error messages when the specified interface does not exist.
181: <li>Eliminate spurious <a href="https://man.openbsd.org/softraid.4">softraid(4)</a> error messages for removable devices without media.
1.1 deraadt 182: </ul>
183: <p>
184:
185: <li>New tools:
186: <ul>
1.84 bentley 187: <li><a href="https://man.openbsd.org/newfs_ext2fs.8">newfs_ext2fs(8)</a> for creating ext2 filesystems.
188: <li><a href="https://man.openbsd.org/mkuboot.8">mkuboot(8)</a> for creating U-Boot boot loader images.
189: <li><a href="https://man.openbsd.org/midicat.1">midicat(1)</a> MIDI server allowing MIDI programs to communicate
190: <li>POSIX-compliant <a href="https://man.openbsd.org/fuser.1">fuser(1)</a> to identify process IDs holding a file open
1.1 deraadt 191: </ul>
192: <p>
193:
1.43 jsg 194: <li>Filesystem midlayer improvements:
1.2 beck 195: <ul>
1.84 bentley 196: <li> Dynamic Buffer Cache now supported to a max size set with sysctl <code>kern.bufcachepercent</code>
1.2 beck 197: <li> Dynamic VFS name cache rewrite, now uses Red/Black trees instead of linked lists.
1.32 miod 198: <li> Numerous NFS client stability fixes.
1.54 krw 199: <li> Fix FAT32 mounting.
200: <li> Fix cd9660 directory handling to eliminate looping and random
201: truncation of directory entries.
202: <li> Fix various internal locking problems with cd9660, udf, msdosfs and ffs file systems.
1.2 beck 203: </ul>
204: <p>
205:
1.84 bentley 206: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> improvements:
1.1 deraadt 207: <ul>
1.34 claudio 208: <li>nat-to, rdr-to, binat-to options replace the nat, rdr and binat
209: translation rules. See
1.80 tb 210: <a href="faq/upgrade47.html#newPFnat">
1.63 nick 211: pf(4) address translation changes</a> for more info.
1.34 claudio 212: <li>The route-to, reply-to, dup-to and fastroute options in pf.conf move to
1.80 tb 213: filteropts. See <a href="faq/upgrade47.html#newPFrouteto">
1.63 nick 214: pf(4) route-to/reply-to syntax change</a> for more info.
1.34 claudio 215: <li>pf(4) can now <i>translate</i> packets between different routing
216: domains.
1.84 bentley 217: <li>Added -S and -L options to <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> to store and load pf state table from a file.
1.42 claudio 218: <li>Added support for IPV4 and IPv6 divert sockets.
1.1 deraadt 219: </ul>
220: <p>
221:
222: <li>OpenBGPD, OpenOSPFD and other routing daemon improvements:
223: <ul>
1.84 bentley 224: <li>Update capability code in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> to follow RFC 5492.
1.34 claudio 225: <li>BGP MPLS VPN (RFC 4364) support added to the bgpd RIB.
1.84 bentley 226: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>, implement the RFC4486 BGP Cease Notification Message subcodes.
1.34 claudio 227: <li>It is now possible to enable/disable specific BGP capabilities.
1.84 bentley 228: <li>Update <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> irrfilter to support IPv6 and 4-byte AS numbers.
1.41 claudio 229: <li>Minimal router-dead-time of 1 second and sub-second hello intervals
1.84 bentley 230: added to <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>.
1.49 stsp 231: Additionally it is now possible to specify sub-second SPF timers for faster
1.41 claudio 232: route fail-over.
1.86 deraadt 233: <li><a href="https://man.openbsd.org/ospf6d.8">ospf6d(8)</a> is now installed by default.
234: The RIB can be synced with the kernel routing table now.
1.39 stsp 235: Support for AS-ext LSA has been added.
236: This is still work-in-progress but testing is highly appreciated.
1.84 bentley 237: <li><a href="https://man.openbsd.org/ldpd.8">ldpd</a> – the MPLS label distribution protocol daemon – is now installed by default. A custom kernel with option MPLS is needed to use it.
1.1 deraadt 238: </ul>
239: <p>
240:
1.43 jsg 241: <li>Generic network stack improvements:
1.1 deraadt 242: <ul>
1.34 claudio 243: <li>brconfig is now integrated into
1.84 bentley 244: <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
245: <li>Added <a href="https://man.openbsd.org/vether.4">vether(4)</a>, a virtual Ethernet device.
1.49 stsp 246: <li>Two bugs in IPsec/HMAC-SHA2 were fixed, resulting in an incompatibility
1.34 claudio 247: with the HMAC-SHA-256/384/512 hash algorithms with previous versions of
248: OpenBSD and other IPsec implementations sharing the bugs.
1.84 bentley 249: <li>In <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>, echo back the Relay Agent Information option if present, and add support for the ipsec-tunnel hardware type.
250: <li>Make <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> pick up the routing domain from the specified interface and use that rdomain for relaying the packets to the server.
251: <li>Added support in <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> for RFC3046 "DHCP-over-ipsec".
252: <li>Make the <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> BGP OPEN capability parser RFC 5492 compliant.
253: <li>Added an exec command to <a href="https://man.openbsd.org/route.8">route(8)</a> to run a process and its children in a specified routing domain.
254: <li><a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> now deals with more than 64 alias addresses.
1.61 deraadt 255: <li>Various fixes to mbuf defragmenting and mbuf chain copying improve reliability.
1.1 deraadt 256: </ul>
257: <p>
258:
1.9 otto 259: <li>Assorted improvements:
260: <ul>
1.84 bentley 261: <li><a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
262: now has an <code>S</code> flag to turn on the options that help debugging
1.9 otto 263: and improve security.
1.84 bentley 264: <li>Updated <a href="https://man.openbsd.org/terminfo.3">terminfo(3)</a>
265: database and <a href="https://man.openbsd.org/ncurses.3">ncurses(3)</a>
1.9 otto 266: library.
1.84 bentley 267: <li>Added support for lazy binding in <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>
1.16 matthieu 268: on hppa.
1.84 bentley 269: <li>Added POSIX silent check option (<code>-C</code>) to
270: <a href="https://man.openbsd.org/sort.1">sort(1)</a>.
1.61 deraadt 271: <li>Added POSIX extended regular expression support to
1.84 bentley 272: <a href="https://man.openbsd.org/sed.1">sed(1)</a> (<code>-E</code> option).
273: <li>Added GNU-compatible macro prefix option (<code>-P</code>) to
274: <a href="https://man.openbsd.org/m4.1">m4(1)</a>.
275: <li>Make it possible to specify a port in <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>.
276: <li>Improved FILE locking support in <a href="https://man.openbsd.org/stdio.3">stdio(3)</a>.
277: <li>Added SO_SNDTIMEO and SO_RCVTIMEO support in <a href="https://man.openbsd.org/pthreads.3">pthreads(3)</a>.
278: <li><a href="https://man.openbsd.org/cdio.1">cdio(1)</a> no longer prints bogus information if no TOC is found on the disk.
279: <li>New -v flag causes <a href="https://man.openbsd.org/cdio.1">cdio(1)</a> to print profile and feature information.
280: <li><a href="https://man.openbsd.org/whois.1">whois(1)</a> no longer attempts to keep the memory of 6Bone alive.
281: <li>Added per-application MIDI-controlled volume knob to <a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
282: <li>Added MMC and MTC support to <a href="https://man.openbsd.org/aucat.1">aucat(1)</a> making possible MIDI-to-audio synchronization
283: <li>Added <a href="https://man.openbsd.org/mio_open.3">mio_open(3)</a> interface to access hardware and software MIDI ports
1.54 krw 284: <li>Many memory leaks found by parfait and eliminated.
285: <li>Make handling of floppy disk disklabels more reliable by properly
286: initializing starting label.
1.61 deraadt 287: </ul>
1.9 otto 288: <p>
289:
1.1 deraadt 290: <li>Install/Upgrade process changes:
291: <ul>
1.61 deraadt 292: <li>Take more care to ensure all filesystems are umount'ed when
1.53 krw 293: restarting an install or upgrade.
1.61 deraadt 294: <li>If no possible root disk is found, keep checking until one
1.53 krw 295: appears.
1.61 deraadt 296: <li>The default ftp directory for -stable is now the release directory
1.53 krw 297: instead of the snapshot directory.
1.61 deraadt 298: <li>Selection of TZ during installs is no longer confused by
1.53 krw 299: trailing slashes.
1.61 deraadt 300: <li>If /etc/X11 is found during upgrades, add the X sets to the
1.53 krw 301: list of default sets to install.
1.1 deraadt 302: </ul>
303: <p>
304:
1.44 djm 305: <li>OpenSSH 5.5:
1.1 deraadt 306: <ul>
1.21 sobrado 307: <li>New features:
308: <ul>
309: <li>SSH protocol 1 is disabled by default.
310: <li>Remove the libsectok/OpenSC-based smartcard code and add support
311: for PKCS#11 tokens.
312: <li>Add support for certificate authentication of users and hosts using
313: a new, minimal OpenSSH certificate format (not X.509).
314: <li>Added a 'netcat mode' to
1.84 bentley 315: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
1.21 sobrado 316: <li>Add the ability to revoke keys in
1.84 bentley 317: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.21 sobrado 318: and
1.84 bentley 319: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
1.21 sobrado 320: <li>Rewrite the
1.84 bentley 321: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.21 sobrado 322: multiplexing support to support non-blocking operation of the mux
323: master.
324: <li>Add a 'read-only' mode to
1.84 bentley 325: <a href="https://man.openbsd.org/sftp-server.8">sftp-server(8)</a>
1.21 sobrado 326: that disables open in write mode and all other fs-modifying
327: protocol methods. (bz#430)
328: <li>Allow setting an explicit umask on the
1.84 bentley 329: <a href="https://man.openbsd.org/sftp-server.8">sftp-server(8)</a>
1.21 sobrado 330: commandline to override whatever default the user has. (bz#1229)
331: <li>Many improvements to the
1.84 bentley 332: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>
1.21 sobrado 333: client.
1.23 sobrado 334: <li>New RSA keys will be generated with a public exponent of 65537
335: instead of the previous value 35.
1.21 sobrado 336: <li>Passphrase-protected SSH protocol 2 private keys are now protected
337: with AES-128 instead of 3DES.
338: </ul>
339: <li>The following significant bugs have been fixed in this release:
340: <ul>
341: <li>Fixed a minor information leak of environment variables specified
342: in authorized_keys if an attacker happens to know the public key
343: in use.
344: <li>When using <em>ChrootDirectory</em>, make sure we test for the
345: existence of the user's shell inside the chroot and not outside.
346: (bz#1679)
347: <li>Cache user and group name lookups in sftp-server using
1.84 bentley 348: <a href="https://man.openbsd.org/pwcache.3">user_from_[ug]id(3)</a>
1.21 sobrado 349: to improve performance on hosts where these operations are slow.
350: (bz#1495)
351: <li>Fix problem that prevented passphrase reading from being
352: interrupted in some circumstances. (bz#1590)
353: <li>Ignore and log any Protocol 1 keys where the claimed size is not
354: equal to the actual size.
355: <li>Make <em>HostBased</em> authentication work with a
356: <em>ProxyCommand</em>. (bz#1569)
357: <li>Avoid run-time failures when specifying hostkeys via a relative
358: path by prepending the current working directory in these cases.
359: (bz#1290)
360: <li>Do not prompt for a passphrase if we fail to open a keyfile, and
361: log the reason why the open failed to debug. (bz#1693)
362: <li>Document that the <em>PubkeyAuthentication</em> directive is
363: allowed in a
1.84 bentley 364: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
1.21 sobrado 365: <em>Match</em> block. (bz#1577)
366: <li>When converting keys, truncate key comments at 72 chars as per
367: RFC4716. (bz#1630)
368: <li>Do not allow logins if <em>/etc/nologin</em> exists but is not
369: readable by the user logging in.
370: <li>Output a debug log if
1.84 bentley 371: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.21 sobrado 372: can't open an existing <em>authorized_keys</em>. (bz#1694)
373: <li>Quell
1.84 bentley 374: <a href="https://man.openbsd.org/tcsetattr.3">tc[gs]etattr(3)</a>
1.21 sobrado 375: warnings when forcing a tty (ssh -tt), since we usually don't
376: actually have a tty to read/set. (bz#1686)
377: <li>Prevent
1.84 bentley 378: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>
1.21 sobrado 379: from crashing when given a "-" without a command; also, allow
380: whitespace to follow a "-". (bz#1691)
381: <li>After
1.84 bentley 382: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.21 sobrado 383: receives a SIGHUP, ignore subsequent HUPs while
1.84 bentley 384: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.21 sobrado 385: re-execs itself; prevents two HUPs in quick succession from
386: resulting in
1.84 bentley 387: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.21 sobrado 388: dying. (bz#1692)
389: <li>Clarify in
1.84 bentley 390: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
1.21 sobrado 391: that <em>StrictModes</em> does not apply to
392: <em>ChrootDirectory</em>; permissions and ownership are always
393: checked when chrooting. (bz#1532)
394: <li>Set close-on-exec on various descriptors so they don't get leaked
395: to child processes. (bz#1643)
396: <li>Fix very rare race condition in x11/agent channel allocation
397: <li>Fix incorrect exit status when multiplexing and channel ID 0 is
398: recycled. (bz#1570)
399: <li>Fail with an error when an attempt is made to connect to a server
400: with <em>ForceCommand=internal-sftp</em> with a shell session.
401: (bz#1606)
402: <li>Warn but do not fail if
1.84 bentley 403: <a href="https://man.openbsd.org/stat.2">stat(2)</a>ing
1.21 sobrado 404: the subsystem binary fails. (bz#1599)
405: <li>Change "Connecting to host..." message to "Connected to host."
406: and delay it until after the sftp protocol connection has been
407: established. (bz#1588)
408: <li>Use the <em>HostKeyAlias</em> rather than the hostname specified
409: on the commandline when prompting for passwords. (bz#1039)
1.25 sobrado 410: <li>Correct off-by-one in percent_expand(). (bz#1607)
1.21 sobrado 411: <li>Fix passing of empty options from
1.84 bentley 412: <a href="https://man.openbsd.org/scp.1">scp(1)</a>
1.21 sobrado 413: and
1.84 bentley 414: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>
1.21 sobrado 415: to the underlying
1.84 bentley 416: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>;
1.21 sobrado 417: also add support for the stop option "--".
418: <li>Fix an incorrect magic number and typo in PROTOCOL. (bz#1688)
419: <li>Don't escape backslashes when displaying the SSH2 banner. (bz#1533)
420: <li>Don't unnecessarily dup() the in and out fds for
1.84 bentley 421: <a href="https://man.openbsd.org/sftp-server.8">sftp-server(8)</a>.
1.21 sobrado 422: (bz#1566)
423: <li>Force use of the correct hash function for random-art signature
424: display. (bz#1611)
425: <li>Do not fall back to adding keys without constraints when the agent
426: refuses the constrained add request. (bz#1612)
427: <li>Fix a race condition in
1.84 bentley 428: <a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>
1.21 sobrado 429: that could result in a wedged or spinning agent. (bz#1633)
1.49 stsp 430: <li>Flush stdio before exec() to ensure that everything has made it out
1.21 sobrado 431: before the streams go away. (bz#1596)
432: <li>Set <em>FD_CLOEXEC</em> on in/out sockets in
1.84 bentley 433: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>.
1.21 sobrado 434: (bz#1706)
435: </ul>
1.1 deraadt 436: </ul>
437: <p>
438:
1.15 espie 439: <li>Over 5,800 ports, major robustness and speed improvements in package tools.
1.1 deraadt 440: <li>Many pre-built packages for each architecture:
1.84 bentley 441: <ul style="column-count: 4">
1.5 deraadt 442: <li>i386: 5951
443: <li>sparc64: 5745
1.60 deraadt 444: <li>alpha: 5641
1.62 deraadt 445: <li>sh: 768
1.58 deraadt 446: <li>amd64: 5879
447: <li>powerpc: 5785
448: <li>sparc: 4053
1.62 deraadt 449: <li>arm: 3711
1.58 deraadt 450: <li>hppa: 5500
1.5 deraadt 451: <li>vax: 1785
1.58 deraadt 452: <li>mips64: 3690
453: <li>mips64el: 4316
1.84 bentley 454: </ul>
1.1 deraadt 455: Some highlights:
456: <ul>
1.18 jasper 457: <li>Gnome 2.28.2.
1.1 deraadt 458: <li>KDE 3.5.10.
1.18 jasper 459: <li>Xfce 4.6.1.
1.11 otto 460: <li>MySQL 5.1.42.
1.18 jasper 461: <li>PostgreSQL 8.4.2.
462: <li>Postfix 2.6.5.
1.1 deraadt 463: <li>OpenLDAP 2.3.43.
1.22 jsg 464: <li>Mozilla Firefox 3.0.18 and 3.5.8.
1.11 otto 465: <li>Mozilla Thunderbird 2.0.0.23.
1.18 jasper 466: <li>OpenOffice.org 3.1.1.
1.1 deraadt 467: <li>Emacs 21.4 and 22.3
1.18 jasper 468: <li>Vim 7.2.267.
1.40 giovanni 469: <li>PHP 5.2.12.
470: <li>Python 2.4.6, 2.5.4 and 2.6.3.
1.1 deraadt 471: <li>Ruby 1.8.6.369.
472: </ul>
473: <p>
474:
475: <li>As usual, steady improvements in manual pages and other documentation.
476: <p>
477:
478: <li>The system includes the following major components from outside suppliers:
479: <ul>
1.32 miod 480: <li>Xenocara (based on X.Org 7.4 with xserver 1.6.5 + patches,
1.8 matthieu 481: freetype 2.3.9,
482: fontconfig 2.6.0, Mesa 7.4.2, xterm 250 and more)
1.1 deraadt 483: <li>Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
1.10 otto 484: <li>Perl 5.10.1 (+ patches)
1.1 deraadt 485: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
486: and DSO support
487: <li>OpenSSL 0.9.8k (+ patches)
488: <li>Groff 1.15
489: <li>Sendmail 8.14.3, with libmilter
490: <li>Bind 9.4.2-P2 (+ patches)
491: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
492: <li>Sudo 1.7.2
1.10 otto 493: <li>Ncurses 5.7
1.1 deraadt 494: <li>Latest KAME IPv6
495: <li>Heimdal 0.7.2 (+ patches)
496: <li>Arla 0.35.7
497: <li>Binutils 2.15 (+ patches)
498: <li>Gdb 6.3 (+ patches)
499: </ul>
500: </ul>
1.84 bentley 501: </section>
1.1 deraadt 502:
503: <hr>
1.84 bentley 504:
505: <section id=install>
506: <h3>How to install</h3>
1.1 deraadt 507: <p>
508: Following this are the instructions which you would have on a piece of
509: paper if you had purchased a CDROM set instead of doing an alternate
510: form of install. The instructions for doing an FTP (or other style
511: of) install are very similar; the CDROM instructions are left intact
512: so that you can see how much easier it would have been if you had
513: purchased a CDROM instead.
514: <p>
515:
516: <hr>
517: Please refer to the following files on the three CDROMs or FTP mirror for
518: extensive details on how to install OpenBSD 4.7 on your machine:
519: <p>
520: <ul>
1.87 ! deraadt 521: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/i386/INSTALL.i386">
! 522: .../OpenBSD/4.7/i386/INSTALL.i386 (on CD1)</a>
1.1 deraadt 523: <p>
1.87 ! deraadt 524: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/amd64/INSTALL.amd64">
! 525: .../OpenBSD/4.7/amd64/INSTALL.amd64 (on CD2)</a>
! 526: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/macppc/INSTALL.macppc">
! 527: .../OpenBSD/4.7/macppc/INSTALL.macppc (on CD2)</a>
! 528: <p>
! 529: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/sparc64/INSTALL.sparc64">
! 530: .../OpenBSD/4.7/sparc64/INSTALL.sparc64 (on CD3)</a>
! 531: <p>
! 532: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/alpha/INSTALL.alpha">
! 533: .../OpenBSD/4.7/alpha/INSTALL.alpha</a>
! 534: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/armish/INSTALL.armish">
! 535: .../OpenBSD/4.7/armish/INSTALL.armish</a>
! 536: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/hp300/INSTALL.hp300">
! 537: .../OpenBSD/4.7/hp300/INSTALL.hp300</a>
! 538: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/hppa/INSTALL.hppa">
! 539: .../OpenBSD/4.7/hppa/INSTALL.hppa</a>
! 540: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/landisk/INSTALL.landisk">
! 541: .../OpenBSD/4.7/landisk/INSTALL.landisk</a>
! 542: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/loongson/INSTALL.loongson">
! 543: .../OpenBSD/4.7/loongson/INSTALL.loongson</a>
! 544: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/mvme68k/INSTALL.mvme68k">
! 545: .../OpenBSD/4.7/mvme68k/INSTALL.mvme68k</a>
! 546: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/mvme88k/INSTALL.mvme88k">
! 547: .../OpenBSD/4.7/mvme88k/INSTALL.mvme88k</a>
! 548: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/sgi/INSTALL.sgi">
! 549: .../OpenBSD/4.7/sgi/INSTALL.sgi</a>
! 550: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/socppc/INSTALL.socppc">
! 551: .../OpenBSD/4.7/socppc/INSTALL.socppc</a>
! 552: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/sparc/INSTALL.sparc">
! 553: .../OpenBSD/4.7/sparc/INSTALL.sparc</a>
! 554: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/vax/INSTALL.vax">
! 555: .../OpenBSD/4.7/vax/INSTALL.vax</a>
! 556: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/4.7/zaurus/INSTALL.zaurus">
! 557: .../OpenBSD/4.7/zaurus/INSTALL.zaurus</a>
1.1 deraadt 558: </ul>
1.87 ! deraadt 559: </section>
! 560:
1.1 deraadt 561: <hr>
562:
1.84 bentley 563: <section id=quickinstall>
564:
1.1 deraadt 565: <p>
566: Quick installer information for people familiar with OpenBSD, and the
567: use of the "disklabel -E" command. If you are at all confused when
568: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.84 bentley 569:
570: <h3>OpenBSD/i386:</h3>
571:
1.1 deraadt 572: <p>
573: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
574: release is on CD1. If your BIOS does not support booting from CD, you will need
575: to create a boot floppy to install from. To create a boot floppy write
576: <i>CD1:4.7/i386/floppy47.fs</i> to a floppy and boot via the floppy drive.
577:
578: <p>
579: Use <i>CD1:4.7/i386/floppyB47.fs</i> instead for greater SCSI controller
580: support, or <i>CD1:4.7/i386/floppyC47.fs</i> for better laptop support.
581:
582: <p>
583: If you can't boot from a CD or a floppy disk,
584: you can install across the network using PXE as described in
585: the included INSTALL.i386 document.
586:
587: <p>
588: If you are planning on dual booting OpenBSD with another OS, you will need to
589: read INSTALL.i386.
590:
591: <p>
592: To make a boot floppy under MS-DOS, use the "rawrite" utility located
593: at <i>CD1:4.7/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
594: use the
1.84 bentley 595: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 596: utility. The following is an example usage of
1.84 bentley 597: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 598: where the device could be "floppy", "rfd0c", or
599: "rfd0a".
600:
1.84 bentley 601: <blockquote><pre>
1.87 ! deraadt 602: # <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
1.84 bentley 603: </pre></blockquote>
1.1 deraadt 604:
605: <p>
606: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
607: your install will most likely fail. For more information on creating a boot
608: floppy and installing OpenBSD/i386 please refer to
1.79 tj 609: <a href="faq/faq4.html#MkFlop">this page</a>.
1.84 bentley 610:
611: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 612:
613: <p>
614: The 4.7 release of OpenBSD/amd64 is located on CD2.
615: Boot from the CD to begin the install - you may need to adjust
616: your BIOS options first.
617: If you can't boot from the CD, you can create a boot floppy to install from.
618: To do this, write <i>CD2:4.7/amd64/floppy47.fs</i> to a floppy, then
619: boot from the floppy drive.
620:
621: <p>
622: If you can't boot from a CD or a floppy disk,
623: you can install across the network using PXE as described in the included
624: INSTALL.amd64 document.
625:
626: <p>
627: If you are planning to dual boot OpenBSD with another OS, you will need to
628: read INSTALL.amd64.
1.84 bentley 629:
630: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 631:
632: <p>
633: Put CD2 in your CDROM drive and poweron your machine while holding down the
634: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
635:
636: <p>
637: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
638: /4.7/macppc/bsd.rd</i>
1.84 bentley 639:
640: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 641:
642: <p>
643: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
644:
645: <p>
646: If this doesn't work, or if you don't have a CDROM drive, you can write
647: <i>CD3:4.7/sparc64/floppy47.fs</i> or <i>CD3:4.7/sparc64/floppyB47.fs</i>
648: (depending on your machine) to a floppy and boot it with <i>boot
649: floppy</i>. Refer to INSTALL.sparc64 for details.
650:
651: <p>
652: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
653: will most likely fail.
654:
655: <p>
656: You can also write <i>CD3:4.7/sparc64/miniroot47.fs</i> to the swap partition on
657: the disk and boot with <i>boot disk:b</i>.
658:
659: <p>
660: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.84 bentley 661:
662: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 663:
664: <p>
1.87 ! deraadt 665: Write <i>4.7/alpha/floppy47.fs</i> or
! 666: <i>4.7/alpha/floppyB47.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 667: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
668:
669: <p>
670: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
671: will most likely fail.
672:
1.84 bentley 673: <h3>OpenBSD/armish:</h3>
1.1 deraadt 674:
675: <p>
676: After connecting a serial port, Thecus can boot directly from the network
677: either tftp or http. Configure the network using fconfig, reset,
678: then load bsd.rd, see INSTALL.armish for specific details.
679: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
680: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
681: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
682: More details are available in INSTALL.armish.
683:
1.84 bentley 684: <h3>OpenBSD/hp300:</h3>
685:
1.1 deraadt 686: <p>
687: Boot over the network by following the instructions in INSTALL.hp300.
688:
1.84 bentley 689: <h3>OpenBSD/hppa:</h3>
690:
1.1 deraadt 691: <p>
692: Boot over the network by following the instructions in INSTALL.hppa or the
693: <a href="hppa.html#install">hppa platform page</a>.
1.84 bentley 694:
695: <h3>OpenBSD/landisk:</h3>
1.1 deraadt 696:
697: <p>
698: Write <i>miniroot47.fs</i> to the start of the CF
699: or disk, and boot normally.
700:
1.84 bentley 701: <h3>OpenBSD/loongson:</h3>
702:
1.19 otto 703: <p>
704: Write <i>miniroot47.fs</i> to a USB stick and boot bsd.rd from it
705: or boot bsd.rd via tftp.
706: Refer to the instructions in INSTALL.loongson for more details.
707:
1.84 bentley 708: <h3>OpenBSD/mvme68k:</h3>
709:
1.1 deraadt 710: <p>
711: You can create a bootable installation tape or boot over the network.<br>
712: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
713: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
714: for more details.
715:
1.84 bentley 716: <h3>OpenBSD/mvme88k:</h3>
717:
1.1 deraadt 718: <p>
719: You can create a bootable installation tape or boot over the network.<br>
720: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
721: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
722: for more details.
1.84 bentley 723:
724: <h3>OpenBSD/sgi:</h3>
1.1 deraadt 725:
726: <p>
1.29 miod 727: To install on an O2, burn cd47.iso on a CD-R, put it in the CD drive of your
728: machine and select <i>Install System Software</i> from the System Maintenance
729: menu.
730:
731: <p>
732: On other systems, or if your machine doesn't have a CD drive, you can
733: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
734: the kernel matching your system type.
735: Refer to the instructions in INSTALL.sgi for more details.
736:
1.84 bentley 737: <h3>OpenBSD/socppc:</h3>
738:
1.29 miod 739: <p>
740: After connecting a serial port, boot over the network via DHCP/tftp.
741: Refer to the instructions in INSTALL.socppc for more details.
1.84 bentley 742:
743: <h3>OpenBSD/sparc:</h3>
1.29 miod 744:
745: <p>
1.1 deraadt 746: Boot from one of the provided install ISO images, using one of the two
747: commands listed below, depending on the version of your ROM.
748:
1.84 bentley 749: <blockquote><pre>
750: ok <kbd>boot cdrom 4.7/sparc/bsd.rd</kbd>
1.1 deraadt 751: or
1.84 bentley 752: > <kbd>b sd(0,6,0)4.7/sparc/bsd.rd</kbd>
753: </pre></blockquote>
1.1 deraadt 754:
755: <p>
756: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
757: To do so you need to write <i>floppy47.fs</i> to a floppy.
1.79 tj 758: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 759: To boot from the floppy use one of the two commands listed below,
760: depending on the version of your ROM.
761:
1.84 bentley 762: <blockquote><pre>
763: ok <kbd>boot floppy</kbd>
1.1 deraadt 764: or
1.84 bentley 765: > <kbd>b fd()</kbd>
766: </pre></blockquote>
1.1 deraadt 767:
768: <p>
769: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
770: will most likely fail.
771:
772: <p>
773: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
774: setup a bootable tape, or install via network, as told in the
775: INSTALL.sparc file.
1.84 bentley 776:
777: <h3>OpenBSD/vax:</h3>
1.1 deraadt 778:
779: <p>
780: Boot over the network via mopbooting as described in INSTALL.vax.
781:
1.84 bentley 782: <h3>OpenBSD/zaurus:</h3>
783:
1.1 deraadt 784: <p>
785: Using the Linux built-in graphical ipkg installer, install the
786: openbsd47_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
787: for a few important details.
1.87 ! deraadt 788: </section>
1.84 bentley 789:
1.87 ! deraadt 790: <hr>
1.84 bentley 791:
792: <section id=sourcecode>
1.87 ! deraadt 793: <h3>Notes about the source code</h3>
1.1 deraadt 794: <p>
795: src.tar.gz contains a source archive starting at /usr/src. This file
796: contains everything you need except for the kernel sources, which are
797: in a separate archive. To extract:
1.84 bentley 798:
799: <blockquote><pre>
800: # <kbd>mkdir -p /usr/src</kbd>
801: # <kbd>cd /usr/src</kbd>
802: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
803: </pre></blockquote>
804:
1.1 deraadt 805: <p>
806: sys.tar.gz contains a source archive starting at /usr/src/sys.
807: This file contains all the kernel sources you need to rebuild kernels.
808: To extract:
1.84 bentley 809:
810: <blockquote><pre>
811: # <kbd>mkdir -p /usr/src/sys</kbd>
812: # <kbd>cd /usr/src</kbd>
1.87 ! deraadt 813: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.84 bentley 814: </pre></blockquote>
815:
1.1 deraadt 816: <p>
817: Both of these trees are a regular CVS checkout. Using these trees it
818: is possible to get a head-start on using the anoncvs servers as
819: described <a href="anoncvs.html">here</a>.
820: Using these files
821: results in a much faster initial CVS update than you could expect from
822: a fresh checkout of the full OpenBSD source tree.
1.84 bentley 823: </section>
824:
1.1 deraadt 825: <hr>
1.84 bentley 826:
827: <section id=upgrade>
828: <h3>How to upgrade</h3>
1.1 deraadt 829: <p>
830: If you already have an OpenBSD 4.6 system, and do not want to reinstall,
831: upgrade instructions and advice can be found in the
832: <a href="faq/upgrade47.html">Upgrade Guide</a>.
1.84 bentley 833: </section>
1.1 deraadt 834:
835: <hr>
1.84 bentley 836:
837: <section id=ports>
838: <h3>Ports Tree</h3>
1.1 deraadt 839: <p>
840: A ports tree archive is also provided. To extract:
841: <p>
1.84 bentley 842: <blockquote><pre>
843: # <kbd>cd /usr</kbd>
844: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
845: # <kbd>cd ports</kbd>
846: </pre></blockquote>
1.1 deraadt 847: <p>
848: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.64 steven 849: read the <a href="faq/ports/index.html">ports</a> page
1.1 deraadt 850: if you know nothing about ports
851: at this point. This text is not a manual of how to use ports.
852: Rather, it is a set of notes meant to kickstart the user on the
853: OpenBSD ports system.
854: <p>
855: The <i>ports/</i> directory represents a CVS (see the manpage for
1.84 bentley 856: <a href="https://man.openbsd.org/cvs.1">
1.1 deraadt 857: cvs(1)</a> if
858: you aren't familiar with CVS) checkout of our ports. As with our complete
859: source tree, our ports tree is available via anoncvs. So, in
860: order to keep current with it, you must make the <i>ports/</i> tree
861: available on a read-write medium and update the tree with a command
862: like:
863: <p>
1.84 bentley 864: <blockquote><pre>
1.87 ! deraadt 865: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_7</kbd>
1.84 bentley 866: </pre></blockquote>
1.1 deraadt 867: <p>
868: [Of course, you must replace the local directory and server name here
869: with the location of your ports collection and a nearby anoncvs
870: server.]
871: <p>
1.87 ! deraadt 872: Note that most ports are available as packages on our mirrors. Updated
1.1 deraadt 873: packages for the 4.7 release will be made available if problems arise.
874: <p>
875: If you're interested in seeing a port added, would like to help out, or just
1.87 ! deraadt 876: would like to know more, the mailing list
! 877: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.84 bentley 878: </section>