aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireguard-rpi/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-05 10:19:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 10:20:19 +0000
commit4250cf0fad33654e9e4ef3b28974a57dd6250525 (patch)
tree727ba471188a5d8511b7ad5fa8b33369468235cb /community/wireguard-rpi/APKBUILD
parentc7ade608dbb79228eeffecc1e3e7aef6e14407a7 (diff)
downloadaports-4250cf0fad33654e9e4ef3b28974a57dd6250525.tar.bz2
aports-4250cf0fad33654e9e4ef3b28974a57dd6250525.tar.xz
community/wireguard-rpi: rebuild against kernel 4.19.48-r0
Diffstat (limited to 'community/wireguard-rpi/APKBUILD')
-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