Annotation of www/70.html, Revision 1.52
1.1 benno 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
5: <title>OpenBSD 7.0</title>
6: <meta name="description" content="OpenBSD 7.0">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
9: <link rel="canonical" href="https://www.openbsd.org/70.html">
10:
11: <h2 id=OpenBSD>
12: <a href="index.html">
13: <i>Open</i><b>BSD</b></a>
14: 7.0
15: </h2>
16:
17: <table>
18: <tr>
19: <td>
20: <a href="images/XXX.png">
21: <img width="227" height="303" src="images/XXX-s.gif" alt="XXX"></a>
22: <td>
1.6 deraadt 23: Released Nov 1, 2021. (51st OpenBSD release)<br>
1.1 benno 24: Copyright 1997-2021, Theo de Raadt.<br>
25: <br>
26: 7.0 Song:
27: <a href="lyrics.html#70">XXX</a>.
28: <br>
29: Artwork by XXX.
30: <br>
31: <ul>
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 <code class=reldir>pub/OpenBSD/7.0/</code> directory on
35: one of the mirror sites.
36: <li>Have a look at <a href="errata70.html">the 7.0 errata page</a> for a list
37: of bugs and workarounds.
38: <li>See a <a href="plus70.html">detailed log of changes</a> between the
1.4 jsg 39: 6.9 and 7.0 releases.
1.1 benno 40: <p>
41: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
42: pubkeys for this release:<p>
43:
44: <table class=signify>
45: <tr><td>
46: openbsd-70-base.pub:
47: <td>
48: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/openbsd-70-base.pub">
49: RWR3KL+gSr4QZ5mOvKhcOOgGe61ogHp5PyBOj2RrmyCpqchk9A7NVPzh</a>
50: <tr><td>
51: openbsd-70-fw.pub:
1.11 deraadt 52: <td>
1.1 benno 53: RWS8nd7vy+I+fRHtnpxVBeX+P+9rBqJMPvSU6z8LYyAv5p73WcdFXs3B
54: <tr><td>
55: openbsd-70-pkg.pub:
1.11 deraadt 56: <td>
1.1 benno 57: RWR3iauEtA8/bLN/zfIQhOc5ramL/fARX72S6xw8BwAUebxik7KioCvL
58: <tr><td>
59: openbsd-70-syspatch.pub:
1.11 deraadt 60: <td>
1.1 benno 61: RWSD33kMDKsQH8j0Q8FzfYk+vsgTKiP8Q5DcrkQQtrZoWg48yxUQgLxU
62: </table>
63: </ul>
64: <p>
65: All applicable copyrights and credits are in the src.tar.gz,
66: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
67: files fetched via <code>ports.tar.gz</code>.
68: </table>
69:
70: <hr>
71:
72: <section id=new>
73: <h3>What's New</h3>
74: <p>
75: This is a partial list of new features and systems included in OpenBSD 7.0.
76: For a comprehensive list, see the <a href="plus70.html">changelog</a> leading
77: to 7.0.
78:
79: <ul>
80:
81: <li>New/extended platforms:
82: <ul>
1.35 benno 83: <li>Added new <a href="riscv64.html">riscv64</a> platform for 64-bit RISC-V systems.
1.49 benno 84: <li>The <a href="arm64.html">arm64</a> platform support was improved with the following changes:
1.1 benno 85: <ul>
1.29 benno 86: <li>Added <a href="https://man.openbsd.org/aplpinctrl.4">aplpinctrl(4)</a> driver for the Apple GPIO controller found on the M1 SoCs.
87: <li>Ensured <a href="https://man.openbsd.org/rkpwm.4">rkpwm(4)</a> can find the clock when using a recent device tree.
88: <li>Added RK3399 Type-C PHY clocks and PCIe PHY reference clocks to <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
89: <li>Enabled LEDs for the <a href="https://man.openbsd.org/mue.4">mue(4)</a> LAN7800 chip as found on the Raspberry Pi 3 Model B+.
90: <li>Added <a href="https://man.openbsd.org/rktcphy.4">rktcphy(4)</a>, a driver for the Type-C PHY controller found on the Rockchip RK3399.
91: <li>Ensured (W)hole disk partitioning cannot be used if an "APFS ISC" is found on the disk, required for Apple M1 machines to boot.
92: <li>Added initial arm64 support for installing on a disk with a GPT.
93: <li>Added arm64 support for booting from disks with 4k sectors.
94: <li>Added <a href="https://man.openbsd.org/aplns.4">aplns(4)</a> to provide support for Apple NVME storage as found in Apple M1 devices.
95: <li>Added <a href="https://man.openbsd.org/aplspmi.4">aplspmi(4)</a>, a driver for the Apple SPMI controller.
96: <li>Added <a href="https://man.openbsd.org/aplpmu.4">aplpmu(4)</a>, a driver for the Apple "sera" SPMI power management unit that contains the RTC on Apple M1 systems.
97: <li>Added <a href="https://man.openbsd.org/apldwusb.4">apldwusb(4)</a>, a glue driver for the Synopsys DesignWare USB 3 controllers found on the Apple M1 SoC.
98: <li>Added <a href="https://man.openbsd.org/apldart.4">apldart(4)</a> support for a DART with two sets of registers, needed to support the Synopsis DesignWare USB 3 controller.
1.35 benno 99: <li>Implemented multicast support in <a href="https://man.openbsd.org/mvpp.4">mvpp(4)</a>.
1.1 benno 100: </ul>
1.35 benno 101: <li>Changes on other architectures:
1.29 benno 102: <ul>
1.49 benno 103: <li>Switched <a href="macppc.html">macppc</a> to use <a href="https://man.openbsd.org/ld.lld">ld.lld(1)</a>.
1.35 benno 104: <li>Fixed an issue preventing applications from selecting the non-ALTIVEC code path on macppc.
1.49 benno 105: <li>Made <a href="amd64.html">amd64</a> hw.setperf percentages proportional to the enhanced
1.35 benno 106: speed step frequencies on Intel processors. The default hw.setperf=99
107: corresponds to the maximum ordinary speed, and setting it to 100
108: enables turbo mode.
1.33 benno 109: <li>Enabled <a href="https://man.openbsd.org/cy.4">cy(4)</a> on amd64.
1.35 benno 110: <li>Disabled base-gcc on amd64.
111: <li>Prevented crashes on amd64 when TLB entries which should have been invalidated were used.
1.33 benno 112: <li>Prevented a kernel panic in sparc64 due to page boundary misalignment.
1.49 benno 113: <li>Forced <a href="luna88k.html">luna88k</a> to use the serial console when no graphics board is found.
114: <li>Made additional free inodes on luna88k bsd.rd by specifying density=4096.
115: <li>Fixed strchr() and strrchr() on <a href="mips64.html">mips64</a>.
1.46 benno 116: <li>Prevented watchdog resets on some i.MX 64-bit machines with a
117: recent U-Boot and watchdog enabled on boot in <a
118: href="https://man.openbsd.org/imxdog.8">imxdog(8)</a>.
1.35 benno 119: <li>Created audio devices on <a href="armv7.html">armv7</a>.
1.49 benno 120: <li>Retired OpenBSD/<a href="sgi.html">sgi</a> platform.
121: <li>Enabled MSI-X support for <a href="powerpc64.html">powerpc64</a>.
1.33 benno 122: <li>Fixed __ppc_lock for page faults that recursively grab the lock on powerpc.
123: <li>Increased the maximum data size on powerpc64 to 32GB.
1.1 benno 124: </ul>
1.41 benno 125: </ul>
1.1 benno 126:
127: <li>Various kernel improvements:
128: <ul>
1.35 benno 129: <li>Enabled <a href="https://man.openbsd.org/dt.4">dt(4)</a> for GENERIC kernels on amd64, arm64, i386, sparc64, and powerpc64.
130: <li>Added kprobes provider for <a href="https://man.openbsd.org/dt.4">dt(4)</a>.
131: <li>Implemented < and > operators in <a href="https://man.openbsd.org/btrace.8">btrace(8)</a> filters.
1.46 benno 132: <li>Added <a href="https://man.openbsd.org/btrace.8">btrace(8)</a>
133: display of time spent in userland when analyzing the kernel stack in
134: the flame graph tool and fixed a parsing bug.
1.35 benno 135: <li>Added libexecinfo, a library providing backtrace functions.
1.46 benno 136: <li>Introduced /etc/<a
137: href="https://man.openbsd.org/bsd.re-config.5">bsd.re-config(5)</a>,
138: which can be used to configure the kernel using <a
139: href="https://man.openbsd.org/config.8">config(8)</a>, allowing use of
140: KARL while making changes to the GENERIC kernel.
141: <li>Identified TPM2.0 devices and performed the 2.0-specific
142: "suspend" command, allowing the lenovo xlr9 and xlnano using the
143: latest BIOS (which added S3) to resume.
1.35 benno 144: <li>Fixed suspend/resume of machines with certain <a href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> hardware.
1.25 benno 145: <li>Changed the printing of the hibernate image size from bytes to megabytes.
146: <li>Increased hibernate writeout speed.
147: <li>Added "machine sysregs" command to <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> on amd64.
148: <li>Prevented interleaved stack traces in <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> from multiple CPUs.
1.46 benno 149: <li>Delayed installation of sensors until a device with battery
150: support is connected, allowing <a
151: href="https://man.openbsd.org/sensorsd.8">sensorsd(8)</a> to pick up
152: hotplugged <a href="https://man.openbsd.org/uhidpp.4">uhidpp(4)</a>
153: devices.
1.25 benno 154: <li>Prevented a kernel panic after VFS shutdown.
1.46 benno 155: <li>Corrected various min/max cluster numbers for FAT12/16/32 in <a
156: href="https://man.openbsd.org/newfs_msdos.8">newfs_msdos(8)</a>.
1.25 benno 157: <li>Increased the <a href="https://man.openbsd.org/setitimer.2">setitimer(2)</a> timer limit to UINT_MAX seconds.
158: <li>Serialized the internals of <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a> with a mutex.
159: <li>Enabled pool cache on <a href="https://man.openbsd.org/knote.9">knote(9)</a> pool.
1.46 benno 160: <li>Fixed <a href="https://man.openbsd.org/futex.2">futex(2)</a>
161: errno handling to match what Mesa expects and prevent failure to
162: properly report timeouts.
1.25 benno 163: <li>Fixed a kernel crash in <a href="https://man.openbsd.org/tty.4">tty(4)</a>.
164: <li>Disabled global page table mappings when using PCID to prevent crashes when not flushed from TLB.
1.46 benno 165: <li>Increased the default buffer space on PF_UNIX sockets to 8k and
166: made the values tuneable via <a
167: href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>.
1.25 benno 168: <li>Updated en_US.UTF-8.src to Unicode 13.0.
169: <li>Limited the <a href="https://man.openbsd.org/printf.1">printf(1)</a> \x escape sequence to two characters.
1.46 benno 170: <li>Made <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>
171: timer re-addition reset an existing timer to use the new timeout
172: period.
173: <li>In the build system, pass make flags to kernel and lib builds,
174: making hacking on ramdisks/the installer much faster.
1.1 benno 175: </ul>
176:
177: <li>SMP Improvements
178: <ul>
1.24 benno 179: <li>Made pmap_extract() mpsafe on hppa and amd64.
1.46 benno 180: <li>Introduced CPU_IS_RUNNING() and used it in scheduler-related code
181: to prevent waiting on non-running CPUs.
1.24 benno 182: <li>Made anonymous object reference counting independent from the KERNEL_LOCK().
183: <li>Unlocked <a href="https://man.openbsd.org/connect.2">connect(2)</a>.
184: <li>Unlocked <a href="https://man.openbsd.org/setrtable.2">setrtable(2)</a>.
185: <li>Introduced per-CPU <a href="https://man.openbsd.org/panic.9">panic(9)</a> message buffers.
186: <li>Used so_lock to protect key management (PF_KEY) sockets.
187: <li>Unlocked <a href="https://man.openbsd.org/lseek.2">lseek(2)</a>.
188: <li>Unlocked the top part of the fault handler.
1.1 benno 189: </ul>
190:
191: <li>Direct Rendering Manager
192: <ul>
1.8 jsg 193: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
194: to Linux 5.10.65
195: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
196: better support for Tiger Lake
197: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
198: support for Navi 12, Navi 21 "Sienna Cichlid", Arcturus
199: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
200: support for Cezanne "Green Sardine" Ryzen 5000 APU
1.1 benno 201: </ul>
202:
203: <li>VMM/VMD improvements
204: <ul>
1.19 benno 205: <li>Unlocked the top part of the VM fault handler on i386.
1.46 benno 206: <li>Added a theoretical limit of 512 to the number of allocated vcpus
207: in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
1.19 benno 208: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> vcpu locking issues.
209: <li>Fixed an mbuf leak in <a href="https://man.openbsd.org/xnf.4">xnf(4)</a>.
210: <li>Added <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> support for variable length vionet rx descriptor chains.
211: <li>Prevented stack overflow in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> due to large dhcp packets on local interfaces.
212: <li>Allowed locking of a randomly assigned lladdr in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
213: <li>Skipped inspecting non-udp packets on local interfaces for <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
214: <li>Prevented guest virtio drivers from causing stack and buffer overflows in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
215: <li>Fixed a race condition in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> relating to incorrect physical cpu tracking.
1.46 benno 216: <li>Fixed <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a>
217: client "wait" state corruption in <a
218: href="https://man.openbsd.org/vmd.8">vmd(8)</a> when a wait is
219: canceled and restarted, allowing multiple waiting clients.
1.19 benno 220: <li>Added protections against guests with bad virtio drivers to <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
1.1 benno 221: </ul>
222:
223: <li>Various new userland features:
224: <ul>
1.46 benno 225:
226: <li>Imported <a
227: href="https://man.openbsd.org/timeout.1">timeout(1)</a> utility from
228: NetBSD. timeout(1) can be used to run commands with a time limit.
229: <li>Added include and exclude options to <a
230: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>..
231: <li>Implemented reporting of supplemental groups in <a
232: href="https://man.openbsd.org/ps.1">ps(1)</a>.
233: <li>Added indication of whether an <a
234: href="https://man.openbsd.org/mg.1">mg(1)</a> function is unsuitable
235: for a startup file.
236: <li>Added "dired-jump" command to <a
237: href="https://man.openbsd.org/mg.1">mg(1)</a> to open a dired buffer
238: containing the current buffer's directory location.
1.36 benno 239: </ul>
240:
241: <li>Various bugfixes and tweaks in userland:
242: <ul>
1.46 benno 243: <li>Modified <a href="https://man.openbsd.org/doas">doas(1)</a> to
244: retry up to 3 times on password authentication failure.
245: <li>Made all <a href="https://man.openbsd.org/vi.1">vi(1)</a> signal
246: handler functions async-signal-safe.
247: <li>Changed <a href="https://man.openbsd.org/diff.1">diff(1)</a> to
248: consider two files sharing the same inode identical.
249: <li>Allowed <a href="https://man.openbsd.org/xenodm.1">xenodm(1)</a>
250: login when ~./Xauthority does not exist.
1.36 benno 251: <li>Disabled building all of the non-unicode fonts except for ISO8859-1.
1.46 benno 252: <li>Removed from0 support from <a
253: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>.
254: <li>Altered <a href="https://man.openbsd.org/passwd.1">passwd(1)</a>
255: to use stderr for printer error and informational messages. This
256: allows easier parsing of what passwd(1) is doing if spawned from a
257: GUI.
258: <li>Fixed <a href="https://man.openbsd.org/iostat.8">iostat(8)</a>
259: per-device values when <a
260: href="https://man.openbsd.org/systat.1">systat(1)</a> is in boot time
261: mode ('b'), not normalizing based on the sleep interval.
1.17 benno 262: <li>Made <a href="https://man.openbsd.org/jot.1">jot(1)</a> -b, -c and -w mutually exclusive.
1.46 benno 263: <li>Made <a href="https://man.openbsd.org/cdio.1">cdio(1)</a> discard
264: the current input line when Ctrl-C is used during line editing and
265: provide a fresh prompt rather than exiting the program.
266: <li>Corrected <a href="https://man.openbsd.org/awk.1">awk(1)</a> -F
267: null string behavior to ensure -F '' behaves consistently with -v
268: FS="".
269: <li>Avoided a potential buffer overflow in backslash escaping in <a
270: href="https://man.openbsd.org/awk.1">awk(1)</a>.
271: <li>Disallowed the use of an empty list between "while" and "do" in
272: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>.
273: <li>Changed <a href="https://man.openbsd.org/cwm.1">cwm(1)</a>
274: maximization and full-screen mode toggling to keep the cursor within
275: the window, preventing focus loss.
276: <li>Made <a href="https://man.openbsd.org/rc.8">rc(8)</a> quietly
277: attempt an early mount of /var/log in case someone has created it to
278: avoid /var overflow issues.
1.36 benno 279: <li>Cleaned up the <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> MBR/GPT
280: initialization code, making -g independent of -i, leaving four
281: mutually exclusive initialization options (-i, -b, -u and -A) with the
282: last option specified executed (allowing the existing -i -g to work as
283: intended).
284: <li>Relaxed criteria for recognizing GPT formatted media, allowing
285: GPT disk images added with <a href="https://man.openbsd.org/dd.1">dd(1)</a> onto larger physical
286: media to be recognized by <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> and the kernel.
287: <li>Added the ability for <a
288: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> to recognize
289: "HiFive! FSBL" and "HiFive! BBL" GPT partitions.
290: <li>Ensured the values for <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
291: -b and -l are treated as 512-byte block counts.
292: <li>Added an <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
293: -A option to initialize a GPT without removing special boot
294: partitions.
295: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
296: available to architectures other than amd64 and i386 and extended the
297: syntax to allow specification of the boot partition type and offset.
298: <li>Adjusted density for partitions on a 4k disk in <a
299: href="https://man.openbsd.org/newfs.8">newfs(8)</a> when fragsize and
300: density are not passed on the command line to ensure sufficient inodes
301: to hold a src tree on a 2G fs.
302: <li>Fixed <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> generation on sparc64.
303: <li>Fixed overlap check in <a href="https://man.openbsd.org/disklabel.1">disklabel(1)</a>
304: autoalloc code.
1.46 benno 305: <li>Fix crash in <a
306: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a> when a manpath
307: directory contained a symbolic link that pointed to a directory.
308: <li>Added support for two-character font names (BI, CW, CR, CB, CI)
309: to the <a href="https://man.openbsd.org/tbl.7">tbl(7)</a> layout font
310: modifier.
311: <li>Supported auto-tagging for ".It Va" in <a
312: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>.
313: <li>Fixed a crash in <a
314: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a> when an input
315: file contains <a href="https://man.openbsd.org/tbl.7">tbl(7)</a> or <a
316: href="https://man.openbsd.org/eqn.7">eqn(7)</a> input unsupported by
317: -T <a href="https://man.openbsd.org/man.1">man(1)</a> output mode.
318: <li>Added a meta viewport element to the HTML output for <a
319: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a> -Thtml.
320: <li>Implemented the <a
321: href="https://man.openbsd.org/tbl.7">tbl(7)</a> layout modifiers "b"
322: (bold) and "i" (italic) in <a
323: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a> HTML output
324: mode.
1.1 benno 325: </ul>
326:
327: <li>Improved hardware support and driver bugfixes, including:
328: <ul>
1.15 benno 329: <li>Added a workaround to <a href="https://man.openbsd.org/amdgpu.4">amdgpu(4)</a> for machines where the framebuffer size reported by the hardware is incorrect.
330: <li>Prevented <a href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboards from changing the <a href="https://man.openbsd.org/wsmux.4">wsmux(4)</a> keyboard layout.
331: <li>Silently ignored invalid requests to change the encoding of a <a href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboard.
332: <li>In <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a>, worked around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake platform to properly restore the GPIO pin used for the touchpad interrupt upon resume.
333: <li>Stopped setting the highspeed bit on bcm2835-sdhci <a href="https://man.openbsd.org/sdhc.4">sdhc(4)</a> controllers, fixing <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> wifi on the Raspberry Pi 3 Model B+.
334: <li>Added support for obtaining sense status and source slot of a media to <a href="https://man.openbsd.org/chio.1">chio(1)</a> and <a href="https://man.openbsd.org/ch.4">ch(4)</a>.
335: <li>Fixed a crash with i915 graphics by removing bogus Linux code that tried to deal with something that is impossible on OpenBSD.
336: <li>Fixed <a href="https://man.openbsd.org/dwiic.4">dwiic(4)</a> timeouts requesting data from at least one touchpad.
337: <li>Added <a href="https://man.openbsd.org/ucc.4">ucc(4)</a>, a driver for USB HID Consumer Control keyboards.
338: <li>Set the <a href="https://man.openbsd.org/uhidpp.4">uhidpp(4)</a> battery level sensor status to unknown while charging to handle devices reporting zero during charge, preventing certain <a href="https://man.openbsd.org/sensorsd.conf.5">sensorsd.conf(5)</a> actions from triggering inappropriately.
339: <li>Added Tiger Lake LP (INT34C5) support to <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a>.
340: <li>Fixed a panic at shutdown relating to <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> on the X1 Extreme Gen 1.
341: <li>Fixed a panic reported in <a href="https://man.openbsd.org/upd.4">upd(4)</a>.
342: <li>Fixed display of incorrect patterns on LUNA's <a href="https://man.openbsd.org/wscons.4">wscons(4)</a> with 1bpp framebuffer when backspace is typed.
343: <li>Fixed an attachment problem for <a href="https://man.openbsd.org/dwctwo.4">dwctwo(4)</a> for certain devices issuing NAK interrupts during split transactions.
344: <li>Added AMD 17h/6xh Root Complex to <a href="https://man.openbsd.org/ksmn.4">ksmn(4)</a>.
345: <li>Ensured the TX FIFO isn't overrun for longer transfers in <a href="https://man.openbsd.org/dwiic.4">dwiic(4)</a>.
346: <li>Added <a href="https://man.openbsd.org/titmp.4">titmp(4)</a>, a driver for the TI TMP451 temperature sensor.
347: <li>Limited the workaround for AMD errata 400 ("APIC Timer Interrupt Does Not Occur in Processor C-States")to family 0fh and 10h.
348: <li>Ensured a USB mouse will attach if otherwise qualified even if the usage report does not include X and Y usages.
349: <li>Stopped fatal error in <a href="https://man.openbsd.org/amdgpu.4">amdgpu(4)</a> on failing to map visible VRAM.
350: <li>Disabled PPGTT on Intel machines with cherryview/braswell graphics to avoid memory corruption.
351: <li>Attached unsupported video devices to <a href="https://man.openbsd.org/uvideo.4">uvideo(4)</a> but not <a href="https://man.openbsd.org/video.1">video(1)</a>, rather than leaving it unmatched.
352: <li>Added a -R flag to <a href="https://man.openbsd.org/usbhidctl.1">usbhidctl(1)</a> to dump the raw report descriptor bytes.
353: <li>Added hid_get_report_desc_data() to <a href="https://man.openbsd.org/usbhid.3">usbhid(3)</a> to access raw report descriptor data.
354: <li>Fixed overflows when reading multiple bytes from AML over an i2c bus in <a href="https://man.openbsd.org/acpi.4">acpi(4)</a>.
355: <li>Fixed <a href="https://man.openbsd.org/uaudio.4">uaudio(4)</a> on certain machines such as the RPI4 by adding a pre-DMA-write barrier after data is stored to memory.
356: <li>Worked around x86 machines that advertise the "hardware reduced" ACPI feature, advertise S4 and S5 support, but fail to populate the SLEEP_CONTROL_REG and SLEEP_STATUS_REG descriptions in the FADT. This fixed the ASUS Zenbook 14.
357: <li>Enabled all Thinkpad X1 Extreme 1 speakers and atmos dolby in <a href="https://man.openbsd.org/azalia.4">azalia(4)</a>.
1.16 benno 358: <li>Fixed <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a> issues with dead touchpads after resume.
1.1 benno 359: </ul>
360:
361: <li>New or improved network hardware support:
362: <ul>
1.33 benno 363: <li>Fixed <a href="https://man.openbsd.org/ix.4">ix(4)</a> with older amd64 and current riscv64 hardware if MSI is not enabled for the device.
1.52 ! jsg 364: <li>Added the <a href="https://man.openbsd.org/uaq.4">uaq(4)</a> driver for Aquantia AQC111U/AQC112U USB Ethernet devices.
! 365: <li>Added the <a href="https://man.openbsd.org/aq.4">aq(4)</a> driver to support Aquantia 1/2.5/5/10Gb/s PCIe Ethernet adapters.
! 366: <li>Synced <a href="https://man.openbsd.org/dwctwo.4">dwctwo(4)</a> with the NetBSD-current code base, enabling the USB on-board Ethernet controller through <a href="https://man.openbsd.org/mue.4">mue(4)</a> and enabling the two USB uhub3 ports on the Raspberry Pi 3 Model B+.
1.35 benno 367: <li>Added <a href="https://man.openbsd.org/cad.4">cad(4)</a>, a driver for Cadence GEM.
1.33 benno 368: <li>Added Broadcom BCM5725 to <a href="https://man.openbsd.org/brgphy.4">brgphy(4)</a>.
369: <li>Added support for RTL8168FP/RTL8111FP/RTL8117 to <a href="https://man.openbsd.org/re.4">re(4)</a>.
1.1 benno 370: </ul>
371:
372: <li>Added or improved wireless network drivers:
373: <ul>
1.27 benno 374: <li>Zeroed out <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> Tx descriptors of frames which are done to prevent the device from writing to the former DMA address of a buffer which has been taken off the Tx ring.
375: <li>Fixed a bug in <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> Tx done interrupt processing which could cause fatal firmware errors under load and memory corruption.
376: <li>Changed <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> to sleep for 1 second while loading firmware to match what <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> does. This fixes some issues with suspend/resume.
377: <li>Ensured that <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> will reload firmware from disk on down/up and not during resume.
378: <li>Fixed <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> crystal latency values to match those used by Linux iwlwifi.
379: <li>Fixed an off-by-one error in <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a>.
380: <li>Changed <a href="https://man.openbsd.org/iwn.4">iwn(4)</a>, <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>, and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> devices to hide detailed firmware error reports by default.
381: <li>Prevented a loop when <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> receives an unsolicited association status event right after successful association.
382: <li>Fixed <a href="https://man.openbsd.org/ure.4">ure(4)</a> after a media link change on RTL8153/B devices.
383: <li>Fixed a leak with <a href="https://man.openbsd.org/wg.4">wg(4)</a> keepalive.
384: <li>Switched <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> to -63 firmware images as shipped in iwx-firmware-20210512, including fixes addressing fragattacks vulnerabilities.
385: <li>Supported the new <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware session protection command, required for successful associations with new firmware.
386: <li>Stopped asking <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> to send probe requests on passive channels, fixing firmware going unresponsive after association.
387: <li>Fixed an <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> edge case where devices failed to resume after system suspend.
388: <li>Switched <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> to newer firmware images available in iwm-firmware-20210512. This provides FragAttacks fixes for the updated devices.
389: <li>Fixed <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> against access points using TKIP as the group cipher.
390: <li>Prevented <a href="https://man.openbsd.org/athn.4">athn(4)</a> from calling ieee80211_find_rxnode() on bad frames in an attempt to prevent creation of bogus node cache entries.
391: <li>Implemented various fixes addressing firmware errors in <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
392: <li>Fixed node leaks in <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> which caused the drivers to get stuck when roaming between access points.
393: <li>Fixed <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware reloading after a failure to parse the firmware file.
394: <li>Avoided "mac clock not ready" panics in <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
395: <li>Worked around a problem with certain <a href="https://man.openbsd.org/athn.4">athn(4)</a> hardware that caused problem when running in HostAP mode with clients that use Tx aggregation.
396: <li>Corrected multicast decryption for <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
397: <li>Added 802.11n Tx aggregation support to <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>.
398: <li>Made <a href="https://man.openbsd.org/iwn.4">iwn(4)</a>, <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> keep track of beacon parameters at run-time.
399: <li>Implemented support for Rx aggregation offload in <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and re-enabled de-aggregation of A-MSDUs in net80211 for all drivers capable of 11n mode.
400: <li>Changed error reporting for <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> to use the long version of the firmware path. This makes it easier to find the correct files to add to the bwfm-firmware port.
1.1 benno 401: </ul>
402:
403: <li>IEEE 802.11 wireless stack improvements and bugfixes:
404: <ul>
1.37 benno 405: <li>Drop fragmented 802.11 frames.
406: <li>Prevent frame injection via forged 802.11n A-MSDUs.
1.27 benno 407: <li>Tweaked net80211 RA heuristics to avoid picking Tx rate choices that may be too optimistic.
1.1 benno 408: </ul>
409:
410: <li>Generic network stack improvements and bugfixes:
411: <ul>
1.22 benno 412: <li>Implemented reception of "VLAN 0 priority tagged" packets.
413: <li>Fixed an alignment fault observed on an octeon machine while <a href="https://man.openbsd.org/pppoe.4">pppoe(4)</a> negotiated a large MTU.
1.37 benno 414: <li>Display provider ID for a <a href="https://man.openbsd.org/umb.4">umb(4)</a> SIM in <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.1 benno 415: </ul>
416:
417: <li>Installer and upgrade improvements:
418: <ul>
1.47 benno 419: <li>Checked the installer's /tmp/i/hostname.* files for a configured
420: IP address so that configurations without a broadcast address are
421: detected as well.
1.26 benno 422: <li>Handled "inet autoconf" in the ramdisk.
1.47 benno 423: <li>Allowed <a href="https://man.openbsd.org/cad.4">cad(4)</a>
424: recognition as boot interface when using netboot, making
425: autoinstall/upgrade work.
426: <li>Introduced a short wait in <a
427: href="https://man.openbsd.org/rc.8">rc(8)</a> after <a
428: href="https://man.openbsd.org/netstart.8">netstart(8)</a> finishes
429: until an IPv4 or IPv6 default route is present before continuing boot.
430: Fixed setups depending on working network and DNS resolution during
431: early boot when using autoconfiguration (<a
432: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> or <a
433: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a>).
434: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
435: always create an EFI SYS partition if the -b option is specified when
436: initializing a GPT.
437: <li>Allowed (w)hole disk allocation for GPT disks in arm64, using <a
438: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A when an Apple
439: APFS ISC partition is detected and fdisk -ig otherwise. Created EFI
440: SYS boot partitions only on ROOTDISK GPT disks.
441: <li>Added <a
442: href="https://man.openbsd.org/installboot.8">installboot(8)</a> "-p"
443: to prepare by creating a new filesystem on the partition reserved for
444: the bootloader on relevant architectures.
445: <li>Added GPT support to <a href="armv7.html">armv7</a> <a
446: href="https://man.openbsd.org/installboot.8">installboot(8)</a>.
447: <li>Added the Spleen 12x24 and 16x32 font on amd64's RAMDISK_CD and
448: RAMDISK kernels.
449: <li>Use <a
450: href="https://man.openbsd.org/installboot.8">installboot(8)</a> on
451: arm64 ramdisks.
452: <li>Enable <a
453: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> on
454: ramdisks, and activate <a
455: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>, replacing <a
456: href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>.
457: <li>Enable <a href="https://man.openbsd.org/slaacd.8">sclaacd(8)</a>
458: to configure nameservers on ramsdisks.
459: </ul>
1.1 benno 460:
461: <li>Security improvements:
462: <ul>
1.16 benno 463: <li>Moved objcopy to base set to allow KARL to work on all installs.
1.47 benno 464: <li>Added <a href="https://man.openbsd.org/unveil.2">unveil(2)</a>
465: calls to xterm in the case where there are no exec-formatted or
466: exec-selected resources set.
467: <li>Changed usage of %n from a syslog warning to syslog and abort for
468: <a href="https://man.openbsd.org/printf.3">printf(3)</a> (and
469: associated variants).
1.16 benno 470: <li>Made kernel stop all threads when terminating via pledge_fail().
1.1 benno 471: </ul>
472:
473: <li>Routing daemons and other userland network improvements:
474: <ul>
1.47 benno 475: <li>The <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>
476: daemon saw the following changes:
1.1 benno 477: <ul>
1.38 benno 478: <li>Stop processing queued UPDATES when the max-prefix limit was reached.
479: <li>Improved negotiation for route refresh, graceful restart and
480: multi-protocol capabilities
481: <li>Correctly track 'rde evaluate all' and 'export' settings during reload.
482: <li>Properly withdraw prefixes when 'rde evaluate all' is used.
483: <li>Fixed MRT handling on initial startup for message dump types.
484: <li>Fixed and use non-blocking connect for RTR sessions.
485: <li>Fully implemented RFC 6286 by checking for BGP ID collisions.
486: <li>Adjusted the 4-byte AS number handling to RFC 6793 by changing error
487: behaviour from prefix witdraw to attribute discard.
1.39 benno 488: <li>In <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> print out both the sent "Neighbor capabilities" and the
1.38 benno 489: "Negotiated capabilities" for a session.
490: <li>Print timestamps both as a formatted and a pure time in seconds
491: filed in various JSON objects.
1.39 benno 492: <li>Fixed a bug, where during <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> config reloads prefixes of the
1.38 benno 493: wrong address family could leak to peers resulting in session resets.
494: <li>Added support for RFC 7313 - Enhanced Route Refresh
495: Disabled by default, to enable use 'announce enhanced refresh yes'.
496: <li>Improved output of Adj-RIB-Out by updating nexthop and ASPATH before
497: adding the prefix to the RIB. This improves `bgpctl show rib out`
498: output.
1.47 benno 499: <li>Added command line option to both <a
500: href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> and <a
501: href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> to show the
502: version.
1.51 fcambus 503: <li>Added support for RFC 9072 - Extended Optional Parameters Length for
1.38 benno 504: BGP OPEN Message
505: <li>Added support for RFC 8050 - MRT Format with BGP Additional Path Extensions
506: <li>Implemented receive side of RFC 7911 - Advertisement of Multiple Paths
507: in BGP. OpenBGPD is currently not able to send multiple paths out.
508: <li>Improved checks of VRPs loaded via RTR or from the roa-set table.
509: <li>Allowed to optionally specify an expiry time for roa-set entries to
510: mitigate BGP route decision making based on outdated RPKI data.
511: OpenBGPD's companion rpki-client(8) produces roa-sets with the
512: new 'expires' property
1.1 benno 513: </ul>
514:
515: <li>The <a href="https://man.openbsd.org/pf.4">pf(4)</a> packet filter and its userland utility:
516: <ul>
1.34 benno 517: <li>Corrected a potential memory leak associated with <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> update requests.
518: <li>Introduced locks around the global <a href="https://man.openbsd.org/pf.4">pf(4)</a> state list.
519: <li>Fixed a panic due to <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> deferral timeout handling.
520: <li>Added support for <a href="https://man.openbsd.org/pf.4">pf(4)</a> divert-to on <a href="https://man.openbsd.org/tpmr.4">tpmr(4)</a> and <a href="https://man.openbsd.org/veb.4">veb(4)</a>.
521: <li>Fixed state key reference underflow when both state keys are identical in <a href="https://man.openbsd.org/pf.4">pf(4)</a>.
522: <li>Only skipped <a href="https://man.openbsd.org/pf.4">pf(4)</a> once for packets injected by a divert-packet socket, allowing pf to still act later on a diverted packet.
1.1 benno 523: </ul>
524:
525: <li>IPSEC support in the kernel and the <a href="https://man.openbsd.org/iked.8">iked(8)</a> userland daemon:
526: <ul>
1.20 benno 527: <li>Zeroed out potential passwords when freeing memory or handling parsing errors in <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
528: <li>Added client-side support for DNS configuration to <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
529: <li>Increased <a href="https://man.openbsd.org/iked.8">iked(8)</a> default data bytes limit for Child SAs to 4 GB, preventing excessive rekeying and lost data in high performance setups.
530: <li>Fixed an <a href="https://man.openbsd.org/iked.8">iked(8)</a> bug where no flows are added if a single address is configured in the config address instead of a pool.
531: <li>Fixed a problem in <a href="https://man.openbsd.org/iked.8">iked(8)</a> where no flows are loaded when a single config address without pool is configured.
532: <li>Added an experimental post-quantum hybrid key exchange method based on Streamlined NTRU Prime (coupled with X25519) to <a href="https://man.openbsd.org/iked.8">iked(8)</a> as sntrup761x25519.
1.39 benno 533: <li>Fixed races which were slowing <a href="https://man.openbsd.org/ipsec.4">ipsec(4)</a> throughput.
534: <li>Fixed <a href="https://man.openbsd.org/ipsec.4">ipsec(4)</a> NAT-T to work with <a href="https://man.openbsd.org/pipex.4">pipex(4)</a>.
1.1 benno 535: </ul>
536:
537: <li><a
538: href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>
539: received the following new features and bugfixes:
540: <ul>
1.39 benno 541: <li>Added keep-alive support to the HTTP client code for RRDP.
542: <li>Reference-count and delete unused files synced via RRDP, as far as
543: possible.
544: <li>In the JSON output, changed the AS Number from a string ("AS123") to
545: an integer ("123") to make processing of the output easier,
546: <li>Added an 'expires' column to CSV & JSON output, based on certificate
547: and CRL validity times. The 'expires' value can be used to avoid route
548: selection based on stale data when generating VRP sets, when faced
549: with loss of communication between consumer and valdiator, or
550: validator and CA repository,
551: <li>Made the runtime timeout (-s option) also trigger in
552: child proecesses.
553: <li>Improved RRDP support and make RRDP as default protocol for
1.51 fcambus 554: synchronizing the RPKI repository data, with <a
1.39 benno 555: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> used as secondary.
556: <li>At startup, warn if the filesystem containing the cache directory
557: is probably too small.
558: <li>Handle running out of disk space more gracefully, including cleanup
559: of temporary and old files before exiting.
560: <li>Improved the HTTP/1.1 request headers being sent.
561: <li>Improved validation checks for ROA and MFT objects.
562: <li>Improved the HTTP client code (status code handling, http proxy
563: support, keep-alive).
564: <li>In RRDP, do not access URI with userinfo (@-sign)
565: <li>Improved RRDP syncing by considering a notification file serial
566: jumping backwards as synced repository.
567: <li>Made -R (rsync only) also apply to the fetching of TA files.
568: <li>Only sync *.{cer,crl,gbr,mft,roa} files via rsync and exclude all others.
1.47 benno 569: <li>When producing output for <a
570: href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>, make use of the
571: 'roa-set expires' attribute to prevent machines from loading outdated
572: roa-sets.
1.39 benno 573: <li>In RRDP, limited the number of deltas to 300 per repo. If more deltas
574: exist, downloading a full snapshot is faster.
575: <li>Limited the validation depth of X509 certificate chains to 12, double
576: the current depth seen in RPKI.
1.1 benno 577: </ul>
578:
1.41 benno 579: <li><a href="https://man.openbsd.org/traceroute.8">traceroute(8)</a> was improved:
1.1 benno 580: <ul>
1.41 benno 581: <li>Probe packets are now sent in quick succession and responses handled asynchronously.</li>
582: <li>DNS lookups are performed asynchronously.</li>
583: This speeds up the time required to display results considerably.
1.1 benno 584: </ul>
585:
1.41 benno 586: <li><a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> was made
587: the default program for configuring IPv4 addresses via DHCP. <a
588: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> was activated
589: to handle concurrent changes to <a
590: href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a> by
591: both dhcpleased(8) and <a
592: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a>.<br>
1.51 fcambus 593: Additionally these programs saw the following improvements and bugfixes:
1.1 benno 594: <ul>
1.49 benno 595: <li>Changed <a
596: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> client
597: identifier transmission to match other dhcp client implementations.
598: <li>Simplified <a
599: href="https://man.openbsd.org/dhcpleasectl.8">dhcpleasectl(8)</a> and
600: added syntax to match <a
601: href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> (interface),
602: allowing one to be aliased to the other.
603: <li>Retried broadcast with <a
604: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when the
605: dhcp server is unreachable via unicast UDP.
606: <li>Made <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>
607: accept dns proposals for the loopback addresses.
608: <li>Added to <a
609: href="https://man.openbsd.org/dhcpleased.conf.5">dhcpleased.conf(5)</a>
610: the ability to ignore routes or nameservers from a lease and to ignore
611: servers entirely.
1.41 benno 612: <li><!-- XXX what does this mean? -->Left <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a> to <a
613: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> rather than
614: recreating after finding nameservers.
1.49 benno 615: <li>Made <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
616: defer to <a
617: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when the
618: inet autoconf flag is set. When run, dhclient will signal dhcpleased
619: to request a new lease rather than requesting one itself.
620: <li>Fixed potential races in <a
621: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> and <a
622: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when two
623: processes are configuring the same IP.
624: <li>Added the possibility to send vendor class identifier and client
625: identifier using <a
626: href="https://man.openbsd.org/dhcpleased.conf.5">dhcpleased.conf(5)</a>.
627: <li>Made <a
628: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> always
629: configure provided routes, regardless of whether the address received
630: in the lease is already configured.
631: <li>Used exclusive locks under /dev/ to ensure single instances of <a
632: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>, <a
633: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> and <a
634: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>.
635: <li>Implemented classless static routes dhcp option in <a
636: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>.
637: <li>Added a new "nameserver" command to <a
638: href="https://man.openbsd.org/route.8">route(8)</a>, sending
639: nameserver proposals to <a
640: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> using the dns
641: proposal protocol over the route socket. This command is intended be
642: used to integrate userland triggered nameserver changes, for example
643: by VPN software.
1.1 benno 644: </ul>
645:
646: <li>Changes to snmp related tools:
647: <ul>
1.21 benno 648: <li>Added the ability for <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> to send SNMPv3 traps.
649: <li>Changed the default <a href="https://man.openbsd.org/snmp.1">snmp(1)</a> version to -v3 and removed the default community.
650: <li>Allowed "any" to be used as a listen on address in <a href="https://man.openbsd.org/snmpd.conf.5">snmpd.conf(5)</a>.
651: <li>Allowed setting of the engineid in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>.
652: <li>Switched default <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and <a href="https://man.openbsd.org/snmp.1">snmp(1)</a> auth back to hmac-sha1.
1.40 benno 653: <li>Removed default communities, changed seclevel default from none to enc and only allowed SNMPv3 by default in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>. Changed default authentication to SHA-256 and privacy protocol to AES in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and <a href="https://man.openbsd.org/snmp.1">snmp(1)</a>.
1.41 benno 654: </ul>
655:
656: <li>Other userland network changes:
657: <ul>
658: <li>Fixed <a href="https://man.openbsd.org/acme-client.1">acme-client(1)</a> SAN generation for CSRs.
1.21 benno 659: <li>Added <a href="https://man.openbsd.org/pledge.8">pledge(8)</a> for <a href="https://man.openbsd.org/ftpd.8">ftpd(8)</a> user processes.
660: <li>Allowed router solicitations from the unspecified address (::) in <a href="https://man.openbsd.org/rad.8">rad(8)</a>.
1.40 benno 661: <li>Altered <a href="https://man.openbsd.org/slowcgi.8">slowcgi(8)</a> so it no longer sends debug logging to syslog unless debug logging is requested via the new -v flag.
662: <li>Prevented <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> from trying to chunk encode an empty http body coming from an fcgi upstream.
1.21 benno 663: <li>Used relative reference URIs in Location header on directory redirects in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>, adding support for front-ending httpd with a TLS-terminating gateway that forwards unencrypted http traffic.
1.23 benno 664: <li>Prevented a crash on strict alignment architectures of <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> WireGuard printer.
665: <li>Made <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> split the 802.11 sequence number field into its sequence number and fragment number components rather than printing the whole field in decimal.
666: <li>Added simple BGP enhanced route refresh message decoding to <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
1.1 benno 667: </ul>
668: </ul>
669:
670: <li><a href="https://man.openbsd.org/tmux">tmux(1)</a> improvements and bug fixes:
671: <ul>
1.30 benno 672: <li>Added a -B flag to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> to remove borders from popups and added a menu to popups as well as options to convert a popup into a pane.
673: <li>Added pipe variants of the <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> line copy commands.
674: <li>Added basic support for zero width joiners to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
675: <li>Added client focus hooks to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
676: <li>Made window-linked and window-unlinked window options in <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
677: <li>Added -F for <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> command-prompt and used it to fix "Rename" on the window menu.
678: <li>Added different <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> command histories for different types of prompts.
679: <li>Fixed <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> problems with xterm in VT340 mode.
680: <li>Added an "always" value to the extended-keys option to always forward those keys to applications inside <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
1.1 benno 681: </ul>
682:
683: <li>OpenSMTPD 7.0.0
684: <ul>
1.42 benno 685: <li>Fixed incorrect status code for expired mails resulting in a misleading bounce report in <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>.
686: <li>Added TLS options cafile=(path), nosni, noverify and servername=(name) to <a href="https://man.openbsd.org/smtp.1">smtp(1)</a>.
687: <li>Allowed specification of TLS ciphers and protocols in <a href="https://man.openbsd.org/smtp.1">smtp(1)</a>.
1.1 benno 688: </ul>
689:
1.2 jsg 690: <li>LibreSSL 3.4.0 XXX
1.1 benno 691: <ul>
692: <li>New Features
693: <ul>
694: <li>...
695: </ul>
696:
697: <li>Portable Improvements
698: <ul>
699: <li>...
700: </ul>
701:
702: <li>API and Documentation Enhancements
703: <ul>
704: <li>...
705: </ul>
706:
707: <li>Compatibility Changes
708: <ul>
709: <li>...
710: </ul>
711:
712: <li>Testing and Proactive Security
713: <ul>
714: <li>...
715: </ul>
716:
717: <li>Internal Improvements
718: <ul>
719: <li>...
720: </ul>
721:
722: <li>Bug Fixes
723: <ul>
724: <li>...
725: </ul>
726: </ul>
727:
1.44 benno 728: <li>OpenSSH 8.8 XXX
729: <!--
1.13 benno 730: <li>Corrected <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> initialization of supplemental groups when executing an AuthorizedKeysCommand or AuthorizedPrincipalsCommand helper program (not enabled by default) as a different user.
731: <li>Fixed the <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> "Allocated port" debug message for unix sockets.
732: <li>Switched <a href="https://man.openbsd.org/scp.1">scp(1)</a> back to using the original scp/rcp protocol by default for release.
733: <li>Made <a href="https://man.openbsd.org/scp.1">scp(1)</a> SFTP mode (including error logging) more scp-like.
734: <li>Allowed CanonicalPermittedCNAMEs=none in <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>.
735: <li>Put back the mux_ctx memleak fix for SSH_CHANNEL_MUX_CLIENT in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
736: <li>Stopped ignoring SIGINT in <a href="https://man.openbsd.org/sftp.1">sftp(1)</a> while waiting for input if <a href="https://man.openbsd.org/editline.3">editline(3)</a> is not used.
737: <li>Altered <a href="https://man.openbsd.org/scp">scp(1)</a> to use the SFTP protocol by default. The original scp/rcp protocol remains available via the -O flag.
738: <li>Disabled the RSA/SHA-1 signature algorithm by default in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
739: <li>Ensured some programs (including <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>) do not ignore Ctrl-C when awaiting user input.
740: <li>Added <a href="https://man.openbsd.org/scp.1">scp(1)</a> -O and temporary -s (SFTP) flags to select the sftp protocol.
741: <li>Made <a href="https://man.openbsd.org/scp.1">scp(1)</a> -3 the default for remote-to-remote copies.
742: <li>Improved handling of ~ prefixed paths in <a href="https://man.openbsd.org/scp.1">scp(1)</a> in SFTP mode.
743: <li>Added experimental support for using the SFTP protocol for file transfers in <a href="https://man.openbsd.org/scp.1">scp(1)</a>.
744: <li>Added a ForkAfterAuthentication directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>, equivalent to <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> -f.
745: <li>Added a StdinNull directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a> to prevent reading from stdin, equivalent to <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> -n.
746: <li>Let allowed signers files used by <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a> signatures support key lifetimes and verification mode to specify a signature time at which to check.
747: <li>Added a SessionType directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>, equivalent to the -N (no session) and -s (subsystem) command line flags.
748: <li>Allowed spaces to appear in usernames for <a href="https://man.openbsd.org/scp.1">scp(1)</a> local to remote and scp -3 remote to remote copies.
749: <li>Prevented a hang in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> when interrupted.
750: <li>Matched host certificates against host public keys in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>, allowing use of certificates with private keys held in an ssh-agent.
751: <li>Prevented a race condition which could result in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> not shutting down until the next time it receives a new connection.
752: <li>Allowed <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a> SetEnv to override $TERM.
753: <li>Fixed a segmentation violation in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> in an UpdateHostKezs debug() message when the update removed more host keys than remain present.
754: <li>Fixed <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> to restore file descriptors to non-blocking mode on exit.
755: <li>Fixed <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> started with ControlPersist incorrectly executing a shell when the -N option was specified.
1.44 benno 756: -->
1.1 benno 757: <ul>
758: <li>Security fixes
759: <ul>
760: <li>...
761: </ul>
762: <li>Potentially incompatible changes
763: <ul>
764: <li>...
765: </ul>
766: <li>New Features
767: <ul>
768: <li>...
769: </ul>
770: <li>Bugfixes
771: <ul>
772: <li>...
773: </ul>
774: </ul>
775:
776: <li>Ports and packages:
777: <p>Many pre-built packages for each architecture:
778: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
779: <ul style="column-count: 3">
1.10 naddy 780: <li>aarch64: 11034
1.9 naddy 781: <li>amd64: 11325
1.1 benno 782: <li>arm: ...
1.10 naddy 783: <li>i386: 10248
1.1 benno 784: <li>mips64: ...
785: <li>mips64el: ...
786: <li>powerpc: ...
1.10 naddy 787: <li>powerpc64: 9273
1.45 naddy 788: <li>sparc64: 9636
1.1 benno 789: </ul>
790:
791: <p>Some highlights:
792: <ul style="column-count: 3">
1.2 jsg 793: <li>Asterisk 18.6.0
1.1 benno 794: <li>Audacity 2.4.2
1.2 jsg 795: <li>CMake 3.20.3
796: <li>Chromium 93.0.4577.82
1.1 benno 797: <li>Emacs 27.2
1.2 jsg 798: <li>FFmpeg 4.4
799: <li>GCC 8.4.0 and 11.2.0
800: <li>GHC 8.10.6
801: <li>GNOME 40.4
802: <li>Go 1.17
803: <li>JDK 8u302, 11.0.12 and 16.0.2
804: <li>KDE Applications 21.08.1
805: <li>KDE Frameworks 5.85.0
806: <li>Krita 4.4.8
807: <li>LLVM/Clang 11.1.0
1.7 jsg 808: <li>LibreOffice 7.2.1.2
1.1 benno 809: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.2 jsg 810: <li>MariaDB 10.6.4
1.1 benno 811: <li>Mono 6.12.0.122
1.2 jsg 812: <li>Mozilla Firefox 92.0 and ESR 91.1.0
1.7 jsg 813: <li>Mozilla Thunderbird 91.1.1
1.2 jsg 814: <li>Mutt 2.1.3 and NeoMutt 20210205
815: <li>Node.js 12.22.6
1.1 benno 816: <li>OCaml 4.10.0
1.2 jsg 817: <li>OpenLDAP 2.4.59
818: <li>PHP 7.3.30, 7.4.23 and 8.0.10
1.7 jsg 819: <li>Postfix 3.5.12
1.2 jsg 820: <li>PostgreSQL 13.4
821: <li>Python 2.7.18, 3.8.12 and 3.9.7
822: <li>Qt 5.15.2 and 6.0.4
823: <li>R 4.1.1
824: <li>Ruby 2.6.8, 2.7.4 and 3.0.2
825: <li>Rust 1.55.0
826: <li>SQLite 3.35.5
1.1 benno 827: <li>Shotcut 21.01.29
1.2 jsg 828: <li>Sudo 1.9.7p2
829: <li>Suricata 6.0.2
1.1 benno 830: <li>Tcl/Tk 8.5.19 and 8.6.8
831: <li>TeX Live 2020
1.2 jsg 832: <li>Vim 8.2.3394 and Neovim 0.5.0
1.1 benno 833: <li>Xfce 4.16
834: </ul>
835: <p>
836:
837: <li>As usual, steady improvements in manual pages and other documentation.
838:
839: <li>The system includes the following major components from outside suppliers:
840: <ul>
1.2 jsg 841: <li>Xenocara (based on X.Org 7.7 with xserver 1.20.13 + patches,
1.5 jsg 842: freetype 2.10.4, fontconfig 2.12.4, Mesa 21.1.8, xterm 367,
1.2 jsg 843: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
844: <li>LLVM/Clang 11.1.0 (+ patches)
1.1 benno 845: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
846: <li>Perl 5.32.1 (+ patches)
1.2 jsg 847: <li>NSD 4.3.7
848: <li>Unbound 1.13.2
1.1 benno 849: <li>Ncurses 5.7
850: <li>Binutils 2.17 (+ patches)
851: <li>Gdb 6.3 (+ patches)
852: <li>Awk December 18, 2020 version
1.2 jsg 853: <li>Expat 2.4.1
1.1 benno 854: </ul>
855:
856: </ul>
857: </section>
858:
859: <hr>
860:
861: <section id=install>
862: <h3>How to install</h3>
863: <p>
864: Please refer to the following files on the mirror site for
865: extensive details on how to install OpenBSD 7.0 on your machine:
866:
867: <ul>
868: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/alpha/INSTALL.alpha">
869: .../OpenBSD/7.0/alpha/INSTALL.alpha</a>
870: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/amd64/INSTALL.amd64">
871: .../OpenBSD/7.0/amd64/INSTALL.amd64</a>
872: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/arm64/INSTALL.arm64">
873: .../OpenBSD/7.0/arm64/INSTALL.arm64</a>
874: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/armv7/INSTALL.armv7">
875: .../OpenBSD/7.0/armv7/INSTALL.armv7</a>
876: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/hppa/INSTALL.hppa">
877: .../OpenBSD/7.0/hppa/INSTALL.hppa</a>
878: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/i386/INSTALL.i386">
879: .../OpenBSD/7.0/i386/INSTALL.i386</a>
880: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/landisk/INSTALL.landisk">
881: .../OpenBSD/7.0/landisk/INSTALL.landisk</a>
882: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/loongson/INSTALL.loongson">
883: .../OpenBSD/7.0/loongson/INSTALL.loongson</a>
884: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/luna88k/INSTALL.luna88k">
885: .../OpenBSD/7.0/luna88k/INSTALL.luna88k</a>
886: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/macppc/INSTALL.macppc">
887: .../OpenBSD/7.0/macppc/INSTALL.macppc</a>
888: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/octeon/INSTALL.octeon">
889: .../OpenBSD/7.0/octeon/INSTALL.octeon</a>
890: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/powerpc64/INSTALL.powerpc64">
891: .../OpenBSD/7.0/powerpc64/INSTALL.powerpc64</a>
1.3 jsg 892: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/riscv64/INSTALL.riscv64">
893: .../OpenBSD/7.0/riscv64/INSTALL.riscv64</a>
1.1 benno 894: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/sparc64/INSTALL.sparc64">
895: .../OpenBSD/7.0/sparc64/INSTALL.sparc64</a>
896: </ul>
897: </section>
898:
899: <hr>
900:
901: <section id=quickinstall>
902: <p>
903: Quick installer information for people familiar with OpenBSD, and the use of
904: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
905: If you are at all confused when installing OpenBSD, read the relevant
906: INSTALL.* file as listed above!
907:
908: <h3>OpenBSD/alpha:</h3>
909:
910: <p>
911: If your machine can boot from CD, you can write <i>install70.iso</i> or
912: <i>cd70.iso</i> to a CD and boot from it.
913: Refer to INSTALL.alpha for more details.
914:
915: <h3>OpenBSD/amd64:</h3>
916:
917: <p>
918: If your machine can boot from CD, you can write <i>install70.iso</i> or
919: <i>cd70.iso</i> to a CD and boot from it.
920: You may need to adjust your BIOS options first.
921:
922: <p>
923: If your machine can boot from USB, you can write <i>install70.img</i> or
924: <i>miniroot70.img</i> to a USB stick and boot from it.
925:
926: <p>
927: If you can't boot from a CD, floppy disk, or USB,
928: you can install across the network using PXE as described in the included
929: INSTALL.amd64 document.
930:
931: <p>
932: If you are planning to dual boot OpenBSD with another OS, you will need to
933: read INSTALL.amd64.
934:
935: <h3>OpenBSD/arm64:</h3>
936:
937: <p>
938: Write <i>install70.img</i> or <i>miniroot70.img</i> to a disk and boot from it
939: after connecting to the serial console. Refer to INSTALL.arm64 for more
940: details.
941:
942: <h3>OpenBSD/armv7:</h3>
943:
944: <p>
945: Write a system specific miniroot to an SD card and boot from it after connecting
946: to the serial console. Refer to INSTALL.armv7 for more details.
947:
948: <h3>OpenBSD/hppa:</h3>
949:
950: <p>
951: Boot over the network by following the instructions in INSTALL.hppa or the
952: <a href="hppa.html#install">hppa platform page</a>.
953:
954: <h3>OpenBSD/i386:</h3>
955:
956: <p>
957: If your machine can boot from CD, you can write <i>install70.iso</i> or
958: <i>cd70.iso</i> to a CD and boot from it.
959: You may need to adjust your BIOS options first.
960:
961: <p>
962: If your machine can boot from USB, you can write <i>install70.img</i> or
963: <i>miniroot70.img</i> to a USB stick and boot from it.
964:
965: <p>
966: If you can't boot from a CD, floppy disk, or USB,
967: you can install across the network using PXE as described in
968: the included INSTALL.i386 document.
969:
970: <p>
971: If you are planning on dual booting OpenBSD with another OS, you will need to
972: read INSTALL.i386.
973:
974: <h3>OpenBSD/landisk:</h3>
975:
976: <p>
977: Write <i>miniroot70.img</i> to the start of the CF
978: or disk, and boot normally.
979:
980: <h3>OpenBSD/loongson:</h3>
981:
982: <p>
983: Write <i>miniroot70.img</i> to a USB stick and boot bsd.rd from it
984: or boot bsd.rd via tftp.
985: Refer to the instructions in INSTALL.loongson for more details.
986:
987: <h3>OpenBSD/luna88k:</h3>
988:
989: <p>
990: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
991: from the PROM, and then bsd.rd from the bootloader.
992: Refer to the instructions in INSTALL.luna88k for more details.
993:
994: <h3>OpenBSD/macppc:</h3>
995:
996: <p>
997: Burn the image from a mirror site to a CDROM, and power on your machine
998: while holding down the <i>C</i> key until the display turns on and
999: shows <i>OpenBSD/macppc boot</i>.
1000:
1001: <p>
1002: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1003: /7.0/macppc/bsd.rd</i>
1004:
1005: <h3>OpenBSD/octeon:</h3>
1006:
1007: <p>
1008: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1009: Refer to the instructions in INSTALL.octeon for more details.
1010:
1011: <h3>OpenBSD/powerpc64:</h3>
1012:
1013: <p>
1014: To install, write <i>install70.img</i> or <i>miniroot70.img</i> to a
1015: USB stick, plug it into the machine and choose the <i>OpenBSD
1016: install</i> menu item in Petitboot.
1017: Refer to the instructions in INSTALL.powerpc64 for more details.
1018:
1.3 jsg 1019: <h3>OpenBSD/riscv64:</h3>
1.1 benno 1020:
1021: <p>
1.3 jsg 1022: To install, write <i>install70.img</i> or <i>miniroot70.img</i> to a
1023: USB stick, and boot with that drive plugged in.
1024: Make sure you also have the microSD card plugged in that shipped with the
1025: HiFive Unmatched board.
1026: Refer to the instructions in INSTALL.riscv64 for more details.
1.1 benno 1027:
1028: <h3>OpenBSD/sparc64:</h3>
1029:
1030: <p>
1031: Burn the image from a mirror site to a CDROM, boot from it, and type
1032: <i>boot cdrom</i>.
1033:
1034: <p>
1035: If this doesn't work, or if you don't have a CDROM drive, you can write
1036: <i>floppy70.img</i> or <i>floppyB70.img</i>
1037: (depending on your machine) to a floppy and boot it with <i>boot
1038: floppy</i>. Refer to INSTALL.sparc64 for details.
1039:
1040: <p>
1041: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1042: will most likely fail.
1043:
1044: <p>
1045: You can also write <i>miniroot70.img</i> to the swap partition on
1046: the disk and boot with <i>boot disk:b</i>.
1047:
1048: <p>
1049: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1050: </section>
1051:
1052: <hr>
1053:
1054: <section id=upgrade>
1055: <h3>How to upgrade</h3>
1056: <p>
1.4 jsg 1057: If you already have an OpenBSD 6.9 system, and do not want to reinstall,
1.1 benno 1058: upgrade instructions and advice can be found in the
1059: <a href="faq/upgrade70.html">Upgrade Guide</a>.
1060: </section>
1061:
1062: <hr>
1063:
1064: <section id=sourcecode>
1065: <h3>Notes about the source code</h3>
1066: <p>
1067: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1068: This file contains everything you need except for the kernel sources,
1069: which are in a separate archive.
1070: To extract:
1071: <blockquote><pre>
1072: # <kbd>mkdir -p /usr/src</kbd>
1073: # <kbd>cd /usr/src</kbd>
1074: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1075: </pre></blockquote>
1076: <p>
1077: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1078: This file contains all the kernel sources you need to rebuild kernels.
1079: To extract:
1080: <blockquote><pre>
1081: # <kbd>mkdir -p /usr/src/sys</kbd>
1082: # <kbd>cd /usr/src</kbd>
1083: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1084: </pre></blockquote>
1085: <p>
1086: Both of these trees are a regular CVS checkout. Using these trees it
1087: is possible to get a head-start on using the anoncvs servers as
1088: described <a href="anoncvs.html">here</a>.
1089: Using these files
1090: results in a much faster initial CVS update than you could expect from
1091: a fresh checkout of the full OpenBSD source tree.
1092: </section>
1093:
1094: <hr>
1095:
1096: <section id=ports>
1097: <h3>Ports Tree</h3>
1098: <p>
1099: A ports tree archive is also provided. To extract:
1100: <blockquote><pre>
1101: # <kbd>cd /usr</kbd>
1102: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1103: </pre></blockquote>
1104: <p>
1105: Go read the <a href="faq/ports/index.html">ports</a> page
1106: if you know nothing about ports
1107: at this point. This text is not a manual of how to use ports.
1108: Rather, it is a set of notes meant to kickstart the user on the
1109: OpenBSD ports system.
1110: <p>
1111: The <i>ports/</i> directory represents a CVS checkout of our ports.
1112: As with our complete source tree, our ports tree is available via
1113: <a href="anoncvs.html">AnonCVS</a>.
1114: So, in order to keep up to date with the -stable branch, you must make
1115: the <i>ports/</i> tree available on a read-write medium and update the tree
1116: with a command like:
1117: <blockquote><pre>
1118: # <kbd>cd /usr/ports</kbd>
1119: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_0</kbd>
1120: </pre></blockquote>
1121: <p>
1122: [Of course, you must replace the server name here with a nearby anoncvs
1123: server.]
1124: <p>
1125: Note that most ports are available as packages on our mirrors. Updated
1126: ports for the 7.0 release will be made available if problems arise.
1127: <p>
1128: If you're interested in seeing a port added, would like to help out, or just
1129: would like to know more, the mailing list
1130: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1131: </section>