aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 17:43:55 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-18 09:00:52 -0600
commit3874141edd2f77e13ee78371798db225b35b7c7e (patch)
tree4dcd225bf1ceb4973264d8c01e3e285c503d7f2d /README.md
parentif_wg: use our own taskqgroup (diff)
downloadwireguard-freebsd-3874141edd2f77e13ee78371798db225b35b7c7e.tar.xz
wireguard-freebsd-3874141edd2f77e13ee78371798db225b35b7c7e.zip
compat: backport to FreeBSD 12.2
This should allow us to get more testing coverage earlier. This port here is also a bit janky. I really don't like the taskqgroup business, having to copy and paste those structs. And this isn't well tested, either. But, it's a start. This distinguishes between compat.h and support.h, though both header files are intended to operate in more or less the same way. It's important to keep some discipline between things that we're backporting and things that aren't _yet_ upstream or are shims for OpenBSD. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.md b/README.md
index 5596904..8b526c5 100644
--- a/README.md
+++ b/README.md
@@ -6,14 +6,11 @@ This is a kernel module for FreeBSD to support [WireGuard](https://www.wireguard
First make sure you have the latest net/wireguard package installed, version ≥1.0.20210315.
-Then, on FreeBSD 13.0:
+Then, on FreeBSD 12 &amp; 13:
```
-# pkg install wireguard
# git clone https://git.zx2c4.com/wireguard-freebsd
-# cd wireguard-freebsd/src
-# make load
-# make install
+# make -C wireguard-freebsd/src load install
```
After that, it should be possible to use `wg(8)` and `wg-quick(8)` like usual, but with the faster kernel implementation.