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