Annotation of www/60.html, Revision 1.4
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 6.0</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 6.0">
7: <meta name="copyright" content="This document copyright 2016 by OpenBSD.">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.2 deraadt 10: <link rel="canonical" href="http://www.openbsd.org/60.html">
1.1 deraadt 11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
15: <h2>
16: <a href="index.html">
17: <i><font color="#0000ff">Open</font></i><font color="#000084">BSD</font></a>
18: <font color="#e00000">6.0</font>
19: </h2>
20:
21: <a href="images/puff.jpg">
22: <img alt="Puff" align="left" width="227" height="343" hspace="24" src="images/puff.jpg"></a>
23: Released Xxx xx, 2016<br>
24: Copyright 1997-2016, Theo de Raadt.<br>
25: <font color="#e00000">ISBN 978-0-9881561-8-0</font>
26: <br>
27: 6.0 Songs: <a href="lyrics.html#60a">"XXX"</a>,
28: <a href="lyrics.html#60b">"XXX"</a>, <a href="lyrics.html#60c">"XXX"</a>,
29: <a href="lyrics.html#60d">"XXX"</a>, <a href="lyrics.html#60e">"XXX"</a>,
30: <a href="lyrics.html#60f">"XXX"</a>.
31:
32: <ul>
33: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
34: <li>See the information on <a href="ftp.html">the FTP page</a> for
35: a list of mirror machines.
36: <li>Go to the <font color="#e00000">pub/OpenBSD/6.0/</font> directory on
37: one of the mirror sites.
38: <li>Have a look at <a href="errata60.html">the 6.0 errata page</a> for a list
39: of bugs and workarounds.
40: <li>See a <a href="plus60.html">detailed log of changes</a> between the
41: 5.9 and 6.0 releases.
42: <p>
43: <li><a href="http://man.openbsd.org/?query=signify">signify(1)</a>
44: pubkeys for this release:<br>
45: <pre>
46: base: RWSho3oKSqgLQy+NpIhFXZJDtkE65tzlmtC24mStf8DoJd2OPMgna4u8
47: fw: RWRWf7GJKFvJTWEMIaw9wld0DujiqL1mlrC6HisE6i78C+2SRArV1Iyo
48: pkg: RWQHIajRlT2mX7tmRgb6oN6mfJu3AgQ/TU38acrWABO8lz90dR3rNmey
49: </pre>
50: <p>
51: All applicable copyrights and credits are in the src.tar.gz,
52: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
53: files fetched via ports.tar.gz.
54: </ul>
55: <br clear=all>
56:
57: <hr>
58:
59: <h3 id="new"><font color="#0000e0">What's New</font></h3>
60:
61: This is a partial list of new features and systems included in OpenBSD 6.0.
62: For a comprehensive list, see the <a href="plus60.html">changelog</a> leading
63: to 6.0.
64:
65: <ul>
66: <li>Processor support, including:
67: <ul>
68: <li>...
69: </ul>
70: <p>
71: <li>Improved hardware support, including:
72: <ul>
73: <li>...
74: </ul>
75: <p>
76:
77: <li>SMP network stack improvements:
78: <ul>
79: <li>...
80: </ul>
81: <p>
82:
83: <li>Initial IEEE 802.11n wireless support:
84: <ul>
85: <li>...
86: </ul>
87: <p>
88:
89: <li>Generic network stack improvements:
90: <ul>
91: <li>...
92: </ul>
93: <p>
94:
95: <li>Installer improvements:
96: <ul>
97: <li>...
98: </ul>
99: <p>
100:
101: <li>Routing daemons and other userland network improvements:
102: <ul>
103: <li>...
104: </ul>
105: <p>
106:
107: <li>Security improvements:
108: <ul>
1.3 guenther 109: <li><tt>W^X</tt> is now strictly enforced by default;
110: a program can only violate it if the executable is marked with
111: <tt>PT_OPENBSD_WXNEEDED</tt> and its is located on a filesystem
112: mounted with the <tt>wxallowed</tt> <a href="http://man.openbsd.org/?query=mount&sec=8">mount(8)</a> option.
113: <li>The <a href="http://man.openbsd.org/?query=setjmp&sec=3">setjmp(3)</a>
114: family of functions now apply XOR cookies to stack and return-address
115: values in the jmpbuf on amd64, hppa, i386, mips64, and powerpc.
116: <li><a href="http://man.openbsd.org/?query=sigreturn&sec=2">sigreturn(2)</a>
117: can now only be used by the kernel-provided signal trampoline,
118: with a cookie to detect attempts to reuse it.
1.1 deraadt 119: <li>...
120: </ul>
121: <p>
122:
123: <li>Assorted improvements:
124: <ul>
1.3 guenther 125: <li>The thread library can now be loaded into a single-threaded process.
126: <li>Improved symbol handling and standards compliance in libc.
127: For example, defining an <tt>open()</tt> function will no longer
128: interfere with the operation of
129: <a href="http://man.openbsd.org/?query=fopen&sec=3">fopen(3)</a>.
130: <li><tt>PT_TLS</tt> sections are now supported in initially loaded object.
131: <li>Improved handling of "no paths" and "empty path" in
132: <a href="http://man.openbsd.org/?query=fts&sec=3">fts(3)</a>.
133: <li><a href="http://man.openbsd.org/?query=kdump&sec=1">kdump(1)</a>
134: now dumps pollfd structures.
1.1 deraadt 135: <li>...
136: </ul>
137: <p>
138:
139: <li>OpenSMTPD X.X
140: <ul>
141: <li>...
142: </ul>
143: <p>
144:
145: <li>OpenSSH X.X
146: <ul>
147: <li>Security:
148: <ul>
149: <li>...
150: </ul>
151: <li>Potentially-incompatible changes:
152: <ul>
153: <li>...
154: </ul>
155: <li>New/changed features:
156: <ul>
157: <li>...
158: </ul>
159: <li>The following significant bugs have been fixed in this release:
160: <ul>
161: <li>...
162: </ul>
163: </ul>
164: <p>
1.4 ! sobrado 165: <li>LibreSSL 2.4.2
1.1 deraadt 166: <ul>
167: <li>User-visible features:
168: <ul>
1.4 ! sobrado 169: <li>Fixed some broken manpage links in the install target.
! 170: <li><tt>cert.pem</tt> has been reorganized and synced with Mozilla's
! 171: certificate store.
! 172: <li>Reliability fix, correcting an error when parsing certain ASN.1
! 173: elements over 16k in size.
! 174: <li>Implemented the IETF <i>ChaCha20-Poly1305</i> cipher suites.
! 175: <li>Fixed password prompts from
! 176: <a href="http://man.openbsd.org/?query=openssl">openssl(1)</a>
! 177: to properly handle ^C.
1.1 deraadt 178: </ul>
179: <li>Code improvements:
180: <ul>
1.4 ! sobrado 181: <li>Fixed an <i>nginx</i> compatibility issue by adding an
! 182: '<tt>install_sw</tt>' build target.
! 183: <li>Changed default
! 184: <a href="http://man.openbsd.org/?query=EVP_AEAD_CTX_init">EVP_aead_chacha20_poly1305(3)</a>
! 185: implementation to the IETF version, which is now the default.
! 186: <li>Reworked error handling in <tt>libtls</tt> so that configuration
! 187: errors are more visible.
! 188: <li>Added missing error handling around
! 189: <a href="http://man.openbsd.org/?query=bn_dump">bn_wexpand(3)</a>
! 190: calls.
! 191: <li>Added
! 192: <a href="http://man.openbsd.org/?query=bzero">explicit_bzero(3)</a>
! 193: calls for freed ASN.1 objects.
! 194: <li>Fixed <tt>X509_*set_object</tt> functions to return 0 on allocation
! 195: failure.
! 196: <li>Deprecated internal use of
! 197: <a href="http://man.openbsd.org/?query=EVP_EncryptInit">EVP_[Cipher|Encrypt|Decrypt]_Final</a>.
! 198: <li>Fixed a problem that prevents the DSA signing algorithm from running
! 199: in constant time even if the flag <tt>BN_FLG_CONSTTIME</tt> is set.
! 200: <li>Fixed several issues in the OCSP code that could result in the
! 201: incorrect generation and parsing of OCSP requests. This remediates
! 202: a lack of error checking on time parsing in these functions, and
! 203: ensures that only <tt>GENERALIZEDTIME</tt> formats are accepted for
! 204: OCSP, as per <i>RFC 6960</i>.
! 205: </ul>
! 206: <li>The following CVEs had been fixed:
! 207: <ul>
! 208: <li><tt>CVE-2016-2105</tt>—EVP_EncodeUpdate overflow.
! 209: <li><tt>CVE-2016-2106</tt>—EVP_EncryptUpdate overflow.
! 210: <li><tt>CVE-2016-2107</tt>—padding oracle in AES-NI CBC MAC check.
! 211: <li><tt>CVE-2016-2108</tt>—memory corruption in the ASN.1 encoder.
! 212: <li><tt>CVE-2016-2109</tt>—ASN.1 BIO excessive memory allocation.
1.1 deraadt 213: </ul>
214: </ul>
215: <p>
216:
217: <li>Ports and packages:
218: <dl>
219: <dt>Many pre-built packages for each architecture:
220: </dl>
221: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
222: <table border=0 cellspacing=0 cellpadding=2 width="95%">
223: <tr>
224: <td valign="top" width="25%">
225: <ul>
226: <li>alpha: xxxx
227: <li>amd64: xxxx
228: <li>hppa: xxxx
229: </ul></td><td valign=top width="25%"><ul>
230: <li>i386: xxxx
231: <li>mips64: xxxx
232: <li>mips64el: xxxx
233: </ul></td><td valign=top width="25%"><ul>
234: <li>powerpc: xxxx
235: <li>sparc64: xxxx
236: </ul></td></tr></table>
237: <p>
238:
239: <dl>
240: <dt>Some highlights:
241: </dl>
242: <table border=0 cellspacing=0 cellpadding=2 width="95%">
243: <tr>
244: <td valign="top" width="33%"><ul>
245: <li>Chromium 48.0.2564.116 XXX
246: <li>Emacs 21.4 and 24.5 XXX
247: <li>GCC 4.9.3 XXX
248: <li>GHC 7.10.3 XXX
249: <li>GNOME 3.18.2 XXX
250: <li>Go 1.5.3 XXX
251: <li>Groff 1.22.3 XXX
252: <li>JDK 7u80 and 8u72 XXX
253: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates) XXX
254: <li>LLVM/Clang 3.5 (20140228) XXX
255: <li>LibreOffice 5.0.4.2 XXX
256: <li>MariaDB 10.0.23 XXX
257: <li>Mono 4.2.1.102 XXX
258: <li>Mozilla Firefox 38.6.1esr and 44.0.2 XXX
259: <li>Mozilla Thunderbird 38.6.0 XXX
260: </ul></td><td valign=top width="33%"><ul>
261: <li>Node.js 4.3.0 XXX
262: <li>OpenLDAP 2.3.43 and 2.4.43 XXX
263: <li>PHP 5.4.45, 5.5.32 and 5.6.18 XXX
264: <li>Postfix 3.0.3 XXX
265: <li>PostgreSQL 9.4.6 XXX
266: <li>Python 2.7.11, 3.4.4 and 3.5.1 XXX
267: <li>R 3.2.3 XXX
268: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.8, 2.2.4 and 2.3.0 XXX
269: <li>Rust 1.6.0 XXX
270: <li>Sendmail 8.15.2 XXX
271: <li>Sudo 1.8.15 XXX
272: <li>Tcl/Tk 8.5.18 and 8.6.4 XXX
273: <li>TeX Live 2014 XXX
274: <li>Vim 7.4.900 XXX
275: <li>Xfce 4.12 XXX
276: </ul></td><td valign=top width="34%">
277: </td></tr></table>
278: <p>
279:
280: <li>As usual, steady improvements in manual pages and other documentation.
281: <p>
282:
283: <li>The system includes the following major components from outside suppliers:
284: <ul>
285: <li>Xenocara (based on X.Org 7.7 with xserver 1.17.4 + patches,
286: freetype 2.6.2, fontconfig 2.11.1, Mesa 11.0.9, xterm 322,
287: xkeyboard-config 2.17 and more) XXX
288: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches) XXX
289: <li>Perl 5.20.2 (+ patches) XXX
290: <li>SQLite 3.9.2 (+ patches) XXX
291: <li>NSD 4.1.7 XXX
292: <li>Unbound 1.5.7 XXX
293: <li>Ncurses 5.7 XXX
294: <li>Binutils 2.17 (+ patches) XXX
295: <li>Gdb 6.3 (+ patches) XXX
296: <li>Awk Aug 10, 2011 version XXX
297: </ul>
298: </ul>
299:
300: <hr>
301:
302: <h3 id="install"><font color="#0000e0">How to install</font></h3>
303:
304: Following this are the instructions which you would have on a piece of
305: paper if you had purchased a CDROM set instead of doing an alternate
306: form of install. The instructions for doing an HTTP (or other style
307: of) install are very similar; the CDROM instructions are left intact
308: so that you can see how much easier it would have been if you had
309: purchased a CDROM instead.
310: <p>
311:
312: <hr>
313: <p>
314: Please refer to the following files on the three CDROMs or mirror site for
315: extensive details on how to install OpenBSD 6.0 on your machine:
316:
317: <ul>
318: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/alpha/INSTALL.alpha">
319: .../OpenBSD/6.0/alpha/INSTALL.alpha (on CD1)</a>
320: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/i386/INSTALL.i386">
321: .../OpenBSD/6.0/i386/INSTALL.i386 (on CD1)</a>
322: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
323: .../OpenBSD/6.0/hppa/INSTALL.hppa (on CD1)</a>
324: <p>
325: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/amd64/INSTALL.amd64">
326: .../OpenBSD/6.0/amd64/INSTALL.amd64 (on CD2)</a>
327: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/macppc/INSTALL.macppc">
328: .../OpenBSD/6.0/macppc/INSTALL.macppc (on CD2)</a>
329: <p>
330: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/sparc64/INSTALL.sparc64">
331: .../OpenBSD/6.0/sparc64/INSTALL.sparc64 (on CD3)</a>
332: <p>
333: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/alpha/INSTALL.alpha">
334: .../OpenBSD/6.0/alpha/INSTALL.alpha</a>
335: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/armv7/INSTALL.armv7">
336: .../OpenBSD/6.0/armv7/INSTALL.armv7</a>
337: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
338: .../OpenBSD/6.0/hppa/INSTALL.hppa</a>
339: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/landisk/INSTALL.landisk">
340: .../OpenBSD/6.0/landisk/INSTALL.landisk</a>
341: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/loongson/INSTALL.loongson">
342: .../OpenBSD/6.0/loongson/INSTALL.loongson</a>
343: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/luna88k/INSTALL.luna88k">
344: .../OpenBSD/6.0/luna88k/INSTALL.luna88k</a>
345: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/macppc/INSTALL.macppc">
346: .../OpenBSD/6.0/macppc/INSTALL.macppc</a>
347: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/octeon/INSTALL.octeon">
348: .../OpenBSD/6.0/octeon/INSTALL.octeon</a>
349: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/sgi/INSTALL.sgi">
350: .../OpenBSD/6.0/sgi/INSTALL.sgi</a>
351: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/socppc/INSTALL.socppc">
352: .../OpenBSD/6.0/socppc/INSTALL.socppc</a>
353: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/zaurus/INSTALL.zaurus">
354: .../OpenBSD/6.0/zaurus/INSTALL.zaurus</a>
355: </ul>
356:
357:
358: <hr>
359:
360: <p>
361: Quick installer information for people familiar with OpenBSD, and the
362: use of the "disklabel -E" command. If you are at all confused when
363: installing OpenBSD, read the relevant INSTALL.* file as listed above!
364:
365: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
366:
367: <ul style="list-style-type: none">
368: <li>
369: The OpenBSD/i386 release is on CD1.
370: Boot from the CD to begin the install - you may need to adjust
371: your BIOS options first.
372: <p>
373: <li>
374: If your machine can boot from USB, you can write <i>install60.fs</i> or
375: <i>miniroot60.fs</i> to a USB stick and boot from it.
376: <p>
377: <li>
378: If you can't boot from a CD, floppy disk, or USB,
379: you can install across the network using PXE as described in
380: the included INSTALL.i386 document.
381: <p>
382: <li>
383: If you are planning on dual booting OpenBSD with another OS, you will need to
384: read INSTALL.i386.
385: </ul>
386:
387: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
388:
389: <ul style="list-style-type: none">
390: <li>
391: The OpenBSD/amd64 release is on CD2.
392: Boot from the CD to begin the install - you may need to adjust
393: your BIOS options first.
394: <p>
395: <li>
396: If your machine can boot from USB, you can write <i>install60.fs</i> or
397: <i>miniroot60.fs</i> to a USB stick and boot from it.
398: <p>
399: <li>
400: If you can't boot from a CD, floppy disk, or USB,
401: you can install across the network using PXE as described in the included
402: INSTALL.amd64 document.
403: <p>
404: <li>
405: If you are planning to dual boot OpenBSD with another OS, you will need to
406: read INSTALL.amd64.
407: </ul>
408:
409: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
410:
411: <ul style="list-style-type: none">
412: <li>
413: Burn the image from a mirror site to a CDROM, and power on your machine
414: while holding down the <i>C</i> key until the display turns on and
415: shows <i>OpenBSD/macppc boot</i>.
416: <p>
417: <li>
418: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
419: /6.0/macppc/bsd.rd</i>
420: </ul>
421:
422: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
423:
424: <ul style="list-style-type: none">
425: <li>
426: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
427: <p>
428: <li>
429: If this doesn't work, or if you don't have a CDROM drive, you can write
430: <i>CD3:6.0/sparc64/floppy60.fs</i> or <i>CD3:6.0/sparc64/floppyB60.fs</i>
431: (depending on your machine) to a floppy and boot it with <i>boot
432: floppy</i>. Refer to INSTALL.sparc64 for details.
433: <p>
434: <li>
435: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
436: will most likely fail.
437: <p>
438: <li>
439: You can also write <i>CD3:6.0/sparc64/miniroot60.fs</i> to the swap partition on
440: the disk and boot with <i>boot disk:b</i>.
441: <p>
442: <li>
443: If nothing works, you can boot over the network as described in INSTALL.sparc64.
444: </ul>
445:
446: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
447:
448: <ul style="list-style-type: none">
449: <li>
450: Write <i>FTP:6.0/alpha/floppy60.fs</i> or
451: <i>FTP:6.0/alpha/floppyB60.fs</i> (depending on your machine) to a diskette and
452: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
453: <p>
454: <li>
455: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
456: will most likely fail.
457: </ul>
458:
459: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
460:
461: <ul style="list-style-type: none">
462: <li>
463: Refer to INSTALL.armv7 for more details. XXX
464: <p>
465: </ul>
466:
467: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
468:
469: <ul style="list-style-type: none">
470: <li>
471: Boot over the network by following the instructions in INSTALL.hppa or the
472: <a href="hppa.html#install">hppa platform page</a>.
473: </ul>
474:
475: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
476:
477: <ul style="list-style-type: none">
478: <li>
479: Write <i>miniroot60.fs</i> to the start of the CF
480: or disk, and boot normally.
481: </ul>
482:
483: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
484:
485: <ul style="list-style-type: none">
486: <li>
487: Write <i>miniroot60.fs</i> to a USB stick and boot bsd.rd from it
488: or boot bsd.rd via tftp.
489: Refer to the instructions in INSTALL.loongson for more details.
490: </ul>
491:
492: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
493:
494: <ul style="list-style-type: none">
495: <li>
496: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
497: from the PROM, and then bsd.rd from the bootloader.
498: Refer to the instructions in INSTALL.luna88k for more details.
499: </ul>
500:
501: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
502:
503: <ul style="list-style-type: none">
504: <li>
505: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
506: Refer to the instructions in INSTALL.octeon for more details.
507: </ul>
508:
509: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
510:
511: <ul style="list-style-type: none">
512: <li>
513: To install, burn cd60.iso on a CD-R, put it in the CD drive of your
514: machine and select <i>Install System Software</i> from the System Maintenance
515: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
516: CD-ROM, and need a proper invocation from the PROM prompt.
517: Refer to the instructions in INSTALL.sgi for more details.
518:
519: <p>
520: <li>
521: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
522: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
523: system type. Refer to the instructions in INSTALL.sgi for more details.
524: </ul>
525:
526: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
527:
528: <ul style="list-style-type: none">
529: <li>
530: After connecting a serial port, boot over the network via DHCP/tftp.
531: Refer to the instructions in INSTALL.socppc for more details.
532: </ul>
533:
534: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
535:
536: <ul style="list-style-type: none">
537: <li>
538: Using the Linux built-in graphical ipkg installer, install the
539: openbsd60_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
540: for a few important details.
541: </ul>
542:
543: <hr>
544:
545: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
546:
547: If you already have an OpenBSD 5.9 system, and do not want to reinstall,
548: upgrade instructions and advice can be found in the
549: <a href="faq/upgrade60.html">Upgrade Guide</a>.
550: <p>
551:
552: <hr>
553:
554: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
555:
556: src.tar.gz contains a source archive starting at /usr/src. This file
557: contains everything you need except for the kernel sources, which are
558: in a separate archive. To extract:
559:
560: <blockquote><pre>
561: # <b>mkdir -p /usr/src</b>
562: # <b>cd /usr/src</b>
563: # <b>tar xvfz /tmp/src.tar.gz</b>
564: </pre></blockquote>
565:
566: sys.tar.gz contains a source archive starting at /usr/src/sys.
567: This file contains all the kernel sources you need to rebuild kernels.
568: To extract:
569:
570: <blockquote><pre>
571: # <b>mkdir -p /usr/src/sys</b>
572: # <b>cd /usr/src</b>
573: # <b>tar xvfz /tmp/sys.tar.gz</b>
574: </pre></blockquote>
575:
576: Both of these trees are a regular CVS checkout. Using these trees it
577: is possible to get a head-start on using the anoncvs servers as
578: described <a href="anoncvs.html">here</a>.
579: Using these files
580: results in a much faster initial CVS update than you could expect from
581: a fresh checkout of the full OpenBSD source tree.
582: <p>
583:
584: <hr>
585:
586: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
587:
588: A ports tree archive is also provided. To extract:
589:
590: <blockquote><pre>
591: # <b>cd /usr</b>
592: # <b>tar xvfz /tmp/ports.tar.gz</b>
593: </pre></blockquote>
594:
595: Go read the <a href="faq/ports/index.html">ports</a> page
596: if you know nothing about ports
597: at this point. This text is not a manual of how to use ports.
598: Rather, it is a set of notes meant to kickstart the user on the
599: OpenBSD ports system.
600: <p>
601: The <i>ports/</i> directory represents a CVS (see the manpage for
602: <a href="http://man.openbsd.org/?query=cvs">
603: cvs(1)</a> if
604: you aren't familiar with CVS) checkout of our ports. As with our complete
605: source tree, our ports tree is available via
606: <a href="anoncvs.html">AnonCVS</a>.
607: So, in order to keep up to date with the <i>-stable</i> branch, you must make
608: the <i>ports/</i> tree available on a read-write medium and update the tree
609: with a command like:
610:
611: <blockquote><pre>
612: # <b>cd /usr/ports</b>
613: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_0</b>
614: </pre></blockquote>
615:
616: [Of course, you must replace the server name here with a nearby anoncvs
617: server.]
618: <p>
619: Note that most ports are available as packages on our mirrors. Updated
620: ports for the 6.0 release will be made available if problems arise.
621: <p>
622: If you're interested in seeing a port added, would like to help out, or just
623: would like to know more, the mailing list
624: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
625: <p>
626: </body>
627: </html>