svn commit: r568962 - in head: . net/wireguard
Bernhard Froehlich
decke at FreeBSD.org
Mon Mar 22 13:54:22 UTC 2021
Author: decke
Date: Mon Mar 22 13:54:21 2021
New Revision: 568962
URL: https://svnweb.freebsd.org/changeset/ports/568962
Log:
net/wireguard: Fix instructions, kernel module is loaded by ifconfig automatically (magic?!)
Modified:
head/UPDATING
head/net/wireguard/Makefile
head/net/wireguard/pkg-message
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Mon Mar 22 13:49:02 2021 (r568961)
+++ head/UPDATING Mon Mar 22 13:54:21 2021 (r568962)
@@ -12,16 +12,14 @@ you update your ports collection, before attempting an
A wireguard kernel implementation supporting FreeBSD 12.1 and newer was
added as net/wireguard-kmod recently.
- The new default for users of net/wireguard is the kernel module where it
- is supported and needs to be loaded at boot time from your /etc/rc.conf
- or /etc/rc.conf.d/wireguard file:
+ The new default for users of net/wireguard is the kernel module.
- kld_list="/boot/modules/if_wg.ko"
-
If you experience problems with it you can switch back to wireguard-go
- easily by unloading (or not loading) the kernel module. The userland
- tools wg-quick(8) and wg(8) try to use kernel support and otherwise fall
- back to wireguard-go automatically. Config files are fully compatible.
+ by removing net/wireguard-kmod and making sure net/wireguard-go is
+ installed.
+ The userland tools wg-quick(8) and wg(8) try to use kernel support if
+ the kernel module is available and otherwise fall back to wireguard-go
+ automatically. Config files are fully compatible.
20210317:
AFFECTS: users of security/strongswan
Modified: head/net/wireguard/Makefile
==============================================================================
--- head/net/wireguard/Makefile Mon Mar 22 13:49:02 2021 (r568961)
+++ head/net/wireguard/Makefile Mon Mar 22 13:54:21 2021 (r568962)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wireguard
-PORTVERSION= 1
+PORTVERSION= 2
PORTEPOCH= 1
CATEGORIES= net net-vpn
Modified: head/net/wireguard/pkg-message
==============================================================================
--- head/net/wireguard/pkg-message Mon Mar 22 13:49:02 2021 (r568961)
+++ head/net/wireguard/pkg-message Mon Mar 22 13:54:21 2021 (r568962)
@@ -4,16 +4,14 @@
For FreeBSD < 12.1 only the userland implementation wireguard-go is
available.
-For FreeBSD >= 12.1 we default to use the kernel module if_wg(4). If
-you experience problems with it you can switch back to wireguard-go
-easily by unloading the kernel module. The userland tools wg-quick(8)
-and wg(8) try to use if_wg(4) if available and otherwise fallback to
-wireguard-go. Config files are fully compatible.
+For FreeBSD >= 12.1 we default to use the kernel module if_wg(4).
-To load the kernel module at boot add this to your /etc/rc.conf or
-/etc/rc.conf.d/wireguard file:
-
-kld_list="/boot/modules/if_wg.ko"
+If you experience problems with it you can switch back to wireguard-go
+by removing net/wireguard-kmod and making sure net/wireguard-go is
+installed.
+The userland tools wg-quick(8) and wg(8) try to use kernel support if
+the kernel module is available and otherwise fall back to wireguard-go
+automatically. Config files are fully compatible.
EOM
}
]
More information about the svn-ports-head
mailing list