Annotation of www/51.html, Revision 1.7
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.1 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 5.1">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2011 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>
1.5 deraadt 21: <a href="images/Bugbusters.jpg">
1.1 deraadt 22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Bugbusters.jpg" alt="OpenBSD 5.1 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.1 Release:</font></h2>
25: <p>
26: To be released May 1, 2012<br>
27: Copyright 1997-2012, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-9-5</font>
29: <br>
30: <a href="lyrics.html#51">5.1 Song: "Bug Busters"</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/5.1/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
49: <li>Have a look at <a href="errata51.html">The 5.1 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus51.html">detailed log of changes</a> between the
52: 5.0 and 5.1 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 5.1.
70: For a comprehensive list, see the <a href="plus51.html">changelog</a> leading
71: to 5.1.
72: <p>
73:
74: <ul>
1.3 guenther 75: <li>Improved hardware support, including:
76: <ul>
1.7 ! sthen 77: <li>umsm(4) supports additional mobile broadband devices.
! 78: <li>Non-GigE ale(4) devices can now establish link to a GigE link partner.
1.3 guenther 79: <li>[Not written yet]
1.4 deraadt 80: </ul>
1.3 guenther 81: <p>
82:
83: <li>Generic network stack improvements:
84: <ul>
1.7 ! sthen 85: <li>NAT64 (NAT-PT) support in PF using the af-to keyword.
! 86: <li>RFC4638 MTU negotiation for pppoe(4).
! 87: <li>pflow(4) now supports Netflow v9/ipfix.
! 88: <li>Improved IPv6 fragment checking in PF and the network stack.
! 89: <li>Various enhancements with ICMP/ICMPv6 states in PF.
! 90: <li>Many robustness improvements for IEEE 802.11 (particularly hostap).
! 91: <li>pfsync(4) improvements including jumbo frames and automatically requesting a bulk update after a physical interface comes online.
! 92: <li>One-shot rule support for PF, for use with proxies via anchors.
! 93: <li>Improved vlan priority support, including mapping to interface queues.
1.4 deraadt 94: </ul>
1.3 guenther 95: <p>
96: <li>Routing daemons and other userland network improvements:
97: <ul>
98: <li>fstat now displays routing table ID and socket-splicing information and ps can display routing table ID.
1.7 ! sthen 99: <li>traceroute and traceroute6 can look up ASNs for each hop.
! 100: <li>snmpd(8) adds a MIB to show statistics for carp(4) interfaces.
! 101: <li>bgpctl parses and display MRT routing table dumps.
! 102: <li>ntpd supports multiple rdomains.
! 103: <li>When ospfd detects route socket overflow, it now delays before it reloads the fib.
! 104: <li>Improved and more consistent ToS support in various network tools (tcpbench/nc/ping/traceroute).
1.3 guenther 105: <li>[Not written yet]
1.4 deraadt 106: </ul>
1.3 guenther 107: <p>
1.4 deraadt 108:
1.3 guenther 109: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
110: <ul>
111: <li>[Not written yet]
1.4 deraadt 112: </ul>
1.3 guenther 113: <p>
114: <li>SCSI improvements:
115: <ul>
116: <li>[Not written yet]
1.4 deraadt 117: </ul>
1.3 guenther 118: <p>
119: <li>Assorted improvements:
120: <ul>
121: <li>Improved locale support.
122: <li>Support for MSG_NOSIGNAL
123: <li>KERN_PROC_CWD sysctl() for fetching the path to a process's working directory.
124: <li>Improved fnmatch(), glob(), and regcomp() implementations to resist DoS attacks.
125: <li>Lots of HISTORY and AUTHORS information added to manpages.
126: <li>Improved checking of file-offset wraparound.
127: <li>pwrite/pwritev now correctly ignored O_APPEND.
128: <li>Improved conformance of header files with standards.
129: <li>Improved cancelation support in both user-threads (libpthread) and rthreads.
130: <li>Improved correctness of execing, coredumping, signal delivery, alternate signal stacks, blocking socket accepts(), mutexes and condition variables, per-thread errno, symbol binding, and ktracing when rthreads are in use.
131: <li>Architecture-independent kernel support for thread-control-block handling for rthreads.
132: <li>Small improvements to Linux compat (only available on i386).
1.7 ! sthen 133: <li>Many improvements to the dpb tool used for bulk ports builds and distfile mirroring.
1.4 deraadt 134: </ul>
1.3 guenther 135: <p>
136: <li>Install/Upgrade process changes:
137: <ul>
138: <li>[Not written yet]
1.4 deraadt 139: </ul>
1.1 deraadt 140: <p>
141:
1.2 deraadt 142: <li>Over ?,??? ports, major robustness and speed improvements in package tools.
1.1 deraadt 143: <li>Many pre-built packages for each architecture:
144: <table border=0 cellspacing=0 cellpadding=2 width="95%">
145: <tr>
146: <td valign="top" width="25%">
147: <ul>
148: <li>i386: 7229
149: <li>sparc64: 6599
150: <li>alpha: 5943
151: </ul></td><td valign=top width="25%"><ul>
1.2 deraadt 152: <li>sh: ?
1.1 deraadt 153: <li>amd64: 7181
154: <li>powerpc: 6852
155: </ul></td><td valign=top width="25%"><ul>
156: <li>sparc: 4152
1.2 deraadt 157: <li>arm: ?
1.1 deraadt 158: <li>hppa: 6159
159: </ul></td><td valign=top width="25%"><ul>
160: <li>vax: 2199
1.2 deraadt 161: <li>mips64: ?
1.1 deraadt 162: <li>mips64el: 5807
163: </ul></td></tr></table>
164: <p>
165:
166: <li>Some highlights:
167: <ul>
168: <li>Gnome 2.32.2 <li>KDE 3.5.10
169: <li>Xfce 4.8.0 <li>MySQL 5.1.54
170: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
171: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
172: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
173: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
174: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
175: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
176: <li>Tcl 8.5.9 <li>Jdk 1.7
177: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
178: <li>Groff 1.21
179: </ul>
180: <p>
181:
182: <li>As usual, steady improvements in manual pages and other documentation.
183: <li>Base system and Xenocara manuals are now installed as source code,
184: making <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
185: <li>If both formatted and source versions of manuals are installed,
186: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
187:
188: - The system includes the following major components from outside suppliers:
1.6 matthieu 189: <li>Xenocara (based on X.Org 7.6 with xserver 1.11.4 + patches,
190: freetype 2.4.8, fontconfig 2.8.0, Mesa 7.10.3, xterm 276,
191: xkeyboard-config 2.5 and more)
1.1 deraadt 192: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
193: <li>Perl 5.12.2 (+ patches)
194: <li>Our improved and secured version of Apache 1.3, with
195: SSL/TLS and DSO support
196: <li>OpenSSL 1.0.0a (+ patches)
197: <li>Sendmail 8.14.5, with libmilter
198: <li>Bind 9.4.2-P2 (+ patches)
199: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
200: <li>Sudo 1.7.2p8
201: <li>Ncurses 5.7
202: <li>Heimdal 0.7.2 (+ patches)
203: <li>Arla 0.35.7
204: <li>Binutils 2.15 (+ patches)
205: <li>Gdb 6.3 (+ patches)
206: </ul>
207:
208: </ul>
209:
210: <a name="install"></a>
211: <hr>
212: <p>
213: <h3><font color="#0000e0">How to install</font></h3>
214: <p>
215: Following this are the instructions which you would have on a piece of
216: paper if you had purchased a CDROM set instead of doing an alternate
217: form of install. The instructions for doing an FTP (or other style
218: of) install are very similar; the CDROM instructions are left intact
219: so that you can see how much easier it would have been if you had
220: purchased a CDROM instead.
221: <p>
222:
223: <hr>
224: Please refer to the following files on the three CDROMs or FTP mirror for
225: extensive details on how to install OpenBSD 5.1 on your machine:
226: <p>
227: <ul>
228: <li>CD1:5.1/i386/INSTALL.i386
229: <p>
230: <li>CD2:5.1/amd64/INSTALL.amd64
231: <li>CD2:5.1/macppc/INSTALL.macppc
232: <p>
233: <li>CD3:5.1/sparc64/INSTALL.sparc64
234: <p>
235: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
236: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
237: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
238: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
239: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
240: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
241: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
242: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
243: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
244: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
245: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
246: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
247: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
248: </ul>
249: <hr>
250:
251: <p>
252: Quick installer information for people familiar with OpenBSD, and the
253: use of the "disklabel -E" command. If you are at all confused when
254: installing OpenBSD, read the relevant INSTALL.* file as listed above!
255: <p>
256:
257: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
258: <ul>
259: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
260: release is on CD1. If your BIOS does not support booting from CD, you will need
261: to create a boot floppy to install from. To create a boot floppy write
262: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
263:
264: <p>
265: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
266: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
267:
268: <p>
269: If you can't boot from a CD or a floppy disk,
270: you can install across the network using PXE as described in
271: the included INSTALL.i386 document.
272:
273: <p>
274: If you are planning on dual booting OpenBSD with another OS, you will need to
275: read INSTALL.i386.
276:
277: <p>
278: To make a boot floppy under MS-DOS, use the "rawrite" utility located
279: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
280: use the
281: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
282: utility. The following is an example usage of
283: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
284: where the device could be "floppy", "rfd0c", or
285: "rfd0a".
286:
287: <ul><pre>
288: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
289: </pre></ul>
290:
291: <p>
292: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
293: your install will most likely fail. For more information on creating a boot
294: floppy and installing OpenBSD/i386 please refer to
295: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
296: </ul>
297:
298: <p>
299: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
300: <ul>
301: The 5.1 release of OpenBSD/amd64 is located on CD2.
302: Boot from the CD to begin the install - you may need to adjust
303: your BIOS options first.
304: If you can't boot from the CD, you can create a boot floppy to install from.
305: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
306: boot from the floppy drive.
307:
308: <p>
309: If you can't boot from a CD or a floppy disk,
310: you can install across the network using PXE as described in the included
311: INSTALL.amd64 document.
312:
313: <p>
314: If you are planning to dual boot OpenBSD with another OS, you will need to
315: read INSTALL.amd64.
316: </ul>
317:
318: <p>
319: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
320: <ul>
321: Put CD2 in your CDROM drive and poweron your machine while holding down the
322: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
323:
324: <p>
325: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
326: /5.1/macppc/bsd.rd</i>
327: </ul>
328:
329: <p>
330: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
331: <ul>
332: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
333:
334: <p>
335: If this doesn't work, or if you don't have a CDROM drive, you can write
336: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
337: (depending on your machine) to a floppy and boot it with <i>boot
338: floppy</i>. Refer to INSTALL.sparc64 for details.
339:
340: <p>
341: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
342: will most likely fail.
343:
344: <p>
345: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
346: the disk and boot with <i>boot disk:b</i>.
347:
348: <p>
349: If nothing works, you can boot over the network as described in INSTALL.sparc64.
350: </ul>
351:
352: <p>
353: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
354: <ul>
355: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
356: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
357: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
358:
359: <p>
360: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
361: will most likely fail.
362:
363: </ul>
364:
365: <p>
366: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
367: <ul>
368: <p>
369: After connecting a serial port, Thecus can boot directly from the network
370: either tftp or http. Configure the network using fconfig, reset,
371: then load bsd.rd, see INSTALL.armish for specific details.
372: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
373: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
374: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
375: More details are available in INSTALL.armish.
376: </ul>
377:
378: <p>
379: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
380: <ul>
381: <p>
382: Boot over the network by following the instructions in INSTALL.hp300.
383: </ul>
384:
385: <p>
386: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
387: <ul>
388: <p>
389: Boot over the network by following the instructions in INSTALL.hppa or the
390: <a href="hppa.html#install">hppa platform page</a>.
391: </ul>
392:
393: <p>
394: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
395: <ul>
396: <p>
397: Write <i>miniroot51.fs</i> to the start of the CF
398: or disk, and boot normally.
399: </ul>
400:
401: <p>
402: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
403: <ul>
404: <p>
405: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
406: or boot bsd.rd via tftp.
407: Refer to the instructions in INSTALL.loongson for more details.
408: </ul>
409: <p>
410:
411: <p>
412: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
413: <ul>
414: <p>
415: You can create a bootable installation tape or boot over the network.<br>
416: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
417: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
418: for more details.
419: </ul>
420:
421: <p>
422: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
423: <ul>
424: <p>
425: You can create a bootable installation tape or boot over the network.<br>
426: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
427: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
428: for more details.
429: </ul>
430:
431: <p>
432: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
433: <ul>
434: <p>
435: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
436: machine and select <i>Install System Software</i> from the System Maintenance
437: menu.
438:
439: <p>
440: On other systems, or if your machine doesn't have a CD drive, you can
441: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
442: the kernel matching your system type.
443: Refer to the instructions in INSTALL.sgi for more details.
444: </ul>
445:
446: <p>
447: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
448: <ul>
449: <p>
450: After connecting a serial port, boot over the network via DHCP/tftp.
451: Refer to the instructions in INSTALL.socppc for more details.
452: </ul>
453:
454: <p>
455: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
456: <ul>
457: Boot from one of the provided install ISO images, using one of the two
458: commands listed below, depending on the version of your ROM.
459:
460: <ul><pre>
461: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
462: or
463: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
464: </pre></ul>
465:
466: <p>
467: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
468: To do so you need to write <i>floppy51.fs</i> to a floppy.
469: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
470: To boot from the floppy use one of the two commands listed below,
471: depending on the version of your ROM.
472:
473: <ul><pre>
474: ok <strong>boot floppy</strong>
475: or
476: > <strong>b fd()</strong>
477: </pre></ul>
478:
479: <p>
480: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
481: will most likely fail.
482:
483: <p>
484: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
485: setup a bootable tape, or install via network, as told in the
486: INSTALL.sparc file.
487: </ul>
488:
489: <p>
490: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
491: <ul>
492: Boot over the network via mopbooting as described in INSTALL.vax.
493: </ul>
494:
495: <p>
496: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
497: <ul>
498: <p>
499: Using the Linux built-in graphical ipkg installer, install the
500: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
501: for a few important details.
502: </ul>
503:
504: <p>
505: <h3><font color="#e00000">Notes about the source code:</font></h3>
506: <ul>
507: src.tar.gz contains a source archive starting at /usr/src. This file
508: contains everything you need except for the kernel sources, which are
509: in a separate archive. To extract:
510: <p>
511: <ul><pre>
512: # <strong>mkdir -p /usr/src</strong>
513: # <strong>cd /usr/src</strong>
514: # <strong>tar xvfz /tmp/src.tar.gz</strong>
515: </pre></ul>
516: <p>
517: sys.tar.gz contains a source archive starting at /usr/src/sys.
518: This file contains all the kernel sources you need to rebuild kernels.
519: To extract:
520: <p>
521: <ul><pre>
522: # <strong>mkdir -p /usr/src/sys</strong>
523: # <strong>cd /usr/src</strong>
524: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
525: </pre></ul>
526: <p>
527: Both of these trees are a regular CVS checkout. Using these trees it
528: is possible to get a head-start on using the anoncvs servers as
529: described <a href="anoncvs.html">here</a>.
530: Using these files
531: results in a much faster initial CVS update than you could expect from
532: a fresh checkout of the full OpenBSD source tree.
533: <p>
534: </ul>
535:
536: <a name="upgrade"></a>
537: <hr>
538: <p>
539: <h3><font color="#0000e0">How to upgrade</font></h3>
540: <p>
1.2 deraadt 541: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 542: upgrade instructions and advice can be found in the
543: <a href="faq/upgrade51.html">Upgrade Guide</a>.
544:
545: <a name="ports"></a>
546: <hr>
547: <p>
548: <h3><font color="#0000e0">Ports Tree</font></h3>
549: <p>
550: A ports tree archive is also provided. To extract:
551: <p>
552: <ul><pre>
553: # <strong>cd /usr</strong>
554: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
555: # <strong>cd ports</strong>
556: </pre></ul>
557: <p>
558: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
559: read the <a href="faq/ports/index.html">ports</a> page
560: if you know nothing about ports
561: at this point. This text is not a manual of how to use ports.
562: Rather, it is a set of notes meant to kickstart the user on the
563: OpenBSD ports system.
564: <p>
565: The <i>ports/</i> directory represents a CVS (see the manpage for
566: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
567: cvs(1)</a> if
568: you aren't familiar with CVS) checkout of our ports. As with our complete
569: source tree, our ports tree is available via anoncvs. So, in
570: order to keep current with it, you must make the <i>ports/</i> tree
571: available on a read-write medium and update the tree with a command
572: like:
573: <p>
574: <ul><pre>
1.2 deraadt 575: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 576: </pre></ul>
577: <p>
578: [Of course, you must replace the local directory and server name here
579: with the location of your ports collection and a nearby anoncvs
580: server.]
581: <p>
582: Note that most ports are available as packages through FTP. Updated
583: packages for the 5.1 release will be made available if problems arise.
584: <p>
585: If you're interested in seeing a port added, would like to help out, or just
586: would like to know more, the mailing list ports@openbsd.org is a good
587: place to know.
588: <p>
589:
590: <hr>
591: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
592: alt="OpenBSD"></a>
593: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
594: <br><small>
1.7 ! sthen 595: $OpenBSD: 51.html,v 1.6 2012/03/14 06:45:32 matthieu Exp $
1.1 deraadt 596: </small>
597:
598: </body>
599: </html>