notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
wireguard Meta-port for Wireguard
2,1 net Deleted 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 2,1Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Only useful for FreeBSD 12 which is EoL soon
Expired This port expired on: 2023-12-31
Maintainer: decke@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-05-24 08:45:11
Last Update: 2023-12-31 00:06:38
Commit Hash: 8bd9973
People watching this port, also watch:: wireguard-go, nginx, firefox, rsync, smartmontools
Also Listed In: net-vpn
License: NA
WWW:
https://www.wireguard.com
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/wireguard-2,1/catalog.mk
  2. /usr/local/share/licenses/wireguard-2,1/LICENSE
  3. /usr/local/share/licenses/wireguard-2,1/NA
Collapse this list.
Dependency lines:
  • wireguard>0:net/wireguard
No installation instructions:
This port has been deleted.
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
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2,1-----
FreeBSD:14:latest--2,1--2,1-2,1
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
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
NOTE: dependencies for deleted ports are notoriously suspect
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:
No options to configure
Options name:
net_wireguard
USES:
metaport
pkg-message:
For install:
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 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.
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.
    
    
Port Moves
  • port deleted on 2023-12-31
    REASON: Has expired: Only useful for FreeBSD 12 which is EoL soon

Number of commits found: 63

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2,1
31 Dec 2023 00:06:38
commit hash: 8bd99739aa6e687975c6c3566019072fa21a14facommit hash: 8bd99739aa6e687975c6c3566019072fa21a14facommit hash: 8bd99739aa6e687975c6c3566019072fa21a14facommit hash: 8bd99739aa6e687975c6c3566019072fa21a14fa files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
net/wireguard: Remove expired port

2023-12-31 net/wireguard: Only useful for FreeBSD 12 which is EoL soon
2,1
01 Oct 2023 12:18:48
commit hash: 64db1ca142ba0e7d11ba3383c7437af28d020463commit hash: 64db1ca142ba0e7d11ba3383c7437af28d020463commit hash: 64db1ca142ba0e7d11ba3383c7437af28d020463commit hash: 64db1ca142ba0e7d11ba3383c7437af28d020463 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
net/wireguard: Mark DEPRECATED

This metaport was only useful when we had multiple wireguard ports in
the portstree. With the deprecation of net/wireguard-kmod this metaport
is also not needed anymore.
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2,1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2,1
30 Sep 2021 21:23:30
commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7 files touched by this commit
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
2,1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2,1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2,1
22 Mar 2021 13:54:21
Revision:568962Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Fix instructions, kernel module is loaded by ifconfig
automatically (magic?!)
1,1
22 Mar 2021 12:10:41
Revision:568954Original commit files touched by this commit
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
1.0.20210315
22 Mar 2021 12:07:45
Revision:568953Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard-tools: Repocopy from net/wireguard, flavorize and add rc.d script
for lite flavor
1.0.20210315
15 Mar 2021 18:25:49
Revision:568486Original commit files touched by this commit
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.
1.0.20210223
25 Feb 2021 20:41:23
Revision:566557Original commit files touched by this commit
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
1.0.20200827
30 Aug 2020 07:14:40
Revision:546996Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200827
1.0.20200820
21 Aug 2020 20:35:24
Revision:545622Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200820
1.0.20200513
15 May 2020 19:42:31
Revision:535323Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200513
1.0.20200510
11 May 2020 19:03:04
Revision:534933Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200510
1.0.20200319_2
30 Mar 2020 19:18:03
Revision:529909Original commit files touched by this commit
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
1.0.20200319_1
30 Mar 2020 19:15:33
Revision:529908Original commit files touched by this commit
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>
1.0.20200319
22 Mar 2020 13:07:02
Revision:528916Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200319
1.0.20200206
06 Feb 2020 16:06:27
Revision:525384Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard:
- Update to 1.0.20200206
1.0.20200121
22 Jan 2020 13:36:59
Revision:523809Original commit files touched by this commit
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
1.0.20200102
07 Jan 2020 14:50:17
Revision:522333Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 1.0.20200102

MFH:	2020Q1
1.0.20191226
27 Dec 2019 12:38:32
Revision:520984Original commit files touched by this commit
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)
0.0.20191219
19 Dec 2019 10:44:26
Revision:520434Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191219
0.0.20191212
13 Dec 2019 14:22:53
Revision:520035Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191212
0.0.20191206
07 Dec 2019 12:34:23
Revision:519206Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191206
0.0.20191205
06 Dec 2019 12:23:34
Revision:519135Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191205
0.0.20191127
28 Nov 2019 08:21:08
Revision:518568Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191127
0.0.20191012
14 Oct 2019 09:11:58
Revision:514441Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20191012

MFH:		2019Q4
0.0.20190913
14 Sep 2019 17:45:24
Revision:512039Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190913
0.0.20190905
06 Sep 2019 09:53:53
Revision:511287Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190905
0.0.20190702
14 Aug 2019 03:26:09
Revision:508887Original commit files touched by this commit
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
0.0.20190702
02 Jul 2019 15:07:39
Revision:505683Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190702
0.0.20190601
03 Jun 2019 13:15:36
Revision:503388Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190601
0.0.20190531
31 May 2019 18:49:13
Revision:503188Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190531
0.0.20190406_1
23 Apr 2019 12:36:30
Revision:499755Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: workaround SIOCGIFSTATUS race in FreeBSD kernel

PR:		233955
0.0.20190406
07 Apr 2019 10:47:34
Revision:498271Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190406
0.0.20190227_3
29 Mar 2019 12:27:08
Revision:497111Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Improve rc.d script to support other userspace implementations
like boringtun
0.0.20190227_2
18 Mar 2019 21:18:02
Revision:496212Original commit files touched by this commit
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
0.0.20190227_1
28 Feb 2019 20:12:39
Revision:494184Original commit files touched by this commit
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
0.0.20190227
28 Feb 2019 06:59:52
Revision:494130Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190227
0.0.20190123
26 Jan 2019 15:07:08
Revision:491295Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20190123
0.0.20181218
18 Dec 2018 19:30:37
Revision:487766Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181218
0.0.20181119
20 Nov 2018 08:35:06
Revision:485419Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181119
0.0.20181115
16 Nov 2018 08:36:47
Revision:485064Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181115
0.0.20181018_1
25 Oct 2018 12:13:30
Revision:482968Original commit files touched by this commit
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>
0.0.20181018
18 Oct 2018 11:49:51
Revision:482341Original commit files touched by this commit
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.
0.0.20181007_1
11 Oct 2018 12:49:45
Revision:481820Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Add rc.d script

Submitted by:	Steve Hay <hay.steve@gmail.com>
0.0.20181007
08 Oct 2018 10:15:36
Revision:481533Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20181007
0.0.20180925
25 Sep 2018 15:21:46
Revision:480667Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180925
0.0.20180918
19 Sep 2018 10:41:52
Revision:480094Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180918
0.0.20180910
11 Sep 2018 07:06:36
Revision:479505Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180910
0.0.20180904
04 Sep 2018 19:52:53
Revision:478987Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180904
0.0.20180809
10 Aug 2018 06:22:24
Revision:476805Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180809
0.0.20180802
03 Aug 2018 07:57:31
Revision:476282Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180802
0.0.20180731
01 Aug 2018 07:34:12
Revision:476159Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180731
0.0.20180718
19 Jul 2018 06:27:33
Revision:474927Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180718
0.0.20180708
08 Jul 2018 20:10:26
Revision:474196Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180708
0.0.20180625
26 Jun 2018 10:14:47
Revision:473382Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180625
0.0.20180620
21 Jun 2018 07:59:24
Revision:472963Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180620
0.0.20180613
14 Jun 2018 06:12:36
Revision:472357Original commit files touched by this commit
decke search for other commits by this committer
net/wireguard: Update to 0.0.20180613
0.0.20180531
31 May 2018 20:45:48
Revision:471239Original commit files touched by this commit
decke search for other commits by this committer
- Update to 0.0.20180531
- Remove not needed bash build dependency
0.0.20180524
24 May 2018 08:44:56
Revision:470763Original commit files touched by this commit
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: 63