[BACK]Return to 42.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/42.html, Revision 1.24

1.1       jasper      1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                      2: <html>
                      3: <head>
                      4: <title>OpenBSD 4.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 4.2">
                      9: <meta name="keywords" content="openbsd,main">
                     10: <meta name="distribution" content="global">
                     11: <meta name="copyright" content="This document copyright 2007 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/niftyartworkcomingsoon.jpg">
                     22: <img align="left" width="227" height="343" hspace="24" vspace="30"
                     23: src="images/niftyartworkcomingsoon.jpg" alt="OpenBSD 4.2 logo"></a>
                     24: <h2><font color="#0000e0">The OpenBSD 4.2 Release:</font></h2>
                     25: <p>
                     26: To be released Nov 1, 2007<br>
                     27: Copyright 1997-2007, Theo de Raadt.<br>
                     28: <font color="#e00000">ISBN XXX</font>
                     29: <br>
                     30: <a href="lyrics.html#42">4.2 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.2/</font> directory on
                     47:     one of the mirror sites.
                     48: <li>Briefly read the rest of this document.
1.20      deraadt    49: <li>Have a look at <a href="errata42.html">The 4.2 Errata page</a> for a list
1.1       jasper     50:     of bugs and workarounds.
1.20      deraadt    51: <li>See a <a href="plus42.html">detailed log of changes</a> between the
1.1       jasper     52:     4.1 and 4.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: XF4.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.2.
1.20      deraadt    70: For a comprehensive list, see the <a href="plus42.html">changelog</a> leading
1.1       jasper     71: to 4.2.
                     72: <p>
                     73:
                     74: <ul>
                     75:
                     76: <li>New/extended platforms:
                     77: <ul>
1.15      kettenis   78: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
                     79:     The PCIe UltraSPARC IIIi machines like the V215 and V245 are now
                     80:     supported.
1.18      kettenis   81: <li><a href="hppa.html">OpenBSD/hppa</a>.<br>
1.15      kettenis   82:     Four-digit B/C/J-class workstations like the B2000, C3750 or J6750
                     83:     are now supported (in 32-bit mode).
1.1       jasper     84: </ul>
                     85: <p>
                     86:
                     87: <li>Removed platforms:
                     88: <ul>
                     89: <li>...
                     90: </ul>
                     91: <p>
                     92:
                     93: <li>Improved hardware support, including:
                     94: <ul>
1.11      matthieu   95: <li> Native Serial-ATA support:
                     96:  <ul>
1.24    ! dlg        97:  <li> <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahci&sektion=4">ahci(4)</a>
        !            98:     driver for  SATA controllers conforming to the Advanced Host Controller
        !            99:     Interface specification.
        !           100:  <li> <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sili&sektion=4">sili(4)</a>
        !           101:     driver for SATA controllers using the Silicon Image 3124/3132/3531 SATALink
        !           102:     chipsets.
1.11      matthieu  103:  </ul>
1.24    ! dlg       104: <li> New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tht&sektion=4">tht(4)</a>
        !           105:   driver for Tehuti Networks 10Gb Ethernet controllers.
1.8       matthieu  106: <li> New <a
                    107: href="http://www.openbsd.org/cgi-bin/man.cgi?query=uts&sektion=4">uts(4)</a>
                    108: driver for USB touch screens, and the <a
                    109: href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>
                    110: calibration utility.
1.22      kettenis  111: <li> The <a
                    112: href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop&sektion=4">siop(4)</a>
                    113: driver now has support for NCR 53C720/770 controllers in big endian mode.
                    114: In particular this means that the onboard Fast-Wide SCSI on many hppa
                    115: machines is supported now.
1.1       jasper    116: </ul>
                    117: <p>
1.8       matthieu  118:
1.1       jasper    119:
                    120: <li>New tools:
                    121: <ul>
1.10      matthieu  122: <li> <a
                    123: href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&sektion=1">cwm(1)</a>
                    124: has replaced wm2 as a simple-looking low-resource window manager.
1.1       jasper    125: </ul>
                    126: <p>
1.10      matthieu  127:
1.1       jasper    128:
                    129: <li>New functionality:
                    130: <ul>
1.14      otto      131: <li>FFS2, the updated version of the fast file system.
1.23      kili      132: <li><a
                    133: href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&sektion=1">ftp(1)</a>
                    134: now can send cookies loaded from a netscape-like cookiejar, supports
                    135: proxies requiring a password, and has a keep-alive option to avoid
                    136: over-agressive control connection dropping.
1.1       jasper    137: </ul>
                    138: <p>
                    139:
                    140: <li>Assorted improvements and code cleanup:
                    141: <ul>
1.14      otto      142: <li>Large (>1TB) disk and partition support in the disklabel and buffer cache
                    143: code and in the userland utilities that manipulate disk blocks. Note
                    144: that some parts of the system are not 64-bit disk block clean yet, so partition
                    145: larger than 2TB cannot be used at the moment.
1.16      jasper    146: <li>Thread support for the Objective-C library (libobjc).
1.1       jasper    147: </ul>
                    148: <p>
                    149:
                    150: <li>Install/Upgrade process changes:
                    151: <ul>
                    152: <li>...
                    153: </ul>
                    154: <p>
                    155:
                    156: <li>OpenBGPD 4.2:
                    157: <ul>
                    158: <li>...
                    159: </ul>
                    160: <p>
                    161:
                    162: <li>OpenNTPD 4.2:
                    163: <ul>
                    164: <li>...
                    165: </ul>
                    166: <p>
                    167:
                    168: <li>OpenOSPFD 4.2:
                    169: <ul>
                    170: <li>...
                    171: </ul>
                    172: <p>
                    173:
                    174: <li>OpenSSH 4.7:
                    175: <ul>
                    176: <li>...
                    177: </ul>
                    178: <p>
                    179:
                    180: <li>Over 4500 ports, 4300 pre-built packages (for i386), minor robustness improvements in package tools.
                    181: <!-- XXX update numbers -->
                    182: Some highlights:
                    183: <ul>
1.4       jasper    184: <li>Gnome 2.18.
1.16      jasper    185: <li>GNUstep 1.14.
1.4       jasper    186: <li>KDE 3.5.7 and koffice 1.6.3.
1.7       steven    187: <li>Xfce 4.4.1.
1.17      mbalmer   188: <li>OpenMotif 2.3.0
1.9       steven    189: <li>OpenOffice.org 2.2.1.
                    190: <li>Mozilla Firefox 2.0.0.6.
1.4       jasper    191: <li>PostgreSQL 8.2.4.
1.5       jasper    192: <li>GHC 6.6.1 (amd64 and i386 only)
1.1       jasper    193: </ul>
                    194: <p>
                    195:
                    196: <li>As usual, steady improvements in manual pages and other documentation.
                    197: <p>
                    198:
                    199: <li>The system includes the following major components from outside suppliers:
                    200: <ul>
1.19      matthieu  201: <li>Xenocara (based on X.Org 7.2 + patches, freetype 2.2.1, fontconfig
1.1       jasper    202: 2.4.2, expat 2.0.0, Mesa 6.5.2, xterm 225 and more)
                    203: <li>Gcc 2.95.3
                    204: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&amp;sektion=1">patches</a>)
                    205: and 3.3.5
                    206: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&amp;sektion=1">patches</a>)
                    207: <li>Perl 5.8.8 (+ patches)
                    208: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
                    209: <li>OpenSSL 0.9.7j (+ patches)
                    210: <li>Groff 1.15
                    211: <li>Sendmail 8.14.1, with libmilter
                    212: <li>Bind 9.3.4 (+ patches)
                    213: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
                    214: <li>Sudo 1.6.9p4
                    215: <li>Ncurses 5.2
                    216: <li>Latest KAME IPv6
                    217: <li>Heimdal 0.7.2 (+ patches)
                    218: <li>Arla 0.35.7
                    219: <li>Binutils 2.15 (+ patches)
                    220: <li>Gdb 6.3 (+ patches)
                    221: <!-- XXX double check versions -->
                    222: </ul>
                    223: <p>
                    224:
                    225: </ul>
                    226:
                    227: <a name="install"></a>
                    228: <hr>
                    229: <p>
                    230: <h3><font color="#0000e0">How to install</font></h3>
                    231: <p>
                    232: Following this are the instructions which you would have on a piece of
                    233: paper if you had purchased a CDROM set instead of doing an alternate
                    234: form of install.  The instructions for doing an FTP (or other style
                    235: of) install are very similar; the CDROM instructions are left intact
                    236: so that you can see how much easier it would have been if you had
                    237: purchased a CDROM instead.
                    238: <p>
                    239:
                    240: <hr>
                    241: Please refer to the following files on the three CDROMs or FTP mirror for
                    242: extensive details on how to install OpenBSD 4.2 on your machine:
                    243: <p>
                    244: <ul>
                    245: <li>CD1:4.2/i386/INSTALL.i386
                    246: <p>
                    247: <li>CD2:4.2/amd64/INSTALL.amd64
                    248: <li>CD2:4.2/macppc/INSTALL.macppc
                    249: <p>
                    250: <li>CD3:4.2/sparc64/INSTALL.sparc64
                    251: <p>
                    252: <li>FTP:.../OpenBSD/4.2/alpha/INSTALL.alpha
                    253: <li>FTP:.../OpenBSD/4.2/armish/INSTALL.armish
                    254: <li>FTP:.../OpenBSD/4.2/hp300/INSTALL.hp300
                    255: <li>FTP:.../OpenBSD/4.2/hppa/INSTALL.hppa
                    256: <li>FTP:.../OpenBSD/4.2/landisk/INSTALL.landisk
                    257: <li>FTP:.../OpenBSD/4.2/luna88k/INSTALL.luna88k
                    258: <li>FTP:.../OpenBSD/4.2/mac68k/INSTALL.mac68k
                    259: <li>FTP:.../OpenBSD/4.2/mvme68k/INSTALL.mvme68k
                    260: <li>FTP:.../OpenBSD/4.2/mvme88k/INSTALL.mvme88k
                    261: <li>FTP:.../OpenBSD/4.2/sparc/INSTALL.sparc
                    262: <li>FTP:.../OpenBSD/4.2/vax/INSTALL.vax
                    263: <li>FTP:.../OpenBSD/4.2/zaurus/INSTALL.zaurus
                    264: </ul>
                    265: <hr>
                    266:
                    267: <p>
                    268: Quick installer information for people familiar with OpenBSD, and the
                    269: use of the "disklabel -E" command.  If you are at all confused when
                    270: installing OpenBSD, read the relevant INSTALL.* file as listed above!
                    271: <p>
                    272:
                    273: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
                    274: <ul>
                    275: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
                    276: release is on CD1. If your BIOS does not support booting from CD, you will need
                    277: to create a boot floppy to install from. To create a boot floppy write
                    278: <i>CD1:4.2/i386/floppy42.fs</i> to a floppy and boot via the floppy drive.
                    279:
                    280: <p>
                    281: Use <i>CD1:4.2/i386/floppyB42.fs</i> instead for greater SCSI controller
                    282: support, or <i>CD1:4.2/i386/floppyC42.fs</i> for better laptop support.
                    283:
                    284: <p>
                    285: If you can't boot from a CD or a floppy disk,
                    286: you can install across the network using PXE as described in
                    287: the included INSTALL.i386 document.
                    288:
                    289: <p>
                    290: If you are planning on dual booting OpenBSD with another OS, you will need to
                    291: read INSTALL.i386.
                    292:
                    293: <p>
                    294: To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located
                    295: at <i>CD1:4.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
                    296: use the
                    297: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&amp;sektion=1">dd(1)</a>
                    298: utility. The following is an example usage of
                    299: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&amp;sektion=1">dd(1)</a>,
                    300: where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or
                    301: &quot;rfd0a&quot;.
                    302:
                    303: <ul><pre>
                    304: # <strong>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</strong>
                    305: </pre></ul>
                    306:
                    307: <p>
                    308: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
                    309: your install will most likely fail. For more information on creating a boot
                    310: floppy and installing OpenBSD/i386 please refer to
                    311: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
                    312: </ul>
                    313:
                    314: <p>
                    315: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
                    316: <ul>
                    317: The 4.2 release of OpenBSD/amd64 is located on CD2.
                    318: Boot from the CD to begin the install - you may need to adjust
                    319: your BIOS options first.
                    320: If you can't boot from the CD, you can create a boot floppy to install from.
                    321: To do this, write <i>CD2:4.2/amd64/floppy42.fs</i> to a floppy, then
                    322: boot from the floppy drive.
                    323:
                    324: <p>
                    325: If you can't boot from a CD or a floppy disk,
                    326: you can install across the network using PXE as described in the included
                    327: INSTALL.amd64 document.
                    328:
                    329: <p>
                    330: If you are planning to dual boot OpenBSD with another OS, you will need to
                    331: read INSTALL.amd64.
                    332: </ul>
                    333:
                    334: <p>
                    335: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
                    336: <ul>
                    337: Put CD2 in your CDROM drive and poweron your machine while holding down the
                    338: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
                    339:
                    340: <p>
                    341: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                    342: /4.2/macppc/bsd.rd</i>
                    343: </ul>
                    344:
                    345: <p>
                    346: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
                    347: <ul>
                    348: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
                    349:
                    350: <p>
                    351: If this doesn't work, or if you don't have a CDROM drive, you can write
                    352: <i>CD3:4.2/sparc64/floppy42.fs</i> or <i>CD3:4.2/sparc64/floppyB42.fs</i>
                    353: (depending on your machine) to a floppy and boot it with <i>boot
                    354: floppy</i>. Refer to INSTALL.sparc64 for details.
                    355:
                    356: <p>
                    357: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    358: will most likely fail.
                    359:
                    360: <p>
                    361: You can also write <i>CD3:4.2/sparc64/miniroot42.fs</i> to the swap partition on
                    362: the disk and boot with <i>boot disk:b</i>.
                    363:
                    364: <p>
                    365: If nothing works, you can boot over the network as described in INSTALL.sparc64.
                    366: </ul>
                    367:
                    368: <p>
                    369: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
                    370: <ul>
                    371: <p>Write <i>FTP:4.2/alpha/floppy42.fs</i> or
                    372: <i>FTP:4.2/alpha/floppyB42.fs</i> (depending on your machine) to a diskette and
                    373: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
                    374:
                    375: <p>
                    376: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    377: will most likely fail.
                    378:
                    379: </ul>
                    380:
                    381: <p>
                    382: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
                    383: <ul>
                    384: <p>
                    385: After connecting a serial port, Thecus can boot directly from the network
                    386: either tftp or http. Configure the network using fconfig, reset,
                    387: then load bsd.rd, see INSTALL.armish for specific details.
                    388: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
                    389: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
                    390: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
                    391: More details are available in INSTALL.armish.
                    392: </ul>
                    393:
                    394: <p>
                    395: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
                    396: <ul>
                    397: <p>
                    398: Boot over the network by following the instructions in INSTALL.hp300.
                    399: </ul>
                    400:
                    401: <p>
                    402: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
                    403: <ul>
                    404: <p>
                    405: Boot over the network by following the instructions in INSTALL.hppa or the
                    406: <a href="hppa.html#install">hppa platform page</a>.
                    407: </ul>
                    408:
                    409: <p>
                    410: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
                    411: <ul>
                    412: <p>
1.21      deraadt   413: Write <i>miniroot42.fs</i> to the start of the CF
1.1       jasper    414: or disk, and boot normally.
                    415: </ul>
                    416:
                    417: <p>
                    418: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
                    419: <ul>
                    420: <p>
                    421: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
                    422: Alternatively, you can create a bootable tape and boot from it. Refer to
                    423: the instructions in INSTALL.luna88k for more details.
                    424: </ul>
                    425:
                    426: <p>
                    427: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
                    428: <ul>
                    429: <p>
                    430: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
                    431: <i>FTP:4.2/mac68k/utils</i> onto your hard disk.  Configure the "BSD/Mac68k
                    432: Booter" with the location of your bsd.rd kernel and boot into the installer.
                    433: Refer to the instructions in INSTALL.mac68k for more details.
                    434: </ul>
                    435:
                    436: <p>
                    437: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
                    438: <ul>
                    439: <p>
                    440: You can create a bootable installation tape or boot over the network.<br>
                    441: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
                    442: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
                    443: for more details.
                    444: </ul>
                    445:
                    446: <p>
                    447: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
                    448: <ul>
                    449: <p>
                    450: You can create a bootable installation tape or boot over the network.<br>
                    451: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
                    452: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
                    453: for more details.
                    454: </ul>
                    455:
                    456: <p>
                    457: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
                    458: <ul>
1.21      deraadt   459: Boot from one of the provided install ISO images, using one of the two
                    460: commands listed below, depending on the version of your ROM.
1.1       jasper    461:
                    462: <ul><pre>
                    463: ok <strong>boot cdrom 4.2/sparc/bsd.rd</strong>
                    464: or
                    465: &gt; <strong>b sd(0,6,0)4.2/sparc/bsd.rd</strong>
                    466: </pre></ul>
                    467:
                    468: <p>
                    469: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
1.21      deraadt   470: To do so you need to write <i>floppy42.fs</i> to a floppy.
1.1       jasper    471: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
                    472: To boot from the floppy use one of the two commands listed below,
                    473: depending on the version of your ROM.
                    474:
                    475: <ul><pre>
                    476: ok <strong>boot floppy</strong>
                    477: or
                    478: &gt; <strong>b fd()</strong>
                    479: </pre></ul>
                    480:
                    481: <p>
                    482: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    483: will most likely fail.
                    484:
                    485: <p>
                    486: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
                    487: setup a bootable tape, or install via network, as told in the
                    488: INSTALL.sparc file.
                    489: </ul>
                    490:
                    491: <p>
                    492: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
                    493: <ul>
                    494: Boot over the network via mopbooting as described in INSTALL.vax.
                    495: </ul>
                    496:
                    497: <p>
                    498: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
                    499: <ul>
                    500: <p>
                    501: Using the Linux built-in graphical ipkg installer, install the
                    502: openbsd42_arm.ipk package.  Reboot, then run it.  Read INSTALL.zaurus
                    503: for a few important details.
                    504: </ul>
                    505:
                    506: <p>
                    507: <h3><font color="#e00000">Notes about the source code:</font></h3>
                    508: <ul>
                    509: src.tar.gz contains a source archive starting at /usr/src.  This file
                    510: contains everything you need except for the kernel sources, which are
                    511: in a separate archive.  To extract:
                    512: <p>
                    513: <ul><pre>
                    514: # <strong>mkdir -p /usr/src</strong>
                    515: # <strong>cd /usr/src</strong>
                    516: # <strong>tar xvfz /tmp/src.tar.gz</strong>
                    517: </pre></ul>
                    518: <p>
                    519: sys.tar.gz contains a source archive starting at /usr/src/sys.
                    520: This file contains all the kernel sources you need to rebuild kernels.
                    521: To extract:
                    522: <p>
                    523: <ul><pre>
                    524: # <strong>mkdir -p /usr/src/sys</strong>
                    525: # <strong>cd /usr/src</strong>
                    526: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
                    527: </pre></ul>
                    528: <p>
                    529: Both of these trees are a regular CVS checkout.  Using these trees it
                    530: is possible to get a head-start on using the anoncvs servers as
                    531: described <a href="anoncvs.html">here</a>.
                    532: Using these files
                    533: results in a much faster initial CVS update than you could expect from
                    534: a fresh checkout of the full OpenBSD source tree.
                    535: <p>
                    536: </ul>
                    537:
                    538: <a name="upgrade"></a>
                    539: <hr>
                    540: <p>
                    541: <h3><font color="#0000e0">How to upgrade</font></h3>
                    542: <p>
                    543: If you already have an OpenBSD 4.1 system, and do not want to reinstall,
                    544: upgrade instructions and advice can be found in the
                    545: <a href="faq/upgrade42.html">Upgrade Guide</a>.
                    546:
                    547: <a name="ports"></a>
                    548: <hr>
                    549: <p>
                    550: <h3><font color="#0000e0">Ports Tree</font></h3>
                    551: <p>
                    552: A ports tree archive is also provided.  To extract:
                    553: <p>
                    554: <ul><pre>
                    555: # <strong>cd /usr</strong>
                    556: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
                    557: # <strong>cd ports</strong>
                    558: </pre></ul>
                    559: <p>
                    560: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
                    561: read the <a href="ports.html">ports</a> page
                    562: if you know nothing about ports
                    563: at this point.  This text is not a manual of how to use ports.
                    564: Rather, it is a set of notes meant to kickstart the user on the
                    565: OpenBSD ports system.
                    566: <p>
                    567: The <i>ports/</i> directory represents a CVS (see the manpage for
                    568: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&amp;apropos=0&amp;sektion=1&amp;manpath=OpenBSD+Current&amp;arch=i386&amp;format=html">
                    569: cvs(1)</a> if
                    570: you aren't familiar with CVS) checkout of our ports.  As with our complete
                    571: source tree, our ports tree is available via anoncvs.  So, in
                    572: order to keep current with it, you must make the <i>ports/</i> tree
                    573: available on a read-write medium and update the tree with a command
                    574: like:
                    575: <p>
                    576: <ul><pre>
                    577: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_2</strong>
                    578: </pre></ul>
                    579: <p>
                    580: [Of course, you must replace the local directory and server name here
                    581: with the location of your ports collection and a nearby anoncvs
                    582: server.]
                    583: <p>
                    584: Note that most ports are available as packages through FTP. Updated
                    585: packages for the 4.2 release will be made available if problems arise.
                    586: <p>
                    587: If you're interested in seeing a port added, would like to help out, or just
                    588: would like to know more, the mailing list ports@openbsd.org is a good
                    589: place to know.
                    590: <p>
                    591:
                    592: <hr>
                    593: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
                    594: alt="OpenBSD"></a>
                    595: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
                    596: <br><small>
1.24    ! dlg       597: $OpenBSD: 42.html,v 1.23 2007/08/20 20:07:15 kili Exp $
1.1       jasper    598: </small>
                    599:
                    600: </body>
                    601: </html>