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