Search Criteria
Package Details: amneziawg-dkms 1.0.20241112-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/amneziawg-dkms.git (read-only, click to copy) |
---|---|
Package Base: | amneziawg-dkms |
Description: | AmneziaWG is a contemporary version of the popular VPN protocol, WireGuard. |
Upstream URL: | https://github.com/amnezia-vpn/amneziawg-linux-kernel-module |
Licenses: | GPLv2 |
Provides: | AMNEZIAWG-MODULE |
Submitter: | VVL |
Maintainer: | VVL |
Last Packager: | VVL |
Votes: | 7 |
Popularity: | 0.73 |
First Submitted: | 2024-09-30 22:15 (UTC) |
Last Updated: | 2025-02-16 16:07 (UTC) |
Latest Comments
petRUShka commented on 2025-04-17 18:08 (UTC)
Hi there, thanks for maintaining AmneziaWG!
I noticed the PKGBUILD runs
wget
insideprepare‑sources.sh
, pulling an entire kernel tarball duringbuild()
/package()
.That breaks the Arch packaging rule that “build() and package() must be able to run with no network access; everything must come from
source=()
.” (see Creating packages → “Offline build” section).Suggested fix (either of the two works):
1. Vendor the needed WireGuard subtree.
* Add the handful of kernel files to the
source=()
array and patch the Makefile to use them under/usr/src/${pkgname}-${pkgver}/kernel
.* Removes the network call, keeps the DKMS logic intact.
2. Patch AmneziaWG to build against installed
linux-headers
only (like upstream WireGuard).* Then you can drop
prepare‑sources.sh
entirely; no external tarball is needed.Happy to test a revised PKGBUILD or submit patches if that helps—just let me know.
dronskii commented on 2025-02-05 16:40 (UTC)
this fixes "dkms exited with error code 1" for me. Constructs like
test && something
set return code to 1 when condition is false.vanyasem commented on 2025-01-15 14:51 (UTC)
thank you <3
VVL commented on 2025-01-14 21:17 (UTC)
@vanyasem
fixed
vanyasem commented on 2025-01-12 01:04 (UTC)
This patch resolves a segmentation failed on
make
: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/40 The issue is caused by long variable name length. A simple solution is to rename the one variable that's causing the segfault to something shorter. The bug has been fixed since, but is not released to stablemake
yet: https://savannah.gnu.org/bugs/index.php?65172VVL commented on 2024-10-18 19:34 (UTC)
Thank you, I've added this fix to PKGBUILD.
ftk commented on 2024-10-13 14:25 (UTC) (edited on 2024-10-13 20:41 (UTC) by ftk)
fixes downloading wireguard sources during install
tannisroot commented on 2024-10-12 11:08 (UTC)
Doesn't actually get installed, here's make.log