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

Annotation of www/34.html, Revision 1.19

1.1       david       1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                      2: <html>
                      3: <head>
                      4: <title>OpenBSD 3.4 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 3.4">
                      9: <meta name="keywords" content="openbsd,main">
                     10: <meta name="distribution" content="global">
                     11: <meta name="copyright" content="This document copyright 2003 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/Hood.gif">
                     22: <img align="left" width="255" height="343" hspace="24"
                     23: src="images/Hood.gif" alt="OpenBSD 3.4 logo"></a>
                     24: <h2><font color="#0000e0">The OpenBSD 3.4 Release:</font></h2>
                     25: <p>
                     26:
                     27: Released Nov 1, 2003<br>
                     28: Copyright 1997-2003, Theo de Raadt.<br>
                     29: <font color="#e00000">ISBN 0-9731791-2-0</font>
                     30: <p>
                     31:
                     32: <a href="#new">What's New</a><br>
                     33: <a href="#install">How to install</a><br>
                     34: <a href="#ports">How to use the ports tree</a><br>
                     35: <a href="orders.html">Ordering a CD set</a><br>
                     36:
                     37: <p>
                     38: <h3><font color="#0000e0">
                     39: To get the files for this release:
                     40: <ul>
                     41: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
                     42: <li>See the information on <a href="ftp.html">The FTP page</a> for
1.8       david      43:     a list of mirror machines.
1.1       david      44: <li>Go to the <font color="#e00000">pub/OpenBSD/3.4/</font> directory on
1.8       david      45:     one of the mirror sites.
1.1       david      46: <li>Briefly read the rest of this document.
                     47: <li>Have a look at <a href="errata.html">The 3.4 Errata page</a> for a list
1.8       david      48:     of bugs and workarounds.
1.1       david      49: <li>See a <a href="plus.html">detailed log of changes</a> between the
1.8       david      50:     3.3 and 3.4 releases.
1.1       david      51: </ul>
                     52: </font></h3>
                     53: <br clear=all>
                     54: <br>
                     55: <p>
                     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 3.4.
                     70: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
                     71: to 3.4.
                     72: <p>
                     73:
                     74: <ul>
                     75:
1.13      david      76: <li>The i386 architecture has been switched to the ELF executable format so
                     77:     i386 upgrades are not possible for this release.
1.1       david      78: <p>
                     79:
1.6       tedu       80: <li>Further W^X improvements, including support for the i386 architecture.
                     81:     Native i386 binaries have their executable segments rearranged to support
1.14      deraadt    82:     isolating code from data, and the cpu CS limit is used to impose a best
                     83:     effort limit on code execution.
1.1       david      84: <p>
                     85:
1.6       tedu       86: <li>ld.so on ELF platforms now loads libraries in a random order for
1.14      deraadt    87:     greater resistance to attacks.  The i386 architecture also maps libraries
                     88:     somewhat randomized addresses.  Together with W^X and ProPolice, these
                     89:     changes increase the difficulty of successfully exploiting an application
                     90:     error, such as a buffer overflow.
1.1       david      91: <p>
                     92:
                     93: <li>A static bounds checker has been added to the compiler to perform basic
1.4       avsm       94:     checks on functions which accept buffers and sizes.  The checker aims to
1.8       david      95:     find common mistakes in the use of library functions such as
1.4       avsm       96:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>
                     97:     or <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sscanf">sscanf(3)</a>
                     98:     without emitting any false positives.  Running it over the source and ports
                     99:     trees revealed over a hundred real bugs, which were fixed and submitted back
                    100:     to the original authors where possible.
1.1       david     101: <p>
                    102:
1.6       tedu      103: <li>Privilege separation has been implemented for the syslog daemon, making
                    104:     it much more robust against future errors.  The child which listens to
                    105:     network traffic now runs as a normal user and chroots itself, while the
                    106:     parent process tracks the state of the child and performs privileged
                    107:     operations on its behalf.
1.1       david     108: <p>
                    109:
                    110: <li>Many unsafe string functions have been removed from the kernel and userland
1.6       tedu      111:     utilities.  This audit is one of the most comprehensive OpenBSD has ever
                    112:     done, with thousands of occurrences of
1.12      deraadt   113:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcpy">strcpy(3)</a>,
                    114:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcat">strcat(3)</a>,
                    115:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sprintf">sprintf(3)</a>,
1.8       david     116:     and
1.12      deraadt   117:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsprintf">vsprintf(3)</a>
1.4       avsm      118:     being replaced with safer, bounded alternatives such as
1.12      deraadt   119:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>,
                    120:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat">strlcat(3)</a>,
                    121:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snprintf">snprintf(3)</a>,
                    122:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsnprintf">vsnprintf(3)</a>,
                    123:     and
                    124:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asprintf">asprintf(3)</a>.
1.1       david     125: <p>
                    126:
1.13      david     127: <li><a href="http://www.research.ibm.com/trl/projects/security/ssp/">
                    128:     ProPolice</a> stack protection has been enabled in the kernel as well.
1.1       david     129: <p>
                    130:
1.18      avsm      131: <li>Privilege separation has been implemented in the X server.  The privileged
1.15      david     132:     child process is responsible for the operations that can't be done after the
                    133:     main process has switched to a non-privileged user. This greatly reduces the
                    134:     potential damage that could be caused by malicious X clients, in case of
                    135:     bugs in the X server.
                    136: <p>
                    137:
1.16      tedu      138: <li>Emulation support for binary compatibility is now controlled via sysctl.
1.19    ! tedu      139:     Emulation is now disabled by default to limit exposure to malicious
        !           140:     binaries, and can be enabled in
        !           141:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl.conf">
        !           142:     sysctl.conf(5)</a>.
1.16      tedu      143: <p>
                    144:
1.1       david     145: <li>Manual pages have been greatly cleaned up and improved.
                    146: <p>
                    147:
1.8       david     148: <li>The ports tree now supports building programs under
                    149:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systrace">
                    150:     systrace(1)</a>, preventing the possibility of applications harming the
                    151:     system at compile-time via trojaned configuration scripts or otherwise.
1.1       david     152: <p>
                    153:
1.3       jason     154: <li>More licenses fixes, including the removal of the advertising clause
1.6       tedu      155:     for large parts of the source tree.
                    156: <p>
                    157:
1.11      deraadt   158: <li>Replacement of GNU diff/diff3, grep/egrep/fgrep/zgrep/zegrep/zfgrep,
                    159: and gzip/zcat/gunzip/gzcat/zcmp/zmore/zdiff/zforce/gzexe/znew
                    160: with BSD licensed equivalents.
1.6       tedu      161: <p>
                    162:
                    163: <li>Addition of read-only support for NTFS file systems.
                    164: <p>
                    165:
                    166: <li>Reliability improvements to layered file systems, enabling NULLFS to
                    167:     work again.
                    168: <p>
                    169:
1.19    ! tedu      170: <li>Improvements to the Linux emulator enabling more applications to run.
1.6       tedu      171: <p>
                    172:
1.16      tedu      173: <li>Significant improvements to the pthread library.
                    174: <p>
                    175:
                    176: <li>Replace many static fd_set uses to poll() or dynamic allocation.
                    177: <p>
                    178:
1.13      david     179: <li>Legacy KerberosIV support has been removed, and the remaining KerberosV
                    180:     codebase has been restructured for easier management.
1.3       jason     181: <p>
                    182:
1.13      david     183: <li>Over 2400 ports, 2200 pre-built packages.
1.1       david     184: <p>
                    185:
                    186: <li>A large number of bug fixes, changes, and optimizations to our packet filter
                    187:     including:
                    188: <ul>
1.9       dhartmei  189: <li>packet tagging  (e.g. filter on tags added by bridge based on MAC address)
1.10      frantzen  190: <li>stateful TCP normalization (prevent uptime calculation and NAT detection)
1.9       dhartmei  191: <li>passive OS detection (filter or redirect connections based on source OS)
                    192: <li>SYN proxy (protect servers against SYN flood attacks)
                    193: <li>adaptive state timeouts (prevent state table overflows under attack)
1.1       david     194: </ul>
                    195: <p>
                    196:
1.16      tedu      197: <li>Improved hardware support, including:
                    198: <ul>
                    199: <li>Kauai ATA controllers (Apple ATA100 wdc) enabling support for
                    200:     Powerbook 12" and 17" models.
                    201: <li>Support for controlling LongRun registers on Transmeta CPUs.
1.19    ! tedu      202: <li>Many fixes to
        !           203:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aac">aac(4)</a>,
        !           204:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahc">ahc(4)</a>,
        !           205:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop">osiop(4)</a>,
        !           206:     and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop">siop(4)</a>
        !           207:     SCSI drivers.
        !           208: <li>New
        !           209:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=it">it(4)</a>,
        !           210:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lm">lm(4)</a>,
        !           211:     and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=viaenv">viaenv(4)</a>
        !           212:     hardware monitor drivers.
        !           213: <li>New
        !           214:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=safe">safe(4)</a>
        !           215:     driver for SafeNet crypto acclerators.
        !           216: <li>New
        !           217:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mtd">mtd(4)</a>
        !           218:     driver for Myson Technologies network cards.
        !           219: <li>More ethernet cards supported by
        !           220:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fxp">fxp(4)</a>
        !           221:     and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc&sektion=4">dc(4)</a>.
        !           222: <li>Massive overhaul and sync with NetBSD of the entire
        !           223:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usb&sektion=4">usb(4)</a>
        !           224:     support system.
        !           225: <li>New and better support for various controllers in
        !           226:     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide">pciide(4)</a>,
        !           227:     including experimental support for Serial ATA.
1.16      tedu      228: </ul>
                    229: <p>
                    230:
1.1       david     231: <li>The system includes the following major components from outside suppliers:
                    232: <ul>
1.7       david     233: <li>XFree86 4.3.0 (+ patches, and i386 contains 3.3.X servers also, thus
                    234:     providing support for all chipsets)
1.1       david     235: <li>Gcc 2.95.3 (+ patches)
                    236: <li>Perl 5.8.0 (+ patches)
                    237: <li>Apache 1.3.28, mod_ssl 2.8.15, DSO support (+ patches)
                    238: <li>OpenSSL 0.9.7beta3 (+ patches)
                    239: <li>Groff 1.15
                    240: <li>Sendmail 8.12.9
                    241: <li>Bind 9.2.2 (+ patches)
1.5       avsm      242: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
1.1       david     243: <li>Sudo 1.6.7p5
                    244: <li>Ncurses 5.2
                    245: <li>Latest KAME IPv6
                    246: <li>Heimdal 0.6rc1 (+ patches)
                    247: <li>Arla-current
1.17      david     248: <li>OpenSSH 3.7 (now with GSSAPI support)
1.1       david     249: </ul>
                    250: <p>
                    251:
                    252: <p>
                    253: <li>Many improvements for security and reliability (look for the red
                    254: print in the <a href="plus.html">complete changelog</a>).
                    255: <p>
                    256: <li> and much more.
                    257:
                    258: </ul>
                    259:
                    260: <a name="install"></a>
                    261: <hr>
                    262: <p>
                    263: <h3><font color="#0000e0">How to install</font></h3>
                    264: <p>
                    265: Following this are the instructions which you would have on a piece of
                    266: paper if you had purchased a CDROM set instead of doing an alternate
                    267: form of install.  The instructions for doing an ftp (or other style
                    268: of) install are very similar; the CDROM instructions are left intact
                    269: so that you can see how much easier it would have been if you had
                    270: purchased a CDROM instead.
                    271: <p>
                    272:
                    273: <hr>
                    274: Please refer to the following files on the three CDROMs or ftp mirror for
                    275: extensive details on how to install OpenBSD 3.4 on your machine:
                    276: <p>
                    277: <ul>
1.8       david     278: <li>CD1:3.4/i386/INSTALL.i386
1.1       david     279: <p>
1.8       david     280: <li>CD2:3.4/macppc/INSTALL.macppc
                    281: <li>CD2:3.4/vax/INSTALL.vax
1.1       david     282: <p>
1.8       david     283: <li>CD3:3.4/sparc/INSTALL.sparc
                    284: <li>CD3:3.4/sparc64/INSTALL.sparc64
1.1       david     285: <p>
1.8       david     286: <li>FTP:.../OpenBSD/3.4/alpha/INSTALL.alpha
                    287: <li>FTP:.../OpenBSD/3.4/hp300/INSTALL.hp300
                    288: <li>FTP:.../OpenBSD/3.4/hppa/INSTALL.hppa
                    289: <li>FTP:.../OpenBSD/3.4/mac68k/INSTALL.mac68k
                    290: <li>FTP:.../OpenBSD/3.4/mvme68k/INSTALL.mvme68k
1.1       david     291: </ul>
                    292: <hr>
                    293:
                    294: <p>
                    295: Quick installer information for people familiar with OpenBSD, and the
                    296: use of the "disklabel -E" command.  If you are at all confused when
                    297: installing OpenBSD, read the relevant INSTALL.* file as listed above!
                    298: <p>
                    299:
                    300: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
                    301: <ul>
                    302: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
                    303: release is on CD1. If your BIOS does not support booting from CD, you will need
                    304: to create a boot floppy to install from. To create a boot floppy write
                    305: <i>CD1:3.4/i386/floppy34.fs</i> to a floppy and boot via the floppy drive.
                    306:
                    307: <p>
                    308: Use <i>CD1:3.4/i386/floppyB34.fs</i> instead for greater scsi controller
                    309: support, or <i>CD1:3.4/i386/floppyC34.fs</i> for better laptop support.
                    310:
                    311: <p>
1.2       david     312: If you are planning on dual booting OpenBSD with another OS, you will need to
                    313: read the included INSTALL.i386 document.
1.1       david     314:
                    315: <p>
                    316: To make a boot floppy under MS-DOS, use the &quot;rawrite&quot; utility located
1.2       david     317: at <i>CD:/3.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
                    318: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
                    319: dd&amp;sektion=1">dd(1)</a> utility. The following is an example usage of
                    320: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&amp;sektion=1">dd(1)
                    321: </a>, where the device could be &quot;floppy&quot;, &quot;rfd0c&quot;, or
                    322: &quot;rfd0a&quot;.
1.1       david     323:
                    324: <ul><pre>
                    325: # <strong>dd if=&lt;file&gt; of=/dev/&lt;device&gt; bs=32k</strong>
                    326: </pre></ul>
                    327:
                    328: <p>
1.2       david     329: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
                    330: your install will most likely fail. For more information on creating a boot
                    331: floppy and installing OpenBSD/i386 please refer to
                    332: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
1.1       david     333: </ul>
                    334:
                    335: <p>
                    336: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
                    337: <ul>
                    338: Put the CD2 in your CDROM drive and poweron your machine while holding down the
                    339: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
                    340:
                    341: <p>
                    342: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                    343: /3.4/macppc/bsd.rd</i>
                    344: </ul>
                    345:
                    346: <p>
                    347: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
                    348: <ul>
                    349: Boot over the network via mopbooting as described in INSTALL.vax.
                    350: </ul>
                    351:
                    352: <p>
                    353: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
                    354: <ul>
1.2       david     355: The 3.4 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
                    356: can use one of the two commands listed below, depending on the version of your
                    357: ROM.
1.1       david     358:
                    359: <ul><pre>
1.8       david     360: &gt; <strong>boot cdrom 3.4/sparc/bsd.rd</strong>
1.1       david     361: or
1.8       david     362: &gt; <strong>boot sd(0,6,0)3.4/sparc/bsd.rd</strong>
1.1       david     363: </pre></ul>
                    364:
                    365: <p>
                    366: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2       david     367: To do so you need to write &quot;CD3:3.4/sparc/floppy34.fs&quot; to a floppy.
                    368: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
                    369: the floppy use one of the two commands listed below, depending on the version of
                    370: your ROM.
1.1       david     371:
                    372: <ul><pre>
1.8       david     373: &gt; <strong>boot floppy</strong>
1.1       david     374: or
1.8       david     375: &gt; <strong>boot fd()</strong>
1.1       david     376: </pre></ul>
                    377:
                    378: <p>
1.2       david     379: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    380: will most likely fail.
1.1       david     381:
                    382: <p>
                    383: If your sparc doesn't have a floppy drive nor a CD drive, you can either
                    384: setup a bootable tape, or install via network, as told in the
                    385: INSTALL.sparc file.
                    386: </ul>
                    387:
                    388: <p>
                    389: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
                    390: <ul>
                    391: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
                    392:
                    393: <p>
                    394: If this doesn't work, or if you don't have a CDROM drive, you can write
                    395: <i>CD3:3.4/sparc64/floppy34.fs</i> to a floppy and boot it with <i>boot
                    396: floppy</i>.<br>
1.2       david     397: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    398: will most likely fail.
1.1       david     399:
                    400: <p>
                    401: You can also write <i>CD3:3.4/sparc64/miniroot34.fs</i> to the swap partition on
                    402: the disk and boot with <i>boot disk:b</i>.
                    403:
                    404: <p>
                    405: If nothing works, you can boot over the network as described in INSTALL.sparc64
                    406: </ul>
                    407:
                    408: <p>
                    409: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
                    410: <ul>
                    411: <p>Write <i>FTP:3.4/alpha/floppy34.fs</i> or
                    412: <i>FTP:3.4/alpha/floppyB34.fs</i> (depending on your machine) to a diskette and
                    413: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
                    414:
                    415: <p>
1.2       david     416: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    417: will most likely fail.
1.1       david     418:
                    419: </ul>
                    420:
                    421: <p>
                    422: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
                    423: <ul>
                    424: <p>
                    425: Boot over the network by following the instructions in INSTALL.hp300.
                    426: </ul>
                    427:
                    428: <p>
                    429: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
                    430: <ul>
                    431: <p>
                    432: Boot over the network by following the instructions in INSTALL.hppa or the
                    433: <a href="hppa.html#netboot">hppa platform page</a>.
                    434: </ul>
                    435:
                    436: <p>
                    437: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
                    438: <ul>
                    439: <p>
                    440: Boot MacOS as normal and partition your disk with the appropriate A/UX
                    441: configurations.  Then, extract the Macside utilities from
                    442: <i>FTP:3.4/mac68k/utils</i> onto your hard disk.  Run Mkfs to create your
                    443: filesystems on the A/UX partitions you just made.  Then, use the
                    444: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.4/mac68k/</i> onto your
                    445: partitions.  Finally, you will be ready to configure the "BSD/Mac68k
                    446: Booter" with the location of your kernel and boot the system.
                    447: </ul>
                    448:
                    449: <p>
                    450: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
                    451: <ul>
                    452: <p>
                    453: You can create a bootable installation tape or boot over the network.<br>
                    454: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
                    455: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
                    456: for more details.
                    457: </ul>
                    458:
                    459: <p>
                    460: <h3><font color="#e00000">Notes about the source code:</font></h3>
                    461: <ul>
                    462: src.tar.gz contains a source archive starting at /usr/src.  This file
                    463: contains everything you need except for the kernel sources, which are
                    464: in a separate archive.  To extract:
                    465: <p>
                    466: <ul><pre>
                    467: # <strong>mkdir -p /usr/src</strong>
                    468: # <strong>cd /usr/src</strong>
                    469: # <strong>tar xvfz /tmp/src.tar.gz</strong>
                    470: </pre></ul>
                    471: <p>
                    472: sys.tar.gz contains a source archive starting at /usr/src/sys.
                    473: This file contains all the kernel sources you need to rebuild kernels.
                    474: To extract:
                    475: <p>
                    476: <ul><pre>
                    477: # <strong>mkdir -p /usr/src/sys</strong>
                    478: # <strong>cd /usr/src</strong>
                    479: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
                    480: </pre></ul>
                    481: <p>
                    482: Both of these trees are a regular CVS checkout.  Using these trees it
                    483: is possible to get a head-start on using the anoncvs servers as
                    484: described <a href="anoncvs.html">here</a>.
                    485: Using these files
                    486: results in a much faster initial CVS update than you could expect from
                    487: a fresh checkout of the full OpenBSD source tree.
                    488: <p>
                    489: </ul>
                    490: <a name="ports"></a>
                    491: <hr>
                    492: <p>
                    493: <h3><font color="#0000e0">Ports Tree</font></h3>
                    494: <p>
                    495: A ports tree archive is also provided.  To extract:
                    496: <p>
                    497: <ul><pre>
                    498: # <strong>cd /usr</strong>
                    499: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
                    500: # <strong>cd ports</strong>
                    501: </pre></ul>
                    502: <p>
                    503: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree.  Go
                    504: read the <a href="ports.html">ports</a> page
                    505: if you know nothing about ports
                    506: at this point.  This text is not a manual of how to use ports.
                    507: Rather, it is a set of notes meant to kickstart the user on the
                    508: OpenBSD ports system.
                    509: <p>
                    510: Certainly, the OpenBSD ports system is not complete.  It is doubtful it
                    511: will ever be. However, it is growing very fast and getting more stable.
                    512: Almost all ports provided with this release should build without problems
                    513: on most architectures (over 2400 packages build on i386, for instance).
                    514: <p>
                    515: The <i>ports/</i> directory represents a CVS (see the manpage for
                    516: <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">
                    517: cvs(1)</a> if
                    518: you aren't familiar with CVS) checkout of our ports.  As with our complete
                    519: source tree, our ports tree is available via anoncvs.  So, in
                    520: order to keep current with it, you must make the <i>ports/</i> tree
                    521: available on a read-write medium and update the tree with a command
                    522: like:
                    523: <p>
                    524: <ul><pre>
                    525: # <strong>cd [portsdir]/; cvs -d anoncvsserver.openbsd.org:/cvs update -Pd -rOPENBSD_3_4</strong>
                    526: </pre></ul>
                    527: <p>
                    528: [Of course, you must replace the local directory and server name here
                    529: with the location of your ports collection and a nearby anoncvs
                    530: server.]
                    531: <p>
                    532: Note that most ports are available as packages through ftp. Updated
                    533: packages for the 3.4 release will be made available if problems arise.
                    534: <p>
                    535: If you're interested in seeing a port added, would like to help out, or just
                    536: would like to know more, the mailing list ports@openbsd.org is a good
                    537: place to know.
                    538: <p>
                    539:
                    540: <hr>
                    541: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
                    542: alt="OpenBSD"></a>
                    543: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
                    544: <br><small>
1.19    ! tedu      545: $OpenBSD: 34.html,v 1.18 2003/09/04 21:52:55 avsm Exp $
1.1       david     546: </small>
                    547:
                    548: </body>
                    549: </html>