This is an implementation of Wireguard in Go.
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.
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
net/wireguard-go: fix build on riscv64
Bump golang.org/x/{net,sys} dependencies to versions
new enough to support riscv64-freebsd.
Sponsored by: Berliner Linux User Group e.V.
Approved by: portmgr (build fix blanket)
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)
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 )
net/wireguard-go: Update to 0.0.20220117
We cannot use GH_TUPLE anymore because some dependencies are not
available on github so we need to pack and distribute them ourselves.
net/wireguard-go: Update to 0.0.20210212
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
Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.
USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.
PR: 238849
Submitted by: dg@syrec.org (also D20745)
Reviewed by: mat, tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D20746
net/wireguard:
work around numerous kernel panics on shutdown in tun(4)
There are numerous race conditions. But even this will crash it:
while true; do ifconfig tun0 create; ifconfig tun0 destroy; done
It seems like LLv6 is related, which we're not using anyway, so
explicitly disable it on the interface.
PR: 233955
net/wireguard-go: Remove self generated vendor tarball and pull from GH instead
No PORTREVISION bump because the package does not change. Go dependencies have
the same revision and a binary diff of the wireguard-go binaries have no
relevant
differences (except some 40 byte string which is different with every build).
net/wireguard-go: Update to 0.0.20181018
- Remove dep dependency because upstream switched to Go 1.11 new modules
support. Sadly we still have to enforce oldfashioned vendoring because
otherwise "go build" would automatically download stuff from the internet
before building.
Theoretically it should be possible to get rid of the self generated
vendor distfile but practically I did not get it working (yet).
This is an implementation of Wireguard in Go.
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