aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/wireguard-rpi/APKBUILD13
1 files changed, 3 insertions, 10 deletions
diff --git a/community/wireguard-rpi/APKBUILD b/community/wireguard-rpi/APKBUILD
index 26e52ea931..1d897b7e16 100644
--- a/community/wireguard-rpi/APKBUILD
+++ b/community/wireguard-rpi/APKBUILD
@@ -6,7 +6,7 @@ _ver=0.0.20190601
_rel=0
# kernel version
-_kver=4.19.41
+_kver=4.19.48
_krel=0
_kpkgver="$_kver-r$_krel"
@@ -21,11 +21,11 @@ if [ -z "$FLAVOR" ]; then
else
_flavor=$FLAVOR
fi
+_kpkg=linux-$_flavor
pkgname=wireguard-$_flavor
pkgver=$_kver
-pkgrel=2
-pkgrel=$(($pkgrel + $_krel))
+pkgrel=$(($_rel + $_krel))
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
arch="armhf armv7 aarch64"
@@ -56,13 +56,6 @@ prepare() {
return 0
)
fi
- if [ -z "$FLAVOR" ]; then
- ( . "$startdir"/../../community/wireguard-tools/APKBUILD
- [ "$_ver" != "$pkgver" ] && die "please update _ver to $pkgver"
- [ "$_rel" != "$pkgrel" ] && die "please update _rel to $pkgrel"
- return 0
- )
- fi
local flavor=
for flavor in $_flavor $_extra_flavors; do
cp -r "$builddir" "$srcdir"/$flavor