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

推荐订阅源

博客园_首页
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
Y
Y Combinator Blog
美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
S
SegmentFault 最新的问题
IT之家
IT之家
Recent Announcements
Recent Announcements
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
Martin Fowler
Martin Fowler
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
WordPress大学
WordPress大学
博客园 - Franky
L
LangChain Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - 叶小钗
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
云风的 BLOG
云风的 BLOG
Vercel News
Vercel News
雷峰网
雷峰网
腾讯CDC
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Help Net Security
Help Net Security
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
N
News and Events Feed by Topic
V2EX - 技术
V2EX - 技术
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Schneier on Security
Schneier on Security
博客园 - 聂微东
A
Arctic Wolf
H
Heimdal Security Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Recent Commits to openclaw:main
Recent Commits to openclaw:main
T
The Exploit Database - CXSecurity.com
C
Cyber Attacks, Cyber Crime and Cyber Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-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)?