Package Details: amneziawg-dkms-git r1338.b2e234b-2

Git Clone URL: https://aur.archlinux.org/amneziawg-dkms-git.git (read-only, click to copy)
Package Base: amneziawg-dkms-git
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
Conflicts: amneziawg-linux-kernel-module
Provides: AMNEZIAWG-MODULE
Submitter: h8ray
Maintainer: h8ray
Last Packager: h8ray
Votes: 3
Popularity: 0.000385
First Submitted: 2024-10-02 17:48 (UTC)
Last Updated: 2026-02-08 16:07 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Speedy_Lex commented on 2026-02-08 20:13 (UTC)

Thanks for telling me the linux-headers makedep isn't needed. I've gone ahead and removed it from my package.

h8ray commented on 2026-02-08 16:15 (UTC)

Thanks @Speedy_Lex, I updated the package and removed the use of wget (I didn't know it was no longer needed for the source code to compile correctly). It's worth mentioning that we don't need to add linux-headers to makedep, because all compile operations take place after the package is installed. Also, there are no dkms calls in the make dkms-install rule: this rule simply copies the source files to /usr/src/..., as required.

By the way, I didn't receive any emails, so I couldn't reply :)

Speedy_Lex commented on 2026-02-03 20:06 (UTC) (edited on 2026-02-03 20:23 (UTC) by Speedy_Lex)

Hi, this package violates many of the arch package rules, namely:

  • Using wget to get a kernel source tree instead of using package sources. Better yet you should have a makedep on linux-headers.

  • Calling a global dkms instance in build() through make dkms-install, which is just plain wrong. You should rely on the dkms build hook by copying the kernel module source to ${pkgdir}/usr/src/amneziawg-${pkgver}.

I have uploaded a fixed version of the amneziawg-dkms package because the maintainer was unresponsive and hopefully you can use my PKGBUILD as an example for fixing yours: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=amneziawg-dkms-fixed

vanyasem commented on 2025-01-16 18:27 (UTC)

thank you <3

h8ray commented on 2025-01-16 17:42 (UTC) (edited on 2025-01-16 17:42 (UTC) by h8ray)

Oh I've been having this problem for a while now. I never thought it would be such a small thing. I updated build scripts, thanks.

vanyasem commented on 2025-01-15 14:42 (UTC)

Hi! You might want to add this patch: https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=amneziawg-dkms&id=10c75be38309d728ea1b6d03f78e6db6b8f94f9a

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 stable make yet: https://savannah.gnu.org/bugs/index.php?65172

h8ray commented on 2024-10-19 21:03 (UTC) (edited on 2024-10-19 21:03 (UTC) by h8ray)

Added patch from https://aur.archlinux.org/packages/amneziawg-dkms#comment-994375 to fix the build.

vanyasem commented on 2024-10-19 15:57 (UTC) (edited on 2024-10-19 18:01 (UTC) by vanyasem)

Please incorporate the patches from https://aur.archlinux.org/packages/amneziawg-dkms#comment-994375