notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
wireguard Meta-port for Wireguard
2,1 net on this many watch lists=12 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: decke@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-05-24 08:45:11
Last Update: 2021-09-30 21:23:30
Commit Hash: 620968a
People watching this port, also watch:: nginx, smartmontools, zip, rsync, pkg
Also Listed In: net-vpn
License: not specified in port
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • wireguard>0:net/wireguard
To install the port:
cd /usr/ports/net/wireguard/ && make install clean
To add the package, run one of these commands:
  • pkg install net/wireguard
  • pkg install wireguard
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: wireguard
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.
Packages (timestamps in pop-ups are UTC):
wireguard
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd642,12,1
FreeBSD:11:armv6--
FreeBSD:11:i3862,12,1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-2,1
FreeBSD:12:amd642,12,1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3862,12,1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-2,1
FreeBSD:13:aarch642,12,1
FreeBSD:13:amd642,12,1
FreeBSD:13:armv6-2,1
FreeBSD:13:armv72,12,1
FreeBSD:13:i3862,12,1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-2,1
FreeBSD:13:riscv64-2,1
FreeBSD:14:aarch642,1-
FreeBSD:14:amd642,1-
FreeBSD:14:armv62,1-
FreeBSD:14:armv72,1-
FreeBSD:14:i3862,1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc642,1-
FreeBSD:14:riscv642,1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. wg-quick : net/wireguard-tools
  2. if_wg.ko : net/wireguard-kmod
This port is required by:
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. net/boringtun*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
  1. There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2021-03-22
    Affects: users of net/wireguard
    Author: decke@FreeBSD.org
    Reason: 
      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.
    
      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.
    
    

Number of commits found: 59

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
30 Sep 2021 21:23:30
 files touched by this commit commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7  2,1
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  2,1
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  2,1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
22 Mar 2021 13:54:21
Original commit files touched by this commit Revision:568962  2,1
decke search for other commits by this committer
net/wireguard: Fix instructions, kernel module is loaded by ifconfig
automatically (magic?!)
22 Mar 2021 12:10:41
Original commit files touched by this commit Revision:568954  1,1
decke search for other commits by this committer
WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN. WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.

This package does not contain anything by itself - it is a "meta-port" that
depends on other wireguard packages.

WWW: https://www.wireguard.com
22 Mar 2021 12:07:45
Original commit files touched by this commit Revision:568953  1.0.20210315
decke search for other commits by this committer
net/wireguard-tools: Repocopy from net/wireguard, flavorize and add rc.d script
for lite flavor
15 Mar 2021 18:25:49
Original commit files touched by this commit Revision:568486  1.0.20210315
decke search for other commits by this committer
net/wireguard: Update to 1.0.20210315 and drop BASHCOMPLETION option

BASHCOMOPLETION option was dropped but we install shell completion files
unconditionally to follow porters handbook.

This is the first wireguard-tools version that supports FreeBSD's kernel
implementation. It is compatible with if_wg in FreeBSD 14-CURRENT which
will likely be backported in the future but incompatible with the if_wg
code that was present in stable/13 up to 13.0-RC3.
25 Feb 2021 20:41:23
Original commit files touched by this commit Revision:566557  1.0.20210223
decke search for other commits by this committer
net/wireguard: Update to 1.0.20210223 and introduce options

Due to a bug which was fixed in this release both net/wireguard
and net/wireguard-go need to be updated or wg-quick will hang at
the next start.

PR:		253537
30 Aug 2020 07:14:40
Original commit files touched by this commit Revision:546996  1.0.20200827
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200827
21 Aug 2020 20:35:24
Original commit files touched by this commit Revision:545622  1.0.20200820
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200820
15 May 2020 19:42:31
Original commit files touched by this commit Revision:535323  1.0.20200513
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200513
11 May 2020 19:03:04
Original commit files touched by this commit Revision:534933  1.0.20200510
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200510
30 Mar 2020 19:18:03
Original commit files touched by this commit Revision:529909  1.0.20200319_2
decke search for other commits by this committer
net/wireguard: Implement reload command in rc.d script to reload all peer
and key settings without restarting the daemon to avoid interface up/down
and loosing traffic. This does not work if you change the Address= line in
the [Interface] section which needs a real restart.

PR:		244862
Submitted by:	david@isnic.is
30 Mar 2020 19:15:33
Original commit files touched by this commit Revision:529908  1.0.20200319_1
decke search for other commits by this committer
net/wireguard: Introduce general wireguard_env parameter for environment
variables which affect wg-quick or the userspace implementation (eg.
wireguard-go). The syntax in rc.conf is:

  wireguard_env="VAR=val VAR2=val2"

As a reference wg-quick uses these environment variables

  WG_QUICK_USERSPACE_IMPLEMENTATION

and wireguard-go

  LOG_LEVEL
  WG_TUN_FD
  WG_UAPI_FD
  WG_PROCESS_FOREGROUND

Submitted by:	J.R. Oldroyd <fbsd@opal.com>
22 Mar 2020 13:07:02
Original commit files touched by this commit Revision:528916  1.0.20200319
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200319
06 Feb 2020 16:06:27
Original commit files touched by this commit Revision:525384  1.0.20200206
decke search for other commits by this committer
net/wireguard:
- Update to 1.0.20200206
22 Jan 2020 13:36:59
Original commit files touched by this commit Revision:523809  1.0.20200121
decke search for other commits by this committer
net/wireguard:
- Update to 1.0.20200121
- Remove ALL_TARGET now since "all" is available

MFH:	2020Q1
07 Jan 2020 14:50:17
Original commit files touched by this commit Revision:522333  1.0.20200102
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200102

MFH:	2020Q1
27 Dec 2019 12:38:32
Original commit files touched by this commit Revision:520984  1.0.20191226
decke search for other commits by this committer
net/wireguard: Update to 1.0.20191226 and switch to the new wireguard-tools
repository

Reported by:	Jason A. Donenfeld <jason@wireguard.com> (per email)
19 Dec 2019 10:44:26
Original commit files touched by this commit Revision:520434  0.0.20191219
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191219
13 Dec 2019 14:22:53
Original commit files touched by this commit Revision:520035  0.0.20191212
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191212
07 Dec 2019 12:34:23
Original commit files touched by this commit Revision:519206  0.0.20191206
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191206
06 Dec 2019 12:23:34
Original commit files touched by this commit Revision:519135  0.0.20191205
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191205
28 Nov 2019 08:21:08
Original commit files touched by this commit Revision:518568  0.0.20191127
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191127
14 Oct 2019 09:11:58
Original commit files touched by this commit Revision:514441  0.0.20191012
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191012

MFH:		2019Q4
14 Sep 2019 17:45:24
Original commit files touched by this commit Revision:512039  0.0.20190913
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190913
06 Sep 2019 09:53:53
Original commit files touched by this commit Revision:511287  0.0.20190905
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190905
14 Aug 2019 03:26:09
Original commit files touched by this commit Revision:508887  0.0.20190702
meta search for other commits by this committer
Implement new virtual category: net-vpn for VPN related ports

based on discussion at ports@ [1]. As VPN softwares are put in different
physical category net and security. This is a little bit confusing. Let's
give them new virtual category net-vpn.

[1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115915.html

PR:		239395
Submitted by:	myself
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D21174
02 Jul 2019 15:07:39
Original commit files touched by this commit Revision:505683  0.0.20190702
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190702
03 Jun 2019 13:15:36
Original commit files touched by this commit Revision:503388  0.0.20190601
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190601
31 May 2019 18:49:13
Original commit files touched by this commit Revision:503188  0.0.20190531
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190531
23 Apr 2019 12:36:30
Original commit files touched by this commit Revision:499755  0.0.20190406_1
decke search for other commits by this committer
net/wireguard: workaround SIOCGIFSTATUS race in FreeBSD kernel

PR:		233955
07 Apr 2019 10:47:34
Original commit files touched by this commit Revision:498271  0.0.20190406
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190406
29 Mar 2019 12:27:08
Original commit files touched by this commit Revision:497111  0.0.20190227_3
decke search for other commits by this committer
net/wireguard: Improve rc.d script to support other userspace implementations
like boringtun
18 Mar 2019 21:18:02
Original commit files touched by this commit Revision:496212  0.0.20190227_2
decke search for other commits by this committer
net/wireguard:
- Cherry pick patch that fixes TMPDIR handling and tmp file leaks on /
- Fix rc.d script to initialize variable
- Bump PORTREVISION
28 Feb 2019 20:12:39
Original commit files touched by this commit Revision:494184  0.0.20190227_1
decke search for other commits by this committer
net/wireguard: Revert wg-quick change which broke localhost

Reported by:	Matt Smith <matt.xtaz@gmail.com>
Obtained
from:	https://git.zx2c4.com/WireGuard/patch/?id=cba99f16a4ec9a229358ce1ed96080bd5ae04a7e
28 Feb 2019 06:59:52
Original commit files touched by this commit Revision:494130  0.0.20190227
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190227
26 Jan 2019 15:07:08
Original commit files touched by this commit Revision:491295  0.0.20190123
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190123
18 Dec 2018 19:30:37
Original commit files touched by this commit Revision:487766  0.0.20181218
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181218
20 Nov 2018 08:35:06
Original commit files touched by this commit Revision:485419  0.0.20181119
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181119
16 Nov 2018 08:36:47
Original commit files touched by this commit Revision:485064  0.0.20181115
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181115
25 Oct 2018 12:13:30
Original commit files touched by this commit Revision:482968  0.0.20181018_1
decke search for other commits by this committer
net/wireguard: Update rc.d script to let the user define which wg interfaces to
manage

Most people will likely want to put wireguard_interfaces="wg0" in /etc/rc.conf

Reported by:	Jason A. Donenfeld <Jason@zx2c4.com>
18 Oct 2018 11:49:51
Original commit files touched by this commit Revision:482341  0.0.20181018
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181018

- Also remove "sleep 1" from startscript because the race condition has been
fixed upstream.
11 Oct 2018 12:49:45
Original commit files touched by this commit Revision:481820  0.0.20181007_1
decke search for other commits by this committer
net/wireguard: Add rc.d script

Submitted by:	Steve Hay <hay.steve@gmail.com>
08 Oct 2018 10:15:36
Original commit files touched by this commit Revision:481533  0.0.20181007
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181007
25 Sep 2018 15:21:46
Original commit files touched by this commit Revision:480667  0.0.20180925
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180925
19 Sep 2018 10:41:52
Original commit files touched by this commit Revision:480094  0.0.20180918
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180918
11 Sep 2018 07:06:36
Original commit files touched by this commit Revision:479505  0.0.20180910
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180910
04 Sep 2018 19:52:53
Original commit files touched by this commit Revision:478987  0.0.20180904
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180904
10 Aug 2018 06:22:24
Original commit files touched by this commit Revision:476805  0.0.20180809
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180809
03 Aug 2018 07:57:31
Original commit files touched by this commit Revision:476282  0.0.20180802
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180802
01 Aug 2018 07:34:12
Original commit files touched by this commit Revision:476159  0.0.20180731
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180731
19 Jul 2018 06:27:33
Original commit files touched by this commit Revision:474927  0.0.20180718
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180718
08 Jul 2018 20:10:26
Original commit files touched by this commit Revision:474196  0.0.20180708
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180708
26 Jun 2018 10:14:47
Original commit files touched by this commit Revision:473382  0.0.20180625
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180625
21 Jun 2018 07:59:24
Original commit files touched by this commit Revision:472963  0.0.20180620
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180620
14 Jun 2018 06:12:36
Original commit files touched by this commit Revision:472357  0.0.20180613
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180613
31 May 2018 20:45:48
Original commit files touched by this commit Revision:471239  0.0.20180531
decke search for other commits by this committer
- Update to 0.0.20180531
- Remove not needed bash build dependency
24 May 2018 08:44:56
Original commit files touched by this commit Revision:470763  0.0.20180524
decke search for other commits by this committer
WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner,
and more useful than IPSec, while avoiding the massive headache. It
intends to be considerably more performant than OpenVPN. WireGuard is
designed as a general purpose VPN for running on embedded interfaces and
super computers alike, fit for many different circumstances.

WWW: https://www.wireguard.com

Number of commits found: 59