Fix kernel download for newer Fedora kernels, and Ubuntu 24 package build fixes

This commit is contained in:
Iurii Egorov
2024-10-22 15:30:01 +03:00
committed by Iurii Egorov
parent 7fd8528466
commit 6301e3add4
3 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: amneziawg-dkms
Version: 1.0.20240711
Version: 1.0.20241022
Release: 1%{?dist}
Epoch: 1
URL: https://www.wireguard.com/
@@ -25,6 +25,7 @@ Requires: bc
Requires: yum-utils
Requires: rpm-build
Requires: python3-devel
Requires: git
%description
WireGuard is a novel VPN that runs inside the Linux Kernel and uses
@@ -88,6 +89,9 @@ exit 0
%{_usrsrc}/amneziawg-%{version}
%changelog
* Thu Oct 22 2024 Yuri Egorov <ye@amnezia.org> - 1.0.20241022-1
- Update to 1.0.20241022
* Thu Feb 1 2024 Yuri Egorov <ye@amnezia.org> - 1.0.20240201-1
- Update to 1.0.20240201

2
debian/control vendored
View File

@@ -4,8 +4,6 @@ Priority: optional
Maintainer: unidentified attacker <ua@amnezia.org>
Build-Depends:
debhelper,
dh-dkms | dkms,
dh-sequence-dkms | dkms,
dkms
Standards-Version: 4.5.1
Homepage: https://amnezia.org

View File

@@ -83,7 +83,7 @@ else
rm -rf "${HOME}/.rpmmacros"
[ -f "${HOME}/.rpmmacros.orig" ] && mv "${HOME}/.rpmmacros.orig" "${HOME}/.rpmmacros"
cd ../BUILD || exit 255
cd "$(ls -d */)" || exit 255
cd "$(find ./* -maxdepth 0 -type d | sort | head -n 1)" || exit 255
cd "$(ls -d linux*/)" || exit 255
fi