Annotation of www/59.html, Revision 1.44
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.9</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 5.9">
7: <meta name="copyright" content="This document copyright 2015 by OpenBSD.">
8: <link rel="canonical" href="http://www.openbsd.org/59.html">
9: </head>
10:
11: <body bgcolor="#ffffff" text="#000000" link="#24248E">
12:
13: <a href="index.html">
14: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
15: <p>
16:
17: <a href="images/XXX.jpg">
18: <img align="left" width="227" height="343" hspace="24" vspace="10" src="images/XXX.jpg"></a>
19: <h2><font color="#0000e0">OpenBSD 5.9</font></h2>
20: <p>
1.11 tedu 21: To be released May 1, 2016<br>
1.1 deraadt 22: Copyright 1997-2016, Theo de Raadt.<br>
23: <font color="#e00000">ISBN 978-0-9881561-7-3</font>
24: <br>
25: 5.9 Songs: <a href="lyrics.html#59a">"xxx"</a>,
26: <a href="lyrics.html#59b">"xxx"</a>
27: <ul>
28: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
29: <li>See the information on <a href="ftp.html">the FTP page</a> for
30: a list of mirror machines.
31: <li>Go to the <font color="#e00000">pub/OpenBSD/5.9/</font> directory on
32: one of the mirror sites.
33: <li>Have a look at <a href="errata59.html">the 5.9 errata page</a> for a list
34: of bugs and workarounds.
35: <li>See a <a href="plus59.html">detailed log of changes</a> between the
36: 5.8 and 5.9 releases.
37: <p>
38: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=signify&sektion=1">signify(1)</a> pubkeys for this release:<br>
39: <pre>
1.4 jsg 40: base: RWQJVNompF3pwfIqbg+5sxfpxmZMa3tTBaW4qbUhWje/H/M7glrA6oVn
41: fw: RWSdmaNkytzh6BApmPSNSDLNg26ZaXlY8g/879UvLdo3rjbsby76Eda1
42: pkg: RWSLRYDCTJeWLIScncqwGuXK6JVXDcIyRT0q+0m30MXXG4W2xWS4NZBP
1.1 deraadt 43: </pre>
44: </ul>
45: <br clear=all>
46: All applicable copyrights and credits can be found in the applicable
47: file sources found in the files src.tar.gz, sys.tar.gz,
48: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
49: distribution files used to build packages from the ports.tar.gz file
50: are not included on the CDROM because of lack of space.
51: <p>
52:
53: <a name="new"></a>
54: <hr>
55: <p>
56: <h3><font color="#0000e0">What's New</font></h3>
57: <p>
58: This is a partial list of new features and systems included in OpenBSD 5.9.
59: For a comprehensive list, see the <a href="plus59.html">changelog</a> leading
60: to 5.9.
61: <p>
62:
63: <ul>
64: <li>Improved hardware support, including:
65: <ul>
1.33 jsg 66: <li>amd64 can now boot from 32 bit and 64 bit EFI.
67: <li>Initial support for hardware reduced ACPI added to
68: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=acpi&sektion=4">acpi(4)</a>.
69: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=efifb&sektion=4;arch=amd64">efifb(4)</a> driver for EFI frame buffer.
70: <li>Support for ACPI configured SD host controllers has been added to
71: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdhc&sektion=4">sdhc(4)</a>.
72: <li>Xen domU support <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xen&sektion=4">xen(4)</a>,
1.37 sobrado 73: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xspd&sektion=4">xspd(4)</a>.
1.33 jsg 74: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xnf&sektion=4">xnf(4)</a> driver for Xen Netfront network interfaces.
1.30 kirby 75: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=puc&sektion=4">puc(4)</a> driver now supports Moxa CP-168U, Perle Speed8 LE and QEMU PCI serial devices.
1.33 jsg 76: <li>Intel 100 Series PCH Ethernet MAC with i219 PHY support has been added to the
77: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a> driver.
78: <li>RTL8168H/RTL8111H support has been added to
79: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a>.
1.31 kirby 80: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asmc&sektion=4">asmc(4)</a> driver for the Apple System Management Controller.
1.33 jsg 81: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pchtemp&sektion=4">pchtemp(4)</a> driver for the thermal sensor found on Intel X99, C610 series, 9 series and 100 series PCH.
1.31 kirby 82: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uonerng&sektion=4">uonerng(4)</a> driver for the Moonbase Otago OneRNG.
1.33 jsg 83: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dwiic&sektion=4">dwiic(4)</a> driver for the Synopsys DesignWare I2C controller.
84: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ikbd&sektion=4">ikbd(4)</a>,
85: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ims&sektion=4">ims(4)</a>, and
86: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=imt&sektion=4">imt(4)</a>
87: drivers for HID-over-i2c keyboards, mice and multitouch touchpads.
88: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=inteldrm&sektion=4">inteldrm(4)</a>
89: has been updated to Linux 3.14.52 adding initial support for Bay Trail and Broadwell graphics.
1.32 kirby 90: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=viocon&sektion=4">viocon(4)</a> driver for the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=virtio&sektion=4">virtio(4)</a> console interface provided by KVM, QEMU, and others.
1.1 deraadt 91: <li>...
92: </ul>
93: <p>
94:
95: <li>Removed hardware support:
96: <ul>
1.24 krw 97: <li>ST-506 disks are no longer supported.
1.1 deraadt 98: <li>...
99: </ul>
100: <p>
101:
1.34 deraadt 102: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pledge&sektion=2">pledge(2)</a> support integrated:
103: <ul>
104: <li>tame(2) system call renamed to pledge(2).
1.35 deraadt 105: <li>453 out of 707 base system binaries adapted to use pledge.
1.36 deraadt 106: <li>14 ports adapted to use pledge (some decompression tools, mutt,
107: some pdf tools, chromium/iridium, and the i3 window manager).
1.43 guenther 108: <li>Several bugs exposed by pledge(2) have been corrected, for example in <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/bgpd/bgpd.c?rev=1.181&content-type=text/x-cvsweb-markup">bgpd(8)</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/iked/config.c?rev=1.40&content-type=text/x-cvsweb-markup">iked(8)</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/ldapd/control.c?rev=1.13&content-type=text/x-cvsweb-markup">ldapd(8)</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/ntpd/constraint.c?rev=1.25&content-type=text/x-cvsweb-markup">ntpd(8)</a>, and <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/syslogd/syslogd.c?rev=1.200&content-type=text/x-cvsweb-markup">syslogd(8)</a>,
109: <li>Several misguided "features" have been removed, such as <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/asr.c?rev=1.50&content-type=text/x-cvsweb-markup">support for HOSTALIASES from the resolver</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/asr.c?rev=1.49&content-type=text/x-cvsweb-markup">support for "lookup yp" in /etc/resolv.conf</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/binutils-2.17/binutils/rename.c?rev=1.2&content-type=text/x-cvsweb-markup">setuid-preserving code in binutils tools</a> or <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/ed.c?rev=1.1&content-type=text/x-cvsweb-markup">ed-style diffs via proc/exec in patch(1)</a>.
110: <li>A somewhat intensive audit of userland program so that they could be properly annotated with pledge(2) was done, resulting in some design changes such as in <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/rdate/rdate.c?rev=1.33&content-type=text/x-cvsweb-markup">rdate(1)</a>, <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/sndiod/sndiod.c?rev=1.18&content-type=text/x-cvsweb-markup">sndiod(8)</a> or the introduction of <tt>SOCK_DNS</tt> <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=socket&sektion=2">socket(2)</a> flag that makes an <tt>SS_DNS</tt> tagged socket conceptually different from a plain socket.
111: <li>It also has been used to constrain programs to a more limited POSIX subset, such as some <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/binutils-2.17/binutils/objdump.c?rev=1.2&content-type=text/x-cvsweb-markup">binutils</a> tools that handle untrusted data (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strings&sektion=1">strings(1)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=objdump&sektion=1">objdump(1)</a>, ...), or the RSA-privsep process in <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/smtpd/ca.c?rev=1.15&content-type=text/x-cvsweb-markup">smtpd(1)</a>.
1.34 deraadt 112: </ul>
113: <p>
114:
1.1 deraadt 115: <li>Generic network stack improvements:
116: <ul>
1.28 sobrado 117: <li>Remove support for obsolete IPv6 socket options.
1.33 jsg 118: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=etherip&sektion=4">etherip(4)</a>
1.39 tj 119: pseudo-device for tunnelling Ethernet frames across IP[46] networks using RFC 3378 EtherIP encapsulation.
1.43 guenther 120: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pair&sektion=4">pair(4)</a> pseudo-device for ...
1.1 deraadt 121: <li>...
122: </ul>
123: <p>
124:
125: <li>Installer improvements:
126: <ul>
1.24 krw 127: <li>Inappropriate user choices from a list of options are more reliably rejected.
128: <li>Installing to a disk partitioned with a GPT is now supported (amd64 only).
129: <li>When initializing a GPT the required EFI System partition is automatically created.
130: <li>When installing to a GPT disk <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=installboot&sektion=8">installboot(8)</a> now formats the EFI System partition, creates the appropriate directory structure and copies the required UEFI boot files into place.
1.1 deraadt 131: <li>...
132: </ul>
133: <p>
134:
135: <li>Routing daemons and other userland network improvements:
136: <ul>
1.23 krw 137: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now supports multiple domain names provided via DHCP option 15 (Domain Name).
138: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now supports search domains provided via DHCP option 119 (Domain Search).
139: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> no longer continually checks for a change to the routing domain of the interface it controls. It now relies on the appropriate routing socket messages.
140: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now issues DHCP DECLINE responses to lease offers found to be inadequate, and restarts the DISCOVER/RENEW process rather than waiting indefinitely for a better lease to appear.
141: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> no longer exits if a desired route cannot be added. It now just reports the fact.
142: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now takes a much more careful approach to received packets to ensure only received data is used to process the packet. Packets with incorrect length information or lacking appropriate header information are now dropped.
143: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> again disables pending timeouts if the interface link is lost, preventing endless retries at obtaining a lease.
144: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> was pledged.
145: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd&sektion=8">dhcpd(8)</a> again properly utilizes default-lease-time, max-lease-time and bootp-lease-time options.
146: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd&sektion=8">dhcpd(8)</a> was pledged.
1.1 deraadt 147: <li>...
148: </ul>
149: <p>
150:
151: <li>Security improvements:
152: <ul>
153: <li>...
1.10 tedu 154: <li>Support for looking up hosts via YP has been removed from libc.
155: The 'yp' lookup method in
156: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=resolv.conf&sektion=5">resolv.conf</a>
157: is no longer available.
158: <li>Support for the HOSTALIASES environment variable has been removed from libc.
1.1 deraadt 159: </ul>
160: <p>
161:
162: <li>Assorted improvements:
163: <ul>
1.29 sobrado 164: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=doas&sektion=1">doas(1)</a>
165: is a little friendlier to use.
1.28 sobrado 166: <li>Updated
167: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=flex&sektion=1">flex(1)</a>.
168: <li>Updated and improved
169: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=less&sektion=1">less(1)</a>.
1.24 krw 170: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/macppc/pdisk.8?query=pdisk">pdisk(8)</a> was largely rewritten and pledged.
171: <li>Renaming files in the root directory of a MSDOS filesystem was fixed.
172: <li>Many obsolete <a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/disktab.5?query=disktab">disktab(5)</a> attributes and entries were removed.
173: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/softraid.4?query=softraid">softraid(4)</a> volumes now correctly look for the disklabel in the first OpenBSD disk partition, not the last.
174: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/softraid.4?query=softraid">softraid(4)</a> volumes can now be partitioned with a GPT.
1.25 krw 175: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=9">fdisk(8)</a> now creates a default GPT as well as the protective MBR when the '-g' flag is used.
176: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now has a '-b' flag that specifies the size of the EFI System partition to create.
177: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now has a '-v' flag that causes a verbose display of both MBR and GPT information.
178: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now provides full interactive GPT editing.
179: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> was pledged.
180: <li>Disks with sector sizes other than 512 bytes can now be partitioned with a GPT.
181: <li>The GPT kernel option was removed and GPT support is part of all GENERIC and GENERIC derived kernels.
182: <li>Many improvements were made to the GPT kernel support to ensure safe and reliable operation of GPT and MBR processing.
183: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disklabel&sec=8">disklabel(8)</a> no longer supports boot code installation, with the -B and -b flags being removed. The associated fields in the disklabel were also removed. These functions are now all performed by
184: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=installboot&sektion=8">installboot(8)</a>.
1.43 guenther 185: <li>PowerPC converted to secure-PLT ABI variant.
186: <li>Perform lazy binding updates in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ld.so&sektion=1">ld.so(1)</a> using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kbind&sektion=2">kbind(2)</a> to improve security and reduce overhead in threaded processes.
187: <li>Over 100 internal or obsolete interfaces have been deleted or are no longer exported by libc, reducing symbol conflicts and process size. <!-- List stuff? YP and XDR APIs, mpool_*, bcrypt_autorounds, link_addr -->
188: <li>libc now uses local references for most of its own functions to avoid symbol overriding, improve standards compliance, increase speed, and reduce dynamic linking overhead.
189: <li>Handle intra-thread kills via new <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=thrkill&sektion=2">thrkill(2)</a> system call to tighten pledge(2) restrictions and improve pthread_kill(3) and pthread_cancel(3) compliance.
190: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getpwnam_shadow&sektion=3">getpwnam_shadow(3)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getpwuid_shadow&sektion=3">getpwuid_shadow(3)</a> to permit tighter pledge(2) restrictions.
191: <li>Added support to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ktrace&sektion=1">ktrace(1)</a> the arguments to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=execve&sektion=2">execve(2)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pledge&sektion=2">pledge(2)</a>. Removed support for tracing context switch points. <tt>kevent</tt> structures are now dumped.
1.1 deraadt 192: <li>...
193: </ul>
194: <p>
195:
196: <li>OpenBSD <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=httpd&sektion=8">httpd(8)</a>:
197: <ul>
198: <li>...
199: </ul>
200: <p>
201:
1.38 gilles 202: <li>OpenSMTPD 5.9.1
203: <ul>
204: <li>Security:
205: <ul>
206: <li>Both
207: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&sektion=8">smtpd(8)</a>
208: and
209: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpctl&sektion=8">smtpctl(8)</a>
210: have been pledged.
211: <li>The offline enqueue mode of
212: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpctl&sektion=8">smtpctl(8)</a>
1.39 tj 213: has been redesigned to remove the need for a publicly writable directory which was a vector of multiple attacks in the Qualys Security audit.
1.38 gilles 214: </ul>
215: <li>The following improvements were brought in this release:
216: <ul>
217: <li>Experimental support for filters API is now available with several filters available in ports.
218: <li>Add Message-Id header if necessary.
219: <li>Removed the kick mechanism which was misbehaving.
1.39 tj 220: <li>Increased the length of acceptable headers lines.
1.38 gilles 221: <li>Assume messages are 8-bit bytes by default.
222: </ul>
1.1 deraadt 223: </ul>
224: <p>
225:
1.41 jsg 226: <li>OpenSSH 7.2
1.1 deraadt 227: <ul>
228: <li>Security:
229: <ul>
1.16 sobrado 230: <li>Qualys Security identified vulnerabilities in the
231: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
1.18 sobrado 232: client experimental support for resuming SSH-connections (roaming).
1.16 sobrado 233: In the default configuration, this could potentially leak client keys
234: to a hostile server. The authentication of the server host key
235: prevents exploitation by a man-in-the-middle, so this information leak
236: is restricted to connections to malicious or compromised servers.
237: This feature has been disabled in the
238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
239: client, and it has been removed from the source tree. The matching
240: server code has never been shipped.
241: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
242: OpenSSH 7.0 contained a logic error in
243: <tt>PermitRootLogin=prohibit-password/without-password</tt> that could,
244: depending on compile-time configuration, permit password authentication
245: to root while preventing other forms of authentication.
246: <li>Eliminate the fallback from untrusted X11-forwarding to trusted
247: forwarding for cases when the X server disables the <tt>SECURITY</tt>
248: extension.
249: <li>Fix an out of-bound read access in the packet handling code.
1.18 sobrado 250: <li>Further use of
251: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bzero&sektion=3">explicit_bzero(3)</a>
252: has been added in various buffer handling code paths to guard against
253: compilers aggressively doing dead-store removal.
1.1 deraadt 254: </ul>
255: <li>The following significant bugs have been fixed in this release:
256: <ul>
1.16 sobrado 257: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
258: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 259: add compatibility workarounds for FuTTY.
1.16 sobrado 260: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
261: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 262: refine compatibility workarounds for WinSCP.
1.16 sobrado 263: <li>Fix a number of memory faults (double-free, free of uninitialised
264: memory, etc) in
265: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
266: and
267: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>.
1.18 sobrado 268: <li>Correctly interpret the <tt>first_kex_follows</tt> option during the
269: initial key exchange.
1.1 deraadt 270: </ul>
271: </ul>
272: <p>
1.17 sobrado 273: <li>LibreSSL 2.3.2
1.1 deraadt 274: <ul>
275: <li>User-visible features:
276: <ul>
1.17 sobrado 277: <li>This release corrects the handling of <tt>ClientHello</tt> messages
278: that do not include TLS extensions, resulting in such handshakes being
279: aborted.
1.39 tj 280: <li>When loading a DSA key from a raw (without DH parameters) ASN.1
1.17 sobrado 281: serialization, perform some consistency checks on its `p' and `q'
282: values, and return an error if the checks failed.
283: <li>Fixed a bug in <tt>ECDH_compute_key</tt> that can lead to silent
284: truncation of the result key without error. A coding error could cause
285: software to use much shorter keys than intended.
286: <li>Removed support for <tt>DTLS_BAD_VER</tt>. Pre-DTLSv1 implementations
287: are no longer supported.
288: <li>The engine command and parameters are removed from
289: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=openssl&sektion=1">openssl(1)</a>.
1.39 tj 290: Previous releases removed dynamic and built-in engine support already.
1.17 sobrado 291: <li>SHA-0 is removed, which was withdrawn shortly after publication
292: twenty years ago.
293: <li>Added <tt>Certplus CA</tt> root certificate to the default
294: <tt>cert.pem</tt> file.
1.19 sobrado 295: <li>Fixed a leak in
1.28 sobrado 296: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=SSL_new&sektion=3">SSL_new(3)</a>
1.19 sobrado 297: in the error path.
1.28 sobrado 298: <li>Fixed a memory leak and out-of-bounds access in
299: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=OBJ_nid2obj&sektion=3">OBJ_obj2txt(3)</a>.
1.17 sobrado 300: <li>Fixed an up-to 7 byte overflow in RC4 when len is not a multiple of
301: <tt>sizeof(RC4_CHUNK)</tt>.
1.19 sobrado 302: <li>Added
1.28 sobrado 303: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=EVP_AEAD_CTX_init&sektion=3">EVP_aead_chacha20_poly1305(3)</a>
1.19 sobrado 304: which matches the
1.18 sobrado 305: <tt>AEAD</tt> construction introduced in RFC 7539, which is different
306: than that already used in TLS with
1.28 sobrado 307: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=EVP_AEAD_CTX_init&sektion=3">EVP_aead_chacha20_poly1305(3)</a>.
1.18 sobrado 308: <li>More man pages converted from pod to
1.28 sobrado 309: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mdoc&sektion=7">mdoc(7)</a>
1.18 sobrado 310: format.
1.17 sobrado 311: <li>Added <tt>COMODO RSA Certification Authority</tt> and
312: <tt>QuoVadis</tt> root certificates to <tt>cert.pem</tt>.
313: <li>Removed Remhve "<tt>C=US, O=VeriSign, Inc., OU=Class 3 Public Primary
314: Certification Authority</tt>"
315: (serial 3c:91:31:cb:1f:f6:d0:1b:0e:9a:b8:d0:44:bf:12:be)
316: root certificate from <tt>cert.pem</tt>.
317: <li>Fixed incorrect TLS certificate loading by
1.28 sobrado 318: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>.
1.17 sobrado 319: <li>The following CVEs had been fixed:
320: <ul>
1.28 sobrado 321: <li><tt>CVE-2015-3194</tt>—NULL pointer dereference in client
322: side certificate validation.
323: <li><tt>CVE-2015-3195</tt>—memory leak in PKCS7, not reachable
324: from TLS/SSL.
1.17 sobrado 325: </ul>
326: <li>Note: The following OpenSSL CVEs did not apply to LibreSSL:
327: <ul>
1.28 sobrado 328: <li><tt>CVE-2015-3193</tt>—carry propagating bug in the x86_64
329: Montgomery squaring procedure.
330: <li><tt>CVE-2015-3196</tt>—double free race condition of the
331: identify hint data.
1.17 sobrado 332: </ul>
1.1 deraadt 333: </ul>
334: <li>Code improvements:
335: <ul>
1.17 sobrado 336: <li>Added install target for <tt>cmake</tt> builds.
337: <li>Updated <tt>pkgconfig</tt> files to correctly report the release
338: version number, not the individual library ABI version numbers.
339: <li>SSLv3 is now permanently removed from the tree.
340: <li>The <tt>libtls</tt> API is changed from the 2.2.x series:
341: <ul>
1.28 sobrado 342: <li>The
343: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_read(3)</a>
344: and
345: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_write(3)</a>
346: functions now work better with external event libraries.
347: <li>Client-side verification is now supported, with the client
348: supplying the certificate to the server.
349: <li>Also, when using
350: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_fds(3)</a>,
351: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_socket(3)</a>
352: or
353: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_accept_fds(3)</a>,
354: <tt>libtls</tt> no longer implicitly closes the passed in sockets.
355: The caller is responsible for closing them in this case.
1.17 sobrado 356: </ul>
357: <li>New interface <tt>OPENSSL_cpu_caps</tt> is provided that does not
358: allow software to inadvertently modify cpu capability flags.
359: <tt>OPENSSL_ia32cap</tt> and <tt>OPENSSL_ia32cap_loc</tt> are removed.
1.18 sobrado 360: <li>The <tt>out_len</tt> argument of <tt>AEAD</tt> changed from
361: <tt>ssize_t</tt> to <tt>size_t</tt>.
1.17 sobrado 362: <li>Deduplicated DTLS code, sharing bugfixes and improvements with TLS.
363: <li>Converted
1.28 sobrado 364: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>
1.17 sobrado 365: to use <tt>libtls</tt> for client and server operations; it is
366: included in the libressl-portable distribution as an example of how
367: to use the <tt>libtls</tt> library. This is intended to be a simpler
368: and more robust replacement for <tt>openssl s_client</tt> and
369: <tt>openssl s_server</tt> for day-to-day operations.
370: <li>ASN.1 cleanups and RFC5280 compliance fixes.
371: <li>Time representations switched from <tt>unsigned long</tt> to
372: <tt>time_t</tt>. LibreSSL now checks if the host OS supports 64-bit
373: <tt>time_t</tt>.
374: <li>Support always extracting the peer cipher and version with
375: <tt>libtls</tt>.
376: <li>Added ability to check certificate validity times with
1.19 sobrado 377: <tt>libtls</tt>,
1.28 sobrado 378: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notbefore(3)</a>
1.19 sobrado 379: and
1.28 sobrado 380: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notafter(3)</a>.
1.19 sobrado 381: <li>Changed
1.28 sobrado 382: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_servername(3)</a>
1.19 sobrado 383: to use the first address that resolves with
1.28 sobrado 384: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getaddrinfo&sektion=3">getaddrinfo(3)</a>.
1.17 sobrado 385: <li>Remove broken conditional <tt>EVP_CHECK_DES_KEY</tt> code
386: (non-functional since initial commit in 2004).
1.19 sobrado 387: <li>Reject too small bits value in
1.28 sobrado 388: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=BN_generate_prime&sektion=3">BN_generate_prime_ex(3)</a>,
1.17 sobrado 389: so that it does not risk becoming negative in
390: <tt>probable_prime_dh_safe()</tt>.
1.18 sobrado 391: <li>Changed format of <tt>LIBRESSL_VERSION_NUMBER</tt> to match that of
1.17 sobrado 392: <tt>OPENSSL_VERSION_NUMBER</tt>.
393: <li>Avoid a potential undefined C99+ behavior due to shift overflow in
394: <tt>AES_decrypt</tt>.
395: <li>Deprecated the <tt>SSL_OP_SINGLE_DH_USE</tt> flag.
1.1 deraadt 396: </ul>
397: </ul>
398: <p>
399: <li>Syslogd:
400: <ul>
401: <li>...
402: </ul>
403: <p>
404: <li>Ports and packages:
405: <dl>
406: <dt>Many pre-built packages for each architecture:
407: <table border=0 cellspacing=0 cellpadding=2 width="95%">
408: <tr>
409: <td valign="top" width="25%">
410: <ul>
411: <li>alpha: xxxx
412: <li>amd64: xxxx
413: <li>hppa: xxxx
414: </ul></td><td valign=top width="25%"><ul>
415: <li>i386: xxxx
416: <li>mips64: xxxx
417: <li>mips64el: xxxx
418: </ul></td><td valign=top width="25%"><ul>
419: <li>powerpc: xxxx
420: <li>sh: xxxx
421: <li>sparc64: xxxx
422: </ul></td><td valign=top width="25%"><ul>
423: <li>vax: xxxx
424: </ul></td></tr></table>
425: <p>
426:
427: <dt>Some highlights:
428: <table border=0 cellspacing=0 cellpadding=2 width="95%">
429: <tr>
430: <td valign="top" width="33%"><ul>
1.40 sthen 431: <li>Chromium 48.0.2564.116
1.1 deraadt 432: <li>Emacs 21.4 and 24.5
1.3 jsg 433: <li>GCC 4.9.3
434: <li>GHC 7.10.3
435: <li>GNOME 3.18.2
1.5 sthen 436: <li>Go 1.5.3
1.1 deraadt 437: <li>Groff 1.22.3
1.40 sthen 438: <li>JDK 7u80 and 8u72
1.1 deraadt 439: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
440: <li>LLVM/Clang 3.5 (20140228)
1.3 jsg 441: <li>LibreOffice 5.0.4.2
442: <li>MariaDB 10.0.23
443: <li>Mono 4.2.1.102
1.26 lteo 444: <li>Mozilla Firefox 38.6.1esr and 44.0.2
445: <li>Mozilla Thunderbird 38.6.0
1.1 deraadt 446: </ul></td><td valign=top width="33%"><ul>
1.22 abieber 447: <li>Node.js 4.3.0
1.3 jsg 448: <li>OpenLDAP 2.3.43 and 2.4.43
1.26 lteo 449: <li>PHP 5.4.45, 5.5.32 and 5.6.18
1.3 jsg 450: <li>Postfix 3.0.3
1.26 lteo 451: <li>PostgreSQL 9.4.6
1.3 jsg 452: <li>Python 2.7.11, 3.4.4 and 3.5.1
453: <li>R 3.2.3
454: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.8, 2.2.4 and 2.3.0
1.15 lteo 455: <li>Rust 1.6.0
1.1 deraadt 456: <li>Sendmail 8.15.2
1.3 jsg 457: <li>Sudo 1.8.15
1.1 deraadt 458: <li>Tcl/Tk 8.5.18 and 8.6.4
459: <li>TeX Live 2014
1.3 jsg 460: <li>Vim 7.4.900
1.1 deraadt 461: <li>Xfce 4.12
462: </ul></td><td valign=top width="34%">
463: </td></tr></table>
464: <p>
465:
466: <li>As usual, steady improvements in manual pages and other documentation.
467: <p>
468:
469: <li>The system includes the following major components from outside suppliers:
470: <ul>
1.3 jsg 471: <li>Xenocara (based on X.Org 7.7 with xserver 1.17.4 + patches,
1.8 jsg 472: freetype 2.6.2, fontconfig 2.11.1, Mesa 11.0.9, xterm 322,
1.21 matthieu 473: xkeyboard-config 2.17 and more)
1.1 deraadt 474: <li>Gcc 4.2.1 (+ patches) and 3.3.6 (+ patches)
475: <li>Perl 5.20.2 (+ patches)
1.3 jsg 476: <li>SQLite 3.9.2 (+ patches)
477: <li>NSD 4.1.7
478: <li>Unbound 1.5.7
1.1 deraadt 479: <li>Ncurses 5.7
480: <li>Binutils 2.17 (+ patches)
481: <li>Gdb 6.3 (+ patches)
482: <li>Awk Aug 10, 2011 version
483: </ul>
484:
485: </ul>
486:
487: <a name="install"></a>
488: <hr>
489: <p>
490: <h3><font color="#0000e0">How to install</font></h3>
491: <p>
492: Following this are the instructions which you would have on a piece of
493: paper if you had purchased a CDROM set instead of doing an alternate
494: form of install. The instructions for doing an HTTP (or other style
495: of) install are very similar; the CDROM instructions are left intact
496: so that you can see how much easier it would have been if you had
497: purchased a CDROM instead.
498: <p>
499:
500: <hr>
501: Please refer to the following files on the three CDROMs or mirror site for
502: extensive details on how to install OpenBSD 5.9 on your machine:
503: <p>
504: <ul>
505: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
506: .../OpenBSD/5.9/alpha/INSTALL.alpha (on CD1)</a>
507: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/i386/INSTALL.i386">
508: .../OpenBSD/5.9/i386/INSTALL.i386 (on CD1)</a>
509: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
510: .../OpenBSD/5.9/hppa/INSTALL.hppa (on CD1)</a>
511: <p>
512: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/INSTALL.amd64">
513: .../OpenBSD/5.9/amd64/INSTALL.amd64 (on CD2)</a>
514: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
515: .../OpenBSD/5.9/macppc/INSTALL.macppc (on CD2)</a>
516: <p>
517: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sparc64/INSTALL.sparc64">
518: .../OpenBSD/5.9/sparc64/INSTALL.sparc64 (on CD3)</a>
519: <p>
520: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
521: .../OpenBSD/5.9/alpha/INSTALL.alpha</a>
522: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
523: .../OpenBSD/5.9/hppa/INSTALL.hppa</a>
524: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/landisk/INSTALL.landisk">
525: .../OpenBSD/5.9/landisk/INSTALL.landisk</a>
526: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/loongson/INSTALL.loongson">
527: .../OpenBSD/5.9/loongson/INSTALL.loongson</a>
528: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/luna88k/INSTALL.luna88k">
529: .../OpenBSD/5.9/luna88k/INSTALL.luna88k</a>
530: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
531: .../OpenBSD/5.9/macppc/INSTALL.macppc</a>
532: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/octeon/INSTALL.octeon">
533: .../OpenBSD/5.9/octeon/INSTALL.octeon</a>
534: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sgi/INSTALL.sgi">
535: .../OpenBSD/5.9/sgi/INSTALL.sgi</a>
536: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/socppc/INSTALL.socppc">
537: .../OpenBSD/5.9/socppc/INSTALL.socppc</a>
538: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/vax/INSTALL.vax">
539: .../OpenBSD/5.9/vax/INSTALL.vax</a>
540: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/zaurus/INSTALL.zaurus">
541: .../OpenBSD/5.9/zaurus/INSTALL.zaurus</a>
542: </ul>
543: <hr>
544:
545: <p>
546: Quick installer information for people familiar with OpenBSD, and the
547: use of the "disklabel -E" command. If you are at all confused when
548: installing OpenBSD, read the relevant INSTALL.* file as listed above!
549: <p>
550:
551: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
552: <ul>
553: The OpenBSD/i386 release is on CD1.
554: Boot from the CD to begin the install - you may need to adjust
555: your BIOS options first.
556:
557: <p>
558: If your machine can boot from USB, you can write <i>install59.fs</i> or
559: <i>miniroot59.fs</i> to a USB stick and boot from it.
560:
561: <p>
562: If you can't boot from a CD, floppy disk, or USB,
563: you can install across the network using PXE as described in
564: the included INSTALL.i386 document.
565:
566: <p>
567: If you are planning on dual booting OpenBSD with another OS, you will need to
568: read INSTALL.i386.
569:
570: </ul>
571:
572: <p>
573: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
574: <ul>
575: The OpenBSD/amd64 release is on CD2.
576: Boot from the CD to begin the install - you may need to adjust
577: your BIOS options first.
578:
579: <p>
580: If your machine can boot from USB, you can write <i>install59.fs</i> or
581: <i>miniroot59.fs</i> to a USB stick and boot from it.
582:
583: <p>
584: If you can't boot from a CD, floppy disk, or USB,
585: you can install across the network using PXE as described in the included
586: INSTALL.amd64 document.
587:
588: <p>
589: If you are planning to dual boot OpenBSD with another OS, you will need to
590: read INSTALL.amd64.
591: </ul>
592:
593: <p>
594: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
595: <ul>
596: Burn the image from a mirror site to a CDROM, and power on your machine
597: while holding down the <i>C</i> key until the display turns on and
598: shows <i>OpenBSD/macppc boot</i>.
599:
600: <p>
601: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
602: /5.9/macppc/bsd.rd</i>
603: </ul>
604:
605: <p>
606: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
607: <ul>
608: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
609:
610: <p>
611: If this doesn't work, or if you don't have a CDROM drive, you can write
612: <i>CD3:5.9/sparc64/floppy59.fs</i> or <i>CD3:5.9/sparc64/floppyB59.fs</i>
613: (depending on your machine) to a floppy and boot it with <i>boot
614: floppy</i>. Refer to INSTALL.sparc64 for details.
615:
616: <p>
617: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
618: will most likely fail.
619:
620: <p>
621: You can also write <i>CD3:5.9/sparc64/miniroot59.fs</i> to the swap partition on
622: the disk and boot with <i>boot disk:b</i>.
623:
624: <p>
625: If nothing works, you can boot over the network as described in INSTALL.sparc64.
626: </ul>
627:
628: <p>
629: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
630: <ul>
631: <p>Write <i>FTP:5.9/alpha/floppy59.fs</i> or
632: <i>FTP:5.9/alpha/floppyB59.fs</i> (depending on your machine) to a diskette and
633: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
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: </ul>
640:
641: <p>
642: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
643: <ul>
644: <p>
645: Boot over the network by following the instructions in INSTALL.hppa or the
646: <a href="hppa.html#install">hppa platform page</a>.
647: </ul>
648:
649: <p>
650: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
651: <ul>
652: <p>
653: Write <i>miniroot59.fs</i> to the start of the CF
654: or disk, and boot normally.
655: </ul>
656:
657: <p>
658: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
659: <ul>
660: <p>
661: Write <i>miniroot59.fs</i> to a USB stick and boot bsd.rd from it
662: or boot bsd.rd via tftp.
663: Refer to the instructions in INSTALL.loongson for more details.
664: </ul>
665: <p>
666:
667: <p>
668: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
669: <ul>
670: <p>
671: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
672: from the PROM, and then bsd.rd from the bootloader.
673: Refer to the instructions in INSTALL.luna88k for more details.
674: </ul>
675:
676: <p>
677: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
678: <ul>
679: <p>
680: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
681: Refer to the instructions in INSTALL.octeon for more details.
682: </ul>
683:
684: <p>
685: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
686: <ul>
687: <p>
688: To install, burn cd59.iso on a CD-R, put it in the CD drive of your
689: machine and select <i>Install System Software</i> from the System Maintenance
690: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
691: CD-ROM, and need a proper invocation from the PROM prompt.
692: Refer to the instructions in INSTALL.sgi for more details.
693:
694: <p>
695: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
696: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
697: system type. Refer to the instructions in INSTALL.sgi for more details.
698: </ul>
699:
700: <p>
701: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
702: <ul>
703: <p>
704: After connecting a serial port, boot over the network via DHCP/tftp.
705: Refer to the instructions in INSTALL.socppc for more details.
706: </ul>
707:
708: <p>
709: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
710: <ul>
711: Boot over the network via mopbooting as described in INSTALL.vax.
712: </ul>
713:
714: <p>
715: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
716: <ul>
717: <p>
718: Using the Linux built-in graphical ipkg installer, install the
719: openbsd59_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
720: for a few important details.
721: </ul>
722:
723: <a name="upgrade"></a>
724: <hr>
725: <p>
726: <h3><font color="#0000e0">How to upgrade</font></h3>
727: <p>
1.6 tj 728: If you already have an OpenBSD 5.8 system, and do not want to reinstall,
1.1 deraadt 729: upgrade instructions and advice can be found in the
730: <a href="faq/upgrade59.html">Upgrade Guide</a>.
731:
732: <a name="sourcecode"></a>
733: <hr>
734: <p>
735: <h3><font color="#0000e0">Notes about the source code</font></h3>
736: <p>
737: src.tar.gz contains a source archive starting at /usr/src. This file
738: contains everything you need except for the kernel sources, which are
739: in a separate archive. To extract:
740: <p>
741: <ul><pre>
742: # <strong>mkdir -p /usr/src</strong>
743: # <strong>cd /usr/src</strong>
744: # <strong>tar xvfz /tmp/src.tar.gz</strong>
745: </pre></ul>
746: <p>
747: sys.tar.gz contains a source archive starting at /usr/src/sys.
748: This file contains all the kernel sources you need to rebuild kernels.
749: To extract:
750: <p>
751: <ul><pre>
752: # <strong>mkdir -p /usr/src/sys</strong>
753: # <strong>cd /usr/src</strong>
754: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
755: </pre></ul>
756: <p>
757: Both of these trees are a regular CVS checkout. Using these trees it
758: is possible to get a head-start on using the anoncvs servers as
759: described <a href="anoncvs.html">here</a>.
760: Using these files
761: results in a much faster initial CVS update than you could expect from
762: a fresh checkout of the full OpenBSD source tree.
763: <p>
764:
765: <a name="ports"></a>
766: <hr>
767: <p>
768: <h3><font color="#0000e0">Ports Tree</font></h3>
769: <p>
770: A ports tree archive is also provided. To extract:
771: <p>
772: <ul><pre>
773: # <strong>cd /usr</strong>
774: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
775: </pre></ul>
776: <p>
777: Go read the <a href="faq/ports/index.html">ports</a> page
778: if you know nothing about ports
779: at this point. This text is not a manual of how to use ports.
780: Rather, it is a set of notes meant to kickstart the user on the
781: OpenBSD ports system.
782: <p>
783: The <i>ports/</i> directory represents a CVS (see the manpage for
784: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&arch=i386">
785: cvs(1)</a> if
786: you aren't familiar with CVS) checkout of our ports. As with our complete
787: source tree, our ports tree is available via
788: <a href="anoncvs.html">AnonCVS</a>.
789: So, in order to keep up to date with the <i>-stable</i> branch, you must make
790: the <i>ports/</i> tree available on a read-write medium and update the tree
791: with a command like:
792: <p>
793: <ul><pre>
794: # <strong>cd /usr/ports</strong>
795: # <strong>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_9</strong>
796: </pre></ul>
797: <p>
798: [Of course, you must replace the server name here with a nearby anoncvs
799: server.]
800: <p>
801: Note that most ports are available as packages on our mirrors. Updated
802: ports for the 5.9 release will be made available if problems arise.
803: <p>
804: If you're interested in seeing a port added, would like to help out, or just
805: would like to know more, the mailing list
806: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
807: <p>
808: </body>
809: </html>