Annotation of www/52.html, Revision 1.91
1.89 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.68 deraadt 5: <title>OpenBSD 5.2</title>
1.1 deraadt 6: <meta name="description" content="OpenBSD 5.2">
1.80 tj 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.82 tb 9: <link rel="canonical" href="https://www.openbsd.org/52.html">
1.1 deraadt 10:
1.89 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.89 bentley 13: <i>Open</i><b>BSD</b></a>
14: 5.2
1.80 tj 15: </h2>
1.1 deraadt 16:
1.89 bentley 17: <table>
18: <tr>
19: <td>
1.1 deraadt 20: <a href="images/Brazil.jpg">
1.89 bentley 21: <img width="227" height="300" src="images/Brazil.jpg" alt="Brazil"></a>
22: <td>
1.65 gsoares 23: Released Nov 1, 2012<br>
1.1 deraadt 24: Copyright 1997-2012, Theo de Raadt.<br>
1.89 bentley 25: <cite class=isbn>ISBN 978-0-9881561-0-4</cite>
1.1 deraadt 26: <br>
1.76 deraadt 27: 5.2 Song: <a href="lyrics.html#52">"Aquarela do Linux"</a>
1.88 deraadt 28: <br>
29: <br>
1.1 deraadt 30: <ul>
31: <li>See the information on <a href="ftp.html">The FTP page</a> for
32: a list of mirror machines.
1.89 bentley 33: <li>Go to the <code class=reldir>pub/OpenBSD/5.2/</code> directory on
1.1 deraadt 34: one of the mirror sites.
35: <li>Have a look at <a href="errata52.html">The 5.2 Errata page</a> for a list
36: of bugs and workarounds.
37: <li>See a <a href="plus52.html">detailed log of changes</a> between the
38: 5.1 and 5.2 releases.
39: </ul>
1.80 tj 40: <p>
41: All applicable copyrights and credits are in the src.tar.gz,
42: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
43: files fetched via ports.tar.gz.
1.89 bentley 44: </table>
1.80 tj 45:
46: <hr>
1.1 deraadt 47:
1.89 bentley 48: <section id=new>
49: <h3>What's New</h3>
1.1 deraadt 50: <p>
51: This is a partial list of new features and systems included in OpenBSD 5.2.
52: For a comprehensive list, see the <a href="plus52.html">changelog</a> leading
53: to 5.2.
54: <p>
55:
56: <ul>
1.89 bentley 57: <li><a href="https://man.openbsd.org/pthreads.3">pthreads(3)</a> support:
1.1 deraadt 58: <ul>
59: <li>The most significant change in this release is the replacement of
1.29 matthew 60: the user-level uthreads by kernel-level rthreads, allowing multithreaded
61: programs to utilize multiple CPUs/cores.
1.1 deraadt 62: <li>Use PTHREAD_MUTEX_STRICT_NP as default mutex type.
1.6 guenther 63: <li>Added pthread spinlock and barrier routines.
1.89 bentley 64: <li>Added <a href="https://man.openbsd.org/pthread_mutex_lock.3">pthread_mutex_timedlock(3)</a> and <a href="https://man.openbsd.org/sem_wait.3">sem_timedwait(3)</a>.
65: <li>Added <a href="https://man.openbsd.org/pthread_condattr_init.3">pthread_condattr_setclock(3)</a>.
66: <li>Added support for live multi-threaded debugging in <a href="https://man.openbsd.org/gdb.1">gdb(1)</a>.
67: <li>Improved handling for <a href="https://man.openbsd.org/getrusage.2">rusage</a> totals and <a href="https://man.openbsd.org/getitimer.2">interval timers</a> in threaded processes.
68: <li>Changed the RLIMIT_NPROC <a href="https://man.openbsd.org/getrlimit.2">rlimit</a> to count processes instead of threads.
69: <li>Added a new system limit <a href="https://man.openbsd.org/sysctl.8">kern.maxthread</a> for the max number of threads.
70: <li>Closed race conditions in thread creation, and in <a href="https://man.openbsd.org/fork.2">fork(2)</a> and <a href="https://man.openbsd.org/open.2">open(2)</a> in a threaded process.
71: <li>Improved handling of threaded processes in <a href="https://man.openbsd.org/ps.1">ps(1)</a>, <a href="https://man.openbsd.org/top.1">top(1)</a>, and <a href="https://man.openbsd.org/fstat.1">fstat(1)</a>.
72: <li>Changed the lock around <a href="https://man.openbsd.org/dlfcn.3">dlopen()</a> to be recursive, so that dl*() operations from <a href="https://man.openbsd.org/atexit.3">atexit()</a> handlers don't deadlock.
1.21 guenther 73: <li>Many fixes to pthread attribute and mutex error checking and cancellation handling.
1.1 deraadt 74: </ul>
75: <p>
76:
77: <li>Improved hardware support, including:
78: <ul>
1.89 bentley 79: <li>Added hibernation support on i386. Currently only working on <a href="https://man.openbsd.org/pciide.4">pciide(4)</a> and <a href="https://man.openbsd.org/wd.4">wd(4)</a> disks.
80: <li>Improved support for ALPS based touchpads in <a href="https://man.openbsd.org/wsmouse.4">wsmouse(4)</a> and the <a href="https://man.openbsd.org/synaptics.4">synaptics(4)</a> X.Org input driver.
81: <li>Performance improvements with <a href="https://man.openbsd.org/ix.4">ix(4)</a> Intel 10Gb Ethernet NICs.
82: <li>Support for i350 based devices in <a href="https://man.openbsd.org/em.4">em(4)</a>.
83: <li>Flow control support for <a href="https://man.openbsd.org/bnx.4">bnx(4)</a>.
84: <li>Hardware watchdog and HPET support for <a href="https://man.openbsd.org/amd64/tcpcib.4">tcpcib(4)</a> (Intel Atom E600) as found in some embedded x86 systems.
85: <li><a href="https://man.openbsd.org/urndis.4">urndis(4)</a> supports additional Android devices.
86: <li>Support for Winbond W83627UHG has been added to <a href="https://man.openbsd.org/wbsio.4">wbsio(4)</a>.
87: <li>Support for the SMBus controller of the AMD CS5536 in <a href="https://man.openbsd.org/i386/i386/glxpcib.4">glxpcib(4)</a> and the NVIDIA MCP89 in <a href="https://man.openbsd.org/nviic.4">nviic(4)</a>.
88: <li>Support for AX88772B based devices has been added to <a href="https://man.openbsd.org/axe.4">axe(4)</a>.
89: <li>Support for MCS7832 based devices has been added to <a href="https://man.openbsd.org/mos.4">mos(4)</a>.
1.90 deraadt 90: <li>Support for the Roland UM-ONE has been added to <a href="https://man.openbsd.org/umidi.4">umidi(4)</a>.
1.89 bentley 91: <li>Support for the AMD Hudson-2 chipset has been added to <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> and <a href="https://man.openbsd.org/piixpm.4">piixpm(4)</a>.
1.90 deraadt 92: <li>Support for NetMos NM9820 cardbus serial cards has been added to <a href="https://man.openbsd.org/com.4">com(4)</a>.
1.89 bentley 93: <li>Support for Huawei Mobile E303 has been added to <a href="https://man.openbsd.org/umsm.4">umsm(4)</a>.
1.82 tb 94: <li>The <a href="sgi.html">sgi</a> port now supports the R4000 Indigo (IP20), Indy (IP22), R4000 Indigo2 (IP24) and POWER Indigo2 R10000 (IP28) families.
1.1 deraadt 95: </ul>
96: <p>
97:
98: <li>Generic network stack improvements:
99: <ul>
1.30 claudio 100: <li>Increased TCP initial window to 14600 bytes as proposed in
101: draft-ietf-tcpm-initcwnd.
1.10 sthen 102: <li>Cleanup handling of sockaddrs in degenerate use cases.
1.32 lteo 103: <li>Improved handling of error and limit cases in file descriptor passing.
1.30 claudio 104: <li>Improved socketbuffer handling for AF_UNIX sockets.
1.62 deraadt 105: <li>Fix yet another file descriptor leak in message passing.
1.6 guenther 106: <li>Improved error handling in socket splicing.
1.12 sperreau 107: <li>IPv6 privacy addresses now appear alongside SLAAC addresses.
1.89 bentley 108: <li>Support for Extended Sequence Numbers has been added to the IPsec stack and <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
109: <li>Bridging two IPv4 networks over an IPv6 link with <a href="https://man.openbsd.org/gif.4">gif(4)</a> is now possible.
1.1 deraadt 110: </ul>
111: <p>
112:
113: <li>Routing daemons and other userland network improvements:
114: <ul>
1.89 bentley 115: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
116: <a href="https://man.openbsd.org/dvmrpd.8">dvmrpd(8)</a>,
117: <a href="https://man.openbsd.org/ftp-proxy.8">ftp-proxy(8)</a>,
118: <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
119: <a href="https://man.openbsd.org/iscsid.8">iscsid(8)</a>,
120: <a href="https://man.openbsd.org/ldapd.8">ldapd(8)</a>,
121: <a href="https://man.openbsd.org/ldpd.8">ldpd(8)</a>,
122: <a href="https://man.openbsd.org/nsd.8">nsd(8)</a>,
123: <a href="https://man.openbsd.org/ospf6d.8">ospf6d(8)</a>,
124: <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>,
125: <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>,
126: <a href="https://man.openbsd.org/ripd.8">ripd(8)</a>,
127: <a href="https://man.openbsd.org/sndiod.8">sndiod(8)</a>,
128: <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>,
129: <a href="https://man.openbsd.org/spamd.8">spamd(8)</a>,
130: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
131: <a href="https://man.openbsd.org/tcpbench.1">tcpbench(1)</a> and
132: <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>
1.1 deraadt 133: now rate limit their accepting of new connections when experiencing file descriptor exhaustion.
1.89 bentley 134: <li>Allow <a href="https://man.openbsd.org/route.8">route(8)</a> destination/prefixlen syntax for IPv6 routes.
135: <li>ASCII packet dumping support in <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
136: <li>Better etherip and BGP protocol support in <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
137: <li><a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a> and
138: <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>
1.34 mikeb 139: now recognize additional Internet Key Exchange DH groups.
1.89 bentley 140: <li>Various improvements in <a href="https://man.openbsd.org/iked.8">iked(8)</a>
1.38 lteo 141: including support for retransmits.
1.89 bentley 142: <li><a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>
1.1 deraadt 143: now allows SA lifetimes to be specified in its
1.89 bentley 144: <a href="https://man.openbsd.org/ipsec.conf.5">ipsec.conf(5)</a>
1.1 deraadt 145: file.
1.89 bentley 146: <li><a href="https://man.openbsd.org/tftpd.8">tftpd(8)</a> rewritten as a persistent, non-blocking daemon.
147: <li><a href="https://man.openbsd.org/tftp.1">tftp(1)</a> client now supports IPv6.
148: <li><a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> now supports PF-MIB, UCD-DISKIO-MIB, and
1.9 sthen 149: additional OIDs in HOST-RESOURCES-MIB.
1.89 bentley 150: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> is now more robust when encountering network instability.
151: <li>Adjust the <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> route decision code to cover checks needed due to route reflection.
152: <li>Various fixes to improve error reporting in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> including support of RFC 6608.
153: <li>For debugging purposes <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> can load MRT dumps into <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>.
154: <li>Fixed distribution of MPLS VPN routes in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>.
155: <li>Introduced a new option "selected" to the <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> "show rib" command to show only selected routes.
156: <li>Correctly support the LSA_TYPE_AREA_OPAQ and LSA_TYPE_AS_OPAQ types in <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>.
157: <li>Make <a href="https://man.openbsd.org/relayd.8">relayd(8)</a> able to handle transactions larger than 2GB in size.
158: <li>Various bug fixes and better HTTP standard compliance in <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>.
159: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a>
1.20 lteo 160: can now advertise DNS servers and search paths in router advertisements.
1.89 bentley 161: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a>
1.20 lteo 162: can now send router advertisements with no prefix information using the noifprefix option.
1.89 bentley 163: <li><a href="https://man.openbsd.org/ftp.1">ftp(1)</a>
1.20 lteo 164: client now allows the source IP address of the connection to be specified.
1.89 bentley 165: <li><a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>
1.24 jmatthew 166: now handles larger directories and is more tolerant when processing groups.
1.89 bentley 167: <li>Added support for AF_INET6 to <a href="https://man.openbsd.org/inet_net_pton.3">inet_net_pton(3)</a> and <a href="https://man.openbsd.org/inet_net_ntop.3">inet_net_ntop(3)</a>.
1.1 deraadt 168: </ul>
169: <p>
170:
1.89 bentley 171: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> improvements:
1.1 deraadt 172: <ul>
1.89 bentley 173: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> now ignores/preserves the lower 2 bits of the tos-header (used for Explicit Congestion Notification).
174: <li>Allow more than 16 <a href="https://man.openbsd.org/pflog.4">pflog(4)</a> interfaces.
175: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> now supports weighted least-states load balancing.
1.30 claudio 176: <li>The prio and tos options are now part of the "set { }" block.
1.89 bentley 177: See <a href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a>.
1.66 lteo 178: <li>Allow setting the tos on IPv6 packets.
1.89 bentley 179: <li>Better demotion handling in <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> to prevent failovers without having a full state table.
180: <li>Fixed printing of wildcard anchors in <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a>.
1.1 deraadt 181: </ul>
182: <p>
183:
184: <li>Assorted improvements:
185: <ul>
1.89 bentley 186: <li>Added <a href="https://man.openbsd.org/nginx.8">nginx(8)</a>,
1.1 deraadt 187: an HTTP server, reverse proxy server and mail proxy server.
1.8 espie 188: <li>Added SQLite 3.7.13, a self-contained SQL database engine.
1.89 bentley 189: <li><a href="https://man.openbsd.org/pcap.3">libpcap</a>
1.1 deraadt 190: has been updated with several core functions from tcpdump.org's libpcap-1.2.0 API, without
191: the clutter.
192: <li>Disabled SSLv2 in OpenSSL.
1.89 bentley 193: <li>Moved <a href="https://man.openbsd.org/libtool.1">libtool(1)</a> into the base system. Much work remains to be done.
194: <li>Removed <a href="https://man.openbsd.org/OpenBSD+5.1/lint.1">lint(1)</a>.
195: <li>Removed the <a href="https://man.openbsd.org/OpenBSD+5.1/raid.4">raid(4)</a>
1.38 lteo 196: RAIDframe driver and its corresponding
1.89 bentley 197: <a href="https://man.openbsd.org/OpenBSD+5.1/raidctl.8">raidctl(8)</a> utility.
1.90 deraadt 198: RAIDframe has been superseded by <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.89 bentley 199: <li>Added <a href="https://man.openbsd.org/posix_spawn.3">posix_spawn(3)</a>.
200: <li>Added <a href="https://man.openbsd.org/mbsnrtowcs.3">mbsnrtowcs(3)</a>
201: and <a href="https://man.openbsd.org/wcsnrtombs.3">wcsnrtombs(3)</a>.
202: <li>Added <a href="https://man.openbsd.org/getdelim.3">getdelim(3)</a>
203: and <a href="https://man.openbsd.org/getline.3">getline(3)</a>.
204: <li>More configuration variables for <a href="https://man.openbsd.org/sysconf.3">sysconf(3)</a> and
205: <a href="https://man.openbsd.org/pathconf.2">pathconf(2)</a>.
206: <li><a href="https://man.openbsd.org/dirfd.3">dirfd(3)</a>
1.17 lteo 207: is now a function instead of a macro.
1.89 bentley 208: <li><a href="https://man.openbsd.org/posix_memalign.3">posix_memalign(3)</a>
1.16 lteo 209: supports arbitrarily large alignments.
1.89 bentley 210: <li>Improved <a href="https://man.openbsd.org/realloc.3">realloc(3)</a> performance.
211: <li><a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>
1.16 lteo 212: recognizes the DF_1_NOOPEN flag and refuses to
1.89 bentley 213: <a href="https://man.openbsd.org/dlopen.3">dlopen(3)</a>
1.16 lteo 214: shared objects linked with "-z nodlopen".
1.6 guenther 215: <li>Improved compliance and/or cleanliness of header files, particularly
1.7 guenther 216: <dirent.h>, <time.h>, <sys/time.h>, <limits.h>,
1.6 guenther 217: <arpa/inet.h>, <netinet/in.h>, and <sys/param.h>.
218: <li>Improved kernel uvm memory allocator.
1.38 lteo 219: <li>Added support for using AMT to provide console-over-Ethernet (c.f. the
1.87 bentley 220: <a href="https://cvsweb.openbsd.org/ports/comms/amtterm/">amtterm</a> package).
1.38 lteo 221: <li>Improved support for amd64 systems with many memory extents.
1.89 bentley 222: <li><a href="https://man.openbsd.org/compat_linux.8">compat_linux(8)</a>
1.16 lteo 223: improvements: TLS-vs-clone and futex fixes, added support
1.6 guenther 224: for statfs64(), tgkill(), gettid(), SOCK_CLOEXEC, and SOCK_NONBLOCK.
1.89 bentley 225: <li><a href="https://man.openbsd.org/kdump.1">kdump(1)</a>
1.16 lteo 226: improvements, including the ability to show thread IDs and dumping of timespec, timeval, sigaction, rlimit, sigset, clockid, and fdset arguments and results.
1.89 bentley 227: <li>Various improvements in <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>:
1.31 lteo 228: reliability fixes, new MTA client, new scheduler and improved queue logic, simplified
1.89 bentley 229: <a href="https://man.openbsd.org/smtpd.conf.5">smtpd.conf(5)</a>
1.31 lteo 230: syntax, better RFC compliance and several cosmetic changes.
1.89 bentley 231: <li>The <a href="https://man.openbsd.org/mg.1">mg(1)</a>
1.35 lum 232: emacs-like editor now supports cscope functionality.
233: Also, backup files can now be saved to a user's home directory in addition to the current working directory.
1.89 bentley 234: <li>Fixed operation of <a href="https://man.openbsd.org/kvm_getfiles.3">kvm_getfile2()</a> (and therefore <a href="https://man.openbsd.org/fstat.1">fstat(1)</a> and <a href="https://man.openbsd.org/pstat.8">pstat(8)</a>) on kernel crash dumps.
235: <li>Improved emacs-style key bindings and handling of large arrays in <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>.
236: <li><a href="https://man.openbsd.org/halt.8">halt(8)</a> disables "suspend-on-lid-close" so that you don't accidentally suspend instead of shutting down.
237: <li>Improvements to parallel <a href="https://man.openbsd.org/make.1">make(1)</a>: added the .CHEAP and .EXPENSIVE special targets and fixed glitches in already-rebuilt logic.
238: <li>The <a href="https://cvsweb.openbsd.org/ports/devel/libusb1/">libusb</a> package is able to access non-<a href="https://man.openbsd.org/ugen.4">ugen(4)</a> devices for some operations, allowing e.g. <a href="https://cvsweb.openbsd.org/ports/sysutils/ykpers/">programming YubiKeys</a> with a standard kernel.
239: <li>Various improvements in <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>:
1.38 lteo 240: a new unified tree view to select sessions or windows,
241: new move-pane and renumber-windows commands,
242: a history of pane layouts,
243: simple output rate limiting, and
244: custom formats (-F) have been extended and are now accepted by more commands.
1.89 bentley 245: <li><a href="https://man.openbsd.org/fsck_msdos.8">fsck_msdos(8)</a> now works on devices with non-512 byte sectors.
246: <li><a href="https://man.openbsd.org/quotacheck.8">quotacheck(8)</a> now works with DUID based <a href="https://man.openbsd.org/fstab.5">fstab(5)</a> files.
247: <li>Numerous minor improvement to <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>, including more sanity checking and better default partition sizing on large disks.
248: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> now discards trailing NULs in option data, and in general parses option data with more paranoia.
249: <li>Various improvements to <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> startup and timeout handling.
250: <li><a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> does a better job of calculating physical memory during partition auto-allocation of devices with non-512 byte sectors.
251: <li>SCSI errors are now correctly propagated to userland, e.g. <a href="https://man.openbsd.org/mount.2">mount(2)</a> now reports specific errors such as trying to mount RW filesystems from RO media.
1.64 deraadt 252: <li>Improved FAT media handling: autorecognize such media even if the 0x55aa signature is missing and prevent the writing of an OpenBSD disklabel over the FAT data structures.
1.47 rpe 253: <li>The MS-DOS FAT filesystem implementation gained a significant write speedup for large files (up to twice as fast).
1.1 deraadt 254: </ul>
255: <p>
256:
257: <li>OpenSSH 6.1:
258: <ul>
259: <li>New features:
260: <ul>
1.89 bentley 261: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 262: This release turns on pre-auth sandboxing sshd by default for new installs,
263: by setting UsePrivilegeSeparation=sandbox in sshd_config.
1.89 bentley 264: <li><a href="https://man.openbsd.org/ssh-keygen.1">sshd-keygen(1)</a>:
1.27 rpe 265: Add options to specify starting line number and number of lines to process
266: when screening moduli candidates, allowing processing of different parts of
1.32 lteo 267: a candidate moduli file in parallel.
1.89 bentley 268: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 269: The Match directive now supports matching on the local (listen) address and
270: port upon which the incoming connection was received via LocalAddress and
271: LocalPort clauses.
1.89 bentley 272: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.32 lteo 273: Extend sshd_config Match directive to allow setting AcceptEnv and {Allow,Deny}{Users,Groups}.
1.27 rpe 274: <li>Add support for RFC6594 SSHFP DNS records for ECDSA key types. (bz#1978)
1.89 bentley 275: <li><a href="https://man.openbsd.org/ssh-keygen.1">sshd-keygen(1)</a>:
1.63 sobrado 276: Allow conversion of RSA1 keys to public PEM and PKCS8.
1.89 bentley 277: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 278: Allow the sshd_config PermitOpen directive to accept "none" as an argument to
279: refuse all port-forwarding requests.
1.89 bentley 280: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.32 lteo 281: Support "none" as an argument for AuthorizedPrincipalsFile.
1.89 bentley 282: <li><a href="https://man.openbsd.org/ssh-keyscan.1">sshd-keyscan(1)</a>:
1.27 rpe 283: Look for ECDSA keys by default. (bz#1971)
1.89 bentley 284: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 285: Add "VersionAddendum" to sshd_config to allow server operators to append some
286: arbitrary text to the server SSH protocol banner.
1.1 deraadt 287: </ul>
288: <li>The following significant bugs have been fixed in this release:
289: <ul>
1.89 bentley 290: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a> and
291: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.27 rpe 292: Don't spin in accept() in situations of file descriptor exhaustion. Instead
293: back off for a while.
1.89 bentley 294: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a> and
295: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.27 rpe 296: Remove hmac-sha2-256-96 and hmac-sha2-512-96 MACs as they were removed from
297: the specification. (bz#2023)
1.89 bentley 298: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 299: Handle long comments in config files better. (bz#2025)
1.89 bentley 300: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.27 rpe 301: Delay setting tty_flag so RequestTTY options are correctly picked up. (bz#1995)
1.89 bentley 302: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.27 rpe 303: Fix handling of /etc/nologin incorrectly being applied to root on platforms
304: that use login_cap.
1.1 deraadt 305: </ul>
306: </ul>
307: <p>
308:
1.90 deraadt 309: <li>Over 7600 ports, major performance and stability improvements in
1.32 lteo 310: the package build process:
1.1 deraadt 311: <ul>
1.8 espie 312: <li>dpb got simpler and faster. Handles distfiles, works without any
1.66 lteo 313: options.
1.17 lteo 314: <li>Simpler and less error-prone mechanisms for handling MD differences.
1.8 espie 315: <li>dpb is now used for mirroring distfiles, to the great joy of
1.83 tb 316: <a href="https://ftp.openbsd.org/pub/OpenBSD/distfiles/">https://ftp.openbsd.org/pub/OpenBSD/distfiles/</a>
1.53 espie 317: <li>full databases of all ports available as packages:
318: <ul>
1.89 bentley 319: <li>pkglocatedb - a <a href="https://man.openbsd.org/locate.1">locate(1)</a> database of all files in all packages
320: <li>sqlports - a <a href="https://man.openbsd.org/sqlite3.1">sqlite3(1)</a> database of all meta-info for all packages
1.53 espie 321: <li>ports-readmes - a tree of html files for browsing thru available packages
322: </ul>
1.1 deraadt 323: </ul>
324: <p>
325: <li>Many pre-built packages for each architecture:
1.89 bentley 326: <ul style="column-count: 4">
1.1 deraadt 327: <li>i386: 7483
328: <li>sparc64: 6820
329: <li>alpha: 5993
1.61 pirofti 330: <li>sh: 2412
1.1 deraadt 331: <li>amd64: 7439
332: <li>powerpc: 7050
333: <li>sparc: 4466
1.60 sthen 334: <li>arm: 5802
1.1 deraadt 335: <li>hppa: 6316
1.58 sebastia 336: <li>vax: 2279
1.1 deraadt 337: <li>mips64: 5845
338: <li>mips64el: 5908
1.89 bentley 339: </ul>
1.1 deraadt 340: <p>
341:
342: <li>Some highlights:
343: <ul>
1.11 sthen 344: <li>GNOME 3.4.2 <li>KDE 3.5.10
1.1 deraadt 345: <li>Xfce 4.10 <li>MySQL 5.1.63
346: <li>PostgreSQL 9.1.4 <li>Postfix 2.9.3
347: <li>OpenLDAP 2.3.43 and 2.4.31 <li>Mozilla Firefox 3.5.19, 3.6.28 and 13.0.1
348: <li>Mozilla Thunderbird 13.0.1 <li>GHC 7.0.4
349: <li>LibreOffice 3.5.5.3 <li>Emacs 21.4, 22.3 and 23.4
350: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.14
351: <li>Python 2.5.4, 2.7.3 and 3.2.3 <li>Ruby 1.8.7.370 and 1.9.3.194
1.56 sthen 352: <li>Tcl/Tk 8.5.11 <li>Jdk 1.7
1.1 deraadt 353: <li>Mono 2.10.9 <li>Chromium 20.0.1132.57
354: <li>Groff 1.21 <li>Go 1.0.2
355: <li>GCC 4.6.3 and 4.7.1 <li>LLVM/Clang 3.1
1.20 lteo 356: <li>Lua 5.1.5 and 5.2.1
1.1 deraadt 357: </ul>
358: <p>
359:
360: <li>As usual, steady improvements in manual pages and other documentation.
361: <p>
362:
363: <li>The system includes the following major components from outside suppliers:
364: <ul>
1.3 matthieu 365: <li>Xenocara (based on X.Org 7.7 with xserver 1.12.2 + patches,
366: freetype 2.4.10, fontconfig 2.8.0, Mesa 7.10.3, xterm 279,
367: xkeyboard-config 2.6 and more)
1.66 lteo 368: <li>Gcc 4.2.1 (+ patches) and 2.95.3 (+ patches)
1.1 deraadt 369: <li>Perl 5.12.2 (+ patches)
370: <li>Our improved and secured version of Apache 1.3, with
371: SSL/TLS and DSO support
372: <li>Nginx 1.2.2 (+ patches)
373: <li>OpenSSL 1.0.0f (+ patches)
374: <li>SQLite 3.7.13 (+ patches)
375: <li>Sendmail 8.14.5, with libmilter
376: <li>Bind 9.4.2-P2 (+ patches)
377: <li>NSD 3.2.11
378: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
379: <li>Sudo 1.7.2p8
380: <li>Ncurses 5.7
381: <li>Heimdal 0.7.2 (+ patches)
382: <li>Arla 0.35.7
383: <li>Binutils 2.15 (+ patches)
384: <li>Gdb 6.3 (+ patches)
385: <li>Less 444 (+ patches)
386: <li>Awk Aug 10, 2011 version
387: </ul>
388: </ul>
1.89 bentley 389: </section>
1.1 deraadt 390:
391: <hr>
1.89 bentley 392:
393: <section id=install>
394: <h3>How to install</h3>
1.1 deraadt 395: <p>
396: Following this are the instructions which you would have on a piece of
397: paper if you had purchased a CDROM set instead of doing an alternate
398: form of install. The instructions for doing an FTP (or other style
399: of) install are very similar; the CDROM instructions are left intact
400: so that you can see how much easier it would have been if you had
401: purchased a CDROM instead.
402: <p>
403:
404: <hr>
405: Please refer to the following files on the three CDROMs or FTP mirror for
406: extensive details on how to install OpenBSD 5.2 on your machine:
407: <p>
408: <ul>
1.91 ! deraadt 409: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/i386/INSTALL.i386">
! 410: .../OpenBSD/5.2/i386/INSTALL.i386 (on CD1)</a>
1.1 deraadt 411: <p>
1.91 ! deraadt 412: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/amd64/INSTALL.amd64">
! 413: .../OpenBSD/5.2/amd64/INSTALL.amd64 (on CD2)</a>
1.1 deraadt 414: <p>
1.91 ! deraadt 415: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/sparc64/INSTALL.sparc64">
! 416: .../OpenBSD/5.2/sparc64/INSTALL.sparc64 (on CD3)</a>
1.1 deraadt 417: <p>
1.91 ! deraadt 418: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/alpha/INSTALL.alpha">
! 419: .../OpenBSD/5.2/alpha/INSTALL.alpha</a>
! 420: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/armish/INSTALL.armish">
! 421: .../OpenBSD/5.2/armish/INSTALL.armish</a>
! 422: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/hp300/INSTALL.hp300">
! 423: .../OpenBSD/5.2/hp300/INSTALL.hp300</a>
! 424: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/hppa/INSTALL.hppa">
! 425: .../OpenBSD/5.2/hppa/INSTALL.hppa</a>
! 426: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/landisk/INSTALL.landisk">
! 427: .../OpenBSD/5.2/landisk/INSTALL.landisk</a>
! 428: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/loongson/INSTALL.loongson">
! 429: .../OpenBSD/5.2/loongson/INSTALL.loongson</a>
! 430: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/luna88k/INSTALL.luna88k">
! 431: .../OpenBSD/5.2/luna88k/INSTALL.luna88k</a>
! 432: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/macppc/INSTALL.macppc">
! 433: .../OpenBSD/5.2/macppc/INSTALL.macppc</a>
! 434: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/mvme68k/INSTALL.mvme68k">
! 435: .../OpenBSD/5.2/mvme68k/INSTALL.mvme68k</a>
! 436: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/mvme88k/INSTALL.mvme88k">
! 437: .../OpenBSD/5.2/mvme88k/INSTALL.mvme88k</a>
! 438: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/sgi/INSTALL.sgi">
! 439: .../OpenBSD/5.2/sgi/INSTALL.sgi</a>
! 440: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/socppc/INSTALL.socppc">
! 441: .../OpenBSD/5.2/socppc/INSTALL.socppc</a>
! 442: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/sparc/INSTALL.sparc">
! 443: .../OpenBSD/5.2/sparc/INSTALL.sparc</a>
! 444: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/vax/INSTALL.vax">
! 445: .../OpenBSD/5.2/vax/INSTALL.vax</a>
! 446: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/INSTALL.zaurus">
! 447: .../OpenBSD/5.2/zaurus/INSTALL.zaurus</a>
1.1 deraadt 448: </ul>
1.91 ! deraadt 449: </section>
! 450:
1.1 deraadt 451: <hr>
452:
1.89 bentley 453: <section id=quickinstall>
454:
1.1 deraadt 455: <p>
456: Quick installer information for people familiar with OpenBSD, and the
457: use of the "disklabel -E" command. If you are at all confused when
458: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.89 bentley 459:
460: <h3>OpenBSD/i386:</h3>
461:
1.1 deraadt 462: <p>
463: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
464: release is on CD1. If your BIOS does not support booting from CD, you will need
465: to create a boot floppy to install from. To create a boot floppy write
466: <i>CD1:5.2/i386/floppy52.fs</i> to a floppy and boot via the floppy drive.
467:
468: <p>
469: Use <i>CD1:5.2/i386/floppyB52.fs</i> instead for greater SCSI controller
470: support, or <i>CD1:5.2/i386/floppyC52.fs</i> for better laptop support.
471:
472: <p>
473: If you can't boot from a CD or a floppy disk,
474: you can install across the network using PXE as described in
475: the included INSTALL.i386 document.
476:
477: <p>
478: If you are planning on dual booting OpenBSD with another OS, you will need to
479: read INSTALL.i386.
480:
481: <p>
482: To make a boot floppy under MS-DOS, use the "rawrite" utility located
483: at <i>CD1:5.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
484: use the
1.89 bentley 485: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.1 deraadt 486: utility. The following is an example usage of
1.89 bentley 487: <a href="https://man.openbsd.org/dd.1">dd(1)</a>,
1.1 deraadt 488: where the device could be "floppy", "rfd0c", or
489: "rfd0a".
490:
1.89 bentley 491: <blockquote><pre>
1.91 ! deraadt 492: # <kbd>dd if=<file> of=/dev/<device> bs=32k</kbd>
1.89 bentley 493: </pre></blockquote>
1.1 deraadt 494:
495: <p>
496: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
497: your install will most likely fail. For more information on creating a boot
498: floppy and installing OpenBSD/i386 please refer to
1.81 tj 499: <a href="faq/faq4.html#MkFlop">this page</a>.
1.89 bentley 500:
501: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 502:
503: <p>
504: The 5.2 release of OpenBSD/amd64 is located on CD2.
505: Boot from the CD to begin the install - you may need to adjust
506: your BIOS options first.
507: If you can't boot from the CD, you can create a boot floppy to install from.
508: To do this, write <i>CD2:5.2/amd64/floppy52.fs</i> to a floppy, then
509: boot from the floppy drive.
510:
511: <p>
512: If you can't boot from a CD or a floppy disk,
513: you can install across the network using PXE as described in the included
514: INSTALL.amd64 document.
515:
516: <p>
517: If you are planning to dual boot OpenBSD with another OS, you will need to
518: read INSTALL.amd64.
1.89 bentley 519:
520: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 521:
522: <p>
523: Burn the image from the FTP site to a CDROM, and poweron your machine
524: while holding down the <i>C</i> key until the display turns on and
525: shows <i>OpenBSD/macppc boot</i>.
526:
527: <p>
528: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
529: /5.2/macppc/bsd.rd</i>
1.89 bentley 530:
531: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 532:
533: <p>
534: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
535:
536: <p>
537: If this doesn't work, or if you don't have a CDROM drive, you can write
538: <i>CD3:5.2/sparc64/floppy52.fs</i> or <i>CD3:5.2/sparc64/floppyB52.fs</i>
539: (depending on your machine) to a floppy and boot it with <i>boot
540: floppy</i>. Refer to INSTALL.sparc64 for details.
541:
542: <p>
543: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
544: will most likely fail.
545:
546: <p>
547: You can also write <i>CD3:5.2/sparc64/miniroot52.fs</i> to the swap partition on
548: the disk and boot with <i>boot disk:b</i>.
549:
550: <p>
551: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.89 bentley 552:
553: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 554:
555: <p>
1.91 ! deraadt 556: Write <i>5.2/alpha/floppy52.fs</i> or
! 557: <i>5.2/alpha/floppyB52.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 558: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
559:
560: <p>
561: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
562: will most likely fail.
563:
1.89 bentley 564: <h3>OpenBSD/armish:</h3>
1.1 deraadt 565:
566: <p>
567: After connecting a serial port, Thecus can boot directly from the network
568: either tftp or http. Configure the network using fconfig, reset,
569: then load bsd.rd, see INSTALL.armish for specific details.
570: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
571: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
572: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
573: More details are available in INSTALL.armish.
574:
1.89 bentley 575: <h3>OpenBSD/hp300:</h3>
576:
1.1 deraadt 577: <p>
578: Boot over the network by following the instructions in INSTALL.hp300.
1.89 bentley 579:
580: <h3>OpenBSD/hppa:</h3>
1.1 deraadt 581:
582: <p>
583: Boot over the network by following the instructions in INSTALL.hppa or the
584: <a href="hppa.html#install">hppa platform page</a>.
585:
1.89 bentley 586: <h3>OpenBSD/landisk:</h3>
587:
1.1 deraadt 588: <p>
589: Write <i>miniroot52.fs</i> to the start of the CF
590: or disk, and boot normally.
591:
1.89 bentley 592: <h3>OpenBSD/loongson:</h3>
593:
1.1 deraadt 594: <p>
595: Write <i>miniroot52.fs</i> to a USB stick and boot bsd.rd from it
596: or boot bsd.rd via tftp.
597: Refer to the instructions in INSTALL.loongson for more details.
598:
1.89 bentley 599: <h3>OpenBSD/luna88k:</h3>
600:
1.1 deraadt 601: <p>
602: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
603: Alternatively, you can create a bootable tape and boot from it. Refer to
604: the instructions in INSTALL.luna88k for more details.
605:
1.89 bentley 606: <h3>OpenBSD/mvme68k:</h3>
607:
1.1 deraadt 608: <p>
609: You can create a bootable installation tape or boot over the network.<br>
610: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
611: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
612: for more details.
1.89 bentley 613:
614: <h3>OpenBSD/mvme88k:</h3>
1.1 deraadt 615:
616: <p>
617: You can create a bootable installation tape or boot over the network.<br>
618: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
619: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
620: for more details.
621:
1.89 bentley 622: <h3>OpenBSD/sgi:</h3>
623:
1.1 deraadt 624: <p>
625: To install on an O2, burn cd52.iso on a CD-R, put it in the CD drive of your
626: machine and select <i>Install System Software</i> from the System Maintenance
627: menu.
628:
629: <p>
630: On other systems, or if your machine doesn't have a CD drive, you can
631: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
632: the kernel matching your system type.
633: Refer to the instructions in INSTALL.sgi for more details.
634:
1.89 bentley 635: <h3>OpenBSD/socppc:</h3>
636:
1.1 deraadt 637: <p>
638: After connecting a serial port, boot over the network via DHCP/tftp.
639: Refer to the instructions in INSTALL.socppc for more details.
1.89 bentley 640:
641: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 642:
643: <p>
644: Boot from one of the provided install ISO images, using one of the two
645: commands listed below, depending on the version of your ROM.
646:
1.89 bentley 647: <blockquote><pre>
648: ok <kbd>boot cdrom 5.2/sparc/bsd.rd</kbd>
1.1 deraadt 649: or
1.89 bentley 650: > <kbd>b sd(0,6,0)5.2/sparc/bsd.rd</kbd>
651: </pre></blockquote>
1.1 deraadt 652:
653: <p>
654: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
655: To do so you need to write <i>floppy52.fs</i> to a floppy.
1.81 tj 656: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 657: To boot from the floppy use one of the two commands listed below,
658: depending on the version of your ROM.
659:
1.89 bentley 660: <blockquote><pre>
661: ok <kbd>boot floppy</kbd>
1.1 deraadt 662: or
1.89 bentley 663: > <kbd>b fd()</kbd>
664: </pre></blockquote>
1.1 deraadt 665:
666: <p>
667: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
668: will most likely fail.
669:
670: <p>
671: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
672: setup a bootable tape, or install via network, as told in the
673: INSTALL.sparc file.
1.89 bentley 674:
675: <h3>OpenBSD/vax:</h3>
1.1 deraadt 676:
677: <p>
678: Boot over the network via mopbooting as described in INSTALL.vax.
1.89 bentley 679:
680: <h3>OpenBSD/zaurus:</h3>
1.1 deraadt 681:
682: <p>
683: Using the Linux built-in graphical ipkg installer, install the
684: openbsd52_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
685: for a few important details.
1.91 ! deraadt 686: </section>
1.89 bentley 687:
1.91 ! deraadt 688: <hr>
1.89 bentley 689:
690: <section id=sourcecode>
1.91 ! deraadt 691: <h3>Notes about the source code</h3>
1.1 deraadt 692: <p>
693: src.tar.gz contains a source archive starting at /usr/src. This file
694: contains everything you need except for the kernel sources, which are
695: in a separate archive. To extract:
1.89 bentley 696:
697: <blockquote><pre>
698: # <kbd>mkdir -p /usr/src</kbd>
699: # <kbd>cd /usr/src</kbd>
700: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
701: </pre></blockquote>
702:
1.1 deraadt 703: <p>
704: sys.tar.gz contains a source archive starting at /usr/src/sys.
705: This file contains all the kernel sources you need to rebuild kernels.
706: To extract:
1.89 bentley 707:
708: <blockquote><pre>
709: # <kbd>mkdir -p /usr/src/sys</kbd>
710: # <kbd>cd /usr/src</kbd>
1.91 ! deraadt 711: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.89 bentley 712: </pre></blockquote>
713:
1.1 deraadt 714: <p>
715: Both of these trees are a regular CVS checkout. Using these trees it
716: is possible to get a head-start on using the anoncvs servers as
717: described <a href="anoncvs.html">here</a>.
718: Using these files
719: results in a much faster initial CVS update than you could expect from
720: a fresh checkout of the full OpenBSD source tree.
1.89 bentley 721: </section>
722:
1.1 deraadt 723: <hr>
1.89 bentley 724:
725: <section id=upgrade>
726: <h3>How to upgrade</h3>
1.1 deraadt 727: <p>
728: If you already have an OpenBSD 5.1 system, and do not want to reinstall,
729: upgrade instructions and advice can be found in the
730: <a href="faq/upgrade52.html">Upgrade Guide</a>.
1.89 bentley 731: </section>
1.1 deraadt 732:
733: <hr>
1.89 bentley 734:
735: <section id=ports>
736: <h3>Ports Tree</h3>
1.1 deraadt 737: <p>
738: A ports tree archive is also provided. To extract:
739: <p>
1.89 bentley 740: <blockquote><pre>
741: # <kbd>cd /usr</kbd>
742: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
743: # <kbd>cd ports</kbd>
744: </pre></blockquote>
1.1 deraadt 745: <p>
746: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
747: read the <a href="faq/ports/index.html">ports</a> page
748: if you know nothing about ports
749: at this point. This text is not a manual of how to use ports.
750: Rather, it is a set of notes meant to kickstart the user on the
751: OpenBSD ports system.
752: <p>
753: The <i>ports/</i> directory represents a CVS (see the manpage for
1.89 bentley 754: <a href="https://man.openbsd.org/cvs.1">
1.1 deraadt 755: cvs(1)</a> if
756: you aren't familiar with CVS) checkout of our ports. As with our complete
757: source tree, our ports tree is available via anoncvs. So, in
758: order to keep current with it, you must make the <i>ports/</i> tree
759: available on a read-write medium and update the tree with a command
760: like:
761: <p>
1.89 bentley 762: <blockquote><pre>
1.91 ! deraadt 763: # <kbd>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_2</kbd>
1.89 bentley 764: </pre></blockquote>
1.1 deraadt 765: <p>
766: [Of course, you must replace the local directory and server name here
767: with the location of your ports collection and a nearby anoncvs
768: server.]
769: <p>
1.91 ! deraadt 770: Note that most ports are available as packages on our mirrors. Updated
1.1 deraadt 771: packages for the 5.2 release will be made available if problems arise.
772: <p>
773: If you're interested in seeing a port added, would like to help out, or just
774: would like to know more, the mailing list
775: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.89 bentley 776: </section>