From 1cc1583b0dea6f636dc752946e8e8d36b14d8412 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Mon, 28 Oct 2024 23:44:37 +0300 Subject: [PATCH] net-vpn/amneziawg-linux-kernel-module: update ebuild --- net-vpn/amneziawg-linux-kernel-module/Manifest | 2 +- .../amneziawg-linux-kernel-module-1.0.20241023.ebuild | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net-vpn/amneziawg-linux-kernel-module/Manifest b/net-vpn/amneziawg-linux-kernel-module/Manifest index b6eb7b7..7725471 100644 --- a/net-vpn/amneziawg-linux-kernel-module/Manifest +++ b/net-vpn/amneziawg-linux-kernel-module/Manifest @@ -1,2 +1,2 @@ DIST amneziawg-linux-kernel-module-1.0.20241023.tar.gz 415325 BLAKE2B e56448d1793c060b57a8dece6d17f6fa372ac6b6242290ed87d777105876e228ed682b59f6f11eedeb7fc415bb35c48bfe82ecec99bc171175864be0a6ba39d2 SHA512 2154f749d91adc2be185a02b58a6b20a079b3985277b8cb874b4affda00bfaabe949e01088c157d71e7d4a6e2e073f07e9dc370d8165465156f30ed8c9178a25 -EBUILD amneziawg-linux-kernel-module-1.0.20241023.ebuild 4520 BLAKE2B 47fee9a9876fda689674a5de469f7a8ac3bc8bcce5788a2705b08df3d699b6002c73a9759ee8dae256fd079c0b091ecc707785a944bbb3408b30e8831ba8d323 SHA512 83a13a223b99456e7425361b0eb10ae6c1ae3a086e9b2baaa68b7cb168f3a7e31fa1626a12dac11289cb09672cf4275535a1e9b87400361a8b91e72b1b2f7cfd +EBUILD amneziawg-linux-kernel-module-1.0.20241023.ebuild 4771 BLAKE2B 79dea40e368d3f1925e79bee16408e136325177b3d0a28a94b03e7b30a1854b33cbddbde6bf0889e86e1f2f0fa2c92d7963a0ed708338b00f37bc2b605a3b9bf SHA512 948d118d8c43edde0b4776de229d775251beca9e99f8ec274768e319b9cb9291536aa5eebd725b4432eef2542d530659c1808eaf404032bcd8869a2ae0506698 diff --git a/net-vpn/amneziawg-linux-kernel-module/amneziawg-linux-kernel-module-1.0.20241023.ebuild b/net-vpn/amneziawg-linux-kernel-module/amneziawg-linux-kernel-module-1.0.20241023.ebuild index e181b7a..f8b5372 100644 --- a/net-vpn/amneziawg-linux-kernel-module/amneziawg-linux-kernel-module-1.0.20241023.ebuild +++ b/net-vpn/amneziawg-linux-kernel-module/amneziawg-linux-kernel-module-1.0.20241023.ebuild @@ -66,8 +66,9 @@ src_prepare() { die "Kernel sources not found, but required for building." fi - ln -s ${KERNEL_SOURCES_DIR} src/kernel - emake -C ${S}/src apply-patches + sed -i "s@^KERNELRELEASE ?= .*@KERNELRELEASE ?= ${KV_FULL}@" src/Makefile || die "Fail to set desired kernel verion in the Makefile" + ln -s ${KERNEL_SOURCES_DIR} src/kernel || die "Creation link to kernel sources directory fail" + emake -C ${S}/src apply-patches || die "Fail to apply amnezia patches over wireguard" fi }