summaryrefslogtreecommitdiff
path: root/user/wireguard-module
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 03:45:44 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 03:45:44 -0600
commit1453ddd8e78f5eede71f072dc60a4537348c09ef (patch)
tree9c214cd86bbfa85a2f91dd02c9ae07c4d619e524 /user/wireguard-module
parentc25e051c138d15423a828a42fd7fbf85156a520e (diff)
downloadpackages-1453ddd8e78f5eede71f072dc60a4537348c09ef.tar.gz
packages-1453ddd8e78f5eede71f072dc60a4537348c09ef.tar.bz2
packages-1453ddd8e78f5eede71f072dc60a4537348c09ef.tar.xz
packages-1453ddd8e78f5eede71f072dc60a4537348c09ef.zip
user/wireguard-module: Update for 5.4.5-rc0
Removes the power8 specialty kernels, since we no longer need them with 5.4.
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"