aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/wireguard-hardened/APKBUILD (renamed from testing/wireguard-grsec/APKBUILD)7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/wireguard-grsec/APKBUILD b/testing/wireguard-hardened/APKBUILD
index 090d4967e0..6740ad9e17 100644
--- a/testing/wireguard-grsec/APKBUILD
+++ b/testing/wireguard-hardened/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
-_flavor=${FLAVOR:-grsec}
+_flavor=${FLAVOR:-hardened}
_kpkg=linux-$_flavor
_kver=4.9.24
-_kpkgrel=0
+_kpkgrel=1
# when changing _ver we *must* bump _mypkgrel
_ver=0.0.20170421
@@ -30,10 +30,11 @@ pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
arch='x86 x86_64 armhf'
url='https://www.wireguard.io'
license="GPLv2"
-makedepends="linux-grsec-dev=$_kpkgver libmnl-dev"
+makedepends="linux-${_flavor}-dev=$_kpkgver libmnl-dev"
install_if="wireguard-tools linux-grsec-$_kpkgver"
options="!check"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$_ver.tar.xz"
+provides="${_name}-grsec=${_kver}-r${pkgrel}"
builddir="$srcdir"/WireGuard-$_ver
build() {