Annotation of www/52.html, Revision 1.3
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.2 Release</title>
5: <link rev=made href="mailto:www@openbsd.org">
6: <meta name="resource-type" content="document">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="description" content="OpenBSD 5.2">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2012 by OpenBSD.">
12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
21: <a href="images/Brazil.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Brazil.jpg" alt="OpenBSD 5.2 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.2 Release:</font></h2>
25: <p>
1.2 deraadt 26: To be released Nov 1, 2012<br>
1.1 deraadt 27: Copyright 1997-2012, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9881561-0-4</font>
29: <br>
30: <a href="lyrics.html#52">5.2 Song: song not released yet</a>
31: <p>
32:
33: <a href="#new">What's New</a><br>
34: <a href="#install">How to install</a><br>
35: <a href="#upgrade">How to upgrade</a><br>
36: <a href="#ports">How to use the ports tree</a><br>
37: <a href="orders.html">Ordering a CD set</a><br>
38:
39: <p>
40: <h3><font color="#0000e0">
41: To get the files for this release:
42: <ul>
43: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
46: <li>Go to the <font color="#e00000">pub/OpenBSD/5.2/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
49: <li>Have a look at <a href="errata52.html">The 5.2 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus52.html">detailed log of changes</a> between the
52: 5.1 and 5.2 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 5.2.
70: For a comprehensive list, see the <a href="plus52.html">changelog</a> leading
71: to 5.2.
72: <p>
73:
74: <ul>
75: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads&sektion=3">pthreads(3)</a> support
76: <ul>
77: <li>The most significant change in this release is the replacement of
78: the user-level uthreads by kernel-level rthreads.
79: <li>Use PTHREAD_MUTEX_STRICT_NP as default mutex type.
80: <li>Added pthread spinlock routines.
81: <li>Added support for live multi-threaded debugging in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gdb&sektion=1">gdb(1)</a>.
82: </ul>
83: <p>
84:
85: <li>Improved hardware support, including:
86: <ul>
87: <li>Added hibernation support on i386, still disabled by default. Currently only working on <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wd&sektion=4">wd(4)</a> disks.
1.3 ! matthieu 88: <li>Improved support for ALPS based touchpads in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wsmouse&sektion=4">wsmouse(4)</a> and the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=synaptics&sektion=4">synaptics(4)</a> X.Org input driver</a>
1.1 deraadt 89: <li>...
90: </ul>
91: <p>
92:
93: <li>Generic network stack improvements:
94: <ul>
95: <li>Cleanup handling of sockaddrs in degenerate use cases
96: <li>...
97: </ul>
98: <p>
99:
100: <li>Routing daemons and other userland network improvements:
101: <ul>
102: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&sektion=8">relayd(8)</a>,
103: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldapd&sektion=8">ldapd(8)</a>,
104: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iscisd&sektion=8">iscsid(8)</a> and
105: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpbench&sektion=1">tcpbench(1)</a>
106: now rate limit their accepting of new connections when experiencing file descriptor exhaustion.
107: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>
108: now recognizes additional Internet Key Exchange DH groups.
109: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsecctl&sektion=8">ipsecctl(8)</a>
110: now allows SA lifetimes to be specified in its
111: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsec.conf&sektion=5">ipsec.conf(5)</a>
112: file.
113: <li>Rewrote <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftpd&sektion=8">tftpd(8)</a> as a persistent, non-blocking daemon.
114: <li>snmpd(8) now supports UCD-DISKIO-MIB.
115: <li>...
116: </ul>
117: <p>
118:
119: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
120: <ul>
121: <li>
122: </ul>
123: <p>
124:
125: <li>Assorted improvements:
126: <ul>
127: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nginx&sektion=8">nginx(8)</a>,
128: an HTTP server, reverse proxy server and mail proxy server.
129: <li>Added SQLite, a self-contained SQL database engine.
130: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pcap&sektion=3">libpcap</a>
131: has been updated with several core functions from tcpdump.org's libpcap-1.2.0 API, without
132: the clutter.
133: <li>Disabled SSLv2 in OpenSSL.
134: <li>Moved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=libtool&sektion=1">libtool(1)</a> into the base system.
135: <li>Removed lint(1).
136: <li>Removed raid(4) RAIDframe driver and the corresponding raidctl(8) utility.
137: <li>Added posix_spawn(3).
138: <li>Added mbsnrtowcs(3), and wcsnrtombs(3).
139: <li>More configuration variables for sysconf(3) and pathconf(3).
140: <li>dirfd(3) is a now function instead of a macro.
141: <li>posix_memalign(3) supports arbitrarily large alignments.
142: <li>Improved realloc(3) performance.
143: <li>ld.so(1) recognizes the DF_1_NOOPEN flag and refuses to dlopen(3)
144: shared objects linked with "-z nodlopen".
145: <li>...
146: </ul>
147: <p>
148:
149: <li>OpenSSH 6.1:
150: <ul>
151: <li>New features:
152: <ul>
153: <li>...
154: </ul>
155: <li>The following significant bugs have been fixed in this release:
156: <ul>
157: <li>...
158: </ul>
159: </ul>
160: <p>
161:
162: <li>Over X,XXX ports, major performance and stability improvements in
163: the package build process
164: <ul>
165: <li>...
166: </ul>
167: <p>
168: <li>Many pre-built packages for each architecture:
169: <table border=0 cellspacing=0 cellpadding=2 width="95%">
170: <tr>
171: <td valign="top" width="25%">
172: <ul>
173: <li>i386: 7483
174: <li>sparc64: 6820
175: <li>alpha: 5993
176: </ul></td><td valign=top width="25%"><ul>
177: <li>sh: XXXX
178: <li>amd64: 7439
179: <li>powerpc: 7050
180: </ul></td><td valign=top width="25%"><ul>
181: <li>sparc: 4466
182: <li>arm: XXXX
183: <li>hppa: 6316
184: </ul></td><td valign=top width="25%"><ul>
185: <li>vax: XXXX
186: <li>mips64: 5845
187: <li>mips64el: 5908
188: </ul></td></tr></table>
189: <p>
190:
191: <li>Some highlights:
192: <ul>
193: <li>GNOME 3.4.2 (fallback mode) <li>KDE 3.5.10
194: <li>Xfce 4.10 <li>MySQL 5.1.63
195: <li>PostgreSQL 9.1.4 <li>Postfix 2.9.3
196: <li>OpenLDAP 2.3.43 and 2.4.31 <li>Mozilla Firefox 3.5.19, 3.6.28 and 13.0.1
197: <li>Mozilla Thunderbird 13.0.1 <li>GHC 7.0.4
198: <li>LibreOffice 3.5.5.3 <li>Emacs 21.4, 22.3 and 23.4
199: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.14
200: <li>Python 2.5.4, 2.7.3 and 3.2.3 <li>Ruby 1.8.7.370 and 1.9.3.194
201: <li>Tcl/Tk 8.5.11 <li>Jdk 1.7
202: <li>Mono 2.10.9 <li>Chromium 20.0.1132.57
203: <li>Groff 1.21 <li>Go 1.0.2
204: <li>GCC 4.6.3 and 4.7.1 <li>LLVM/Clang 3.1
205: </ul>
206: <p>
207:
208: <li>As usual, steady improvements in manual pages and other documentation.
209: <p>
210:
211: <li>The system includes the following major components from outside suppliers:
212: <ul>
1.3 ! matthieu 213: <li>Xenocara (based on X.Org 7.7 with xserver 1.12.2 + patches,
! 214: freetype 2.4.10, fontconfig 2.8.0, Mesa 7.10.3, xterm 279,
! 215: xkeyboard-config 2.6 and more)
1.1 deraadt 216: <li>Gcc 4.2.1 (+patches), 3.3.5 (+ patches) and 2.95.3 (+ patches)
217: <li>Perl 5.12.2 (+ patches)
218: <li>Our improved and secured version of Apache 1.3, with
219: SSL/TLS and DSO support
220: <li>Nginx 1.2.2 (+ patches)
221: <li>OpenSSL 1.0.0f (+ patches)
222: <li>SQLite 3.7.13 (+ patches)
223: <li>Sendmail 8.14.5, with libmilter
224: <li>Bind 9.4.2-P2 (+ patches)
225: <li>NSD 3.2.11
226: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
227: <li>Sudo 1.7.2p8
228: <li>Ncurses 5.7
229: <li>Heimdal 0.7.2 (+ patches)
230: <li>Arla 0.35.7
231: <li>Binutils 2.15 (+ patches)
232: <li>Gdb 6.3 (+ patches)
233: <li>Less 444 (+ patches)
234: <li>Awk Aug 10, 2011 version
235: </ul>
236:
237: </ul>
238:
239: <a name="install"></a>
240: <hr>
241: <p>
242: <h3><font color="#0000e0">How to install</font></h3>
243: <p>
244: Following this are the instructions which you would have on a piece of
245: paper if you had purchased a CDROM set instead of doing an alternate
246: form of install. The instructions for doing an FTP (or other style
247: of) install are very similar; the CDROM instructions are left intact
248: so that you can see how much easier it would have been if you had
249: purchased a CDROM instead.
250: <p>
251:
252: <hr>
253: Please refer to the following files on the three CDROMs or FTP mirror for
254: extensive details on how to install OpenBSD 5.2 on your machine:
255: <p>
256: <ul>
257: <li>CD1:5.2/i386/INSTALL.i386
258: <p>
259: <li>CD2:5.2/amd64/INSTALL.amd64
260: <p>
261: <li>CD3:5.2/sparc64/INSTALL.sparc64
262: <p>
263: <li>FTP:.../OpenBSD/5.2/alpha/INSTALL.alpha
264: <li>FTP:.../OpenBSD/5.2/armish/INSTALL.armish
265: <li>FTP:.../OpenBSD/5.2/hp300/INSTALL.hp300
266: <li>FTP:.../OpenBSD/5.2/hppa/INSTALL.hppa
267: <li>FTP:.../OpenBSD/5.2/landisk/INSTALL.landisk
268: <li>FTP:.../OpenBSD/5.2/loongson/INSTALL.loongson
269: <li>FTP:.../OpenBSD/5.2/luna88k/INSTALL.luna88k
270: <li>FTP:.../OpenBSD/5.2/macppc/INSTALL.macppc
271: <li>FTP:.../OpenBSD/5.2/mvme68k/INSTALL.mvme68k
272: <li>FTP:.../OpenBSD/5.2/mvme88k/INSTALL.mvme88k
273: <li>FTP:.../OpenBSD/5.2/sgi/INSTALL.sgi
274: <li>FTP:.../OpenBSD/5.2/socppc/INSTALL.socppc
275: <li>FTP:.../OpenBSD/5.2/sparc/INSTALL.sparc
276: <li>FTP:.../OpenBSD/5.2/vax/INSTALL.vax
277: <li>FTP:.../OpenBSD/5.2/zaurus/INSTALL.zaurus
278: </ul>
279: <hr>
280:
281: <p>
282: Quick installer information for people familiar with OpenBSD, and the
283: use of the "disklabel -E" command. If you are at all confused when
284: installing OpenBSD, read the relevant INSTALL.* file as listed above!
285: <p>
286:
287: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
288: <ul>
289: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
290: release is on CD1. If your BIOS does not support booting from CD, you will need
291: to create a boot floppy to install from. To create a boot floppy write
292: <i>CD1:5.2/i386/floppy52.fs</i> to a floppy and boot via the floppy drive.
293:
294: <p>
295: Use <i>CD1:5.2/i386/floppyB52.fs</i> instead for greater SCSI controller
296: support, or <i>CD1:5.2/i386/floppyC52.fs</i> for better laptop support.
297:
298: <p>
299: If you can't boot from a CD or a floppy disk,
300: you can install across the network using PXE as described in
301: the included INSTALL.i386 document.
302:
303: <p>
304: If you are planning on dual booting OpenBSD with another OS, you will need to
305: read INSTALL.i386.
306:
307: <p>
308: To make a boot floppy under MS-DOS, use the "rawrite" utility located
309: at <i>CD1:5.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
310: use the
311: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
312: utility. The following is an example usage of
313: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
314: where the device could be "floppy", "rfd0c", or
315: "rfd0a".
316:
317: <ul><pre>
318: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
319: </pre></ul>
320:
321: <p>
322: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
323: your install will most likely fail. For more information on creating a boot
324: floppy and installing OpenBSD/i386 please refer to
325: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
326: </ul>
327:
328: <p>
329: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
330: <ul>
331: The 5.2 release of OpenBSD/amd64 is located on CD2.
332: Boot from the CD to begin the install - you may need to adjust
333: your BIOS options first.
334: If you can't boot from the CD, you can create a boot floppy to install from.
335: To do this, write <i>CD2:5.2/amd64/floppy52.fs</i> to a floppy, then
336: boot from the floppy drive.
337:
338: <p>
339: If you can't boot from a CD or a floppy disk,
340: you can install across the network using PXE as described in the included
341: INSTALL.amd64 document.
342:
343: <p>
344: If you are planning to dual boot OpenBSD with another OS, you will need to
345: read INSTALL.amd64.
346: </ul>
347:
348: <p>
349: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
350: <ul>
351: Burn the image from the FTP site to a CDROM, and poweron your machine
352: while holding down the <i>C</i> key until the display turns on and
353: shows <i>OpenBSD/macppc boot</i>.
354:
355: <p>
356: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
357: /5.2/macppc/bsd.rd</i>
358: </ul>
359:
360: <p>
361: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
362: <ul>
363: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
364:
365: <p>
366: If this doesn't work, or if you don't have a CDROM drive, you can write
367: <i>CD3:5.2/sparc64/floppy52.fs</i> or <i>CD3:5.2/sparc64/floppyB52.fs</i>
368: (depending on your machine) to a floppy and boot it with <i>boot
369: floppy</i>. Refer to INSTALL.sparc64 for details.
370:
371: <p>
372: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
373: will most likely fail.
374:
375: <p>
376: You can also write <i>CD3:5.2/sparc64/miniroot52.fs</i> to the swap partition on
377: the disk and boot with <i>boot disk:b</i>.
378:
379: <p>
380: If nothing works, you can boot over the network as described in INSTALL.sparc64.
381: </ul>
382:
383: <p>
384: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
385: <ul>
386: <p>Write <i>FTP:5.2/alpha/floppy52.fs</i> or
387: <i>FTP:5.2/alpha/floppyB52.fs</i> (depending on your machine) to a diskette and
388: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
389:
390: <p>
391: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
392: will most likely fail.
393:
394: </ul>
395:
396: <p>
397: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
398: <ul>
399: <p>
400: After connecting a serial port, Thecus can boot directly from the network
401: either tftp or http. Configure the network using fconfig, reset,
402: then load bsd.rd, see INSTALL.armish for specific details.
403: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
404: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
405: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
406: More details are available in INSTALL.armish.
407: </ul>
408:
409: <p>
410: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
411: <ul>
412: <p>
413: Boot over the network by following the instructions in INSTALL.hp300.
414: </ul>
415:
416: <p>
417: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
418: <ul>
419: <p>
420: Boot over the network by following the instructions in INSTALL.hppa or the
421: <a href="hppa.html#install">hppa platform page</a>.
422: </ul>
423:
424: <p>
425: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
426: <ul>
427: <p>
428: Write <i>miniroot52.fs</i> to the start of the CF
429: or disk, and boot normally.
430: </ul>
431:
432: <p>
433: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
434: <ul>
435: <p>
436: Write <i>miniroot52.fs</i> to a USB stick and boot bsd.rd from it
437: or boot bsd.rd via tftp.
438: Refer to the instructions in INSTALL.loongson for more details.
439: </ul>
440: <p>
441:
442: <p>
443: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
444: <ul>
445: <p>
446: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
447: Alternatively, you can create a bootable tape and boot from it. Refer to
448: the instructions in INSTALL.luna88k for more details.
449: </ul>
450:
451: <p>
452: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
453: <ul>
454: <p>
455: You can create a bootable installation tape or boot over the network.<br>
456: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
457: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
458: for more details.
459: </ul>
460:
461: <p>
462: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
463: <ul>
464: <p>
465: You can create a bootable installation tape or boot over the network.<br>
466: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
467: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
468: for more details.
469: </ul>
470:
471: <p>
472: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
473: <ul>
474: <p>
475: To install on an O2, burn cd52.iso on a CD-R, put it in the CD drive of your
476: machine and select <i>Install System Software</i> from the System Maintenance
477: menu.
478:
479: <p>
480: On other systems, or if your machine doesn't have a CD drive, you can
481: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
482: the kernel matching your system type.
483: Refer to the instructions in INSTALL.sgi for more details.
484: </ul>
485:
486: <p>
487: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
488: <ul>
489: <p>
490: After connecting a serial port, boot over the network via DHCP/tftp.
491: Refer to the instructions in INSTALL.socppc for more details.
492: </ul>
493:
494: <p>
495: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
496: <ul>
497: Boot from one of the provided install ISO images, using one of the two
498: commands listed below, depending on the version of your ROM.
499:
500: <ul><pre>
501: ok <strong>boot cdrom 5.2/sparc/bsd.rd</strong>
502: or
503: > <strong>b sd(0,6,0)5.2/sparc/bsd.rd</strong>
504: </pre></ul>
505:
506: <p>
507: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
508: To do so you need to write <i>floppy52.fs</i> to a floppy.
509: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
510: To boot from the floppy use one of the two commands listed below,
511: depending on the version of your ROM.
512:
513: <ul><pre>
514: ok <strong>boot floppy</strong>
515: or
516: > <strong>b fd()</strong>
517: </pre></ul>
518:
519: <p>
520: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
521: will most likely fail.
522:
523: <p>
524: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
525: setup a bootable tape, or install via network, as told in the
526: INSTALL.sparc file.
527: </ul>
528:
529: <p>
530: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
531: <ul>
532: Boot over the network via mopbooting as described in INSTALL.vax.
533: </ul>
534:
535: <p>
536: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
537: <ul>
538: <p>
539: Using the Linux built-in graphical ipkg installer, install the
540: openbsd52_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
541: for a few important details.
542: </ul>
543:
544: <p>
545: <h3><font color="#e00000">Notes about the source code:</font></h3>
546: <ul>
547: src.tar.gz contains a source archive starting at /usr/src. This file
548: contains everything you need except for the kernel sources, which are
549: in a separate archive. To extract:
550: <p>
551: <ul><pre>
552: # <strong>mkdir -p /usr/src</strong>
553: # <strong>cd /usr/src</strong>
554: # <strong>tar xvfz /tmp/src.tar.gz</strong>
555: </pre></ul>
556: <p>
557: sys.tar.gz contains a source archive starting at /usr/src/sys.
558: This file contains all the kernel sources you need to rebuild kernels.
559: To extract:
560: <p>
561: <ul><pre>
562: # <strong>mkdir -p /usr/src/sys</strong>
563: # <strong>cd /usr/src</strong>
564: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
565: </pre></ul>
566: <p>
567: Both of these trees are a regular CVS checkout. Using these trees it
568: is possible to get a head-start on using the anoncvs servers as
569: described <a href="anoncvs.html">here</a>.
570: Using these files
571: results in a much faster initial CVS update than you could expect from
572: a fresh checkout of the full OpenBSD source tree.
573: <p>
574: </ul>
575:
576: <a name="upgrade"></a>
577: <hr>
578: <p>
579: <h3><font color="#0000e0">How to upgrade</font></h3>
580: <p>
581: If you already have an OpenBSD 5.1 system, and do not want to reinstall,
582: upgrade instructions and advice can be found in the
583: <a href="faq/upgrade52.html">Upgrade Guide</a>.
584:
585: <a name="ports"></a>
586: <hr>
587: <p>
588: <h3><font color="#0000e0">Ports Tree</font></h3>
589: <p>
590: A ports tree archive is also provided. To extract:
591: <p>
592: <ul><pre>
593: # <strong>cd /usr</strong>
594: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
595: # <strong>cd ports</strong>
596: </pre></ul>
597: <p>
598: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
599: read the <a href="faq/ports/index.html">ports</a> page
600: if you know nothing about ports
601: at this point. This text is not a manual of how to use ports.
602: Rather, it is a set of notes meant to kickstart the user on the
603: OpenBSD ports system.
604: <p>
605: The <i>ports/</i> directory represents a CVS (see the manpage for
606: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
607: cvs(1)</a> if
608: you aren't familiar with CVS) checkout of our ports. As with our complete
609: source tree, our ports tree is available via anoncvs. So, in
610: order to keep current with it, you must make the <i>ports/</i> tree
611: available on a read-write medium and update the tree with a command
612: like:
613: <p>
614: <ul><pre>
615: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_2</strong>
616: </pre></ul>
617: <p>
618: [Of course, you must replace the local directory and server name here
619: with the location of your ports collection and a nearby anoncvs
620: server.]
621: <p>
622: Note that most ports are available as packages through FTP. Updated
623: packages for the 5.2 release will be made available if problems arise.
624: <p>
625: If you're interested in seeing a port added, would like to help out, or just
626: would like to know more, the mailing list
627: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
628: <p>
629:
630: <hr>
631: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
632: alt="OpenBSD"></a>
633: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
634: <br><small>
1.3 ! matthieu 635: $OpenBSD: 52.html,v 1.2 2012/09/05 02:49:19 deraadt Exp $
1.1 deraadt 636: </small>
637:
638: </body>
639: </html>