Annotation of www/47.html, Revision 1.12
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.7 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 4.7">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2008 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/xxx.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/xxx.jpg" alt="OpenBSD 4.7 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.7 Release:</font></h2>
25: <p>
26: Released May 19, 2010<br>
27: Copyright 1997-2010, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-5-7</font>
29: <br>
30: <a href="lyrics.html#47">4.7 Song: "xxx"</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/4.7/</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="errata47.html">The 4.7 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus47.html">detailed log of changes</a> between the
52: 4.6 and 4.7 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 4.7.
70: For a comprehensive list, see the <a href="plus47.html">changelog</a> leading
71: to 4.7.
72: <p>
73:
74: <ul>
75:
76: <li>New/extended platforms:
77: <ul>
1.7 kettenis 78: <li><a href="alpha.html">OpenBSD/alpha</a>
79: <ul>
80: <li>Added support for the DS15/DS25/ES45.
81: </ul>
82: <li><a href="loongson.html">OpenBSD/loongson</a><br>
83: New platform for systems based on the Loongson 2E and 2F
84: MIPS-compatible processors. Supported machines include:
85: <ul>
86: <li>Lemote Fuloong 2F mini-PC
87: <li>Lemote Lynloong all-in-one-PC
88: <li>Lemote Yeeloong netbook (8.9" and 10.1" models)
89: <li>EMTEC Gdium Liberty 1000 netbook
90: </ul>
91: <li><a href="sgi.html">OpenBSD/sgi</a>
92: <ul>
93: <li>Added support for the multi-node SGI Origin 200 systems in M mode.
94: <li>Added support for the SGI Origin 350.
95: <li>Added SMP support on the SGI Fuel and SGI Origin 350.
96: </ul>
97: <li><a href="socppc.html">OpenBSD/socppc</a>
98: <ul>
99: <li>Added support for the RouterBOARD RB600A.
100: </ul>
1.1 deraadt 101: </ul>
102: <p>
103:
104: <li>Improved hardware support, including:
105: <ul>
1.12 ! matthieu 106: <li>Revamped SCSI midlayer and improved driver support.
! 107: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpath&sektion=4&format=html">mpath(4)</a>, a driver that steals paths to scsi devices if they could be available via multiple paths and then made available via <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpath&sektion=4&format=html">mpath(4)</a>.
! 108: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aibs&sektion=4&format=html">aibs(4)</a> driver for ASUSTeK AI Booster hardware monitoring.
! 109: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uthum&sektion=4">uthum</a>
! 110: driver for the TEMPerHUM USB temperature and humidity sensors.
! 111: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uyurex&sektion=4">uyurex(4)</a>
! 112: driver for the Maywa-denki & KAYAC YUREX twitch/jiggle of knee
! 113: sensor.
! 114: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urndis&sektion=4">urndis(4)</a>
! 115: driver for remote NDIS Ethernet over USB devices (phones).
! 116: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wsudl&sektion=0">wsudl(4)</a>, an Xorg driver for USB DisplayLink devices supported by
! 117: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udl&sektion=4">udl(4)</a>.
! 118: <li>Improved touchscreen calibration using new Xinput device
! 119: properties
! 120: in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>.
! 121: <li>Several improvements and bug fixes to existing ethernet
! 122: drivers, including
! 123: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ti&sektion=4">ti(4)</a>
! 124: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vge&sektion=4">vge(4)</a>.
1.1 deraadt 125: </ul>
126: <p>
127:
128: <li>New tools:
129: <ul>
1.9 otto 130: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=newfs_ext2fs&sektion=8">newfs_ext2fs(8)</a> for creating ext2 filesystems.
1.1 deraadt 131: <li>...
132: </ul>
133: <p>
134:
1.6 beck 135: <li>Filesystem Midlayer improvements:
1.2 beck 136: <ul>
137: <li> Dynamic Buffer Cache now supported to a max size set with sysctl <tt>kern.bufcachepercent</tt>
138: <li> Dynamic VFS name cache rewrite, now uses Red/Black trees instead of linked lists.
139: <li> Numerous NFS client stability fixes.
140: </ul>
141: <p>
142:
1.1 deraadt 143: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
144: <ul>
145: <li>...
146: </ul>
147: <p>
148:
149: <li>OpenBGPD, OpenOSPFD and other routing daemon improvements:
150: <ul>
151: <li>...
152: </ul>
153: <p>
154:
155: <li>Generic Network-Stack improvements:
156: <ul>
157: <li>...
158: </ul>
159: <p>
160:
1.9 otto 161: <li>Assorted improvements:
162: <ul>
163: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">malloc(2)</a>
164: now has an <tt>S</tt> flag to turn on the options that help debugging
165: and improve security.
166: <li>updated <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=terminfo&sektion=3">terminfo(3)</a>
167: database and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ncurses&sektion=3">ncurses(3)</a>
168: library.
169: <li>...
170: </ul>
171: <p>
172:
1.1 deraadt 173: <li>Install/Upgrade process changes:
174: <ul>
1.4 beck 175: <li> You'll ususally only press enter.. It will scare you it's so easy.
1.1 deraadt 176: </ul>
177: <p>
178:
179: <li>OpenSSH 5.3:
180: <ul>
181: <li>...
182: </ul>
183: <p>
184:
185: <li>Over 5,800 ports, minor robustness improvements in package tools.
186: <li>Many pre-built packages for each architecture:
187: <table border=0 cellspacing=0 cellpadding=2 width="95%">
188: <tr>
189: <td valign="top" width="25%">
190: <ul>
1.5 deraadt 191: <li>i386: 5951
192: <li>sparc64: 5745
193: <li>alpha: 5489
1.1 deraadt 194: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 195: <li>sh: 1261
196: <li>amd64: 5889
197: <li>powerpc: 5783
1.1 deraadt 198: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 199: <li>sparc: 3584
200: <li>arm: 839
201: <li>hppa: 5179
1.1 deraadt 202: </ul></td><td valign=top width="25%"><ul>
1.5 deraadt 203: <li>vax: 1785
204: <li>mips64: 3677
205: <li>mips64el: 3661
1.1 deraadt 206: </ul></td></tr></table>
207: Some highlights:
208: <ul>
209: <li>Gnome 2.24.3.
210: <li>KDE 3.5.10.
211: <li>Xfce 4.7.1.
1.11 otto 212: <li>MySQL 5.1.42.
1.1 deraadt 213: <li>PostgreSQL 8.3.7.
214: <li>Postfix 2.6.2.
215: <li>OpenLDAP 2.3.43.
1.11 otto 216: <li>Mozilla Firefox 3.0.11 and 3.5.7.
217: <li>Mozilla Thunderbird 2.0.0.23.
1.1 deraadt 218: <li>OpenOffice.org 3.1.0.
219: <li>Emacs 21.4 and 22.3
220: <li>Vim 7.2.190.
221: <li>PHP 5.2.10.
222: <li>Python 2.4.7, 2.5.4 and 2.6.2.
223: <li>Ruby 1.8.6.369.
224: </ul>
225: <p>
226:
227: <li>As usual, steady improvements in manual pages and other documentation.
228: <p>
229:
230: <li>The system includes the following major components from outside suppliers:
231: <ul>
1.8 matthieu 232: <li>Xenocara (based on X.Org 7.4 with xserver 1.6.5 + patches,
233: freetype 2.3.9,
234: fontconfig 2.6.0, Mesa 7.4.2, xterm 250 and more)
1.1 deraadt 235: <li>Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
1.10 otto 236: <li>Perl 5.10.1 (+ patches)
1.1 deraadt 237: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
238: and DSO support
239: <li>OpenSSL 0.9.8k (+ patches)
240: <li>Groff 1.15
241: <li>Sendmail 8.14.3, with libmilter
242: <li>Bind 9.4.2-P2 (+ patches)
243: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
244: <li>Sudo 1.7.2
1.10 otto 245: <li>Ncurses 5.7
1.1 deraadt 246: <li>Latest KAME IPv6
247: <li>Heimdal 0.7.2 (+ patches)
248: <li>Arla 0.35.7
249: <li>Binutils 2.15 (+ patches)
250: <li>Gdb 6.3 (+ patches)
251: </ul>
252: <p>
253:
254: </ul>
255:
256: <a name="install"></a>
257: <hr>
258: <p>
259: <h3><font color="#0000e0">How to install</font></h3>
260: <p>
261: Following this are the instructions which you would have on a piece of
262: paper if you had purchased a CDROM set instead of doing an alternate
263: form of install. The instructions for doing an FTP (or other style
264: of) install are very similar; the CDROM instructions are left intact
265: so that you can see how much easier it would have been if you had
266: purchased a CDROM instead.
267: <p>
268:
269: <hr>
270: Please refer to the following files on the three CDROMs or FTP mirror for
271: extensive details on how to install OpenBSD 4.7 on your machine:
272: <p>
273: <ul>
274: <li>CD1:4.7/i386/INSTALL.i386
275: <p>
276: <li>CD2:4.7/amd64/INSTALL.amd64
277: <li>CD2:4.7/macppc/INSTALL.macppc
278: <p>
279: <li>CD3:4.7/sparc64/INSTALL.sparc64
280: <p>
281: <li>FTP:.../OpenBSD/4.7/alpha/INSTALL.alpha
282: <li>FTP:.../OpenBSD/4.7/armish/INSTALL.armish
283: <li>FTP:.../OpenBSD/4.7/hp300/INSTALL.hp300
284: <li>FTP:.../OpenBSD/4.7/hppa/INSTALL.hppa
285: <li>FTP:.../OpenBSD/4.7/landisk/INSTALL.landisk
286: <li>FTP:.../OpenBSD/4.7/mac68k/INSTALL.mac68k
287: <li>FTP:.../OpenBSD/4.7/mvme68k/INSTALL.mvme68k
288: <li>FTP:.../OpenBSD/4.7/mvme88k/INSTALL.mvme88k
289: <li>FTP:.../OpenBSD/4.7/sgi/INSTALL.sgi
290: <li>FTP:.../OpenBSD/4.7/socppc/INSTALL.socppc
291: <li>FTP:.../OpenBSD/4.7/sparc/INSTALL.sparc
292: <li>FTP:.../OpenBSD/4.7/vax/INSTALL.vax
293: <li>FTP:.../OpenBSD/4.7/zaurus/INSTALL.zaurus
294: </ul>
295: <hr>
296:
297: <p>
298: Quick installer information for people familiar with OpenBSD, and the
299: use of the "disklabel -E" command. If you are at all confused when
300: installing OpenBSD, read the relevant INSTALL.* file as listed above!
301: <p>
302:
303: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
304: <ul>
305: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
306: release is on CD1. If your BIOS does not support booting from CD, you will need
307: to create a boot floppy to install from. To create a boot floppy write
308: <i>CD1:4.7/i386/floppy47.fs</i> to a floppy and boot via the floppy drive.
309:
310: <p>
311: Use <i>CD1:4.7/i386/floppyB47.fs</i> instead for greater SCSI controller
312: support, or <i>CD1:4.7/i386/floppyC47.fs</i> for better laptop support.
313:
314: <p>
315: If you can't boot from a CD or a floppy disk,
316: you can install across the network using PXE as described in
317: the included INSTALL.i386 document.
318:
319: <p>
320: If you are planning on dual booting OpenBSD with another OS, you will need to
321: read INSTALL.i386.
322:
323: <p>
324: To make a boot floppy under MS-DOS, use the "rawrite" utility located
325: at <i>CD1:4.7/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
326: use the
327: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
328: utility. The following is an example usage of
329: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
330: where the device could be "floppy", "rfd0c", or
331: "rfd0a".
332:
333: <ul><pre>
334: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
335: </pre></ul>
336:
337: <p>
338: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
339: your install will most likely fail. For more information on creating a boot
340: floppy and installing OpenBSD/i386 please refer to
341: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
342: </ul>
343:
344: <p>
345: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
346: <ul>
347: The 4.7 release of OpenBSD/amd64 is located on CD2.
348: Boot from the CD to begin the install - you may need to adjust
349: your BIOS options first.
350: If you can't boot from the CD, you can create a boot floppy to install from.
351: To do this, write <i>CD2:4.7/amd64/floppy47.fs</i> to a floppy, then
352: boot from the floppy drive.
353:
354: <p>
355: If you can't boot from a CD or a floppy disk,
356: you can install across the network using PXE as described in the included
357: INSTALL.amd64 document.
358:
359: <p>
360: If you are planning to dual boot OpenBSD with another OS, you will need to
361: read INSTALL.amd64.
362: </ul>
363:
364: <p>
365: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
366: <ul>
367: Put CD2 in your CDROM drive and poweron your machine while holding down the
368: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
369:
370: <p>
371: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
372: /4.7/macppc/bsd.rd</i>
373: </ul>
374:
375: <p>
376: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
377: <ul>
378: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
379:
380: <p>
381: If this doesn't work, or if you don't have a CDROM drive, you can write
382: <i>CD3:4.7/sparc64/floppy47.fs</i> or <i>CD3:4.7/sparc64/floppyB47.fs</i>
383: (depending on your machine) to a floppy and boot it with <i>boot
384: floppy</i>. Refer to INSTALL.sparc64 for details.
385:
386: <p>
387: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
388: will most likely fail.
389:
390: <p>
391: You can also write <i>CD3:4.7/sparc64/miniroot47.fs</i> to the swap partition on
392: the disk and boot with <i>boot disk:b</i>.
393:
394: <p>
395: If nothing works, you can boot over the network as described in INSTALL.sparc64.
396: </ul>
397:
398: <p>
399: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
400: <ul>
401: <p>Write <i>FTP:4.7/alpha/floppy47.fs</i> or
402: <i>FTP:4.7/alpha/floppyB47.fs</i> (depending on your machine) to a diskette and
403: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
404:
405: <p>
406: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
407: will most likely fail.
408:
409: </ul>
410:
411: <p>
412: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
413: <ul>
414: <p>
415: After connecting a serial port, Thecus can boot directly from the network
416: either tftp or http. Configure the network using fconfig, reset,
417: then load bsd.rd, see INSTALL.armish for specific details.
418: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
419: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
420: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
421: More details are available in INSTALL.armish.
422: </ul>
423:
424: <p>
425: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
426: <ul>
427: <p>
428: Boot over the network by following the instructions in INSTALL.hp300.
429: </ul>
430:
431: <p>
432: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
433: <ul>
434: <p>
435: Boot over the network by following the instructions in INSTALL.hppa or the
436: <a href="hppa.html#install">hppa platform page</a>.
437: </ul>
438:
439: <p>
440: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
441: <ul>
442: <p>
443: Write <i>miniroot47.fs</i> to the start of the CF
444: or disk, and boot normally.
445: </ul>
446:
447: <p>
448: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
449: <ul>
450: <p>
451: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
452: <i>FTP:4.7/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
453: Booter" with the location of your bsd.rd kernel and boot into the installer.
454: Refer to the instructions in INSTALL.mac68k for more details.
455: </ul>
456:
457: <p>
458: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
459: <ul>
460: <p>
461: You can create a bootable installation tape or boot over the network.<br>
462: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
463: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
464: for more details.
465: </ul>
466:
467: <p>
468: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
469: <ul>
470: <p>
471: You can create a bootable installation tape or boot over the network.<br>
472: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
473: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
474: for more details.
475: </ul>
476:
477: <p>
478: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
479: <ul>
480: Boot from one of the provided install ISO images, using one of the two
481: commands listed below, depending on the version of your ROM.
482:
483: <ul><pre>
484: ok <strong>boot cdrom 4.7/sparc/bsd.rd</strong>
485: or
486: > <strong>b sd(0,6,0)4.7/sparc/bsd.rd</strong>
487: </pre></ul>
488:
489: <p>
490: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
491: To do so you need to write <i>floppy47.fs</i> to a floppy.
492: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
493: To boot from the floppy use one of the two commands listed below,
494: depending on the version of your ROM.
495:
496: <ul><pre>
497: ok <strong>boot floppy</strong>
498: or
499: > <strong>b fd()</strong>
500: </pre></ul>
501:
502: <p>
503: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
504: will most likely fail.
505:
506: <p>
507: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
508: setup a bootable tape, or install via network, as told in the
509: INSTALL.sparc file.
510: </ul>
511:
512: <p>
513: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
514: <ul>
515: <p>
516: Burn cd47.iso on a CD-R, put it in the CD drive of your machine and
517: select <i>Install System Software</i> from the System Maintenance menu.
518:
519: <p>
520: If your machine doesn't have a CD drive, you can
521: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
522: Refer to the instructions in INSTALL.sgi for more details.
523: </ul>
524:
525: <p>
526: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
527: <ul>
528: <p>
529: After connecting a serial port, boot over the network via DHCP/tftp.
530: Refer to the instructions in INSTALL.socppc for more details.
531: </ul>
532:
533: <p>
534: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
535: <ul>
536: Boot over the network via mopbooting as described in INSTALL.vax.
537: </ul>
538:
539: <p>
540: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
541: <ul>
542: <p>
543: Using the Linux built-in graphical ipkg installer, install the
544: openbsd47_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
545: for a few important details.
546: </ul>
547:
548: <p>
549: <h3><font color="#e00000">Notes about the source code:</font></h3>
550: <ul>
551: src.tar.gz contains a source archive starting at /usr/src. This file
552: contains everything you need except for the kernel sources, which are
553: in a separate archive. To extract:
554: <p>
555: <ul><pre>
556: # <strong>mkdir -p /usr/src</strong>
557: # <strong>cd /usr/src</strong>
558: # <strong>tar xvfz /tmp/src.tar.gz</strong>
559: </pre></ul>
560: <p>
561: sys.tar.gz contains a source archive starting at /usr/src/sys.
562: This file contains all the kernel sources you need to rebuild kernels.
563: To extract:
564: <p>
565: <ul><pre>
566: # <strong>mkdir -p /usr/src/sys</strong>
567: # <strong>cd /usr/src</strong>
568: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
569: </pre></ul>
570: <p>
571: Both of these trees are a regular CVS checkout. Using these trees it
572: is possible to get a head-start on using the anoncvs servers as
573: described <a href="anoncvs.html">here</a>.
574: Using these files
575: results in a much faster initial CVS update than you could expect from
576: a fresh checkout of the full OpenBSD source tree.
577: <p>
578: </ul>
579:
580: <a name="upgrade"></a>
581: <hr>
582: <p>
583: <h3><font color="#0000e0">How to upgrade</font></h3>
584: <p>
585: If you already have an OpenBSD 4.6 system, and do not want to reinstall,
586: upgrade instructions and advice can be found in the
587: <a href="faq/upgrade47.html">Upgrade Guide</a>.
588:
589: <a name="ports"></a>
590: <hr>
591: <p>
592: <h3><font color="#0000e0">Ports Tree</font></h3>
593: <p>
594: A ports tree archive is also provided. To extract:
595: <p>
596: <ul><pre>
597: # <strong>cd /usr</strong>
598: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
599: # <strong>cd ports</strong>
600: </pre></ul>
601: <p>
602: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
603: read the <a href="ports.html">ports</a> page
604: if you know nothing about ports
605: at this point. This text is not a manual of how to use ports.
606: Rather, it is a set of notes meant to kickstart the user on the
607: OpenBSD ports system.
608: <p>
609: The <i>ports/</i> directory represents a CVS (see the manpage for
610: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
611: cvs(1)</a> if
612: you aren't familiar with CVS) checkout of our ports. As with our complete
613: source tree, our ports tree is available via anoncvs. So, in
614: order to keep current with it, you must make the <i>ports/</i> tree
615: available on a read-write medium and update the tree with a command
616: like:
617: <p>
618: <ul><pre>
619: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_6</strong>
620: </pre></ul>
621: <p>
622: [Of course, you must replace the local directory and server name here
623: with the location of your ports collection and a nearby anoncvs
624: server.]
625: <p>
626: Note that most ports are available as packages through FTP. Updated
627: packages for the 4.7 release will be made available if problems arise.
628: <p>
629: If you're interested in seeing a port added, would like to help out, or just
630: would like to know more, the mailing list ports@openbsd.org is a good
631: place to know.
632: <p>
633:
634: <hr>
635: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
636: alt="OpenBSD"></a>
637: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
638: <br><small>
1.12 ! matthieu 639: $OpenBSD: 47.html,v 1.11 2010/03/08 19:43:47 otto Exp $
1.1 deraadt 640: </small>
641:
642: </body>
643: </html>