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