惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
B
Blog RSS Feed
H
Help Net Security
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
L
LangChain Blog
Vercel News
Vercel News

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - amneziawg-linux
2026-06-19 · via AUR Newest Packages

anviar commented on 2026-03-24 04:31 (UTC)

pkgname=amneziawg-linux
pkgdesc="AmneziaWG is a contemporary version of the popular VPN protocol, WireGuard."
url="https://github.com/amnezia-vpn/amneziawg-linux-kernel-module"
arch=("x86_64")
pkgver=1.0.20260210
pkgrel=1
license=('GPLv2')
provides=("AMNEZIAWG-MODULE=${pkgver}")
_kernel=$(uname -r | sed 's/-.*//')
source=("$pkgname-$pkgver.tar.gz::https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/archive/refs/tags/v${pkgver}.tar.gz"
        "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel}.tar.xz")
sha512sums=('705fbbb13e5d2f456fb321942ecd404420c5e54c75fbd28b7fd34583c9d6b0ca3b63e3eb18ddbb49f34354ffa0c042745fe2a0c97946a4dab65b52ebc864d5b5'
        'SKIP')
install="amneziawg-linux.install"

build() {
    cd ${srcdir}/amneziawg-linux-kernel-module-${pkgver}/src
    ln -s ${srcdir}/linux-${_kernel} kernel
    make
}

package() {
    cd ${srcdir}/amneziawg-linux-kernel-module-${pkgver}/src
    install -Dm644 "${srcdir}/amneziawg-linux-kernel-module-${pkgver}/src/amneziawg.ko" "$pkgdir/usr/lib/modules/$(uname -r)/kernel/drivers/net/wireguard/amneziawg.ko"
}

workaround: build with linux-lts kernel version

https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/138

RSG245 commented on 2026-03-20 14:47 (UTC)

CC [M] main.o CC [M] noise.o noise.c: В функции «wg_noise_init»: noise.c:39:30: ошибка: размер «blake» в памяти неизвестен 39 | struct blake2s_state blake; | ^ noise.c:41:46: ошибка: при передаче аргумента 2 «blake2s» указатель преобразуется в целое без приведения типа [-Wint-conversion] 41 | blake2s(handshake_init_chaining_key, handshake_name, NULL, | ^~ | | | const u8 * {aka const unsigned char } In file included from messages.h:11, from noise.h:8, from noise.c:6: /usr/lib/modules/6.19.8-arch1-1/build/include/crypto/blake2s.h:145:50: замечание: expected «size_t» {aka «long unsigned int»} but argument is of type «const u8 » {aka «const unsigned char »} 145 | static inline void blake2s(const u8 key, size_t keylen, | ~^~ noise.c:42:33: ошибка: при передаче аргумента 5 «blake2s» целое преобразуется в указатель без приведения типа [-Wint-conversion] 42 | NOISE_HASH_LEN, sizeof(handshake_name), 0); | ^~ | | | long unsigned int /usr/lib/modules/6.19.8-arch1-1/build/include/crypto/blake2s.h:147:32: замечание: expected «u8 » {aka «unsigned char »} but argument is of type «long unsigned int» 147 | u8 *out, size_t outlen) | ^ noise.c:39:30: предупреждение: неиспользуемая переменная «blake» [-Wunused-variable] 39 | struct blake2s_state blake; | ^ noise.c: В функции «hmac»: noise.c:310:30: ошибка: размер «state» в памяти неизвестен 310 | struct blake2s_state state; | ^ noise.c:310:30: предупреждение: неиспользуемая переменная «state» [-Wunused-variable] noise.c: В функции «mix_hash»: noise.c:437:30: ошибка: размер «blake» в памяти неизвестен 437 | struct blake2s_state blake; | ^ noise.c:437:30: предупреждение: неиспользуемая переменная «blake» [-Wunused-variable] make[3]: *** [/usr/lib/modules/6.19.8-arch1-1/build/scripts/Makefile.build:289: noise.o] Ошибка 1 make[2]: *** [/usr/lib/modules/6.19.8-arch1-1/build/Makefile:2064: .] Ошибка 2 make[1]: *** [Makefile:248: __sub-make] Ошибка 2 make: *** [Makefile:27: module] Ошибка 2 ==> ОШИБКА: Произошел сбой в build().

distrayer commented on 2025-02-11 16:28 (UTC)

If after updating amneziawg-linux awg-quick doesn't use this kernel module, you need to rebuild amneziawg-tools and amneziawg-go (idk which of them explicitly causes this problem)

VVL commented on 2024-12-09 10:57 (UTC)

I've removed hard depend on version of linux package. You may try to build it now.

AlexWayfer commented on 2024-12-08 12:50 (UTC)

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux (6.12.3.arch1-1) breaks dependency 'linux=6.11.6.arch1-1' required by amneziawg-linux
:: installing linux-headers (6.12.3.arch1-1) breaks dependency 'linux-headers=6.11.6.arch1-1' required by amneziawg-linux
 -> error installing repo packages

VVL commented on 2024-11-20 13:07 (UTC)

I double-checked everything and was able to reproduce the error. For some unknown reason, all package managers working with AUR determine the dependencies of the pkg{} block before building, and not during packaging, as intended in this PKGBUILD. This causes some inconvenience - a hard link to the linux version is needed for correct updating of the kernel in the future - you will also need to update the amneziawg-linux package, otherwise the kernel will be updated and the module will stop working. I don't know how to solve this problem yet, I will try different options.

VVS commented on 2024-11-19 13:23 (UTC)

No packages amneziawg-linux, linux-headers, linux in cache.

VVL commented on 2024-11-18 19:05 (UTC)

Can you clear your yay cache (build directory)?