summaryrefslogtreecommitdiff
path: root/user/wireguard-module
diff options
context:
space:
mode:
Diffstat (limited to 'user/wireguard-module')
-rw-r--r--user/wireguard-module/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/wireguard-module/APKBUILD b/user/wireguard-module/APKBUILD
index 0471f0a01..6543966cd 100644
--- a/user/wireguard-module/APKBUILD
+++ b/user/wireguard-module/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Luis Ressel <aranea@aixah.de>
# KEEP THIS IN SYNC with the other wireguard-module packages.
_kflavour=""
-_kver="4.14.138-mc15"
+_kver="5.4.5-mc0"
pkgver=0.0.20191226
pkgrel=0
_pkgname="wireguard-module$_kflavour"
@@ -21,12 +21,10 @@ source="https://git.zx2c4.com/$_pkgreal/snapshot/$_pkgreal-$pkgver.tar.xz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
make -C src LDFLAGS="" KERNELDIR="/usr/src/linux-$_kver$_kflavour" module
}
package() {
- cd "$builddir"
make -C src DEPMOD=true KERNELDIR="/usr/src/linux-$_kver$_kflavour" INSTALL_MOD_PATH="$pkgdir" module-install
}
@@ -34,9 +32,8 @@ _patch() {
depends=""
pkgdesc="Kernel patch for the WireGuard VPN"
- cd "$builddir"
mkdir -p "$subpkgdir/usr/share/wireguard"
- kernel-tree-scripts/create-patch.sh > "$subpkgdir/usr/share/wireguard/wireguard-$pkgver.patch"
+ "$builddir"/kernel-tree-scripts/create-patch.sh > "$subpkgdir/usr/share/wireguard/wireguard-$pkgver.patch"
}
sha512sums="7eba183128555ca5fd8b171179fe8ec7b9a67c618ad000bc9c5475ff74097e0e2c220a1f1dd82393fbde6dbbba5c1114bfd725e733a5f4acfbb23248538f6afb wireguard-linux-compat-0.0.20191226.tar.xz"