aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cirrus.yml21
-rw-r--r--README.md10
2 files changed, 16 insertions, 15 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index bcca434..47f05d5 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,24 +1,19 @@
freebsd_task:
timeout_in: 120m
install_script:
- - ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y bash iperf3 wireguard-tools
- - fetch https://download.freebsd.org/ftp/releases/$(uname -m)/$(uname -r)/src.txz
- - tar -C / -x -f src.txz
+ - ASSUME_ALWAYS_YES=yes pkg bootstrap -f && pkg install -y bash iperf3 wireguard-tools
build_script:
- make -j $(sysctl -n hw.ncpu) -C src DEBUG_FLAGS=-DSELFTESTS
test_script:
- kldload src/if_wg.ko
- tests/netns.sh
matrix:
- # bash fails on 11 and 12 with undefined symbols (e.g.
- # "rl_executing_keyseq" referenced from COPY relocation in
- # /usr/local/bin/bash) so skip for now.
- #- name: freebsd11-amd64
- # freebsd_instance:
- # image: freebsd-11-2-release-amd64
- #- name: freebsd12-amd64
- # freebsd_instance:
- # image: freebsd-12-0-release-amd64
- - name: freebsd13-amd64
+ - name: freebsd12-1-amd64
+ freebsd_instance:
+ image: freebsd-12-1-release-amd64
+ - name: freebsd12-2-amd64
+ freebsd_instance:
+ image: freebsd-12-2-release-amd64
+ - name: freebsd13-0-amd64
freebsd_instance:
image: freebsd-13-0-release-amd64
diff --git a/README.md b/README.md
index 6bcb724..273803f 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,15 @@ This is a kernel module for FreeBSD to support [WireGuard](https://www.wireguard
### Installation instructions
-First make sure you have the latest net/wireguard package installed, version ≥1.0.20210315.
+Snapshots of this may be installed from packages:
-Then, on FreeBSD 12 & 13:
+```
+# pkg install wireguard
+```
+
+### Building instructions
+
+If you'd prefer to build this repo from scratch, rather than using a package, first make sure you have the latest net/wireguard-tools package installed, version ≥1.0.20210424. Then, on FreeBSD 12.1, 12.2, and 13.0:
```
# git clone https://git.zx2c4.com/wireguard-freebsd