summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/wireguard-module-power8-64k/APKBUILD32
-rw-r--r--user/wireguard-module-power8/APKBUILD32
-rw-r--r--user/wireguard-module/APKBUILD7
3 files changed, 2 insertions, 69 deletions
diff --git a/user/wireguard-module-power8-64k/APKBUILD b/user/wireguard-module-power8-64k/APKBUILD
deleted file mode 100644
index 0d54026ba..000000000
--- a/user/wireguard-module-power8-64k/APKBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Contributor: Luis Ressel <aranea@aixah.de>
-# Maintainer: Luis Ressel <aranea@aixah.de>
-# KEEP THIS IN SYNC with the other wireguard-module packages.
-_kflavour="-power8-64k"
-_kver="4.14.138-mc15"
-pkgver=0.0.20191226
-pkgrel=0
-_pkgname="wireguard-module$_kflavour"
-pkgname="$_pkgname-$_kver"
-_pkgreal="wireguard-linux-compat"
-pkgdesc="Kernel module for the WireGuard VPN, built for easy-kernel"
-url="https://www.wireguard.com/"
-arch="ppc64"
-options="!check !dbg !strip" # no test suite
-license="GPL-2.0-only"
-provides="$_pkgname=$pkgver"
-depends="easy-kernel$_kflavour-modules-$_kver"
-makedepends="easy-kernel$_kflavour-src-$_kver"
-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
-}
-
-sha512sums="7eba183128555ca5fd8b171179fe8ec7b9a67c618ad000bc9c5475ff74097e0e2c220a1f1dd82393fbde6dbbba5c1114bfd725e733a5f4acfbb23248538f6afb wireguard-linux-compat-0.0.20191226.tar.xz"
diff --git a/user/wireguard-module-power8/APKBUILD b/user/wireguard-module-power8/APKBUILD
deleted file mode 100644
index fe36fbbb8..000000000
--- a/user/wireguard-module-power8/APKBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Contributor: Luis Ressel <aranea@aixah.de>
-# Maintainer: Luis Ressel <aranea@aixah.de>
-# KEEP THIS IN SYNC with the other wireguard-module packages.
-_kflavour="-power8"
-_kver="4.14.138-mc15"
-pkgver=0.0.20191226
-pkgrel=0
-_pkgname="wireguard-module$_kflavour"
-pkgname="$_pkgname-$_kver"
-_pkgreal="wireguard-linux-compat"
-pkgdesc="Kernel module for the WireGuard VPN, built for easy-kernel"
-url="https://www.wireguard.com/"
-arch="ppc64"
-options="!check !dbg !strip" # no test suite
-license="GPL-2.0-only"
-provides="$_pkgname=$pkgver"
-depends="easy-kernel$_kflavour-modules-$_kver"
-makedepends="easy-kernel$_kflavour-src-$_kver"
-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
-}
-
-sha512sums="7eba183128555ca5fd8b171179fe8ec7b9a67c618ad000bc9c5475ff74097e0e2c220a1f1dd82393fbde6dbbba5c1114bfd725e733a5f4acfbb23248538f6afb wireguard-linux-compat-0.0.20191226.tar.xz"
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"