From 91b95a14f21845c28b50976105a446f470f07174 Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Mon, 24 Aug 2026 19:25:33 +0300 Subject: [PATCH] net-vpn/amneziawg-modules: drop 1.0.20260611 Signed-off-by: Pavel Sobolev --- net-vpn/amneziawg-modules/Manifest | 1 - .../amneziawg-modules-1.0.20260611.ebuild | 74 ------------------- 2 files changed, 75 deletions(-) delete mode 100644 net-vpn/amneziawg-modules/amneziawg-modules-1.0.20260611.ebuild diff --git a/net-vpn/amneziawg-modules/Manifest b/net-vpn/amneziawg-modules/Manifest index 00106b6bc1..8509cd13a1 100644 --- a/net-vpn/amneziawg-modules/Manifest +++ b/net-vpn/amneziawg-modules/Manifest @@ -1,3 +1,2 @@ -DIST amneziawg-modules-1.0.20260611.tar.gz 407592 BLAKE2B d43bbc8e36fc75447bd45c29adb7442720a7ad09b00723454de26f42a8725bb54f3ab9cd5c0f968ea2ae2fb0d7df7683940b1dcfc93142af88cf0358aac32106 SHA512 3a99b7812b86087aa6f2c0af02a1c43aa6f540d025a1613d484930a99d3589c4ba2e6c2fb7f1b941357bf13855a56a220ff7c0688b22359f954b4dc689db0fdc DIST amneziawg-modules-3.0.20260805.tar.gz 409790 BLAKE2B 2a11fbd96d0c791b991fe5479babfc6f53818e57acee5ce74855c1e454b09fba9e4b57aea67800f11faa384cf837e016307499e8adfdd68300dd177be70cf15c SHA512 c5861bca52ce7779abdd10631c6d063d9c7aa5938e5fd72c4828930be0bc080bd1c6e5d429ca7b699dfe70ef4e3e0754d6bcba3a076fa7dd3dc34b3c037d121f DIST amneziawg-modules-3.1.20260812.tar.gz 410350 BLAKE2B bb48b83f0bf9f98660c1bb06c7d70f31267042580204e850a97e8ca95398b78fd96301fcd46d3b0a5eadca01d9b64ef33c2988457c9b59ec09f01a6b6f3da16d SHA512 2d53bcb822c3fe51e69c3167b1ffdb86b820b9f70f364d94e0c1ca8d131f91bc6b89db1a0fcfdefa5cc73580538d4b2c25586d66b7d5b7f86a3569d471a74a63 diff --git a/net-vpn/amneziawg-modules/amneziawg-modules-1.0.20260611.ebuild b/net-vpn/amneziawg-modules/amneziawg-modules-1.0.20260611.ebuild deleted file mode 100644 index 17f5d612c4..0000000000 --- a/net-vpn/amneziawg-modules/amneziawg-modules-1.0.20260611.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-mod-r1 - -DESCRIPTION="AmneziaWG Linux kernel module" -HOMEPAGE="https://github.com/amnezia-vpn/amneziawg-linux-kernel-module" -SRC_URI="https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/amneziawg-linux-kernel-module-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="debug" - -CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_ALGAPI" - -pkg_setup() { - linux-mod-r1_pkg_setup - - if kernel_is -lt 3 10 0; then - die "This version of ${PN} requires Linux >= 3.10." - fi - - # https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/138 - if kernel_is -ge 6 19 0 && kernel_is -lt 7 0 0; then - die "This version of ${PN} doesn't work for Linux 6.19." - fi -} - -src_compile() { - local modlist=( amneziawg=net:src::module ) - local modargs=( - KERNELDIR=${KV_OUT_DIR} - ) - use debug && modargs+=( CONFIG_AMNEZIAWG_DEBUG=y ) - linux-mod-r1_src_compile -} - -src_install() { - linux-mod-r1_src_install -} - -pkg_postinst() { - linux-mod-r1_pkg_postinst - local old new - if [[ $(uname -r) != "${KV_FULL}" ]]; then - ewarn - ewarn "You have just built AmneziaWG for kernel ${KV_FULL}, yet the currently running" - ewarn "kernel is $(uname -r). If you intend to use this AmneziaWG module on the currently" - ewarn "running machine, you will first need to reboot it into the kernel ${KV_FULL}, for" - ewarn "which this module was built." - ewarn - elif [[ -f /sys/module/amneziawg/version ]] && \ - old="$(/dev/null)" && \ - [[ $old != "$new" ]]; then - ewarn - ewarn "You appear to have just upgraded AmneziaWG from version v$old to v$new." - ewarn "However, the old version is still running on your system. In order to use the" - ewarn "new version, you will need to remove the old module and load the new one. As" - ewarn "root, you can accomplish this with the following commands:" - ewarn - ewarn " # rmmod amneziawg" - ewarn " # modprobe amneziawg" - ewarn - ewarn "Do note that doing this will remove current AmneziaWG interfaces, so you may want" - ewarn "to gracefully remove them yourself prior." - ewarn - fi -}