diff --git a/net/Makefile b/net/Makefile --- a/net/Makefile +++ b/net/Makefile @@ -1677,6 +1677,7 @@ SUBDIR += wifibox SUBDIR += wifibox-alpine SUBDIR += wifibox-core + SUBDIR += wireguard-amnezia-kmod SUBDIR += wireguard-go SUBDIR += wireguard-tools SUBDIR += wireproxy diff --git a/net/wireguard-amnezia-kmod/Makefile b/net/wireguard-amnezia-kmod/Makefile new file mode 100644 --- /dev/null +++ b/net/wireguard-amnezia-kmod/Makefile @@ -0,0 +1,21 @@ +PORTNAME= wireguard-amnezia +PORTVERSION= 1.0.4 +DISTVERSIONPREFIX= v +CATEGORIES= net net-vpn +PKGNAMESUFFIX= -kmod + +MAINTAINER= vova@zote.me +COMMENT= WireGuard implementation with Amnezia support +WWW= https://github.com/vgrebenschikov/wireguard-amnezia-kmod + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= kmod uidfix +USE_GITHUB= yes +GH_ACCOUNT= vgrebenschikov +GH_PROJECT= wireguard-amnezia-kmod + +PLIST_FILES= ${KMODDIR}/if_wg.ko + +.include diff --git a/net/wireguard-amnezia-kmod/distinfo b/net/wireguard-amnezia-kmod/distinfo new file mode 100644 --- /dev/null +++ b/net/wireguard-amnezia-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1752356095 +SHA256 (vgrebenschikov-wireguard-amnezia-kmod-v1.0.4_GH0.tar.gz) = 3c137f9f1e8160e22d480e8805421522a1785f052e6f963ad0444be587dd43a1 +SIZE (vgrebenschikov-wireguard-amnezia-kmod-v1.0.4_GH0.tar.gz) = 51551 diff --git a/net/wireguard-amnezia-kmod/pkg-descr b/net/wireguard-amnezia-kmod/pkg-descr new file mode 100644 --- /dev/null +++ b/net/wireguard-amnezia-kmod/pkg-descr @@ -0,0 +1,6 @@ +WireGuard is a simple, fast, and secure VPN that utilizes state-of-the-art +cryptography. This is a modified version with Amnezia support, which adds +junk packets before the handshake and makes the protocol much harder to +identify. + +It is intended as a drop-in replacement for the in-tree if_wg.ko.