Annotation of www/35.html, Revision 1.42
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 3.5 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.5">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.25 miod 11: <meta name="copyright" content="This document copyright 2004 by OpenBSD.">
1.1 deraadt 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/Carp.gif">
22: <img align="left" width="255" height="343" hspace="24" vspace="30"
23: src="images/Carp.gif" alt="OpenBSD 3.5 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 3.5 Release:</font></h2>
25: <p>
26: Released May 1, 2004<br>
27: Copyright 1997-2004, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 0-9731791-1-9</font>
29: <p>
30:
31: <a href="#new">What's New</a><br>
32: <a href="#install">How to install</a><br>
33: <a href="#ports">How to use the ports tree</a><br>
34: <a href="orders.html">Ordering a CD set</a><br>
35:
36: <p>
37: <h3><font color="#0000e0">
38: To get the files for this release:
39: <ul>
40: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
41: <li>See the information on <a href="ftp.html">The FTP page</a> for
42: a list of mirror machines.
43: <li>Go to the <font color="#e00000">pub/OpenBSD/3.5/</font> directory on
44: one of the mirror sites.
45: <li>Briefly read the rest of this document.
46: <li>Have a look at <a href="errata.html">The 3.5 Errata page</a> for a list
47: of bugs and workarounds.
48: <li>See a <a href="plus.html">detailed log of changes</a> between the
49: 3.4 and 3.5 releases.
50: </ul>
51: </font></h3>
52: <br clear=all>
53:
54: <strong>Note:</strong> All applicable copyrights and credits can be found
55: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
56: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
57: files used to build packages from the ports.tar.gz file are not included on
58: the CDROM because of lack of space.
59: <p>
60:
61: <a name="new"></a>
62: <hr>
63: <p>
64: <h3><font color="#0000e0">What's New</font></h3>
65: <p>
66: This is a partial list of new features and systems included in OpenBSD 3.5.
1.2 deraadt 67: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
1.1 deraadt 68: to 3.5.
69: <p>
70:
71: <ul>
72:
1.14 deraadt 73: <li> New platforms:
74: <ul>
75: <li><a href="http://www.openbsd.org/amd64.html">OpenBSD/amd64</a>
76: <li><a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a>
77: </ul>
78: <p>
79:
1.35 otto 80: <li>Replacement of the GNU
1.12 otto 81: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bc">bc(1)</a>,
82: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc">dc(1)</a>,
1.4 deraadt 83: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nm">nm(1)</a> and
84: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=size">size(1)</a>
1.1 deraadt 85: commands with BSD licensed equivalents.
86: <p>
87:
1.5 mcbride 88: <li>A large number of bug fixes, changes, and optimizations to our packet filter
89: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf">pf(4)</a>
90: including:
91: <ul>
1.19 otto 92: <li>Atomic commits of ruleset changes (reduce the chance of ending up in an
93: inconsistent state).
94: <li>A 30 percent reduction in the size of state table entries.
95: <li>Source-tracking (limit number of clients and states per client).
96: <li>Sticky-address (the flexibility of round-robin with the benefits of
97: source-hash).
98: <li>Invert the specific/general socket match order when redirecting to
1.34 avsm 99: localhost (prevents the potential security problem of remote connections
1.19 otto 100: being identified as local).
1.5 mcbride 101: <li>Significant improvements to interface handling.
102: </ul>
103: <p>
104:
105: <li>New tools for high availability and load balancing:
106: <ul>
107: <li>CARP (the Common Address Redundancy Protocol)
108: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp">carp(4)</a>
109: allows multiple machines to share responsibility for a given IP address or
110: addresses. If the owner of the address fails, another member of the group
111: will take over for it. A discussion of the history of CARP can be found
112: <a href="http://www.openbsd.org/lyrics.html">here</a>.
113: <li>Additions to the
114: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync">pfsync(4)</a>
115: interface allow it to synchronise state table entries between two or more
116: firewalls which are operating in parallel, allowing stateful connections
117: to cross any of the firewalls regardless of where the state was initially
118: created.
119: </ul>
120: <p>
121:
1.6 todd 122: <li> New functionality:
123: <ul>
124: <li>New ptm device (see <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pty&sektion=4">pty(4)</a>)
125: that allows non-privileged processes to allocate a properly-permissioned pty. No more setuid(root)
126: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xterm&sektion=1">xterm(1)</a>!
1.17 otto 127: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=closefrom&sektion=2">closefrom(2)</a>
128: system call has been added.
1.6 todd 129: <li>TCP MD5 signatures (used by <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>
1.17 otto 130: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>).
1.26 tom 131: <li>i386 and amd64 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pxeboot&sektion=8&arch=i386">pxeboot(8)</a>.
1.19 otto 132: <li>The i386 8GB boot loader limitation has been removed.
1.6 todd 133: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8">spamd(8)</a>
1.16 todd 134: gains <a href="http://projects.puremagic.com/greylisting/">greylisting</a> support.
1.6 todd 135: <li>Interface 'cloning,' accessed by
136: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>
1.19 otto 137: commands <em>create</em> and <em>destroy</em>. E.g. `ifconfig vlan100 create'.
1.17 otto 138: <li>The MAKEDEV(8) manual pages are now generated.
1.18 sturm 139: <li>Complete rewrite of package tools in perl.
1.21 djm 140: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogd&sektion=8">syslogd(8)</a>
141: now supports logging to memory buffers, to be read using
142: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogc&sektion=8">syslogc(8)</a>.
143: This is useful for diskless devices.
1.34 avsm 144: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsec&sektion=4">IPsec</a> ESP in UDP encapsulation.
1.33 otto 145: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">
1.34 avsm 146: malloc(3)</a> randomization and guard pages. This helps to detect out-of-bounds
1.33 otto 147: reads and writes.
1.6 todd 148: </ul>
149: <p>
150:
1.34 avsm 151: <li> Privilege separation added to allow complex operations to occur in an untrusted, unprivileged process:
1.6 todd 152: <ul>
153: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8">isakmpd(8)</a>
154: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=named&sektion=8">named(8)</a>
1.13 todd 155: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflogd&sektion=8">pflogd(8)</a>
1.6 todd 156: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>
157: </ul>
158: <p>
159:
160: <li> New tools:
161: <ul>
1.35 otto 162: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sensorsd&sektion=8">sensorsd(8)</a>, monitoring hardware sensors,
163: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=procmap&sektion=1">procmap(1)</a>, examine a process' memory map,
164: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>, implementing the <a href="http://www.rfc-editor.org/rfc/rfc1771.txt">BGP-4</a> routing protocol,
1.10 deraadt 165: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkill&sektion=1">pkill(1)</a> and
1.35 otto 166: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pgrep&sektion=1">pgrep(1)</a>, finding or signalling processes by name.
1.6 todd 167: </ul>
168: <p>
169:
1.23 henning 170: <li> Performance improvements:
171: <ul>
1.35 otto 172: <li>Improved connection/socket lookup - about 100 times faster at 10000 sockets than 3.4.
173: <li>TCP SYN cache.
1.23 henning 174: <li>OpenSSL speedup on i386, up to 100% improvement for md5, sha1, blowfish,
1.42 ! henning 175: des, 3des, rsa, dsa and bn.
! 176: <li>OpenSSL now uses the new AES instructions some VIA C3 processors provide
! 177: directly, increasing AES throughput by up to 3.5 times.
1.23 henning 178: </ul>
179: <p>
180:
1.29 henning 181: <li>Improved hardware support, including:
182: <ul>
1.35 otto 183: <li>The <a href="/hppa.html">hppa</a> architecture gets support for many
1.29 henning 184: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pci">PCI</a>
1.37 mickey 185: based machines w/ addition of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dino&sektion=4&arch=hppa">dino(4)</a> GSC-PCI bridge.
1.36 mickey 186: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop&sektion=4">oosiop(4)</a> driver for NCR 53C700 SCSI host adapters.
1.35 otto 187: <li>Big improvements to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahc&sektion=4">ahc(4)</a>, bringing support for many new models.
188: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bce&sektion=4">bce(4)</a> driver, supporting the Broadcom BCM4401 FastEthernet chipset.
189: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpt&sektion=4">mpt(4)</a> driver for LSI Fusion-MPT SCSI and FibreChannel host adapters.
1.39 henning 190: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snapper&arch=macppc&sektion=4&">snapper(4)</a> audio driver for recent iBook (since May 02) and PowerBook (since Apr 02) models.
1.32 otto 191: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wi&sektion=4">wi(4)</a> supports USB-based adapters and software WEP now.
1.29 henning 192: </ul>
1.20 otto 193: <p>
194:
1.18 sturm 195: <li> Over 2500 ports, 2300 pre-built packages.
196: <p>
197:
1.7 todd 198: <li>Many improvements for security and reliability (look for the red
199: print in the <a href="plus.html">complete changelog</a>).
200: <p>
201:
1.19 otto 202: <li>Many improvements in manual pages and other documentation.
203: <p>
204:
1.40 tdeval 205: <li>Gcc 3.3.2, including local additions like ProPolice support, for the
1.28 henning 206: <a href="http://www.openbsd.org/amd64.html">OpenBSD/amd64</a>,
207: <a href="http://www.openbsd.org/cats.html">OpenBSD/cats</a> and
208: <a href="http://www.openbsd.org/sparc64.html">OpenBSD/sparc64</a>
209: platforms.
210: Other architectures still use gcc 2.95.3 with the same local additions.
211: <p>
212:
213: <li>The system includes the following major components from outside suppliers:
214: <ul>
215: <li>XFree86 4.4.0 unencumbered (+ patches, and i386 contains 3.3.X servers also, thus
216: providing support for all chipsets)
1.40 tdeval 217: <li>Gcc 2.95.3 (+ patches) and 3.3.2 (+ patches)
1.28 henning 218: <li>Perl 5.8.2 (+ patches)
219: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
220: <li>OpenSSL 0.9.7c (+ patches)
221: <li>Groff 1.15
222: <li>Sendmail 8.12.11
223: <li>Bind 9.2.3 (+ patches)
224: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
225: <li>Sudo 1.6.7p5
226: <li>Ncurses 5.2
227: <li>Latest KAME IPv6
228: <li>Heimdal 0.6rc1 (+ patches)
229: <li>Arla-current
1.35 otto 230: <li>OpenSSH 3.8.1
1.28 henning 231: </ul>
232: <p>
1.1 deraadt 233:
234: </ul>
235:
236: <a name="install"></a>
237: <hr>
238: <p>
239: <h3><font color="#0000e0">How to install</font></h3>
240: <p>
241: Following this are the instructions which you would have on a piece of
242: paper if you had purchased a CDROM set instead of doing an alternate
243: form of install. The instructions for doing an ftp (or other style
244: of) install are very similar; the CDROM instructions are left intact
245: so that you can see how much easier it would have been if you had
246: purchased a CDROM instead.
247: <p>
248:
249: <hr>
250: Please refer to the following files on the three CDROMs or ftp mirror for
251: extensive details on how to install OpenBSD 3.5 on your machine:
252: <p>
253: <ul>
254: <li>CD1:3.5/i386/INSTALL.i386
1.2 deraadt 255: <li>CD1:3.5/vax/INSTALL.vax
1.1 deraadt 256: <p>
1.2 deraadt 257: <li>CD2:3.5/amd64/INSTALL.amd64
1.1 deraadt 258: <li>CD2:3.5/macppc/INSTALL.macppc
259: <p>
260: <li>CD3:3.5/sparc/INSTALL.sparc
261: <li>CD3:3.5/sparc64/INSTALL.sparc64
262: <p>
263: <li>FTP:.../OpenBSD/3.5/alpha/INSTALL.alpha
1.27 miod 264: <li>FTP:.../OpenBSD/3.5/cats/INSTALL.cats
1.1 deraadt 265: <li>FTP:.../OpenBSD/3.5/hp300/INSTALL.hp300
266: <li>FTP:.../OpenBSD/3.5/hppa/INSTALL.hppa
267: <li>FTP:.../OpenBSD/3.5/mac68k/INSTALL.mac68k
268: <li>FTP:.../OpenBSD/3.5/mvme68k/INSTALL.mvme68k
1.2 deraadt 269: <li>FTP:.../OpenBSD/3.5/mvme88k/INSTALL.mvme88k
1.1 deraadt 270: </ul>
271: <hr>
272:
273: <p>
274: Quick installer information for people familiar with OpenBSD, and the
275: use of the "disklabel -E" command. If you are at all confused when
276: installing OpenBSD, read the relevant INSTALL.* file as listed above!
277: <p>
278:
279: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
280: <ul>
281: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
282: release is on CD1. If your BIOS does not support booting from CD, you will need
283: to create a boot floppy to install from. To create a boot floppy write
1.2 deraadt 284: <i>CD1:3.5/i386/floppy35.fs</i> to a floppy and boot via the floppy drive.
1.1 deraadt 285:
286: <p>
1.2 deraadt 287: Use <i>CD1:3.5/i386/floppyB35.fs</i> instead for greater scsi controller
288: support, or <i>CD1:3.5/i386/floppyC35.fs</i> for better laptop support.
1.1 deraadt 289:
290: <p>
291: If you are planning on dual booting OpenBSD with another OS, you will need to
292: read the included INSTALL.i386 document.
293:
294: <p>
295: To make a boot floppy under MS-DOS, use the "rawrite" utility located
296: at <i>CD:/3.5/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
297: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
298: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
299: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)
300: </a>, where the device could be "floppy", "rfd0c", or
301: "rfd0a".
302:
303: <ul><pre>
304: # <strong>dd if=<file> of=/dev/<device> 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">FAQ4.1</a>.
312: </ul>
313:
314: <p>
315: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
316: <ul>
317: Put the CD2 in your CDROM drive and poweron your machine while holding down the
318: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
319:
320: <p>
321: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
322: /3.5/macppc/bsd.rd</i>
323: </ul>
324:
325: <p>
1.2 deraadt 326: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
327: <ul>
328: [write a chunk here]
329: </ul>
330:
331: <p>
1.1 deraadt 332: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
333: <ul>
334: Boot over the network via mopbooting as described in INSTALL.vax.
335: </ul>
336:
337: <p>
338: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
339: <ul>
340: The 3.5 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
341: can use one of the two commands listed below, depending on the version of your
342: ROM.
343:
344: <ul><pre>
345: > <strong>boot cdrom 3.5/sparc/bsd.rd</strong>
346: or
347: > <strong>boot sd(0,6,0)3.5/sparc/bsd.rd</strong>
348: </pre></ul>
349:
350: <p>
351: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2 deraadt 352: To do so you need to write "CD3:3.5/sparc/floppy35.fs" to a floppy.
1.1 deraadt 353: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
354: the floppy use one of the two commands listed below, depending on the version of
355: your ROM.
356:
357: <ul><pre>
358: > <strong>boot floppy</strong>
359: or
360: > <strong>boot fd()</strong>
361: </pre></ul>
362:
363: <p>
364: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
365: will most likely fail.
366:
367: <p>
368: If your sparc doesn't have a floppy drive nor a CD drive, you can either
369: setup a bootable tape, or install via network, as told in the
370: INSTALL.sparc file.
371: </ul>
372:
373: <p>
374: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
375: <ul>
376: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
377:
378: <p>
379: If this doesn't work, or if you don't have a CDROM drive, you can write
1.2 deraadt 380: <i>CD3:3.5/sparc64/floppy35.fs</i> to a floppy and boot it with <i>boot
1.1 deraadt 381: floppy</i>.<br>
382: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
383: will most likely fail.
384:
385: <p>
1.2 deraadt 386: You can also write <i>CD3:3.5/sparc64/miniroot35.fs</i> to the swap partition on
1.1 deraadt 387: the disk and boot with <i>boot disk:b</i>.
388:
389: <p>
390: If nothing works, you can boot over the network as described in INSTALL.sparc64
391: </ul>
392:
393: <p>
394: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
395: <ul>
1.2 deraadt 396: <p>Write <i>FTP:3.5/alpha/floppy35.fs</i> or
397: <i>FTP:3.5/alpha/floppyB35.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 398: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
399:
400: <p>
401: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
402: will most likely fail.
403:
404: </ul>
405:
406: <p>
407: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
408: <ul>
409: <p>
410: Boot over the network by following the instructions in INSTALL.hp300.
411: </ul>
412:
413: <p>
414: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
415: <ul>
416: <p>
417: Boot over the network by following the instructions in INSTALL.hppa or the
418: <a href="hppa.html#netboot">hppa platform page</a>.
419: </ul>
420:
421: <p>
422: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
423: <ul>
424: <p>
425: Boot MacOS as normal and partition your disk with the appropriate A/UX
426: configurations. Then, extract the Macside utilities from
427: <i>FTP:3.5/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
428: filesystems on the A/UX partitions you just made. Then, use the
429: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.5/mac68k/</i> onto your
430: partitions. Finally, you will be ready to configure the "BSD/Mac68k
431: Booter" with the location of your kernel and boot the system.
432: </ul>
433:
434: <p>
435: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
436: <ul>
437: <p>
438: You can create a bootable installation tape or boot over the network.<br>
439: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
440: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
441: for more details.
442: </ul>
443:
444: <p>
1.2 deraadt 445: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
446: <ul>
447: <p>
448: You can create a bootable installation tape or boot over the network.<br>
449: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
450: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
451: for more details.
452: </ul>
453:
454: <p>
1.1 deraadt 455: <h3><font color="#e00000">Notes about the source code:</font></h3>
456: <ul>
457: src.tar.gz contains a source archive starting at /usr/src. This file
458: contains everything you need except for the kernel sources, which are
459: in a separate archive. To extract:
460: <p>
461: <ul><pre>
462: # <strong>mkdir -p /usr/src</strong>
463: # <strong>cd /usr/src</strong>
464: # <strong>tar xvfz /tmp/src.tar.gz</strong>
465: </pre></ul>
466: <p>
467: sys.tar.gz contains a source archive starting at /usr/src/sys.
468: This file contains all the kernel sources you need to rebuild kernels.
469: To extract:
470: <p>
471: <ul><pre>
472: # <strong>mkdir -p /usr/src/sys</strong>
473: # <strong>cd /usr/src</strong>
474: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
475: </pre></ul>
476: <p>
477: Both of these trees are a regular CVS checkout. Using these trees it
478: is possible to get a head-start on using the anoncvs servers as
479: described <a href="anoncvs.html">here</a>.
480: Using these files
481: results in a much faster initial CVS update than you could expect from
482: a fresh checkout of the full OpenBSD source tree.
483: <p>
484: </ul>
485: <a name="ports"></a>
486: <hr>
487: <p>
488: <h3><font color="#0000e0">Ports Tree</font></h3>
489: <p>
490: A ports tree archive is also provided. To extract:
491: <p>
492: <ul><pre>
493: # <strong>cd /usr</strong>
494: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
495: # <strong>cd ports</strong>
496: </pre></ul>
497: <p>
498: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
499: read the <a href="ports.html">ports</a> page
500: if you know nothing about ports
501: at this point. This text is not a manual of how to use ports.
502: Rather, it is a set of notes meant to kickstart the user on the
503: OpenBSD ports system.
504: <p>
505: The <i>ports/</i> directory represents a CVS (see the manpage for
506: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
507: cvs(1)</a> if
508: you aren't familiar with CVS) checkout of our ports. As with our complete
509: source tree, our ports tree is available via anoncvs. So, in
510: order to keep current with it, you must make the <i>ports/</i> tree
511: available on a read-write medium and update the tree with a command
512: like:
513: <p>
514: <ul><pre>
1.2 deraadt 515: # <strong>cd [portsdir]/; cvs -d anoncvsserver.openbsd.org:/cvs update -Pd -rOPENBSD_3_5</strong>
1.1 deraadt 516: </pre></ul>
517: <p>
518: [Of course, you must replace the local directory and server name here
519: with the location of your ports collection and a nearby anoncvs
520: server.]
521: <p>
522: Note that most ports are available as packages through ftp. Updated
523: packages for the 3.5 release will be made available if problems arise.
524: <p>
525: If you're interested in seeing a port added, would like to help out, or just
526: would like to know more, the mailing list ports@openbsd.org is a good
527: place to know.
528: <p>
529:
530: <hr>
531: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
532: alt="OpenBSD"></a>
533: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
534: <br><small>
1.42 ! henning 535: $OpenBSD: 35.html,v 1.41 2004/03/24 16:26:22 hshoexer Exp $
1.1 deraadt 536: </small>
537:
538: </body>
539: </html>